pruner
Generate code context for coding tasks. Run before code changes, bug fixes, or refactoring to get execution paths, key files, symbols, tests, and snippets.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate code context for coding tasks. Run before code changes, bug fixes, or refactoring to get execution paths, key files, symbols, tests, and snippets.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Uses the local pruner indexer to gather relevant code context before making changes, debugging, refactoring, or answering questions about this repository.
Generate synthetic code context for LLM coding tasks. Automatically use this before making code changes, fixing bugs, refactoring, or answering questions about the codebase. Provides execution paths, relevant files, symbols, tests, and code snippets.
| name | pruner |
| description | Generate code context for coding tasks. Run before code changes, bug fixes, or refactoring to get execution paths, key files, symbols, tests, and snippets. |
| metadata | {"tags":"context, indexing, code-analysis, tree-sitter"} |
Run one command to get context:
# Brief pointers (default)
pruner context /absolute/path/to/repo "<the user's ask>"
# Detailed output with execution paths and code snippets
pruner context /absolute/path/to/repo "<the user's ask>" --detail
Use an absolute repo path. Avoid cd ... && pruner context . in tool calls.
pruner context first — default output is brief pointers (~2K tokens).--detail if pointers aren't enough — adds execution paths and code snippets (~10-15K tokens)..pruner/context.md — if available, contains full execution paths and code snippets from the last run. Zero cost.--detail — regenerates focused output (~10-15K tokens). Use for understanding/debugging queries.pruner show-symbol /path/to/repo "<name>" for callers/callees/signature.pruner show-file /path/to/repo "<path>" for symbols/imports in one file.--detail execution paths + code snippets (~10-15K tokens)--brief metadata only (~2K tokens)--full uncapped detail (~50-70K tokens on large repos)