Skip to content
cccskills
FreePublished on GitHub

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.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md1.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Pruner — Code Context Engine

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.

Workflow

  1. Run pruner context first — default output is brief pointers (~2K tokens).
  2. Work directly from the output.
  3. Use --detail if pointers aren't enough — adds execution paths and code snippets (~10-15K tokens).
  4. Read source files only if a snippet is truncated or you need nearby lines.
  5. Do not re-explore the same query with grep/glob right after pruner.

When to escalate

  • Read .pruner/context.md — if available, contains full execution paths and code snippets from the last run. Zero cost.
  • Run with --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.

Modes

  • --detail execution paths + code snippets (~10-15K tokens)
  • --brief metadata only (~2K tokens)
  • --full uncapped detail (~50-70K tokens on large repos)

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

pruner

Free

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.

The English summary is being prepared. Showing the original description.

heikki-laitala/pruner16Updated Jun 12, 2026

pruner

Free

Uses the local pruner indexer to gather relevant code context before making changes, debugging, refactoring, or answering questions about this repository.

The English summary is being prepared. Showing the original description.

heikki-laitala/pruner16Updated Jun 12, 2026

See all skills by heikki-laitala

Report a problem with this skill