Delegate large-file reads to a cheap opencode2 worker and read only the summary. Trigger: bulk read, leer archivo grande.
68
85%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
A cold opencode2 worker reads the files and answers one question. The file contents land in the worker's context, not here. This session receives only the summary.
Load when a read would burn more context than the answer is worth.
| Situation | Action |
|---|---|
| One file over ~350 lines, one specific question | delegate |
| Several large files, one question about all of them | delegate |
| Docs or references you only need summarized | delegate |
| You need exact text to edit | do not delegate — targeted Read with offset/limit |
| You need to debug or hunt a subtle bug | do not delegate — read inline |
| The file is small, or you already know the section | do not delegate — targeted read is faster |
Write the worker prompt to a file first. Name paths; never paste file contents.
cd <repo>
~/.opencode/bin/opencode2 run --auto --standalone --format json \
--model opencode-admin/glm-5.3-flash --title "bulk-read" \
"$(cat /tmp/opencode/bulk-read-prompt.md)"Prompt file template:
Read these files only:
- <path>
Question: <one question>
Output rules:
- Structured bullets only. No prose, no greetings.
- Lead each bullet with the exact symbol, name, or line number.
- Skip anything the question does not ask for.
- Keep the answer under 400 words.
This is a read-only task. Do not modify any file.--auto always. Without it the run blocks on a permission prompt nobody can answer and dies.~/.opencode/bin/opencode2. opencode is a different tool.--session <id> from the first run's JSON output instead.Read (offset/limit).delegate-opencode2 — general delegation mechanics, verification rules, and model routing.agents/delegations.json — understanding that needs 4+ files is a delegation, not a read.YoizenSA/dev-ai-workflow
36f5af5
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.