Swe Pruner Self Adaptive Context Pruning

Apply SWE-Pruner's goal-conditioned context pruning to reduce token usage when working with large codebases. Teaches Claude to selectively skim code like a human programmer: formulate an explicit focus goal, score lines by relevance, and drop low-value content while preserving syntactic structure. Trigger phrases: - "prune the context" / "reduce context size" - "too much code, focus on what matters" - "compress this code for the task" - "skim this file for [specific concern]" - "only show me the relevant parts" - "reduce token usage on this codebase"

ndpvt-web 898c73e 13.3 KB Updated

File contents

ndpvt-web/arxiv-claude-skills/tree/main/skills/swe-pruner-self-adaptive-context-pruning commit 898c73e311

Frequently asked questions

npx skillmds@latest add ndpvt-web/swe-pruner-self-adaptive-context-pruning