vardhan23v

Shadowspec — AI skill for Claude Code

AI community

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.