Registry / trailofbits

trailofbits/skills/function-analyzer

Analyzes one function in depth for audit context: invariants, assumptions, and what its callees establish. Writes the prose analysis to disk and returns a compact record. Use for dense functions, data-flow chains, cryptographic code, and state machines.

AI agent · version 0.0.0-main.1794411138.ge4dd0bb · from trailofbits/skills

Install

npx yarkr-cli add agent:trailofbits/skills/function-analyzer

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add agent:trailofbits/skills/function-analyzer
wget -qO- https://yarkr.com/install.sh | sh -s -- add agent:trailofbits/skills/function-analyzer

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add agent:trailofbits/skills/function-analyzer

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.