use-coding-agents skill
✓ DoğrulandıYüklü kodlama ajanı CLI'larını, orkestre edilmiş iş akışları içinde birbirinin yerine kullanılabilen, headless alt ajanlar olarak kullanmanızı sağlar.
- GitHub yıldızları
- 28
- Dosyalar
- 2
- Son commit
- 11 Kas 2026
- Lisans
- MIT
- İzin verilen araçlar
- —
use-coding-agents skill ne işe yarar?
Yüklü kodlama ajanı CLI'larını, orkestre edilmiş iş akışları içinde birbirinin yerine kullanılabilen, headless alt ajanlar olarak kullanmanızı sağlar.
Özet, skill'in SKILL.md dosyasından oluşturuldu.
use-coding-agents skilli hakkında
Karmaşık orkestrasyon döngüleri inşa eden geliştiriciler, bu SKILL sayesinde yüklü kodlama ajanı CLI'larını birbirinin yerine kullanılabilen, headless işçiler olarak kullanabilirler. droid mission veya hermes delegation gibi belirli araçların yerleşik orkestrasyon özelliklerine güvenmek yerine, bu yetenek onları basit bir sözleşmeye indirger: bir prompt girilir, bir sonuç alınır. Bu, merkezi bir orkestratörün, kullanılabilirlik veya maliyete göre hangi işçinin başlatılacağına karar vererek birden fazla ajanı aynı anda yönetmesine olanak tanır.
Yetenek; claude, codex, droid, grok, opencode ve pi dahil olmak üzere çeşitli ajanları destekler. Promptları ileterek ve genellikle JSON formatları aracılığıyla makine tarafından okunabilir sonuçları yakalayarak bu araçların yürütülmesini yönetir. Güvenliği sağlamak ve dosya çakışmalarını önlemek için her işçi için worktree veya belirli dizin izolasyonu kullanımını teşvik eder. Görevleri uzmanlaşmış bir kodlama ajanı filosuna yaymak için dark-factory veya bughunt gibi daha büyük orkestrasyon çerçeveleri içinde kullanılmak üzere tasarlanmıştır.
Bir agent bununla neler yapabilir
- 1Kodlama görevlerini dağıtınGeliştirmeyi hızlandırmak için birden fazla bağımsız kodlama birimini aynı anda farklı ajanlara dağıtın.
- 2Headless ajan çalıştırmaları gerçekleştirinKesintisiz bir iş akışı için auto-approve bayraklarını kullanarak bir kodlama ajanını etkileşimli promptlar olmadan çalıştırın.
- 3Yarıda kesilen ajan çalışmasını devam ettirinSıfırdan başlamak yerine eksik bilgiyi sağlayarak daha önce engellenmiş bir ajan görevine devam edin.
- 4Ajan maliyetlerini optimize edinToken kullanımından tasarruf etmek için basit görevlerde ajanların daha küçük ve daha ucuz model varyantlarını başlatın.
Skill'in SKILL.md dosyasından yazılmıştır. Her kullanım durumu oradaki bir alıntı ile kontrol edilir.
use-coding-agents skill nasıl kurulur
Her komut, skill klasörünü istemcinin skills dizinine kopyalar. Yüklemek için istemciyi yeniden başlatın veya yeni bir oturum başlatın.use-coding-agents skill'ini Claude Code uygulamasına kur
~/.claude/skills/use-coding-agents/SKILL.md
$ npx degit av/skills/use-coding-agents ~/.claude/skills/use-coding-agentsuse-coding-agents skill'ini Claude Code (project) uygulamasına kur
.claude/skills/use-coding-agents/SKILL.md
$ npx degit av/skills/use-coding-agents .claude/skills/use-coding-agentsuse-coding-agents skill'ini Codex uygulamasına kur
~/.agents/skills/use-coding-agents/SKILL.md
$ npx degit av/skills/use-coding-agents ~/.agents/skills/use-coding-agentsuse-coding-agents skill'ini Gemini CLI uygulamasına kur
~/.gemini/skills/use-coding-agents/SKILL.md
$ npx degit av/skills/use-coding-agents ~/.gemini/skills/use-coding-agentsuse-coding-agents skill'ini Claude.ai uygulamasına kur
npx degit av/skills/use-coding-agents use-coding-agents && zip -r use-coding-agents.zip use-coding-agents # claude.ai → Customize → Skills → + → Create skill → Upload a skill → use-coding-agents.zip
Otomatik kontroller
Çalıştırıldı 14 Kas 2026Tam rapor →Otomatik kontrollerimizi geçti. Bu bir güvenlik denetimi değil: bir ajanın çalıştırmasına izin vermeden önce betikleri okuyun. Kontroller nasıl çalışır
- Kaynak deposu bağlantılı ve erişilebilirav/skills/use-coding-agents is public and reachablegithub.com/av/skills/tree/HEAD/use-coding-agents ↗Geçti
- Açık kaynak lisansı (OSI)MITspdx.org/licenses/MIT.html ↗Geçti
- Son bir yıl içinde commit veya sürüm mevcutLast commit 2026-11-11github.com/av/skills/commits ↗Geçti
- Betiklerde indir-çalıştır veya kimlik bilgisi hırsızlığı yokNo scripts in the skill folderGeçti
- SKILL.md içinde gizli talimat yokNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/av/skills/blob/HEAD/use-coding-agents/SKILL.md ↗Geçti
- Önceden izin verilen araçlar sınırlıNo pre-approved tools; the agent asks before using onegithub.com/av/skills/blob/HEAD/use-coding-agents/SKILL.md ↗Geçti
- SKILL.md, Agent Skills biçimine uyuyorValid name and description; says when to use it; 178 linesgithub.com/av/skills/blob/HEAD/use-coding-agents/SKILL.md ↗Geçti
SKILL.md
GitHub'da görüntüleUse Coding Agents — Installed CLIs as Plain Sub-agents
Re-run <agent> --help before relying on any flag not listed here.
Principle
Every agent here is a worker: it receives a prompt, edits files in one directory, commits, prints a result, exits. Nothing more.
- Do not use the CLIs' own orchestration features. No
droid --mission, no codexmulti_agent, no hermesdelegate_task/moa/kanban, nogrok --agents, no opencode personas. Those are unvalidated here, spend tokens invisibly, and hide state from the orchestrator. - The orchestrator is the session running this skill (normally claude via the Agent tool or a orchestration skill). It plans units, writes prompts, launches workers, reads short results.
- Workers are interchangeable. Pick by availability and cost, not by feature.
Workers
| Agent | Invocation | Auto-approve | Status 2026-09-04 |
|---|---|---|---|
| claude | claude -p "<prompt>" |
--dangerously-skip-permissions |
PASS |
| codex | codex exec "<prompt>" (or prompt on stdin) |
--dangerously-bypass-approvals-and-sandbox |
PASS |
| droid | droid exec "<prompt>" |
--skip-permissions-unsafe (not with --auto) |
PASS |
| grok | grok -p "<prompt>" |
--always-approve |
PASS |
| grokc | COLORTERM=truecolor grokc -p "<prompt>" |
built in (podman, $PWD only) |
PASS |
| opencode | opencode run "<prompt>" |
--auto (without it a permission prompt hangs a headless run) |
PASS (default model now openrouter/~anthropic/claude-sonnet-latest) |
| pi | pi -p "<prompt>" |
none needed | PASS, local model, slow |
| hermes | hermes -z "<prompt>" --in <dir> |
--yolo |
FLAKY: write_file fails (DaemonThreadPoolExecutor ... _initializer); 1262 commits behind |
| copilot | copilot -p "<prompt>" -s |
--allow-all |
FAIL: no auth; needs interactive /login |
Facts from --help: grok 1.0.13 has no --check / --best-of-n; droid rejects --auto together
with --skip-permissions-unsafe; hermes restores the previous session's cwd unless --in is given.
Getting the result back
| Agent | Machine-readable result |
|---|---|
| claude | --output-format json (with -p) |
| codex | -o <file> writes the last message; --json for JSONL events |
| droid | -o json |
| grok | --output-format json, or --json-schema '<schema>' |
| opencode | --format json |
| pi | --mode json |
Simplest contract, works everywhere: tell the worker to write its output to a file and print one
line DONE|BLOCKED|FAILED <reason>. Read the file, not the transcript.
Cheaper / capped variants (validated)
Use when a unit is small. Same worker, fewer tokens:
- claude:
--model haiku --max-turns N(do not add--bareor--setting-sources ""; both drop auth) - codex:
-c model_reasoning_effort=low(minimalis rejected) - droid:
-r low -m claude-haiku-4-5-20251001 - grok:
--max-turns N --no-subagents --disable-web-search - opencode:
--variant minimal - pi:
--thinking off
Listing and picking models
Validated 2026-09-04. Pass the id with the agent's model flag (--model / -m).
| Agent | List available models | Default today | Flag |
|---|---|---|---|
| claude | no list command; aliases fable, opus, sonnet, haiku or a full id like claude-fable-5-1 |
account default | --model |
| codex | codex debug models (JSON catalog, 9 entries: gpt-5.6-sol/terra/luna, gpt-5.5, gpt-5.4, gpt-5.4-mini, gpt-5.3-codex-spark, …) |
gpt-5.6-sol (~/.codex/config.toml) |
-m |
| droid | no list command; /model in the TUI. Custom/local models are the customModels entries in ~/.factory/settings.json (ollama qwen3, glm-4.7-flash, kimi-k2.7-code, …) |
gpt-5.6-sol |
-m |
| grok | grok models (7 entries, grok-4.6 default, grok-4.5, …) |
grok-4.6 |
-m |
| opencode | opencode models (379 entries as provider/model; openrouter/~anthropic/... ids need the tilde) |
openrouter/~anthropic/claude-sonnet-latest (control/config/opencode.jsonc) |
-m |
| pi | pi --list-models [search] (table with context/max-out/thinking columns) |
harbor-llamacpp Qwen3-Coder-Next Q8 (~/.pi/agent/settings.json) |
--model |
| hermes | hermes model (interactive picker; --refresh re-fetches each provider's /v1/models); hermes config get model prints the default |
deepseek/deepseek-v4-flash-0731 via nous |
-m |
| copilot | no list command; /model in the TUI |
account default | --model |
Isolation
Two workers must never write the same file in the same tree. Use a worktree per worker:
claude -w <name>, droid -w <name>, grok -w <name>, hermes --worktree; for codex, opencode,
copilot, pi run git worktree add first and cd into it. (Worktree flags checked in --help only.)
Resume instead of restart
claude --resume <id>, codex exec resume --last, droid exec -s <id>, grok -r <id>,
hermes --resume <s>, opencode run -s <id>, copilot --continue, pi -c. Resume a BLOCKED
worker with the missing fact rather than re-dispatching cold.
Fan-out pattern
d=$(mktemp -d /tmp/orch-<slug>-XXXX)
cat > "$d/preamble.md" <<'P'
You are working on <project> at <code_path>.
Read CLAUDE.md / AGENTS.md / README.md first if present.
Commit with clear messages when done. Do not ask questions.
Do not start or reinstall opencode.service; the OpenCode daemon is retired.
Write your result to <unit_file> and print ONLY one line: DONE|BLOCKED|FAILED <reason>.
Before DONE, compare your diff and the observed result with the unit's Acceptance. If only a
proxy passed (tests, a build, a plan) or a gate is still open, print BLOCKED and name what is unmet.
After a tool error, do the next step it names before calling that tool again (table in
~/.agents/skills/use-coding-agents/SKILL.md, "Error → next step"). Never resend the same failing call.
P
cat > "$d/unit-1.md" <<'U'
Task: <what to do>
Acceptance:
- Deliver: <artifact or path>
- Scope: may change <paths>; must not touch <paths>
- Proof: <command or observation in the target environment>, not a proxy
- Gates: <checks and approvals to wait for; stop at a withheld one>
- Report: <format>
U
cd <code_path>
mkdir -p $d/cache-{1..5} # one writable cache per worker; a shared /tmp cache breaks gh
XDG_CACHE_HOME=$d/cache-1 claude -p "$(cat $d/preamble.md $d/unit-1.md)" --dangerously-skip-permissions > $d/1.log 2>&1 &
XDG_CACHE_HOME=$d/cache-2 codex exec --dangerously-bypass-approvals-and-sandbox < <(cat $d/preamble.md $d/unit-2.md) > $d/2.log 2>&1 &
XDG_CACHE_HOME=$d/cache-3 droid exec --skip-permissions-unsafe -f <(cat $d/preamble.md $d/unit-3.md) > $d/3.log 2>&1 &
XDG_CACHE_HOME=$d/cache-4 grok -p "$(cat $d/preamble.md $d/unit-4.md)" --always-approve -w unit-4 > $d/4.log 2>&1 &
XDG_CACHE_HOME=$d/cache-5 opencode run "$(cat $d/preamble.md $d/unit-5.md)" --auto > $d/5.log 2>&1 &
wait; tail -n1 $d/*.log
Prompts live on disk and are dispatched by path. The orchestrator authors nothing itself
(same discipline as timeboxed-iterating).
Acceptance contract
Every unit prompt carries the Acceptance: block above, filled in. A unit without it is not
ready to dispatch. Read a DONE against the same block, not against the worker's summary.
When the user corrects a result, rewrite the unit's Acceptance: from the correction before
resuming or re-dispatching; the worker's first line restates what changed and what will prove it.
Error → next step
Repeat calls after an error that already said why were the main avoidable cost in long runs.
| Error | Next step, before calling the tool again |
|---|---|
Claude Edit: file has not been read |
Read that exact path (a shell cat does not count), then Edit |
Edit: old string not found |
re-read that region, copy the exact text |
Claude Bash rejects sleep N; <status> |
Monitor with an until loop, or run_in_background |
| droid Bash times out at 60 s | keep every wait under 60 s; poll in steps |
command not found (e.g. dstask) |
command -v <tool> once; absent → switch tools (Backlog.md for tasks) |
gh: cache permission denied |
export XDG_CACHE_HOME=$(mktemp -d /tmp/cache-XXXX), retry once |
| guessed path does not exist | one rg --files | rg <name>, then use what it finds |
| skill path does not exist | skills live at ~/.agents/skills/<name>/SKILL.md; ls ~/.agents/skills once |
Rules
- Plain workers only. If you reach for a CLI's mission / delegation / persona feature, stop and fan out from the orchestrator instead.
- One unit, one directory, one commit per worker. Merge worktrees afterwards.
- Logs under
/tmpor the scratchpad, never in the repo. - Cap loops with
--max-turnswhere it exists, otherwise a turn budget in the prompt. - Bypass flags only in a worktree, in
grokc, or in a repo you cangit reset. - Backlog.md stays human. Workers do not touch
backlog/tasks/. - Smoke tests are one word. Validate a recipe with "Reply with the single word OK." only.
- Shared machines: your home only. Never read or change another user's sessions, worktrees, agent configs or keys. Shared installs are an admin task.
- Do not invent flags. Not in this file → run
--helpand paste the real one.
Related skills
overnight— dispatch approved work items to these workers in the backgroundtimeboxed-iterating,workgraph,workmachine,gauntlet,dark-factory,bughunt— orchestration loops that use these workers
Bu becerideki dosyalar
2use-coding-agents skill soruları
use-coding-agents skill'ini Claude Code uygulamasına nasıl kurarım?
npx degit av/skills/use-coding-agents ~/.claude/skills/use-coding-agents komutunu çalıştırın. Claude Code, skill'leri ~/.claude/skills (tüm projeler) veya .claude/skills (tek proje) konumundan yükler ve açıklaması görevle eşleştiğinde skill'i kullanır.
use-coding-agents skill'ini hangi istemciler kullanabilir?
Agent Skills biçimini okuyan her istemci: Claude Code, Codex, Gemini CLI ve claude.ai (ZIP olarak yükleyin). Skill içindeki betikler yalnızca istemcinin kod çalıştırmaya izin verdiği yerlerde çalışır.
Kodlama ajanı CLI'larını bir iş akışında nasıl kullanmalıyım?
Onları tek bir headless çağrı ile basit işçiler olarak kullanın: bir prompt girin ve bir sonuç alın; araçların yerleşik orkestrasyon özelliklerini bilinçli olarak görmezden gelin.
İşçilerin birbirine müdahale etmediğinden nasıl emin olabilirim?
Her işçinin, aynı ağaçtaki aynı dosyaya asla yazmadığından emin olmak için özel bir worktree veya dizin kullanması gerekir.
Bu ajanlardan makine tarafından okunabilir sonuçlar almanın en iyi yolu nedir?
En basit yöntem, işçiye çıktısını bir dosyaya yazmasını ve DONE|BLOCKED|FAILED gibi tek bir durum satırı yazdırmasını söylemektir.