adamentwistle

Agent Eng Kit — Development skill for Claude Code

Development community

small stdlib-only tools for agent engineering: a prompt-injection gauntlet, an mcp record/replay proxy, a session profiler, a context packer, an mcp doctor.

How to install Agent Eng Kit

This entry records only its repository, not the path inside it, so there is no exact command to give. Open adamentwistle/agent-eng-kit and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agent Eng Kit does

small stdlib-only tools for agent engineering: a prompt-injection gauntlet, an mcp record/replay proxy, a session profiler, a context packer, an mcp doctor. no deps, no keys, mit.

Alternatives in Development

README

agent-eng-kit

small, stdlib-only tools for engineering agentic systems: eval, observability, and safety you can actually run. no dependencies, no api keys, no network. each tool is one folder you can read in a sitting, MIT licensed, and runs from a clean clone.

the throughline is measure instead of hand-wave. an agent eval should be a number you can re-run. a hijack should be a string you can grep for. a cost regression should fail CI. each tool here turns something usually argued by vibes into something you can reproduce.

the tools

  • **[prompt-injection-gauntlet](prompt-injection-gauntlet/)**: a frozen battery of injection attacks plus a detector that never asks "does this look injected". it checks whether a planted canary actually leaked or a denylisted action actually fired, so the verdict is reproducible. score a guard policy on it: the unguarded test agent folds every attack in the battery, and with guards it holds 17 of 18.

  • **[mcp-recorder](mcp-recorder/)**: VCR for MCP. record an stdio server's json-rpc calls once, then replay them offline with the real server killed, byte-for-byte and deterministic, with secrets scrubbed at write time so the cassette is safe to commit.

  • **[agent-trace](agent-trace/)**: profile a Claude Code session like a slow program. it reads the transcript off disk (no api, no keys), writes a single-file html timeline you open with a double-click, and diffs two runs so you can see where the tokens and the seconds went.

    ![agent-trace diffing two runs: cost, tokens, cache reads and wall time, per metric](agent-trace/docs/diff.png)

  • **[ctxpack](ctxpack/)**: a deterministic context packer. the same repo always packs to a byte-identical bundle, it is provably never over budget, and it hands you a manifest of every file it dropped and why. it drops secrets (.env, keys, credentials) by default and never follows a symlink out of the repo.

  • **[mcpd](mcpd/)**: a zero-dependency MCP doctor. point it at any stdi