AGENT SKILL

with-refs

Build the thing: do it precisely.

License 许可
MIT
最近更新
2026-10-15
Stars
★ 0
Forks
0

01 前言 Front Matter

name
with-refs
description
Build the thing: do it precisely.

02 资源文件 3

03 SKILL.md 正文

With Refs

A minimal canonical skill that carries an argument-hint and its own references/ subdir. Used to exercise the Claude argument-hint round-trip, description byte-fidelity, and per-skill self-containment.

It cites its OWN references/detail.md (skill-local — already resolves, must NOT be re-fanned), a bundle-root SHARED references/shared-conventions.md (fanned skill-local by #132), and the dynamic references/stacks/{stack}.md profile (the whole references/stacks/ tree is fanned skill-local). A citation of a project-level references/stack-decisions.md resolves to neither and is left alone.


Host execution notes (Codex)

This skill was authored Claude-first; the body above refers to "the host's question mechanism", "the host's subagent mechanism", and "the host's background-execution mechanism". On Codex:

  • User input: Codex has no structured question tool. Which rung you are on is not observable from inside the session — a codex exec run looks exactly like an interactive one — so read it from the Interaction Capability Ladder's interaction-mode record instead of judging it. Interactive session — ask the question directly and wait for the reply; never assume an answer. Non-interactive — don't wait: take the Interaction Capability Ladder's declared conservative default, state it in your output, and use no-default: abort — <question> requires a human answer for an interview question with no sane default (references/shared-conventions.md).
  • Subagents: spawn a Codex subagent using the named custom agent under .codex/agents/<name>.toml. Codex spawns a subagent only when explicitly asked; if the custom agent is unavailable, run that step inline yourself.
  • Background / monitoring (forge-5-loop): Codex cannot wake you when a background process prints or exits, so never end your turn while the loop runs. Launch it detached and supervise it from inside the turn with the rauf loop wait loop — one bounded wait per shell call, print each card, decide from the status JSON — exactly as references/runner-contract.md (Steps 3b/3d) says for this host. The optional rauf Stop hook (rauf hook codex-stop; wire it with npx @garygentry/feature-forge install -a codex --codex-stop-hook) holds the session open if it tries to end its turn while the loop still runs. Other long-lived commands: run them in your shell session and report progress as it arrives.

04 同仓库更多 Skills