Re Ai Triage logo

Re Ai Triage

Community
dslsdzc
re-ai-triage

AI 模型分析第一入口(分流器):识别输入形态——模型文件走文件层逆向(re-ai-model)、 仅有 API 走行为层评估(re-ai-attack)、恶意行为走恶意分析。 触发词:AI模型分析、AI模型安全、模型文件、模型泄露、模型逆向、模型分析入口。

Overview

Publisherdslsdzc
Repositoryrev-skills
Skill namere-ai-triage
Stars
191
Forks
35
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by dslsdzc on GitHub. Read the source before you install it.

Installation

Install the Re Ai Triage AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/dslsdzc/rev-skills/tree/main/.claude/skills/re-ai-triage
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dslsdzc/rev-skills.git /tmp/rev-skills
mkdir -p .claude/skills
cp -r /tmp/rev-skills/.claude/skills/re-ai-triage .claude/skills/re-ai-triage
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Re Ai Triage in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Re Ai Triage on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Re Ai Triage is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

AI 模型分析入口(分流器)

任务分类器(输入形态 → 路径)

拿到 AI 相关目标后先判输入形态,命中即转对应技能:

输入形态路径
拿到模型文件(.onnx / .pt / .pth / .safetensors / .tflite)→ [[re-ai-model]](文件层:格式解析 / 结构还原 / 权重提取 / 文件级水印)
只有 API(无文件,黑盒接口)→ [[re-ai-attack]](行为层:extraction / fingerprint / privacy / robustness 评估;guard 授权前置)
文件 + API 都有→ 先 [[re-ai-model]](文件侧取证)→ 再 [[re-ai-attack]](行为侧验证)
发现恶意行为(投毒 / 后门 / 恶意载荷 / 下载执行)→ 恶意分析(当前:[[re-ai-model]] 安全边界处理 + [[re-behavior]];未来独立 re-ai-malware 承接)
模型被打包进可执行(PyInstaller/pyarmor 等)→ 先 [[re-binary-core]] 拆包 → 拆出的模型文件回本技能分流

何时使用 / 何时不用

  • 用:用户说「分析这个模型 / AI 模型安全 / 模型泄露」但未指明输入形态——先分流
  • 用:不确定目标是文件层还是行为层时——先识别再转
  • 不用:输入形态已明确(直接进 [[re-ai-model]] 或 [[re-ai-attack]],不绕本技能)
  • 不用:非 AI 目标(走全局入口 [[re-analyze]])
  • 不用:训练 / 微调 / 部署(非逆向)

工具准备

本技能只做识别与分流,工具轻量:

python3 / file —— 模型文件识别

  • python3 安装与验证见 [[re-python]] 工具准备
  • file:Linux apt install file / dnf install file / pacman -S file(多数预装);验证 file --version
  • 验证:python3 -c "import struct"(标准库)

模型库探测(判断目标依赖,不加载模型)

  • pip list 2>/dev/null | grep -iE 'torch|tensorflow|onnx'——确认本机可解析目标格式;缺失时由下游技能引导安装

操作步骤

  1. 输入形态识别:
    • 用户给了路径/文件 → 先 file <path> + xxd <path> | head -2 粗看,再转 [[re-ai-model]]。几种形态的可靠信号(都以字节为准,不靠扩展名;细节见 [[re-ai-model]] 步骤 1):
      • onnx:protobuf 流、无固定魔数,file 报 data;首字节是 ir_version 的 tag 0x08,第二个字节是版本号、随 ONNX 版本递增(不是常量 08);producer_name 按规范只 SHOULD 出现
      • safetensors:file 报 data——前 8 字节是小端头长度,其后才是 JSON 头(xxd -l 16 可见长度段与 {)
      • pytorch:新版是 zip 容器,file 报 Zip archive(PK\x03\x04 头),unzip -l 可见 data.pkl 等条目;老式是裸 pickle 流(无 PK 头,file 常误报 XENIX 8086 relocatable or i286 small model)——不直接 load,见 [[re-ai-model]] 坑 2
      • tflite:flatbuffers 流,file 报 data;字节 4–7 是文件标识符 ASCII TFL3
    • 用户只有 API 端点/查询能力 → 转 [[re-ai-attack]]
    • 两者都有 → 按任务分类器先文件后行为
  2. 目标归属确认:文件/API 的持有方与授权(自有 / 授权测试 / CTF·研究)——行为层评估前必须确认([[re-ai-attack]] guard 前置;授权上下文见 triage 第 0 步 RE_AUTH)
  3. 转交与记录:明确转交技能 + 会话变量(RE_GOAL、RE_AUTH、输入形态标记),不在本技能做深度分析

跨域联合

  • [[re-managed]]:本技能是其 AI 分支的第一跳(re-managed → re-ai-triage → re-ai-model / re-ai-attack)
  • [[re-ai-model]]:文件层下游
  • [[re-ai-attack]]:行为层下游(guard 授权前置)
  • [[re-binary-core]]:模型打包进可执行时的拆包前置
  • [[re-behavior]]:恶意行为侧协作(投毒/后门的行为判定)

常见坑与陷阱

  • 拿文件名猜格式:.pt 可能是 pickle 也可能是 zip 容器(torch 新格式)、.bin 可能是任意权重 dump——以 file 输出与魔数为准,不靠扩展名
  • 分流过深:本技能只识别与转交,不展开分析——在分流阶段做深度分析会与下游重复
  • 授权前置遗漏:行为层评估([[re-ai-attack]])有 guard 授权要求——转交前先确认 RE_AUTH,未知归属时先询问,不直接进入行为层

Frequently asked questions

What does the Re Ai Triage AI skill do?

AI 模型分析第一入口(分流器):识别输入形态——模型文件走文件层逆向(re-ai-model)、 仅有 API 走行为层评估(re-ai-attack)、恶意行为走恶意分析。 触发词:AI模型分析、AI模型安全、模型文件、模型泄露、模型逆向、模型分析入口。

Why use Re Ai Triage on TypingMind?

Because you install it once and use it with any model. Re Ai Triage is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Re Ai Triage in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/dslsdzc/rev-skills/tree/main/.claude/skills/re-ai-triage. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Re Ai Triage?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Re Ai Triage?

As many as you like. As long as a model supports skills, you can use Re Ai Triage with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Re Ai Triage AI skill free?

Yes. It is published on GitHub by dslsdzc under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇