[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6P6GMD3TQV44KC46KCK0B0F":3,"skill-same:01M6P6GMD3TQV44KC46KCK0B0F":82},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":32,"commitSha":53,"skillDirectory":54,"forksCount":13,"repositoryHtmlUrl":55,"repositoryHomepageUrl":6,"ownerHtmlUrl":56,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":57,"install":58,"resources":71},"01M6P6GMD3TQV44KC46KCK0B0F","ida-reverse",null,"Reverse engineer binaries with IDA Pro: decompilation, disassembly, data-flow tracking, cross-references, and IDA MCP automation for deep static analysis of PE\u002FELF\u002FMach-O targets.","duc-duy-1612\u002FOnline-Delivery-Systems-Web","duc-duy-1612","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F192231384?v=4","01M6NSDKQQDKVTHZ8DZMZ1VYY6","01M6NSDKW8DDVTQHBT1HBDDJPT",0,"MIT","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fida-reverse\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"reverse","ida reverse","community","static","for","with","targets","deep","reverse engineer","main","MCP","references","engineer","data-flow","analysis","ELF","disassembly","license","automation","github","2026-11-10 10:12:30",false,"---\nname: ida-reverse\ndescription: \"Reverse engineer binaries with IDA Pro: decompilation, disassembly, data-flow tracking, cross-references, and IDA MCP automation for deep static analysis of PE\u002FELF\u002FMach-O targets.\"\nrisk: safe\nsource: \"https:\u002F\u002Fgithub.com\u002Fzhaoxuya520\u002Freverse-skill\"\nsource_repo: \"zhaoxuya520\u002Freverse-skill\"\nsource_type: community\ndate_added: \"2026-08-25\"\nlicense: \"MIT\"\nlicense_source: \"https:\u002F\u002Fgithub.com\u002Fzhaoxuya520\u002Freverse-skill\u002Fblob\u002Fmain\u002FLICENSE\"\n---\n# IDA Pro 逆向分析技能\n## When to Use\n\n- Deep static analysis of a compiled target where IDA is available.\n- Tracking data flow or cross-references through large binaries.\n\n\n## 已知问题与反思（必读）\n\n### 踩过的坑\n\n1. **`idb_open`（旧名 `idalib_open`）不要直接靠部分 AI 客户端 MCP 调用**\n   - 部分代码 AI 客户端 的 MCP 客户端对 open 类工具的 output schema 校验有 BUG\n   - 报错：`Structured content does not match the tool's output schema`\n   - **解决办法**：使用 `scripts\u002Fopen.ps1` 脚本通过 HTTP API 直调，绕过 MCP 校验层\n   - 当前 ida-pro-mcp 2.x 工具名为 `idb_open` \u002F `idb_list` \u002F `idb_save`（不再是 `idalib_*`）\n   - 文件打开后返回 `session_id`（database），后续工具调用需带该 session\n\n2. **`C:\\Windows\\System32\\` 文件无权限打开**\n   - idalib 无法直接读取 System32 目录下的文件\n   - **解决办法**：`open.ps1` 自动检测并复制到 `临时目录` 目录后再打开\n\n3. **启动服务器命令阻塞对话**\n   - `idalib-mcp` 启动后会持续输出 INFO 日志到控制台\n   - **解决办法**：使用 `scripts\u002Fstart.ps1`（`-WindowStyle Hidden` 后台静默启动）\n   - 脚本会等待服务就绪后自动退出，不阻塞对话\n\n4. **MCP 服务器名不能用横线**\n   - 之前用 `ida-pro-mcp` 作为服务器名，可能引起工具注册问题\n   - **当前配置**：服务器名 `idapro`，工具前缀 `idapro_*`\n\n5. **Remote HTTP vs Local Stdio**\n   - `type:\"local\"`（stdio）模式：`idalib_open` 同样有 schema 校验问题\n   - `type:\"remote\"`（HTTP）模式：可以先用脚本直开文件，再用 MCP 工具\n   - **当前方案**：Remote HTTP 模式\n\n6. **PR #389 修复了部分 schema 问题**\n   - 作者 mrexodia 在 issue #388 后通过 PR #389 合并了修复\n   - 修复了 HTTP 模式下的 structuredContent schema，但 部分代码 AI 客户端 侧校验仍有问题\n   - 已安装最新 `main` 分支版本\n\n7. **idalib 超时留下孤儿 worker 进程锁文件**\n   - 第一次 `open.ps1` 超时后，idalib 的 python worker 子进程可能变成孤儿，咬着 `.id0`\u002F`.id1`\u002F`.nam` 不放\n   - 后续任何工具或手动拖入 IDA GUI 都会报\"权限不足\"\n   - **禁止** `taskkill \u002FF \u002FT` 杀进程树——`\u002FT` 会把 GUI `ida.exe` 子进程一起干掉\n   - **解决办法**：`start.ps1` 只在端口无人监听、或 `tools\u002Flist` 快速返回但缺 `py_eval`（旧 supervisor）时替换 managed supervisor；RPC 超时且 13337 仍在听视为忙，不杀\n   - **兜底**：`open.ps1` 检测到旧库被锁自动复制到 Temp 并加 GUID 前缀\n\n8. **带自动分析打开看起来像卡死**\n   - `idalib_open(run_auto_analysis=true)` 可能长时间不回包，但后端实际上仍在继续打开和分析\n   - 之前用户侧看到的是“PowerShell 一直无输出”，容易误判成脚本卡死\n   - **当前解决办法**：`open.ps1` 新增 `-TimeoutSeconds`，并改为后台请求 + 前台轮询 + 定时进度输出\n   - 轮询到会话已就绪时会提前返回 `OK:文件名:session_id`，超时则返回 `ERR:open_timeout_xxs`\n\n9. **HTTP MCP 会在登录后静默退出**\n   - Cursor\u002FClaude 的 `type: http` 不会代为拉起进程；旧计划任务只在登录时跑一次\n   - `pythonw` 无控制台，崩溃时 Application 日志也是空的\n   - **解决办法**：`start.ps1` 默认健康则复用；`watchdog.ps1` 每分钟巡检；日志在 `%LOCALAPPDATA%\\reverse-skill\\ida-mcp\\`\n   - 安装：`scripts\u002Finstall-autostart.ps1`。Cursor 若启动时端口还没起来，仍需在 MCP 面板手动刷新一次\n\n### 工作流程原则\n\n| 步骤 | 做什么 | 用什么 |\n|------|--------|--------|\n| 1 | 确保 HTTP 服务器在运行 | `scripts\u002Fstart.ps1`（无参数） |\n| 2 | 打开目标二进制文件 | `scripts\u002Fopen.ps1 -Path \"xxx.exe\"` |\n| 3 | 使用 MCP 分析工具 | 直接调用 `idapro_*` \u002F HTTP tools（约 65 个，视版本而定） |\n| 4 | 分析完毕 | 工具自动可用 |\n\n## 脚本资源\n\n### start.ps1 — 启动 MCP HTTP 服务器\n\n路径：`scripts\u002Fstart.ps1`\n\n- 自动解析 `IDADIR`（环境变量 \u002F 便携版桌面路径 \u002F 常见安装路径）\n- 优先用 IDA 自带 `Python314\\python.exe -m ida_pro_mcp.idalib_supervisor`\n- 默认先探测 `http:\u002F\u002F127.0.0.1:13337\u002Fmcp`，健康则输出 `OK:\u003Cn>:reuse` 并退出\n- 13337 在听但 `tools\u002Flist` 超时 → `WARN:busy` \u002F `OK:busy:reuse`，**不杀**（supervisor 单线程，开库时无法回包）\n- 仅在端口无人监听、或快速返回且缺 `py_eval` 时替换 managed supervisor；**永不杀 `ida.exe`，不用 `taskkill \u002FT`**\n- GUI 占用 13337 时输出 `WARN:gui_busy` 并退出，不另起 supervisor\n- 成功输出 `OK:\u003C工具数>`（当前约 66），失败输出 `ERR:timeout`\n- supervisor 日志：`%LOCALAPPDATA%\\reverse-skill\\ida-mcp\\supervisor.log`\n- 服务器在后台运行，不阻塞对话\n\n**调用方式**：\n```\npowershell -File \"\u003Cskill-root>\\ida-reverse\\scripts\\start.ps1\"\n```\n\n### watchdog.ps1 \u002F install-autostart.ps1 — 保活\n\n- `watchdog.ps1`：探测 13337，健康则 `OK:\u003Cn>:reuse`，挂了才调用 `start.ps1`\n- `install-autostart.ps1`：注册计划任务 `reverse-skill-ida-mcp`（登录 + 每分钟）\n- 日志：`%LOCALAPPDATA%\\reverse-skill\\ida-mcp\\watchdog.log`\n\n### open.ps1 — 打开二进制文件\n\n路径：`scripts\u002Fopen.ps1`\n\n- 通过 HTTP API 直调 `idb_open`，绕过 MCP schema 校验\n- 自动检测 System32 路径并复制到临时目录\n- 自动清理同名旧数据库文件（`.id0`\u002F`.id1`\u002F`.nam`\u002F`.til`\u002F`.i64`）\n- 旧库被锁时自动降级：复制到 Temp 加 GUID 前缀后打开，不报错\n- 将打开请求放到后台执行，避免长时间同步等待导致脚本无响应\n- 支持 `-TimeoutSeconds`，超时后返回 `ERR:open_timeout_xxs`，不会无限卡住\n- 每隔 10 秒输出一次 `INFO:opening:已用时\u002F超时秒数`，便于判断仍在分析中\n- 成功输出 `OK:文件名:session_id`，降级时加 `(temp copy)` 标记\n- 失败时自动重试走 Temp 副本\n\n**调用方式**：\n```\npowershell -File \"\u003Cskill-root>\\ida-reverse\\scripts\\open.ps1\" -Path \"C:\\path\\to\\file.exe\"\n```\n\n**可选参数**：\n```\n# 指定 SessionId\npowershell -File \"scripts\\open.ps1\" -Path \"file.exe\" -SessionId \"my_session\"\n\n# 跳过自动分析（大文件推荐）\npowershell -File \"scripts\\open.ps1\" -Path \"large.exe\" -NoAutoAnalysis\n\n# 设置超时，避免带自动分析时长时间无返回\npowershell -File \"scripts\\open.ps1\" -Path \"file.exe\" -TimeoutSeconds 600\n```\n\n**输出约定**：\n```\n# 分析进行中（每 10 秒输出一次）\nINFO:opening:11\u002F600s\n\n# 成功打开\nOK:sample.exe:abcd1234\n\n# 成功打开，但因锁文件降级到 Temp 副本\nOK:1234abcd-sample.exe:abcd1234 (temp copy)\n\n# 达到超时上限\nERR:open_timeout_600s\n```\n\n**实测说明**：\n- `Snipaste.exe` 带自动分析实测约 `324s` 才返回成功，属于“分析很久”而不是“脚本死锁”\n- 因此遇到 GUI 程序或较复杂样本时，建议优先显式设置 `-TimeoutSeconds 600`\n\n## 核心工具列表\n\n### 概况分析（第一步）\n- `idapro_survey_binary(detail_level=\"minimal\")` — 快速概况：函数数、字符串、段、入口点、导入分类（加密\u002F网络\u002F文件IO）\n- `idapro_list_funcs(queries)` — 列出函数（分页、按名称过滤）\n- `idapro_list_globals(queries)` — 列出全局变量\n- `idapro_entity_query(kind, filter)` — 统一查询：functions\u002Fglobals\u002Fimports\u002Fstrings\u002Fnames\n\n### 反编译与反汇编\n- `idapro_decompile(addr)` — 反编译为伪代码\n- `idapro_disasm(addr, max_instructions=N)` — 反汇编\n- `idapro_analyze_function(addr, include_asm=false)` — 综合分析（伪代码+字符串+常量+调用者+被调用者+块）\n- `idapro_func_profile(queries)` — 函数概要指标\n\n### 交叉引用与数据流\n- `idapro_xrefs_to(addrs)` — 查谁引用目标地址\n- `idapro_xref_query(addr, direction)` — 高级 xref 查询（方向\u002F类型过滤）\n- `idapro_callees(addrs)` — 子函数列表\n- `idapro_callgraph(roots, max_depth)` — 调用图\n- `idapro_trace_data_flow(addr, direction, max_depth)` — 数据流追踪（forward\u002Fbackward）\n\n### 搜索\n- `idapro_find_regex(pattern, limit)` — 正则搜字符串\n- `idapro_search_text(pattern)` — 在反汇编列表中搜文本\n- `idapro_find_bytes(patterns, limit)` — 字节模式搜索（支持 ?? 通配符）\n- `idapro_find(type, targets)` — 高级搜索（立即数\u002F字符串\u002F引用）\n\n### 内存与数据\n- `idapro_get_bytes(addrs)` — 读原始字节\n- `idapro_get_string(addrs)` — 读字符串\n- `idapro_get_int(queries)` — 读整数值\n- `idapro_get_global_value(queries)` — 读全局变量值\n- `idapro_read_struct(queries)` — 读结构体字段值\n- `idapro_search_structs(filter)` — 搜索结构体\n\n### 修改操作\n- `idapro_set_comments(items)` — 添加注释（反汇编+反编译双向同步）\n- `idapro_append_comments(items)` — 追加注释\n- `idapro_rename(batch)` — 批量重命名（函数\u002F全局\u002F局部\u002F栈变量）\n- `idapro_patch_asm(items)` — Patch 汇编指令\n- `idapro_patch(patches)` — Patch 字节\n- `idapro_define_func(items)` — 定义函数\n- `idapro_undefine(items)` — 取消定义\n- `idapro_define_code(items)` — 将字节转为代码\n\n### 类型系统\n- `idapro_declare_type(decls)` — 声明 C 结构体\u002F枚举\u002F联合体\n- `idapro_set_type(edits)` — 应用类型到函数\u002F全局\u002F局部\n- `idapro_infer_types(addrs)` — 推断类型\n- `idapro_type_query(queries)` — 查询已声明类型\n- `idapro_type_inspect(queries)` — 查看类型详情\n\n### 栈帧\n- `idapro_stack_frame(addrs)` — 查看栈帧变量\n- `idapro_declare_stack(items)` — 声明栈变量\n- `idapro_delete_stack(items)` — 删除栈变量\n\n### 签名\n- `idapro_make_signature(addrs)` — 为地址生成唯一字节签名\n- `idapro_make_signature_for_function(addrs)` — 为函数生成签名\n- `idapro_find_xref_signatures(addrs)` — 为引用地址的代码生成签名\n\n### 调试器（需要 ?ext=dbg）\n- `idapro_open_file(file_path)` — 在 GUI IDA 实例中打开文件\n- 调试器工具默认隐藏，可通过 URL 参数 `?ext=dbg` 启用\n\n### 会话管理（ida-pro-mcp 2.x）\n- `idapro_idb_open` \u002F HTTP `idb_open` — ⚠️ 建议用 `open.ps1` 打开\n- `idapro_idb_list` \u002F HTTP `idb_list` — 列出所有 session\n- `idapro_idb_save` \u002F HTTP `idb_save` — 保存数据库\n- 多数分析工具需要 `database=\u003Csession_id>` 参数（open.ps1 输出的 session）\n\n### 其他\n- `idapro_int_convert(inputs)` — 进制转换（**必须用这个，不要自己算进制！**）\n- `idapro_export_funcs(addrs, format)` — 导出函数（json\u002Fc_header\u002Fprototypes）\n- `idapro_py_eval(code)` — 在 IDA 上下文执行 Python\n- `idapro_server_health()` — 服务器健康检查\n- `idapro_server_warmup()` — 预热子系统（字符串缓存、Hex-Rays 等）\n\n## 逆向分析完整工作流\n\n### Step 1: 启动服务器\n\n**路径 A — Headless idalib（需要有效 license）**\n```\npowershell -File \"scripts\u002Fstart.ps1\"\n```\n输出 `OK:\u003C工具数>`（当前约 65）表示就绪。\n\n**路径 B — GUI + 插件（idalib license 失败或需要交互分析时）**\n```\npowershell -File \"scripts\u002Fstart-gui.ps1\" -Path \"C:\\目标.exe\"\n```\n或双击便携版 `Launch-IDA-Pro.cmd`，在 IDA 中打开样本。\n\n确认 Output 窗口出现 `[MCP] ... port=13337` 后，MCP 工具即可用。\n\n通用对接步骤见 `LOCAL-SETUP.md`。\n\n### Step 2: 打开文件\n\nHeadless：\n```\npowershell -File \"scripts\u002Fopen.ps1\" -Path \"C:\\目标.exe\" -TimeoutSeconds 600\n```\n输出 `OK:文件名:session_id` 表示成功（后带 `(temp copy)` 表示自动降级到临时副本）。\n\n若出现 `ERR:idalib_license:...`，改用路径 B（GUI 模式），不要反复重试 open.ps1。\n\nGUI 模式：在 IDA 里直接 Open 样本即可，无需 open.ps1。\n\n### Step 3: 全局概览（含导入表硬门）\n```\nidapro_survey_binary(detail_level=\"minimal\")\n```\n关注：\n- 架构（x86\u002Fx64\u002FARM）\n- 入口点（main\u002FWinMain\u002FDllMain）\n- 有趣的字符串（URL、路径、错误消息）\n- **导入分类（MUST）**：加密函数 \u002F 网络 API \u002F 文件操作 \u002F 进程注入 \u002F 注册表 — 必须落成 Evidence（建议 id：`E-imports`），可用 `idapro_entity_query(kind=\"imports\")` 或 survey 输出中的 imports 段\n- **DLL\u002FSYS**：导出表与导入表并列（Evidence `E-exports`）\n- **.NET**：无传统 IAT 时用模块\u002F元数据\u002F托管引用摘要作为等价锚点写入 E-imports 语义槽\n- **干净导入表**：注明动态加载嫌疑，推动动态 API 断点验证\n- 热门函数（高 xref 计数的函数通常是关键逻辑）\n\n**硬门禁**：未将 imports 视图\u002F分类摘要（或合法等价锚点）写入 Evidence 前，MUST NOT 进入 Step 4 深挖结论，MUST NOT 声称 survey 完成。导入表为空或查询失败时仍 MUST 记录失败现象。加壳 IAT 修复失败时 MUST 记 `E-iat-repair-fail` 并转动态调试抓 API，禁止静态死磕。用户要求重做导入表\u002FIAT 检查时 MUST 重做被点名步骤（阻塞时可行性门闩：说明+确认；强制则标 quality=unreadable），禁止改换无关步骤。\n\n### Step 4: 深入关键函数\n```\nidapro_analyze_function(addr=\"关键函数名\")\n```\n或：\n```\nidapro_decompile(addr=\"函数名\")\nidapro_disasm(addr=\"函数名\", max_instructions=50)\n```\n\n### Step 5: 数据流和交叉引用\n```\nidapro_xrefs_to(addrs=\"关键地址\u002F字符串\")\nidapro_callgraph(roots=[\"关键函数\"], max_depth=3)\nidapro_trace_data_flow(addr=\"关键地址\", direction=\"backward\", max_depth=5)\n```\n\n### Step 6: 记录和优化\n```\nidapro_set_comments(items=[{\"addr\": \"0x140001000\", \"comment\": \"你的理解\"}])\nidapro_rename(batch={\"func\": [{\"addr\": \"函数地址\", \"name\": \"有意义的名字\"}]})\n```\n\n### Step 7: 输出报告\n分析完成后，生成 `report.md` 记录发现和步骤。\n\n## Prompt 工程准则\n\n1. **不要手动算进制** — 任何时候需要转换数字，用 `idapro_int_convert`\n2. **先 survey 后深入** — 先看概况再针对性分析\n3. **持续加注释和重命名** — 分析过程中不断更新函数名和变量名，提升后续分析的准确性\n4. **跟踪交叉引用** — 发现有趣的数据\u002F字符串，用 `xrefs_to` 看谁引用了它\n5. **遇到混淆代码** — 先做字符串解密、导入哈希去除、控制流平坦化去除等预处理\n6. **C++ STL 代码** — 用 FLIRT\u002FLumina 识别库函数后，再分析业务逻辑\n7. **不要暴力破解** — 分析应从反汇编中推导解决方案，用简单 Python 辅助计算\n8. **遇到 \"No database bound\"** — 还没有打开任何二进制文件，先执行 `open.ps1`\n9. **遇到 \"Failed to open database\"** — 可能是旧数据库文件被锁，`open.ps1` 会自动降级到 Temp 副本（输出含 `(temp copy)` 标记）\n10. **带自动分析打开 GUI\u002F复杂样本时** — 默认加 `-TimeoutSeconds 600`，不要把长时间 `INFO:opening:...` 误判成脚本卡死\n\n---\n\n## 路由上下文\n\n**上游入口**: `skills\u002FSKILL.md`（总控）、`routing.md`\n**上游备选**: `radare2\u002F`（如果不想开 IDA，可以先 r2 快速侦察）\n**下游出口**:\n- 需 Frida 动态验证 → `reverse-engineering\u002Ftools-dynamic.md`\n- 需符号执行\u002Fangr → `reverse-engineering\u002Ftools-dynamic.md`\n- 需通用逆向方法论 → `reverse-engineering\u002FSKILL.md`\n\n**同级关联模块**: `radare2\u002F`（IDA 不可用时替代方案）\n\n---\n\n## 按需自举（On-Demand Bootstrap）\n\n本 skill 的入口脚本已接入统一自举系统。\n\n### 自动化能力边界\n\n| 工具 | 可自动安装 | 安装方式 | 说明 |\n|------|-----------|---------|------|\n| idalib-mcp | ✓ | pip install (from GitHub) | `start.ps1` 缺失时自动安装 |\n| IDA Pro 本体 | ✗ | 商业软件，需手动安装 | 设置 `IDADIR` 环境变量指向安装目录 |\n\n### 安装步骤（已验证）\n\n```cmd\n# 1. 设置 IDA 路径（替换为你的实际 IDA 安装目录）\nsetx IDADIR \"\u003C你的IDA安装目录>\"\n\n# 2. 从 GitHub 安装 ida-pro-mcp（PyPI 上的 ida-mcp 是另一个项目，不要装错！）\npip install git+https:\u002F\u002Fgithub.com\u002Fmrexodia\u002Fida-pro-mcp.git\n\n# 3. 安装 IDA 插件（选择 Streamable HTTP + Global + 全选客户端）\nida-pro-mcp --install\n\n# 4. 重启 IDA Pro，打开目标文件\n# 插件自动监听 127.0.0.1:13337\n\n# 5. 验证\nida-pro-mcp --config\n```\n\n> ⚠️ **注意**：PyPI 上的 `ida-mcp` 包（作者 jtsylve）是另一个项目，不是我们需要的。\n> 必须从 GitHub 安装 `mrexodia\u002Fida-pro-mcp`。\n\n### 自举触发点\n\n- `scripts\u002Fstart.ps1`：缺 `idalib-mcp` 时自动调用 `bootstrap-reverse.ps1`\n- MCP 注册：bootstrap 会自动把 `idapro` 写入 Claude MCP 配置\n\n### 前置条件\n\n- IDA Pro 已安装且 `IDADIR` 环境变量已设置（或脚本内默认路径正确）\n- 推荐使用 IDA 自带 Python314 中的 `ida-pro-mcp`（便携版已内置）\n- 常见本机配置：\n  - User env `IDADIR` → IDA 安装目录（含 `ida.exe`）\n  - 可选 `~\\Tools\\bin\\idalib-mcp.cmd` \u002F `ida-pro-mcp.cmd` 包装器\n  - 客户端 MCP 服务器名只留 `idapro` → `http:\u002F\u002F127.0.0.1:13337\u002Fmcp`\n\n\n## 任务完成自检（声称完成前 MUST 通过）\n\n- [ ] 我是否执行了工作流中的每一步（而不是只阅读）？\n- [ ] survey\u002Fimports 是否已写入 Evidence（E-imports 或等价）？DLL\u002FSYS 是否含 E-exports？IAT 失败是否记 E-iat-repair-fail？\n- [ ] 用户若要求重做导入表\u002FIAT，是否重做了同一步？\n- [ ] 我是否基于 `tool-index` 使用了真实工具路径？\n- [ ] 我是否产出了可复现证据（命令\u002F脚本\u002F截图\u002F报告）？\n- [ ] 我是否完成并回写了 RULES 要求的 Checklist 项？\n\n## Limitations\n\n- Commercial license required; MCP automation adds setup overhead.\n- Heavily obfuscated targets still demand manual deobfuscation work.\n\n> Adapted from [zhaoxuya520\u002Freverse-skill](https:\u002F\u002Fgithub.com\u002Fzhaoxuya520\u002Freverse-skill) (MIT).\n","# IDA Pro 逆向分析技能\n## When to Use\n\n- Deep static analysis of a compiled target where IDA is available.\n- Tracking data flow or cross-references through large binaries.\n\n\n## 已知问题与反思（必读）\n\n### 踩过的坑\n\n1. **`idb_open`（旧名 `idalib_open`）不要直接靠部分 AI 客户端 MCP 调用**\n   - 部分代码 AI 客户端 的 MCP 客户端对 open 类工具的 output schema 校验有 BUG\n   - 报错：`Structured content does not match the tool's output schema`\n   - **解决办法**：使用 `scripts\u002Fopen.ps1` 脚本通过 HTTP API 直调，绕过 MCP 校验层\n   - 当前 ida-pro-mcp 2.x 工具名为 `idb_open` \u002F `idb_list` \u002F `idb_save`（不再是 `idalib_*`）\n   - 文件打开后返回 `session_id`（database），后续工具调用需带该 session\n\n2. **`C:\\Windows\\System32\\` 文件无权限打开**\n   - idalib 无法直接读取 System32 目录下的文件\n   - **解决办法**：`open.ps1` 自动检测并复制到 `临时目录` 目录后再打开\n\n3. **启动服务器命令阻塞对话**\n   - `idalib-mcp` 启动后会持续输出 INFO 日志到控制台\n   - **解决办法**：使用 `scripts\u002Fstart.ps1`（`-WindowStyle Hidden` 后台静默启动）\n   - 脚本会等待服务就绪后自动退出，不阻塞对话\n\n4. **MCP 服务器名不能用横线**\n   - 之前用 `ida-pro-mcp` 作为服务器名，可能引起工具注册问题\n   - **当前配置**：服务器名 `idapro`，工具前缀 `idapro_*`\n\n5. **Remote HTTP vs Local Stdio**\n   - `type:\"local\"`（stdio）模式：`idalib_open` 同样有 schema 校验问题\n   - `type:\"remote\"`（HTTP）模式：可以先用脚本直开文件，再用 MCP 工具\n   - **当前方案**：Remote HTTP 模式\n\n6. **PR #389 修复了部分 schema 问题**\n   - 作者 mrexodia 在 issue #388 后通过 PR #389 合并了修复\n   - 修复了 HTTP 模式下的 structuredContent schema，但 部分代码 AI 客户端 侧校验仍有问题\n   - 已安装最新 `main` 分支版本\n\n7. **idalib 超时留下孤儿 worker 进程锁文件**\n   - 第一次 `open.ps1` 超时后，idalib 的 python worker 子进程可能变成孤儿，咬着 `.id0`\u002F`.id1`\u002F`.nam` 不放\n   - 后续任何工具或手动拖入 IDA GUI 都会报\"权限不足\"\n   - **禁止** `taskkill \u002FF \u002FT` 杀进程树——`\u002FT` 会把 GUI `ida.exe` 子进程一起干掉\n   - **解决办法**：`start.ps1` 只在端口无人监听、或 `tools\u002Flist` 快速返回但缺 `py_eval`（旧 supervisor）时替换 managed supervisor；RPC 超时且 13337 仍在听视为忙，不杀\n   - **兜底**：`open.ps1` 检测到旧库被锁自动复制到 Temp 并加 GUID 前缀\n\n8. **带自动分析打开看起来像卡死**\n   - `idalib_open(run_auto_analysis=true)` 可能长时间不回包，但后端实际上仍在继续打开和分析\n   - 之前用户侧看到的是“PowerShell 一直无输出”，容易误判成脚本卡死\n   - **当前解决办法**：`open.ps1` 新增 `-TimeoutSeconds`，并改为后台请求 + 前台轮询 + 定时进度输出\n   - 轮询到会话已就绪时会提前返回 `OK:文件名:session_id`，超时则返回 `ERR:open_timeout_xxs`\n\n9. **HTTP MCP 会在登录后静默退出**\n   - Cursor\u002FClaude 的 `type: http` 不会代为拉起进程；旧计划任务只在登录时跑一次\n   - `pythonw` 无控制台，崩溃时 Application 日志也是空的\n   - **解决办法**：`start.ps1` 默认健康则复用；`watchdog.ps1` 每分钟巡检；日志在 `%LOCALAPPDATA%\\reverse-skill\\ida-mcp\\`\n   - 安装：`scripts\u002Finstall-autostart.ps1`。Cursor 若启动时端口还没起来，仍需在 MCP 面板手动刷新一次\n\n### 工作流程原则\n\n| 步骤 | 做什么 | 用什么 |\n|------|--------|--------|\n| 1 | 确保 HTTP 服务器在运行 | `scripts\u002Fstart.ps1`（无参数） |\n| 2 | 打开目标二进制文件 | `scripts\u002Fopen.ps1 -Path \"xxx.exe\"` |\n| 3 | 使用 MCP 分析工具 | 直接调用 `idapro_*` \u002F HTTP tools（约 65 个，视版本而定） |\n| 4 | 分析完毕 | 工具自动可用 |\n\n## 脚本资源\n\n### start.ps1 — 启动 MCP HTTP 服务器\n\n路径：`scripts\u002Fstart.ps1`\n\n- 自动解析 `IDADIR`（环境变量 \u002F 便携版桌面路径 \u002F 常见安装路径）\n- 优先用 IDA 自带 `Python314\\python.exe -m ida_pro_mcp.idalib_supervisor`\n- 默认先探测 `http:\u002F\u002F127.0.0.1:13337\u002Fmcp`，健康则输出 `OK:\u003Cn>:reuse` 并退出\n- 13337 在听但 `tools\u002Flist` 超时 → `WARN:busy` \u002F `OK:busy:reuse`，**不杀**（supervisor 单线程，开库时无法回包）\n- 仅在端口无人监听、或快速返回且缺 `py_eval` 时替换 managed supervisor；**永不杀 `ida.exe`，不用 `taskkill \u002FT`**\n- GUI 占用 13337 时输出 `WARN:gui_busy` 并退出，不另起 supervisor\n- 成功输出 `OK:\u003C工具数>`（当前约 66），失败输出 `ERR:timeout`\n- supervisor 日志：`%LOCALAPPDATA%\\reverse-skill\\ida-mcp\\supervisor.log`\n- 服务器在后台运行，不阻塞对话\n\n**调用方式**：\n```\npowershell -File \"\u003Cskill-root>\\ida-reverse\\scripts\\start.ps1\"\n```\n\n### watchdog.ps1 \u002F install-autostart.ps1 — 保活\n\n- `watchdog.ps1`：探测 13337，健康则 `OK:\u003Cn>:reuse`，挂了才调用 `start.ps1`\n- `install-autostart.ps1`：注册计划任务 `reverse-skill-ida-mcp`（登录 + 每分钟）\n- 日志：`%LOCALAPPDATA%\\reverse-skill\\ida-mcp\\watchdog.log`\n\n### open.ps1 — 打开二进制文件\n\n路径：`scripts\u002Fopen.ps1`\n\n- 通过 HTTP API 直调 `idb_open`，绕过 MCP schema 校验\n- 自动检测 System32 路径并复制到临时目录\n- 自动清理同名旧数据库文件（`.id0`\u002F`.id1`\u002F`.nam`\u002F`.til`\u002F`.i64`）\n- 旧库被锁时自动降级：复制到 Temp 加 GUID 前缀后打开，不报错\n- 将打开请求放到后台执行，避免长时间同步等待导致脚本无响应\n- 支持 `-TimeoutSeconds`，超时后返回 `ERR:open_timeout_xxs`，不会无限卡住\n- 每隔 10 秒输出一次 `INFO:opening:已用时\u002F超时秒数`，便于判断仍在分析中\n- 成功输出 `OK:文件名:session_id`，降级时加 `(temp copy)` 标记\n- 失败时自动重试走 Temp 副本\n\n**调用方式**：\n```\npowershell -File \"\u003Cskill-root>\\ida-reverse\\scripts\\open.ps1\" -Path \"C:\\path\\to\\file.exe\"\n```\n\n**可选参数**：\n```\n# 指定 SessionId\npowershell -File \"scripts\\open.ps1\" -Path \"file.exe\" -SessionId \"my_session\"\n\n# 跳过自动分析（大文件推荐）\npowershell -File \"scripts\\open.ps1\" -Path \"large.exe\" -NoAutoAnalysis\n\n# 设置超时，避免带自动分析时长时间无返回\npowershell -File \"scripts\\open.ps1\" -Path \"file.exe\" -TimeoutSeconds 600\n```\n\n**输出约定**：\n```\n# 分析进行中（每 10 秒输出一次）\nINFO:opening:11\u002F600s\n\n# 成功打开\nOK:sample.exe:abcd1234\n\n# 成功打开，但因锁文件降级到 Temp 副本\nOK:1234abcd-sample.exe:abcd1234 (temp copy)\n\n# 达到超时上限\nERR:open_timeout_600s\n```\n\n**实测说明**：\n- `Snipaste.exe` 带自动分析实测约 `324s` 才返回成功，属于“分析很久”而不是“脚本死锁”\n- 因此遇到 GUI 程序或较复杂样本时，建议优先显式设置 `-TimeoutSeconds 600`\n\n## 核心工具列表\n\n### 概况分析（第一步）\n- `idapro_survey_binary(detail_level=\"minimal\")` — 快速概况：函数数、字符串、段、入口点、导入分类（加密\u002F网络\u002F文件IO）\n- `idapro_list_funcs(queries)` — 列出函数（分页、按名称过滤）\n- `idapro_list_globals(queries)` — 列出全局变量\n- `idapro_entity_query(kind, filter)` — 统一查询：functions\u002Fglobals\u002Fimports\u002Fstrings\u002Fnames\n\n### 反编译与反汇编\n- `idapro_decompile(addr)` — 反编译为伪代码\n- `idapro_disasm(addr, max_instructions=N)` — 反汇编\n- `idapro_analyze_function(addr, include_asm=false)` — 综合分析（伪代码+字符串+常量+调用者+被调用者+块）\n- `idapro_func_profile(queries)` — 函数概要指标\n\n### 交叉引用与数据流\n- `idapro_xrefs_to(addrs)` — 查谁引用目标地址\n- `idapro_xref_query(addr, direction)` — 高级 xref 查询（方向\u002F类型过滤）\n- `idapro_callees(addrs)` — 子函数列表\n- `idapro_callgraph(roots, max_depth)` — 调用图\n- `idapro_trace_data_flow(addr, direction, max_depth)` — 数据流追踪（forward\u002Fbackward）\n\n### 搜索\n- `idapro_find_regex(pattern, limit)` — 正则搜字符串\n- `idapro_search_text(pattern)` — 在反汇编列表中搜文本\n- `idapro_find_bytes(patterns, limit)` — 字节模式搜索（支持 ?? 通配符）\n- `idapro_find(type, targets)` — 高级搜索（立即数\u002F字符串\u002F引用）\n\n### 内存与数据\n- `idapro_get_bytes(addrs)` — 读原始字节\n- `idapro_get_string(addrs)` — 读字符串\n- `idapro_get_int(queries)` — 读整数值\n- `idapro_get_global_value(queries)` — 读全局变量值\n- `idapro_read_struct(queries)` — 读结构体字段值\n- `idapro_search_structs(filter)` — 搜索结构体\n\n### 修改操作\n- `idapro_set_comments(items)` — 添加注释（反汇编+反编译双向同步）\n- `idapro_append_comments(items)` — 追加注释\n- `idapro_rename(batch)` — 批量重命名（函数\u002F全局\u002F局部\u002F栈变量）\n- `idapro_patch_asm(items)` — Patch 汇编指令\n- `idapro_patch(patches)` — Patch 字节\n- `idapro_define_func(items)` — 定义函数\n- `idapro_undefine(items)` — 取消定义\n- `idapro_define_code(items)` — 将字节转为代码\n\n### 类型系统\n- `idapro_declare_type(decls)` — 声明 C 结构体\u002F枚举\u002F联合体\n- `idapro_set_type(edits)` — 应用类型到函数\u002F全局\u002F局部\n- `idapro_infer_types(addrs)` — 推断类型\n- `idapro_type_query(queries)` — 查询已声明类型\n- `idapro_type_inspect(queries)` — 查看类型详情\n\n### 栈帧\n- `idapro_stack_frame(addrs)` — 查看栈帧变量\n- `idapro_declare_stack(items)` — 声明栈变量\n- `idapro_delete_stack(items)` — 删除栈变量\n\n### 签名\n- `idapro_make_signature(addrs)` — 为地址生成唯一字节签名\n- `idapro_make_signature_for_function(addrs)` — 为函数生成签名\n- `idapro_find_xref_signatures(addrs)` — 为引用地址的代码生成签名\n\n### 调试器（需要 ?ext=dbg）\n- `idapro_open_file(file_path)` — 在 GUI IDA 实例中打开文件\n- 调试器工具默认隐藏，可通过 URL 参数 `?ext=dbg` 启用\n\n### 会话管理（ida-pro-mcp 2.x）\n- `idapro_idb_open` \u002F HTTP `idb_open` — ⚠️ 建议用 `open.ps1` 打开\n- `idapro_idb_list` \u002F HTTP `idb_list` — 列出所有 session\n- `idapro_idb_save` \u002F HTTP `idb_save` — 保存数据库\n- 多数分析工具需要 `database=\u003Csession_id>` 参数（open.ps1 输出的 session）\n\n### 其他\n- `idapro_int_convert(inputs)` — 进制转换（**必须用这个，不要自己算进制！**）\n- `idapro_export_funcs(addrs, format)` — 导出函数（json\u002Fc_header\u002Fprototypes）\n- `idapro_py_eval(code)` — 在 IDA 上下文执行 Python\n- `idapro_server_health()` — 服务器健康检查\n- `idapro_server_warmup()` — 预热子系统（字符串缓存、Hex-Rays 等）\n\n## 逆向分析完整工作流\n\n### Step 1: 启动服务器\n\n**路径 A — Headless idalib（需要有效 license）**\n```\npowershell -File \"scripts\u002Fstart.ps1\"\n```\n输出 `OK:\u003C工具数>`（当前约 65）表示就绪。\n\n**路径 B — GUI + 插件（idalib license 失败或需要交互分析时）**\n```\npowershell -File \"scripts\u002Fstart-gui.ps1\" -Path \"C:\\目标.exe\"\n```\n或双击便携版 `Launch-IDA-Pro.cmd`，在 IDA 中打开样本。\n\n确认 Output 窗口出现 `[MCP] ... port=13337` 后，MCP 工具即可用。\n\n通用对接步骤见 `LOCAL-SETUP.md`。\n\n### Step 2: 打开文件\n\nHeadless：\n```\npowershell -File \"scripts\u002Fopen.ps1\" -Path \"C:\\目标.exe\" -TimeoutSeconds 600\n```\n输出 `OK:文件名:session_id` 表示成功（后带 `(temp copy)` 表示自动降级到临时副本）。\n\n若出现 `ERR:idalib_license:...`，改用路径 B（GUI 模式），不要反复重试 open.ps1。\n\nGUI 模式：在 IDA 里直接 Open 样本即可，无需 open.ps1。\n\n### Step 3: 全局概览（含导入表硬门）\n```\nidapro_survey_binary(detail_level=\"minimal\")\n```\n关注：\n- 架构（x86\u002Fx64\u002FARM）\n- 入口点（main\u002FWinMain\u002FDllMain）\n- 有趣的字符串（URL、路径、错误消息）\n- **导入分类（MUST）**：加密函数 \u002F 网络 API \u002F 文件操作 \u002F 进程注入 \u002F 注册表 — 必须落成 Evidence（建议 id：`E-imports`），可用 `idapro_entity_query(kind=\"imports\")` 或 survey 输出中的 imports 段\n- **DLL\u002FSYS**：导出表与导入表并列（Evidence `E-exports`）\n- **.NET**：无传统 IAT 时用模块\u002F元数据\u002F托管引用摘要作为等价锚点写入 E-imports 语义槽\n- **干净导入表**：注明动态加载嫌疑，推动动态 API 断点验证\n- 热门函数（高 xref 计数的函数通常是关键逻辑）\n\n**硬门禁**：未将 imports 视图\u002F分类摘要（或合法等价锚点）写入 Evidence 前，MUST NOT 进入 Step 4 深挖结论，MUST NOT 声称 survey 完成。导入表为空或查询失败时仍 MUST 记录失败现象。加壳 IAT 修复失败时 MUST 记 `E-iat-repair-fail` 并转动态调试抓 API，禁止静态死磕。用户要求重做导入表\u002FIAT 检查时 MUST 重做被点名步骤（阻塞时可行性门闩：说明+确认；强制则标 quality=unreadable），禁止改换无关步骤。\n\n### Step 4: 深入关键函数\n```\nidapro_analyze_function(addr=\"关键函数名\")\n```\n或：\n```\nidapro_decompile(addr=\"函数名\")\nidapro_disasm(addr=\"函数名\", max_instructions=50)\n```\n\n### Step 5: 数据流和交叉引用\n```\nidapro_xrefs_to(addrs=\"关键地址\u002F字符串\")\nidapro_callgraph(roots=[\"关键函数\"], max_depth=3)\nidapro_trace_data_flow(addr=\"关键地址\", direction=\"backward\", max_depth=5)\n```\n\n### Step 6: 记录和优化\n```\nidapro_set_comments(items=[{\"addr\": \"0x140001000\", \"comment\": \"你的理解\"}])\nidapro_rename(batch={\"func\": [{\"addr\": \"函数地址\", \"name\": \"有意义的名字\"}]})\n```\n\n### Step 7: 输出报告\n分析完成后，生成 `report.md` 记录发现和步骤。\n\n## Prompt 工程准则\n\n1. **不要手动算进制** — 任何时候需要转换数字，用 `idapro_int_convert`\n2. **先 survey 后深入** — 先看概况再针对性分析\n3. **持续加注释和重命名** — 分析过程中不断更新函数名和变量名，提升后续分析的准确性\n4. **跟踪交叉引用** — 发现有趣的数据\u002F字符串，用 `xrefs_to` 看谁引用了它\n5. **遇到混淆代码** — 先做字符串解密、导入哈希去除、控制流平坦化去除等预处理\n6. **C++ STL 代码** — 用 FLIRT\u002FLumina 识别库函数后，再分析业务逻辑\n7. **不要暴力破解** — 分析应从反汇编中推导解决方案，用简单 Python 辅助计算\n8. **遇到 \"No database bound\"** — 还没有打开任何二进制文件，先执行 `open.ps1`\n9. **遇到 \"Failed to open database\"** — 可能是旧数据库文件被锁，`open.ps1` 会自动降级到 Temp 副本（输出含 `(temp copy)` 标记）\n10. **带自动分析打开 GUI\u002F复杂样本时** — 默认加 `-TimeoutSeconds 600`，不要把长时间 `INFO:opening:...` 误判成脚本卡死\n\n---\n\n## 路由上下文\n\n**上游入口**: `skills\u002FSKILL.md`（总控）、`routing.md`\n**上游备选**: `radare2\u002F`（如果不想开 IDA，可以先 r2 快速侦察）\n**下游出口**:\n- 需 Frida 动态验证 → `reverse-engineering\u002Ftools-dynamic.md`\n- 需符号执行\u002Fangr → `reverse-engineering\u002Ftools-dynamic.md`\n- 需通用逆向方法论 → `reverse-engineering\u002FSKILL.md`\n\n**同级关联模块**: `radare2\u002F`（IDA 不可用时替代方案）\n\n---\n\n## 按需自举（On-Demand Bootstrap）\n\n本 skill 的入口脚本已接入统一自举系统。\n\n### 自动化能力边界\n\n| 工具 | 可自动安装 | 安装方式 | 说明 |\n|------|-----------|---------|------|\n| idalib-mcp | ✓ | pip install (from GitHub) | `start.ps1` 缺失时自动安装 |\n| IDA Pro 本体 | ✗ | 商业软件，需手动安装 | 设置 `IDADIR` 环境变量指向安装目录 |\n\n### 安装步骤（已验证）\n\n```cmd\n# 1. 设置 IDA 路径（替换为你的实际 IDA 安装目录）\nsetx IDADIR \"\u003C你的IDA安装目录>\"\n\n# 2. 从 GitHub 安装 ida-pro-mcp（PyPI 上的 ida-mcp 是另一个项目，不要装错！）\npip install git+https:\u002F\u002Fgithub.com\u002Fmrexodia\u002Fida-pro-mcp.git\n\n# 3. 安装 IDA 插件（选择 Streamable HTTP + Global + 全选客户端）\nida-pro-mcp --install\n\n# 4. 重启 IDA Pro，打开目标文件\n# 插件自动监听 127.0.0.1:13337\n\n# 5. 验证\nida-pro-mcp --config\n```\n\n> ⚠️ **注意**：PyPI 上的 `ida-mcp` 包（作者 jtsylve）是另一个项目，不是我们需要的。\n> 必须从 GitHub 安装 `mrexodia\u002Fida-pro-mcp`。\n\n### 自举触发点\n\n- `scripts\u002Fstart.ps1`：缺 `idalib-mcp` 时自动调用 `bootstrap-reverse.ps1`\n- MCP 注册：bootstrap 会自动把 `idapro` 写入 Claude MCP 配置\n\n### 前置条件\n\n- IDA Pro 已安装且 `IDADIR` 环境变量已设置（或脚本内默认路径正确）\n- 推荐使用 IDA 自带 Python314 中的 `ida-pro-mcp`（便携版已内置）\n- 常见本机配置：\n  - User env `IDADIR` → IDA 安装目录（含 `ida.exe`）\n  - 可选 `~\\Tools\\bin\\idalib-mcp.cmd` \u002F `ida-pro-mcp.cmd` 包装器\n  - 客户端 MCP 服务器名只留 `idapro` → `http:\u002F\u002F127.0.0.1:13337\u002Fmcp`\n\n\n## 任务完成自检（声称完成前 MUST 通过）\n\n- [ ] 我是否执行了工作流中的每一步（而不是只阅读）？\n- [ ] survey\u002Fimports 是否已写入 Evidence（E-imports 或等价）？DLL\u002FSYS 是否含 E-exports？IAT 失败是否记 E-iat-repair-fail？\n- [ ] 用户若要求重做导入表\u002FIAT，是否重做了同一步？\n- [ ] 我是否基于 `tool-index` 使用了真实工具路径？\n- [ ] 我是否产出了可复现证据（命令\u002F脚本\u002F截图\u002F报告）？\n- [ ] 我是否完成并回写了 RULES 要求的 Checklist 项？\n\n## Limitations\n\n- Commercial license required; MCP automation adds setup overhead.\n- Heavily obfuscated targets still demand manual deobfuscation work.\n\n> Adapted from [zhaoxuya520\u002Freverse-skill](https:\u002F\u002Fgithub.com\u002Fzhaoxuya520\u002Freverse-skill) (MIT).\n",{"name":5,"risk":48,"source":49,"license":14,"date_added":50,"description":7,"source_repo":51,"source_type":25,"license_source":52},"safe","https:\u002F\u002Fgithub.com\u002Fzhaoxuya520\u002Freverse-skill","2026-08-25","zhaoxuya520\u002Freverse-skill","https:\u002F\u002Fgithub.com\u002Fzhaoxuya520\u002Freverse-skill\u002Fblob\u002Fmain\u002FLICENSE","f3312ba749561b6159f477dbfc9313c875d40a56",".agents\u002Fskills_archive\u002Fida-reverse","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612","2026-10-25 23:50:58",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill ida-reverse",{"tool":64,"command":65},"bunx","bunx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill ida-reverse",{"tool":67,"command":68},"pnpm","pnpm dlx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill ida-reverse","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fida-reverse\u002FSKILL.md",true,[72,78],{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fida-mcp-cheatsheet.md","REFERENCE","参考文档",11252,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fida-reverse\u002Freferences\u002Fida-mcp-cheatsheet.md",{"path":79,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002FLOCAL-SETUP.md",3056,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fida-reverse\u002Freferences\u002FLOCAL-SETUP.md",[83,110,134,156,184,208],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":92,"publishedAt":43},"01M6Q0FA5FZ410Z33Z3TFQ4DBA","zero-trust","Implement zero-trust network architecture. Configure identity-based access, micro-segmentation, and continuous verification. Use when implementing modern security architectures.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fzero-trust\u002FSKILL.md",[89],{"categoryNo":90,"categoryName":91,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000011","运维与部署",[93,94,95,96,97,98,85,99,100,101,102,103,25,32,104,105,106,107,108,109],"ZeRO","trust","zero trust","architecture","assessment","verification","segmentation","devops-security","access","configure","only","active","critical","scope","scripts","relevant","implementing",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":43},"01M6Q0F1YZJW3KX5FBKEVZ8CV4","zcode-delegate","Delegate coding tasks to the Z.AI ZCode CLI only when the user explicitly requests it, while the orchestrator retains review and landing responsibility.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fzcode-delegate\u002FSKILL.md",[],[117,118,119,120,121,122,123,124,125,126,127,128,129,103,130,25,131,132,105,133],"delegate","zcode","zcode delegate","review","cli","orchestration","tasks","run","Bash","model","node","read","orchestrator","files","desktop app","app","agent-orchestration",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":43},"01M6Q0ETK41VGNMYEXW0T00AJN","youtube-transcript","Fetch YouTube transcripts through DeepAPI or local fallback tooling and save clean text output.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-transcript\u002FSKILL.md",[],[141,142,143,48,42,144,145,40,146,147,148,149,150,25,32,151,152,153,154,155],"transcript","youtube transcript","youtube","codex","research","https","text","fetch","tooling","clean","local","output","deepapi","youtube transcripts","blob",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":173,"publishedAt":43},"01M6Q0EPPH2PVMDW40017F8WX0","youtube-transcript-skills","Fetch YouTube video transcripts, search videos\u002Fchannels, browse channels, and extract playlists via the getyoutubetranscript.com API - free tier, no card required.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-transcript-skills\u002FSKILL.md",[162,165,168],{"categoryNo":163,"categoryName":164,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":166,"categoryName":167,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000016","图像与多媒体",{"categoryNo":169,"categoryName":170,"taxonomyType":171,"taxonomyTypeDesc":172},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[141,142,143,174,48,175,42,144,40,176,177,178,179,148,180,25,32,181,182,183],"youtube transcript skills","gemini","search","api","Video","browse","api-integration","free","card","channels",{"skillNo":185,"name":186,"nameZh":6,"description":187,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":188,"categories":189,"keywords":194,"publishedAt":43},"01M6Q0EAB96PX83W5PTE8A0R8D","youtube-notetaker","Turn YouTube talks into local study notes with slides, transcripts, editable annotations, and a markdown-backed viewer.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-notetaker\u002FSKILL.md",[190,193],{"categoryNo":191,"categoryName":192,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000003","演示文稿",{"categoryNo":166,"categoryName":167,"taxonomyType":20,"taxonomyTypeDesc":21},[143,195,196,121,48,197,198,199,200,40,178,201,202,203,204,32,205,151,206,207],"youtube notetaker","notetaker","workflow","official","notes","code","markdown","slides","annotations","README","study","dair-academy","viewer",{"skillNo":209,"name":210,"nameZh":6,"description":211,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":212,"categories":213,"keywords":215,"publishedAt":43},"01M6Q0E55F0GW5MX48V8HXS8B5","youtube-full","Fetch YouTube transcripts, search videos, browse channels, and extract playlists via TranscriptAPI — no yt-dlp, no Google API key, works from any cloud server.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-full\u002FSKILL.md",[214],{"categoryNo":163,"categoryName":164,"taxonomyType":20,"taxonomyTypeDesc":21},[216,143,217,218,48,175,176,219,220,177,178,179,148,221,180,25,32,181,222,154],"youtube full","full","google","server","dlp","credits","automatic"]