pruner
免费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.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Pruner context is automatically injected into your conversation via a prompt-submit hook. You do NOT need to run pruner context manually — it has already run before you see the user's message.
A hook runs pruner context on every prompt submit and injects the output as additional context. Look for the "Pruner context (pre-computed codebase analysis)" section in the conversation — that's the pruner output.
pruner context again — it already ran via the hook.The hook output is a brief summary (~2K tokens) with file/symbol pointers. For deeper context:
.pruner/context.md — already written with full execution paths and code snippets. Zero cost, instant. Use this for understanding queries ("how does X work?"), debugging, or when you need to trace a flow.pruner context --detail — regenerates focused output (~10-15K tokens). Use only if .pruner/context.md is stale or missing.For code changes, refactoring, and simple lookups, brief pointers are sufficient — just read the specific files listed.
pruner show-symbol /path/to/repo "<name>" — signature, callers, callees.pruner show-file /path/to/repo "<path>" — all symbols and imports.--detail — execution paths + code snippets (~10-15K tokens). Use when brief pointers aren't enough.--brief — metadata only, no snippets (~2K tokens). Use when you only need file/symbol pointers.--full — uncapped output with all snippets (~50-70K tokens). Use for deep analysis.还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Uses the local pruner indexer to gather relevant code context before making changes, debugging, refactoring, or answering questions about this repository.
中文简介正在准备中。当前显示原文说明。
Generate code context for coding tasks. Run before code changes, bug fixes, or refactoring to get execution paths, key files, symbols, tests, and snippets.
中文简介正在准备中。当前显示原文说明。