Shadowspec — AI skill for Claude Code
Evidence-backed behavioral reverse engineering skill for AI coding agents.
How to install Shadowspec
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open vardhan23v/shadowspec and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Shadowspec does
Evidence-backed behavioral reverse engineering skill for AI coding agents.
Alternatives in AI
- WindsurfAPI — Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, A 3k ★
- Auto Re Agent — Open-source AI reverse-engineering agent using Ghidra and LLMs to reconstruct and validate C/C++ functions fro 1.4k ★
- Hello JS Reverse Skill — 🔧 AI-powered JS逆向工程 Skill —— 覆盖加密还原、混淆分析、动态Cookie、WASM逆向、协议对抗等全链路场景,通过 Node.js 实现算法还原与模拟请求 214 ★
README
ShadowSpec
**Discover behavior. Reveal hidden rules. Make software testable.**
ShadowSpec is a portable AI agent skill for reverse engineering the **actual behavior** of an unfamiliar software repository and turning it into an evidence-backed behavioral specification and, where safe, executable characterization tests.
It is built for the common reality that documentation is missing, incomplete, stale, or contradicted by the code. It does not assume the implementation is correct, the tests are authoritative, or a comment is enforcement.
**Never confuse what the code appears to mean with what the evidence actually establishes.**
The problem
An agent asked to "explain this codebase" often produces a confident summary that silently invents endpoints, business rules, state transitions, and test results. That is dangerous in legacy systems, audits, migrations, and security reviews, where the most important facts are exactly the ones nobody documented.
ShadowSpec changes the output contract:
- every significant rule has evidence or is explicitly marked
INFERRED/UNKNOWN, - observed implementation behavior is separated from requirements, test expectations, potential defects, and unresolved intent,
- contradictions are preserved rather than guessed away,
- characterization tests describe what the code does now, not what someone wishes it did,
- test results are reported only when the tests actually ran.
What it does
- Builds a bounded codebase map without dumping the repository into context.
- Traces triggers, validation, decisions, state changes, persistence, external calls, side effects, outputs, and errors.
- Extracts atomic, traceable behavioral rules.
- Produces a behavior report, API contracts, state transitions, error catalog, edge cases, uncertainties, and a machine-readable evidence ledger.
- Detects conflicting validation, inconsistent authorization, documentation drift, test/source disagreement, and unreconcilable state models.
Related Skills
Universal Reverse Engineering
Agent Skill that teaches AI coding agents to reverse engineer how things work: programs, file formats, protoco
Frontier Agent Prompts
The Anatomy of Frontier AI: Production & Reverse-Engineered System Prompts, Behavioral Guidelines, and Hidden
Claude Code Sourcemap Learning Notebook
Reverse-engineering Claude Code's 512K+ lines of TypeScript — architecture, design decisions, and 11 transfera
Samp Source
Rebuilding SA-MP 0.3.7 R5 from source, byte for byte. AI-assisted reverse engineering with verifiable binary m
Ramune Ida
Headless IDA Pro MCP Server — expose IDA Pro's reverse engineering capabilities to AI agents for more efficien
AI Reverse Resources
Plugin marketplace for AI-assisted reverse engineering across Codex and Claude Code.
Related Agents
Reverse Security Auditor
MANDATORY specialist subagent for Evidence-Backed Reverse Engineering (REA), Ghidra/LLDB Binary & Firmware Ana
Malware Analyst
Malware analysis specialist for static and dynamic analysis. Handles PE/ELF/APK binary triage, behavioral anal
System Modeler
Creates or validates domain, UML, behavioral, and structural models from validated Requirements or existing co