pyghidra-lite: Instructions file for Claude Code

CLAUDE.md

pyghidra-lite CLAUDE.md is an instructions file for Claude Code from johnzfitch/pyghidra-lite. It costs 903 tokens per session, scanned A, original, MIT.

Development and release instructions for pyghidra-lite, a small MCP server that connects AI assistants to Ghidra reverse-engineering tools. Reverse engineering means examining compiled software to understand how it works.

In plain words
What is it for?
Use them when changing decompilation, cross-reference, file-format, Swift, Objective-C, or React Native analysis tools, or preparing a release.
Why use it?
They explain the server's components and the version files that must agree when publishing a release.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions .claude-plugin; mentions Claude Code.

This is johnzfitch/pyghidra-lite's own configuration. It tells Claude Code how to work on pyghidra-lite itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything pyghidra-lite configures →

Reuse

Borrowing it

Nothing to install: this file belongs to johnzfitch/pyghidra-lite. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/johnzfitch/pyghidra-lite/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/johnzfitch/pyghidra-lite

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pyghidra-lite CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/johnzfitch/pyghidra-lite/claude-md/github.svg)](https://agentmods.dev/instructions/johnzfitch/pyghidra-lite/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/johnzfitch/pyghidra-lite/claude-md"><img src="https://agentmods.dev/badge/instructions/johnzfitch/pyghidra-lite/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pyghidra-lite CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/johnzfitch/pyghidra-lite/claude-md"><img src="https://agentmods.dev/badge/instructions/johnzfitch/pyghidra-lite/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 903 This file is loaded in full into every session.
When invoked 903 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00903 $0.00903
Opus 5.5 $0.00361 $0.00361
Sonnet 5.5 $0.00181 $0.00181
Haiku 4.5 $0.00090 $0.00090

Measured 27d ago against content hash 4b13bc55688d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pyghidra-lite CLAUDE.md scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 27d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| xargs -n1 curl -s -o /dev/null -X PURGE
CLAUDE.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.

pyghidra-lite

Token-efficient MCP server for Ghidra-based reverse engineering.

Architecture

  • src/pyghidra_lite/server.py - MCP server, CLI, tool registration
  • src/pyghidra_lite/backend.py - JVM/Ghidra bridge, project management
  • src/pyghidra_lite/tools.py - Core RE tools (decompile, xrefs, etc.)
  • src/pyghidra_lite/formats.py - ELF + Mach-O format tools
  • src/pyghidra_lite/lang.py - Swift + ObjC language tools
  • src/pyghidra_lite/hermes.py - React Native/Hermes tools
  • src/pyghidra_lite/doctor.py - pyghidra-lite doctor environment checks
  • plugins/pyghidra-lite/ - Claude Code plugin (MCP config + reverse-engineering skill); marketplace in .claude-plugin/marketplace.json

Development

uv sync                    # Install deps
uv run pytest             # Run tests
uv run pyghidra-lite serve # Start MCP server

Releasing

1. Bump version

Update version in five places, keeping them in sync (tests/test_plugin.py fails otherwise):

  • pyproject.toml (version)
  • server.json (top-level version and the packages[].version)
  • src/pyghidra_lite/__init__.py (__version__, exposed by pyghidra-lite --version)
  • plugins/pyghidra-lite/.claude-plugin/plugin.json (version)
  • plugins/pyghidra-lite/.mcp.json (the pyghidra-lite==<version> pin in args)

The publish workflow builds the release tag's commit (or the dispatched branch), so merge the version bump to master first, then create the release right away: until the new version is on PyPI, the plugin's uvx pin can't install it. PyPI versions are immutable -- a version number can be uploaded only once.

2. PyPI

Create a GitHub release (e.g., v0.5.0). The publish.yml workflow handles PyPI upload via trusted publishing.

3. MCP Registry

Automatic: publish.yml runs the registry job (mcp-registry.yml, GitHub OIDC login) after the PyPI job succeeds, waiting until PyPI serves the new version -- the registry rejects a version PyPI doesn't have yet. To (re-)register an already-published version, run the Publish to MCP Registry workflow manually (gh workflow run mcp-registry.yml, optional -f version=X.Y.Z; default is the version in server.json), or re-run a failed job.

Read the full file on GitHub · 81 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 27d ago Changed · +26 lines · +417 tokens per session 4b13bc55688d
  2. 2mo ago First seen · 55 lines · 486 tokens per session scan A 851d3d4d2f33

Subscribe to this mod's changes

pyghidra-lite CLAUDE.md is an instructions file published in the GitHub repository johnzfitch/pyghidra-lite (36 stars, last pushed 28d ago), licensed MIT. It adds 903 tokens to every session, about $0.0036 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

pyghidra-lite CLAUDE.md compared with instructions from other repositories

pyghidra-lite CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pyghidra-lite CLAUDE.mdjohnzfitch/pyghidra-liteInstructions file3628d agoMITA903Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode