0G

0xeb/ghidrasql-skills

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

21 stars 质量 57 趋势 24NOASSERTION

Claude Code 技能 for ghidrasql — 用于 Ghidra 分析和注释工作流程的实时 SQL 接口

概览

Claude Code / Copilot CLI 技能,针对 ghidrasql,这是一个用于 Ghidra 分析和注释工作流程的实时 SQL 接口。 - 安装并运行带有 LibGhidraHost 扩展的 Ghidra 项目,当你需要实时查询时运行 - ghidrasql 可在你的 PATH 上使用或可从已知位置调用 - 验证:ghidrasql --help - 对于多程序项目,使用 --list-project-programs、project_programs 表或 HTTP GET /project/programs,然后选择一个活跃域路径 --program 或 HTTP POST /project/open。 使用插件的包装,而不是直接复制到 ~/.codex/skills 里。插件路径保留了 ghidrasql 命名空间,所以通用技能名称如 xrefs、data 和类型不会与其他技能冲突。 2. 将插件目录复制到你的家庭插件文件夹中: 3. 创建或更新 ~/.agents/plugins/marketplace.json,使其包含: Codex插件的清单放在plugins/ghidrasql/.codex-plugin/plugin.json,技能则在plugins/ghidrasql/skills/下。

概述(AI 翻译)

Claude Code / Copilot CLI 技能,适用于 ghidrasql,这是一个用于 Ghidra 分析和注释工作流程的实时 SQL 接口。

先修条件

  • 安装并运行LibGhidraHost扩展的Ghidra项目,当你需要实时查询时运行
  • ghidrasql 在您的 PATH 上可用或可从已知位置呼叫
  • 验证:ghidrasql --help
  • 对于多程序项目,使用--list-project-programs、project_programs表或HTTP GET /project/programs,然后选择一个活跃的域路径--program或HTTP POST /project/open

安装

Claude Code / 副驾驶 CLI

法典

使用插件包装,而不是直接复制到 ~/.codex/skills。插件路径保留了 ghidrasql 命名空间,这样通用技能名如 xrefs、data 和 types 不会与其他技能冲突。

本地安装

  1. 将该仓库临时克隆:

  2. 将插件目录复制到你的家庭插件文件夹中:

  3. 创建或更新~/.agents/plugins/marketplace.json,使其包含:

  4. 重启Codex。

Codex 插件的列表位于 plugins/ghidrasql/.codex-plugin/plugin.json,技能则存放在 plugins/ghidrasql/skills/。

仓库本地安装

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

ghidrasql-skills

Claude Code / Copilot CLI skills for ghidrasql, a live SQL interface for Ghidra analysis and annotation workflows.

Prerequisites

  • A Ghidra project with the LibGhidraHost extension installed and running when you need live queries
  • ghidrasql available on your PATH or callable from a known location
  • Verify: ghidrasql --help
  • For multi-program projects, use --list-project-programs, the project_programs table, or HTTP GET /project/programs, then select one active domain path with --program or HTTP POST /project/open

Installation

Claude Code / Copilot CLI

/plugin marketplace add 0xeb/ghidrasql-skills

Codex

Use the plugin packaging, not a flat copy into ~/.codex/skills. The plugin path preserves the ghidrasql namespace so generic skill names like xrefs, data, and types do not collide with other skills.

Home-local install

  1. Clone this repo anywhere temporary:
git clone https://github.com/0xeb/ghidrasql-skills
  1. Copy the plugin directory into your home plugins folder:
mkdir -p ~/plugins
cp -R ghidrasql-skills/plugins/ghidrasql ~/plugins/
  1. Create or update ~/.agents/plugins/marketplace.json so it contains:
{
  "name": "ghidrasql-tools",
  "interface": {
    "displayName": "GhidraSQL Tools"
  },
  "plugins": [
    {
      "name": "ghidrasql",
      "source": {
        "source": "local",
        "path": "./plugins/ghidrasql"
      },
      "policy": {
        "installation": "AVAILABLE",
        "authentication": "ON_INSTALL"
      },
      "category": "Engineering"
    }
  ]
}
  1. Restart Codex.

The Codex plugin manifest lives at plugins/ghidrasql/.codex-plugin/plugin.json, and the skills live under plugins/ghidrasql/skills/.

Repo-local install

If you want to test directly from a checkout, keep the repo where it is and use the bundled marketplace file at .agents/plugins/marketplace.json. Codex should resolve ./plugins/ghidrasql relative to the repo root.

Compatibility

  • SKILL.md is the canonical contract for each skill.
  • agents/openai.yaml adds optional Codex app metadata and does not replace SKILL.md.

Skills

Skill Description When to Use
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add 0xeb/ghidrasql-skills
新手?先看 mcpskill.org 教程 →