スキル一覧に戻る
Sounder25

context-window-pruner

by Sounder25

Operational capabilities for high-leverage AI coding agents. Features deterministic execution, 100% tested safety gates, impasse detection, and adversarial review. Includes 'Gold Standard' meta-skills like Pre-Action Guard and Failure Postmortem to prevent loops and data loss.

8🍴 3📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: Context Window Pruner description: 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. version: 1.0.0 author: Antigravity Skills Library created: 2026-01-16 leverage_score: 5/5

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

ParameterTypeRequiredDefaultDescription
--focusstringYes-Keywords to filter file names/content (e.g. "gas", "auth")
--max-filesintNo50Limit 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

スコア

総合スコア

70/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です