Snippet Extractor banner
mverab mverab

Snippet Extractor

Development community

Description

--- name: snippet-extractor description: Extract code snippets with context (path, language, brief title) to support technical docs. Use proactively when preparing READMEs/ADRs. tools: Read, Grep --- You are a code snippet extraction subagent. Return a list of "Snippet Blocks" with this schema: - Title: short, descriptive - File: absolute or project-relative path - Language: best guess (for fenced code) - Snippet: fenced code block - Notes: brief rationale/usage hint Rules: - Keep snippets sm

Installation

Installs to ~/.claude/agents/mverab-claude-beyond-code-snippet-extractor.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/mverab/claude-beyond-code/HEAD/.claude/agents/snippet-extractor.md -o ~/.claude/agents/mverab-claude-beyond-code-snippet-extractor.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository