smithery/sounder25

Context Window Pruner

Optimize information density by filtering workspace files based on relevance to the current task. Excludes high-noise files (lockfiles, assets) and prioritizes source code matching semantic queries.

Installation

$ npx skills add smithery/sounder25 --skill context-window-pruner

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/sounder25 · top by installs.

npx skills add smithery/sounder25

Browse all from smithery/sounder25

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0
Declared agents antigravity

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,398 B
  • docs SUMMARY.md 227 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

SKILL-008: Context Window Pruner

Overview

Large repos flood the agent's context window with noise. This skill generates a RELEVANT_FILES.txt list by aggressively pruning irrelevant directories and searching for files related to a specific "Focus".

Trigger Phrases

  • focus on <topic>
  • find relevant files for <task>
  • prune context

Inputs

Parameter Type Required Default Description
--focus string Yes - Keywords to filter file names/content (e.g. "gas", "auth")
--max-files int No 50 Limit output size

Outputs

  1. RELEVANT_FILES.txt: List of absolute paths to read.
  2. Console output summarizing token savings (estimated).

Safety Checks

  • Always respects .gitignore.
  • Never includes binary files.
  • Caps output to avoid context overflow.

Implementation

See prune_context.ps1.

Integration

$files = .\skills\08_context_pruner\prune_context.ps1 -Focus "EVM opcode"
# Agent works only with $files