ghidra-rename-and-retype

ghidra-rename-and-retype is a skill for Claude Code, Codex from mattmre/EVOKORE-MCP-PUBLIC. It costs 47 tokens per session (559 once invoked), scanned A, original, MIT.

A Ghidra workflow for making reverse-engineered programs easier to understand. Ghidra is a tool that turns compiled software back into readable analysis by showing functions, data, and decompiled code.

In plain words
What is it for?
Use it to rename functions and variables, add comments, set function signatures and return types, apply data types, and fill in structure layouts before checking the decompiled result again.
Why use it?
Raw analysis often contains unclear names, missing types, and little explanation. This skill improves those parts only when the evidence supports the change.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to rename functions and variables, add comments, set function signatures and return types, apply data types, and fill in structure layouts before checking the decompiled result again.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mattmre/evokore-mcp-public/ghidra-rename-and-retype
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mattmre/EVOKORE-MCP-PUBLIC --skill ghidra-rename-and-retype
Clone the repo
git clone --depth 1 https://github.com/mattmre/EVOKORE-MCP-PUBLIC

Made for: Claude Code, Codex.

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 ghidra-rename-and-retype

README.md
[![agentmods](https://agentmods.dev/badge/skills/mattmre/evokore-mcp-public/ghidra-rename-and-retype/github.svg)](https://agentmods.dev/skills/mattmre/evokore-mcp-public/ghidra-rename-and-retype)
Your own site
<a href="https://agentmods.dev/skills/mattmre/evokore-mcp-public/ghidra-rename-and-retype"><img src="https://agentmods.dev/badge/skills/mattmre/evokore-mcp-public/ghidra-rename-and-retype/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 ghidra-rename-and-retype

Your own site · 80×15
<a href="https://agentmods.dev/skills/mattmre/evokore-mcp-public/ghidra-rename-and-retype"><img src="https://agentmods.dev/badge/skills/mattmre/evokore-mcp-public/ghidra-rename-and-retype.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 559 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00047 $0.00559
Opus 5 $0.00023 $0.00280
Sonnet 5 $0.00009 $0.00112
Haiku 4.5 $0.00005 $0.00056

Measured 12d ago against content hash 16ab391897d6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

ghidra-rename-and-retype scanned grade A with 0 findings 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 12d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

SKILLS/DEVELOPER TOOLS/ghidra-rename-and-retype/SKILL.md · 75 lines

What it actually says

Ghidra Rename and Retype

Convert analysis notes into durable semantic improvements. Rename, comment, and retype only after the supporting evidence is explicit.

Workflow

  1. Start from a confirmed function-analysis result.
  2. Rename in this order:
    • function
    • globals/data labels
    • parameters
    • local variables
  3. Add comments for:
    • behavior summary
    • argument meaning
    • protocol / file format meaning
    • unresolved caveats
  4. Apply type improvements:
    • function signature
    • return type
    • variable types
    • parsed C definitions
    • structure filling from decompiler output when justified
  5. Re-run decompilation and verify the output became clearer, not noisier.

Tool Families to Prefer

  • ghidra_headless_function.rename
  • ghidra_headless_variable.rename
  • ghidra_headless_variable.retype
  • ghidra_headless_function.signature.set
  • ghidra_headless_function.return_type.set
  • ghidra_headless_type.parse_c
  • ghidra_headless_type.apply_at
  • ghidra_headless_layout.struct.fill_from_decompiler

GhidraMCP-style equivalents:

  • rename function
  • rename data
  • rename variable
  • set function prototype
  • set decompiler comment
  • set disassembly comment

Guardrails

  1. Avoid generic names like handler, func1, or process_data unless there is no stronger evidence.
  2. Preserve uncertainty in the name when needed, for example maybe_parse_config.
  3. Prefer short behavioral comments over long essays.
  4. Batch related renames together so call chains stay coherent.

Deliverable Format

  • Old name -> new name mappings
  • Signature/type updates applied
  • Comments added
  • Remaining semantic gaps that still need evidence
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. 12d ago First seen · 75 lines · 47 tokens per session scan A 16ab391897d6

Subscribe to this mod's changes

ghidra-rename-and-retype is a skill published in the GitHub repository mattmre/EVOKORE-MCP-PUBLIC (3 stars, last pushed 3mo ago), licensed MIT. It adds 47 tokens to every session and 559 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

ts-debug

TypeScript/Node debugging expert. Use when the user needs to debug, profile, or trace TypeScript or Node.js code — e.g. "how do I debug this", "find the memory leak", "why is this slow", "add a breakpoint", "profile this function", "why won't the process exit".

berekvolgyipeter/dotclaude · 68 tokens

py-debug

Python debugging expert. Use when the user needs to debug, profile, or trace Python code — e.g. "how do I debug this", "find the memory leak", "why is this slow", "add a breakpoint", "profile this function".

berekvolgyipeter/dotclaude · 54 tokens

ctf-rev

Solve CTF reverse engineering challenges using systematic analysis to find flags, keys, or passwords. Use for crackmes, binary bombs, key validators, obfuscated code, algorithm recovery, or any challenge requiring program comprehension to extract hidden information.

cyberkaida/reverse-engineering-assistant · 52 tokens

deep-analysis

Performs focused, depth-first investigation of specific reverse engineering questions through iterative analysis and database improvement. Answers questions like "What does this function do?", "Does this use crypto?", "What's the C2 address?", "Fix types in this function". Makes incremental improvements (renaming…

cyberkaida/reverse-engineering-assistant · 98 tokens

pyghidra-scripting

Write and run Python (PyGhidra) code inside the Ghidra session that ReVa's MCP server is already attached to, using the five ReVa scripting tools — run-script, list-scripts, read-script, write-script, edit-script. Use this whenever the user asks to execute Python against the current program, reach for the Ghidra Flat…

cyberkaida/reverse-engineering-assistant · 209 tokens

binary-triage

Performs initial binary triage by surveying memory layout, strings, imports/exports, and functions to quickly understand what a binary does and identify suspicious behavior. Use when first examining a binary, when user asks to triage/survey/analyze a program, or wants an overview before deeper reverse engineering.

cyberkaida/reverse-engineering-assistant · 65 tokens