본문으로 건너뛰기
cccskills
무료GitHub에 공개

Sandbox Routing

SELF-CORRECT tool choice. About to Read a long file just to extract one piece of info? Use a sandbox tool that returns only the summary. About to run a long shell command? Same. Sandbox keeps raw output OUT of context — only summaries land. Triggers when about to flood context with large output.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wrg32786/aigent-os스타 25(GitHub 25 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Sandbox Routing

[!danger] HARD RULE — fires before any large Read or Bash that isn't for editing If you're about to Read a long file to analyze (not to Edit), or run a Bash command with >20 line output, route through sandbox tools instead. Raw output stays out of context; only the summary you print enters context.

This skill assumes your Claude Code install includes context-mode (or equivalent) sandbox tools — ctx_execute, ctx_execute_file, ctx_batch_execute. If those aren't available, the principle still applies: use head_limit on Grep, narrow Read to specific line ranges, and avoid cat large.log.

The decision tree

Am I about to Read or run Bash?
   ├── Editing a file? (need full content for Edit tool)
   │     → Read is correct, proceed
   │
   ├── Running git status / git log -n short / mkdir / mv / rm / short command?
   │     → Bash is correct, proceed
   │
   ├── Reading a file just to extract a piece of info / find a line?
   │     → STOP. Use ctx_execute_file with grep/awk code that prints just the answer.
   │
   ├── Running a shell command with >20 line output?
   │     → STOP. Use ctx_execute with the same command — only printed summary enters context.
   │
   └── Multiple commands at once?
         → Use ctx_batch_execute with all commands as labelled chunks, indexed for FTS5 search.

When to use each tool

ctx_execute(language, code)

  • Shell command with large output → language: "shell"
  • Python data processing → language: "python"
  • API calls + response analysis → wrap the call in code
  • Anything where you want the answer, not the raw output

ctx_execute_file(path, language, code)

  • File analysis without loading the file into context
  • Searching within a specific known file
  • Extracting structured info from JSON/YAML/MD

ctx_batch_execute(commands, queries)

  • Multiple commands you want to run + index together
  • Chained recon (e.g., git log + git diff + git status as one batch)
  • Building a knowledge base for later FTS5 queries

Calibration anchors

File sizeRead/Bash OK?Sandbox?
<20 lines✅ Read/Bashnot needed
20-100 lines✅ if editing or referencing in full✅ if extracting
100-500 lines⚠️ only if editing✅ for extraction
500+ lines❌ unless absolutely editing✅ always for extraction

Concrete examples

Example A: Find an insertion anchor in a 900-line JSON

  • ❌ Wrong: Read skill-index.json (entire file) to find where to insert
  • ✅ Right: ctx_execute_file path=skill-index.json code='grep -n "skill-name" skill-index.json' → returns just the line number, then use Edit

Example B: Check git log for a specific commit pattern

  • ❌ Wrong: Bash: git log --oneline -100 (100 lines of log into context)
  • ✅ Right: ctx_execute language=shell code='git log --oneline -100 | grep -i "ship"' → returns just matches

Example C: Read a large config file for one value

  • ❌ Wrong: Read large-config.yaml
  • ✅ Right: ctx_execute_file path=large-config.yaml code='grep "specific_key" large-config.yaml'

Output format

When this skill fires, internally evaluate before the tool call:

  • Will the raw output be >20 lines AND I don't need it for editing?
  • If yes → re-route to sandbox before invoking

You don't need to announce this to the principal. Just use the right tool.

Anti-patterns this prevents

  • Reading a 900-line skill-index just to find an insertion anchor
  • cat large.log via Bash to "see what's happening"
  • Reading 50-page docs to extract one quote
  • Running parallel Bash commands when a single batch call could do one round-trip
  • The PreToolUse hooks firing reminders that get ignored as false positives

Connects to

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Track and surface sub-agent dispatch calibration ratios. Extract from JSONL transcript or read existing ledger. Per-agent clean/blocked/errored/partial trends.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wrg32786/aigent-os252026년 10월 29일 업데이트

Compose the AIgent's body state by reading existing signals. Lazy compute. Never polled. Reports the five pressures + recommended reflex.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wrg32786/aigent-os252026년 10월 29일 업데이트

brief

무료

Generate a structured delegation brief for any task

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wrg32786/aigent-os252026년 10월 29일 업데이트

Quarterly skill that walks the skill-index against the actual SKILL.md files on disk, reports drift (skills indexed that no longer exist, skills on disk that aren't enrolled, skills whose descriptions have changed since enrollment). Hardens the auto-enrollment pipeline against silent rot.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wrg32786/aigent-os252026년 10월 29일 업데이트

When a [CADDY] hint fires and the principal is confused why, /caddy-explain walks the scoring transparently — which trigger matched, what points it earned, what the threshold was, what other skills were close. Pairs with the legibility thesis. Caddy's decisions should be inspectable on demand.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wrg32786/aigent-os252026년 10월 29일 업데이트

Enroll a skill into Caddy's index so it can be surfaced when the right prompt arrives. Use when a new skill is created, copied in, or when a skill needs updated triggers. Usage — "/caddy-enroll <path to SKILL.md>".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wrg32786/aigent-os252026년 10월 29일 업데이트

wrg32786의 스킬 모두 보기

이 스킬의 문제 신고