<< All versions
Skill v1.0.0
LLM-judged scan90/100wochap/nix-config/skill
──Details
PublishedOctober 24, 2026 at 01:35 AM
Content Hashsha256:3e83cba6ca5da312...
Git SHAf589c01f303e
──Files
Files (1 file, 2.0 KB)
SKILL.md2.0 KBactive
SKILL.md · 38 lines · 2.0 KB
version: "1.0.0" name: agents description: Run a coding agent (claude, pi) headless via the agents CLI and get only its final answer; resume or hand a session to the user. disable-model-invocation: true
agents
Use to delegate a self-contained task to another coding agent session, e.g. work in another repo (-C <dir>) or a second opinion, without filling your context.
sh
agents run -q "<prompt>" # stdout: final answer only; stderr: "session: <id>"agents run --json "<prompt>" # stdout: {"id","agent","model","result","costUsd","durationMs","status"}agents run -q -C ~/repo -m claude-sonnet-5 -e high "<prompt>"agents run -q -a pi "<prompt>" # another agent (default: claude)echo "<long prompt>" | agents run -q - # prompt from stdinagents run -q -r <id> "<follow-up>" # continue a session headlessagents run -q --no-tools "<question>" # answer only, no tools (pass again on -r)agents last <id> # last message of a sessionagents ls # sessions of the last 7 days, --full for all
- Agents:
claude(default),pi.-mdefaults to the chosen agent's model.
-e (low, medium, high, xhigh, max) defaults to the agent's own setting. -r, last take the session's own agent; no -a needed.
- Ids may be a unique prefix.
- Always pass
-qor--json; the prompt must be self-contained (the agent has none of your context). agents runblocks until the agent finishes; exit code 1 means the agent failed.- Tell the user the session id: they can follow it live with
agents watch <id>
or take it over with agents attach <id>.
- Never run
agents attachoragents watchyourself; both are for the user's terminal. agents serveis a long-running OpenAI-compatible server for chat GUIs; never start it yourself.- Taking over a running session (
ctrl+tin therunview,ctrl+zto detach
back) needs a person at a TTY. You never press these keys; with -q or piped stdin there are none.