원클릭으로
tree-context
Use a compact project tree index to reduce unnecessary repository-wide Grep/Glob scans in Claude Code.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use a compact project tree index to reduce unnecessary repository-wide Grep/Glob scans in Claude Code.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | tree-context |
| description | Use a compact project tree index to reduce unnecessary repository-wide Grep/Glob scans in Claude Code. |
| disable-model-invocation | true |
| allowed-tools | Bash, Read, Grep, Glob, Edit, MultiEdit, Write |
Task: $ARGUMENTS
Use the compact project tree index before exploring the repository. This Skill helps Claude find likely files and directories faster while avoiding unnecessary repository-wide searches.
Run compact context selection for this task:
python3 .claude/scripts/tree_context.py select --prompt "$ARGUMENTS"
If python3 is unavailable, use:
python .claude/scripts/tree_context.py select --prompt "$ARGUMENTS"
Read candidate files from the selected context first.
If Grep is necessary, scope it to candidate directories or clearly relevant directories.
Avoid repository-wide Grep / Glob unless the selected context has no useful candidates.
Avoid generated, dependency, build, binary, cache, and log files unless explicitly required.
When creating, deleting, or moving files, rely on the PostToolUse hook to refresh the tree index.
If the index may be stale, rebuild it manually:
python3 .claude/scripts/tree_context.py build
Keep the response compact and prioritize:
Do not paste large logs or entire files. Summarize and cite file paths instead.