[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EMCWCB5JVQR3KEZWG68FJ8":3,"skill-same:01M7EMCWCB5JVQR3KEZWG68FJ8":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7EMCWCB5JVQR3KEZWG68FJ8","ask-agent",null,"Ask another AI agent a question and get the response back (subagent pattern)","tedks\u002Fagent-skills","tedks","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1703535?v=4","01M7EMCJYBNAVD6EN62JAPCK0X","Ted Smith","01M7EMCJYZVVBFQTGZX8W2BXVT",0,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Ftedks\u002Fagent-skills\u002Fblob\u002Fmaster\u002Fskills\u002Fask-agent\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ask-agent\ndescription: Ask another AI agent a question and get the response back (subagent pattern)\nargument-hint: \u003Cagent> [options] \u003Cprompt>\nallowed-tools: Bash(~\u002F.claude\u002Fskills\u002Fask-agent\u002Fscripts\u002F*)\n---\n\nThe Codex branch uses `harness.codex_bin` from the [shared configuration](..\u002F_shared\u002Fconfiguration.md) (Python 3.11+).\n\n# ask-agent\n\nQuery another AI agent non-interactively and get the response back. Use this\nwhen you want a second opinion from a different agent (Claude, Codex, Antigravity\u002Fagy, etc.).\n\n## Usage\n\n```\n\u002Fask-agent \u003Cagent> [options] \u003Cprompt>\n```\n\n## Arguments\n\n- `\u003Cagent>`: The agent to query (`claude`, `codex`, `agy`)\n- `\u003Cprompt>`: The question or request for the agent\n\n## Options\n\n- `-d, --dir \u003Cdir>`: Set working directory for the agent\n- `-m, --model \u003Cmodel>`: Specify model (agent-specific)\n- `-f, --prompt-file \u003Cfile>`: Read prompt from a file instead of inline (use for\n  large prompts to avoid ARG_MAX limits at the caller-to-script boundary)\n- `-r, --resume \u003Cid>`: Continue an existing session instead of starting a new\n  one. Mapped to each agent's own flag — see the mapping table below.\n- `-S, --session-id-file \u003Cfile>`: Write the session id this run **yielded** to\n  `\u003Cfile>`, so the next round can pass it back via `--resume`. The file holds\n  the bare id and a newline, nothing else — or is left **empty**, which means\n  \"nothing came out of this round that is safe to chain\", never a stale id from\n  the round before. It is written by atomic rename at the end, so a run that\n  fails before reaching an agent (a typo'd agent name, a bad `--dir`, a\n  rejected id) leaves whatever was there **untouched**.\n\n## Instructions\n\nWhen this skill is invoked, **always pass the prompt via a temp file** to avoid\nARG_MAX errors with large prompts.\n\nThis protects the *caller-to-script* boundary. Past that point no agent is\nconstrained by argv: `claude` and `codex` receive the prompt on stdin, and\n`agy` -- which has no stdin mode -- is handed a file path to read instead of\nthe prompt text, so nothing large ever transits argv. Ordinary limits still\napply of course: the model's context window, and whatever the agent decides to\ndo with a very long prompt.\n\n```bash\n# 1. Write prompt to a temp file\nprompt_file=$(mktemp \u002Ftmp\u002Fask-agent-prompt.XXXXXX)\ncat \u003C\u003C 'PROMPT_DELIM' > \"$prompt_file\"\n\u003Cyour prompt here>\nPROMPT_DELIM\n\n# 2. Run the script with --prompt-file\n~\u002F.claude\u002Fskills\u002Fask-agent\u002Fscripts\u002Fagent-query.sh \u003Cagent> [options] --prompt-file \"$prompt_file\"\n\n# 3. Clean up (the script does NOT delete caller-provided files)\nrm -f \"$prompt_file\"\n```\n\nFor short prompts that are clearly under the ARG_MAX limit (~128KB), inline\nis also fine:\n\n```bash\n~\u002F.claude\u002Fskills\u002Fask-agent\u002Fscripts\u002Fagent-query.sh \u003Cagent> [options] \u003Cprompt>\n```\n\nThe script pipes the prompt via stdin to `claude` and `codex`, and stages it in\na file for `agy`, so inline prompts are safe at the script-to-agent boundary for\nall three. The --prompt-file approach\nprotects the caller-to-script boundary as well.\n\nReport the response back to the user.\n\n## Examples\n\n```bash\n# Get Codex opinion on an approach (short prompt, inline ok)\n\u002Fask-agent codex \"What do you think of using JWT for this auth flow?\"\n\n# Ask Claude with a specific model\n\u002Fask-agent claude -m opus \"Review this error handling pattern\"\n\n# Query from a specific directory\n\u002Fask-agent codex -d .\u002Fsrc \"Explain what the auth module does\"\n\n# Ask agy (Antigravity CLI) for a summary\n\u002Fask-agent agy \"Summarize this codebase\"\n\n# Ask agy with a specific model (see `agy models` for available names)\n\u002Fask-agent agy -m \u003Cmodel> \"Review this architecture\"\n\n# Use a prompt file for large prompts (avoids ARG_MAX)\n\u002Fask-agent codex --prompt-file \u002Ftmp\u002Freview-prompt.txt\n\n# Round 1 of a council: keep the seat warm by capturing its session id\n\u002Fask-agent codex --session-id-file \u002Ftmp\u002Fcodex.sid --prompt-file \u002Ftmp\u002Fround1.txt\n\n# Round 2: same seat, so the prompt can be the fix delta alone\n\u002Fask-agent codex --resume \"$(cat \u002Ftmp\u002Fcodex.sid)\" --prompt-file \u002Ftmp\u002Fround2.txt\n```\n\n## Agent CLI Mappings\n\n| Agent  | Non-interactive command | Stdin |\n|--------|------------------------|-------|\n| claude | `claude -p` | Yes - reads from stdin when no positional prompt given |\n| codex  | `codex exec -` | Yes - `-` reads from stdin |\n| agy | `agy --add-dir \u003Cdir> -p \"Read \u003Cfile>...\"` | **No** - no stdin mode; the script stages the prompt in a private dir and passes the path |\n\n### Session resume, per agent\n\n| Agent | `--resume \u003Cid>` becomes | Fork or append? | How the yielded id is obtained |\n|-------|------------------------|-----------------|-------------------------------|\n| claude | `--resume \u003Cid>` | **Append.** Same id, one jsonl in the project dir before and after | The caller **mints** it: the script generates a UUID and passes `--session-id \u003Cuuid>` |\n| codex | `codex exec resume \u003Cid> -` | **Append, in place.** Same rollout file (14 → 26 lines), same id, no new `*.jsonl` | Parsed from codex's stderr banner (`session id: \u003Cuuid>`) |\n| agy | `--conversation \u003Cid>` | **Append.** Same id, no new `.db` | Parsed from a per-run `--log-file` (`Print mode: conversation=\u003Cuuid>`) |\n\nAll three **append**, so `--resume` mutates the session's history rather than\nbranching it — which is what a council round wants, but worth knowing before\npointing it at a session you care about. The non-mutating halves exist\n(`codex exec fork \u003Cid>`, `claude --fork-session`) and are deliberately **not**\nwrapped here. Note `codex exec fork` — the `exec` one — runs headless and needs\nno terminal. For a steerable, transcript-preserving Codex child that hands a\nfinal recap back to a high-level parent, use `spawn-agent --fork-session`; it\nwraps the interactive bare `codex fork` and its tmux lifecycle.\n\nEvery claim above was checked rather than inferred; commands, byte counts and\nfile counts are in [historical session-resume evidence](references\u002Fsession-resume-evidence.md).\n\n### agy will not tell you a resume failed — the script does\n\nGive codex or claude an unknown session id and they exit 1 with a clear message.\nGive **agy** one and it **silently starts a brand-new conversation and exits 0**,\nanswering from a cold context with nothing on stderr to say so.\n\nFor a fixpoint council that is the worst failure available: round 3 believes it\nis talking to the reviewer that settled rounds 1–2 and instead gets a stranger\nwho re-litigates them. So on `--resume` the script compares the conversation id\nagy *logged* against the one it was *asked* for, and **exits 4** on a mismatch:\n\n```\nError: agy did NOT resume 00000000-… -- it started d74dd188-… instead,\n       so this reply has no memory of the earlier rounds\n```\n\nBeing unable to determine the id counts as a mismatch too — it fails closed on\npurpose, since \"assume the resume we cannot confirm probably worked\" is the\nsilent failure again with an extra step. **Exit 4 always still prints the\nreply** — it is a real answer, just a cold one — and reports the id of the\nconversation agy actually used on stderr. It does **not** record that id in\n`--session-id-file`: the stranger has no history in it, and writing it would\npromote the cold conversation to being the seat. The file is left empty.\n\n`--resume \"\"` is a hard error rather than quietly meaning \"fresh\": the intended\ncall is `--resume \"$(cat sid)\"` and that file is empty exactly when a previous\nround failed to determine its id.\n\n### Chaining rounds (council use)\n\nRound 1 asks for the id; every later round passes it back. Two files per seat —\none for the prompt, one for the id:\n\n```bash\n# A private directory, not a predictable \u002Ftmp path: on a shared machine anyone\n# can pre-create \u002Ftmp\u002Fcouncil-codex.sid, and it is the seat of the whole round.\ncouncil=$(mktemp -d \u002Ftmp\u002Fcouncil.XXXXXX)\nprompt=\"$council\u002Fprompt.txt\"\n\n# Round 1: full context, fresh seat.\ncat > \"$prompt\" \u003C\u003C'P'\nReview this diff for correctness bugs. \u003Cfull diff here>\nP\ntimeout 900 ~\u002F.claude\u002Fskills\u002Fask-agent\u002Fscripts\u002Fagent-query.sh codex \\\n    --session-id-file \"$council\u002Fcodex.sid\" --prompt-file \"$prompt\"\n\n# 2>\u002Fdev\u002Fnull: on a run that failed before reaching the agent the file is left\n# untouched, which can mean it does not exist. Unguarded, that aborts a caller\n# running under `set -e`.\nseat=$(cat \"$council\u002Fcodex.sid\" 2>\u002Fdev\u002Fnull || true)   # keep it in a variable too\n[[ -n \"$seat\" ]] || { echo \"round 1 yielded no session id; cannot chain\" >&2; }\n\n# Round 2..n: the fix delta ONLY. The seat still remembers round 1, so there is\n# no need to re-feed the diff, the findings, or what was already agreed.\ncat > \"$prompt\" \u003C\u003C'P'\nHere is the delta that fixes your findings. Did any fix introduce a new bug?\n\u003Cgit diff \u003Clast-reviewed-sha>..HEAD>\nP\ntimeout 900 ~\u002F.claude\u002Fskills\u002Fask-agent\u002Fscripts\u002Fagent-query.sh codex \\\n    --resume \"$seat\" --prompt-file \"$prompt\"\nrc=$?\ncase $rc in\n    0) ;;                                     # warm seat, real answer\n    4) echo \"seat went cold — redo this round, do not count it\" >&2 ;;\n    5) echo \"answer is good but the id was not recorded — do not trust the file\" >&2 ;;\n    *) echo \"seat failed with $rc\" >&2 ;;\nesac\nrm -r -f \"$council\"\n```\n\nPoints that matter in a council:\n\n- **Check the exit status, and 4 specifically.** 4 means the seat answered\n  without the earlier rounds; its \"no new findings\" is not a convergence signal\n  and the round should be redone (or restarted fresh, with context re-fed).\n- **One sid file per seat.** Seats run in parallel; a shared file is a race.\n- **One round at a time per seat.** A codex thread has a single active writer:\n  a second `resume` of the same seat while the first is still running — or while\n  that thread's interactive TUI is open — fails with `thread-store conflict:\n  thread \u003Cid> already has an active writer` and exit 1. Different seats in\n  parallel is fine and is what a council does; the same seat twice at once is\n  not. It fails loudly, so it needs no guard, but it will stop a round.\n- **Fresh seats need no `--resume`.** Round 1 just asks for the id.\n- **Keep the id for the whole fixpoint loop, not just one round.** The point is\n  that round 4 still remembers round 1, which is what makes \"re-run the council\n  on the fix delta only\" cheap enough to run to convergence.\n- **On a resume round `--session-id-file` tells you nothing new** — resume\n  yields the id you passed it. Skip it. In particular do not aim it at the same\n  file you read the id *from*: that file is the seat, and a round that comes\n  back 4 (or cannot determine an id) would empty it, leaving you nothing to\n  retry with. Keep the warm id in a shell variable as well as a file.\n\n## Notes\n\n- Response is synchronous - the calling agent waits for the response\n- Useful for getting a second opinion or different perspective\n- Each agent has different training data and reasoning patterns\n- Exit status is the agent's own, plus three of the script's: **3** = agy's\n  reply did not carry the end-of-prompt sentinel (it may have answered on a\n  partial prompt); **4** = `--resume` did not demonstrably land in the\n  requested session; **5** = the run was fine but the id could not be written\n  where `--session-id-file` asked — which matters because the destination may\n  still hold the *previous* round's id, and the status is the only thing that\n  tells you not to chain onto it. All three still print the reply. 3 outranks\n  4 outranks 5, and the agent's own non-zero status outranks all of them.\n- ask-agent is for **foreign** providers. Never ask-agent your own provider\n  (Claude must not ask-agent `claude`, Codex must not ask-agent `codex`, agy\n  must not ask-agent `agy`) — that is another instance of your own model\n  family, correlated blind spots and none of your context, even if a different\n  model is picked. For a same-provider second pass use your native subagent\n  (or review inline if it cannot run — never ask-agent yourself). In a\n  council this is a hard rule: your own provider's seat is your native\n  subagent, and a missing foreign seat is noted, never backfilled — see\n  `council-review`.\n- Prompts are piped via stdin to `claude` and `codex` (never as CLI args)\n- **`agy` has no stdin mode**, so the script stages the prompt in a private\n  0700 temp directory and passes agy a *path* plus `--add-dir`, letting agy\n  read it with its own tools. Only the path reaches argv, so there is no size\n  cap (verified reading a 251031-byte prompt in full) and no prompt content in\n  `ps` \u002F `\u002Fproc\u002F\u003Cpid>\u002Fcmdline`.\n  - Do not \"simplify\" this to `agy -p \"$prompt\"`. That reintroduces the\n    128 KiB `MAX_ARG_STRLEN` cap and exposes the prompt to every local account\n    for as long as agy runs.\n  - `--add-dir` is required: without it agy auto-denies its own `read_file`\n    in headless mode and exits with no output. Loud, not silent.\n  - The staged prompt ends with a per-run marker that agy is told to reproduce\n    as the last line of its reply. A reply without it means agy may have\n    answered without reading the prompt to the end, so the script says so on\n    stderr and **exits 3**. The reply is still printed (marker stripped), but\n    treat exit 3 as \"this answer may be based on a partial prompt\", not as a\n    clean result. Exit 3 also covers a reply that is *only* the marker.\n  - The marker is stripped from the last line only, so if agy decorates it the\n    punctuation survives: a reply ending `**MARKER**` leaves a stray `****`\n    line. A known trade-off — stripping the whole line would eat a short answer\n    that shares the line with the marker, and stripping every occurrence would\n    corrupt a reply that legitimately quotes it mid-body.\n\n### The headless permission flake\n\n`--add-dir` grants a directory **read**, and nothing else. agy usually reads the\nstaged prompt with its built-in file tool, but it sometimes decides to shell out\n(`cat`) instead — and the `command` permission that needs cannot be prompted for\nin headless mode, so it is auto-denied and the run produces nothing:\n\n```\njetski: no output produced — a tool required the \"command\" permission that\nheadless mode cannot prompt for, so it was auto-denied.\n```\n\nWhich tool it picks varies run to run, so this presents as an intermittent\nfailure (roughly 1 in 8 from an untrusted workspace).\n\n**It arrives in two shapes**, and they look completely different from outside:\n\n| | stdout | stderr | exit |\n|---|---|---|---|\n| **hard** — agy aborts | *empty* | the `jetski:` message | 0 |\n| **soft** — agy carries on | the message is *in the reply* | — | 0 |\n\nThe script captures stdout but not stderr (stderr passes through live, which is\nwhat you want for visibility), so the hard shape shows up simply as **an empty\nreply that exited 0**.\n\nMitigations, neither touching machine-wide permissions:\n\n- the preamble tells agy to use its file-reading tool and not a shell command;\n- the script retries **once**, when the run exited 0 **and the reply does not\n  carry the marker**, and is then either empty (hard) or carries the auto-deny\n  text (soft). The stderr note says which shape it was.\n\nThe marker-absence gate is what makes this safe. A genuine denial produced no\nanswer, so it cannot carry the marker; a real reply that merely *quotes* the\ndenial text — which every \"review ask-agent\" prompt does, since that phrase is\nin this very file — does carry it. Without the gate, a good answer was thrown\naway and re-asked. And given the gate, \"empty\" is a sound trigger by itself:\nthe marker is mandatory, so empty-and-exit-0 can never be a valid reply.\n\nIt is deliberately **not** a general retry on exit 3 — that would paper over\ngenuine partial reads, which is what the marker exists to catch. If you see the\nretry note often, the durable fix is a permission allow-rule in\n`~\u002F.gemini\u002Fconfig\u002Fconfig.json`, which is an operator security decision and is\ntracked separately (ditz `agy-headless-command-permission`) rather than shipped\nhere.\n\n### Reply trimming is locale-sensitive — there is a tripwire\n\n`scripts\u002Ftest-rtrim.sh` exercises the reply-trimming function across\n`en_US.UTF-8`, `C.UTF-8`, `C` and `POSIX` and asserts byte-identical results.\n**Run it after touching anything in the reply-handling path.** It takes a second\nand needs no framework:\n\n```bash\n.claude\u002Fskills\u002Fask-agent\u002Fscripts\u002Ftest-rtrim.sh\n```\n\nIt exists because this exact code shipped a bug twice, from opposite directions\n— once blanking whole replies containing an undecodable byte (the `timeout`\npath, where agy is killed mid-character), once letting an invisible character\npass as a successful answer. The caller's locale is not reliable: `LANG` is\nunset under cron, systemd units, `ssh host cmd`, `docker exec` and `sudo` with\n`env_reset`, and a `LANG` naming an ungenerated locale degrades to `C` silently.\nThe test extracts the function from `agent-query.sh` rather than copying it, so\nit cannot drift.\n\n### Session resume has its own tripwire\n\n`scripts\u002Ftest-session-resume.sh` covers `--resume` \u002F `--session-id-file` the\nsame way — the real script against stub `claude`, `codex` and `agy` binaries,\nno network and no agent state touched. **Run it after touching option parsing,\nthe per-agent command build, the agy log handling, or the tail of the script.**\n\n```bash\n.claude\u002Fskills\u002Fask-agent\u002Fscripts\u002Ftest-session-resume.sh\n```\n\nWhat it pins, and why each one is there:\n\n- the agy id comparison actually firing — a silent fork must be exit 4, not 0,\n  and that check is the entire reason `--resume` is safe to point at agy;\n- `--session-id-file` getting the right thing in *both* directions: a round\n  that cannot determine an id leaves it empty rather than holding the\n  *previous* round's (which would chain the next round onto the wrong thread\n  while looking perfectly healthy), while a run that never reached an agent at\n  all — a typo'd agent name, a bad `--dir` — leaves it untouched rather than\n  throwing away a warm seat;\n- the reply outranking the bookkeeping: the id is recorded in front of the\n  reply on the agy path, under `set -e`, with the reply's capture file already\n  unlinked, so a failing write there must not be able to abort the script;\n- the **negative** argv assertions — a plain query must not grow `--log-file`\n  or `--session-id`, or every existing caller changes behaviour at once;\n- the codex capture path keeping the reply, the exit status and live stderr, and\n  forwarding TERM, since it is the one path that gave up `exec` and so the one\n  path that can drop any of them or orphan an agent under `timeout`.\n\n### Known residuals\n\n- **If the `--session-id-file` destination directory becomes unwritable *during*\n  a run**, the 0600 scratch file created beside it at startup cannot be removed\n  and is left behind. Same residual class as the agy staging directory. The run\n  itself is unaffected: the reply is printed and the status is 5.\n- **The id file is written by rename, so it gets a fresh inode each round.** A\n  destination deliberately made group-readable (a sid file shared between two\n  processes) reverts to 0600 on the first write. One file per seat, which is\n  the advice anyway, makes this moot.\n- **A signal arriving between arming the traps and learning the child's pid** is\n  remembered and forwarded once the pid is known, but only the *last* such\n  signal is kept if several distinct ones land in that window. Forwarding one\n  signal is what matters here; the window is microseconds wide.\n\n- **Replies above ~500KB with no newline at all** hit a quadratic parameter\n  expansion when the last line is located: ~0.36s at 200KB, ~3.4s at 500KB,\n  ~15.4s at 1MB. Any plausible reply is far below the cliff, but callers run\n  this under `timeout`, so it is worth knowing the shape.\n- **A signal arriving after agy is reaped but during reply handling discards\n  the reply** (~0.4s window). Deliberate: the signal-forwarding traps are\n  disarmed once the child is reaped, because leaving them armed meant firing\n  `kill` at a PID that may already have been recycled. Losing a reply to a\n  signal that arrived in a 0.4s window is the better failure.\n- **On a system without `C.UTF-8`, trimming degrades to ASCII-only.** The trim\n  pins `C.UTF-8`; if that is unavailable the guard detects the byte locale and\n  drops the named non-breaking characters rather than letting the character\n  class shred multibyte tails. Consequence: **no corruption ever**, but a reply\n  ending in U+00A0 \u002F U+202F \u002F U+FEFF is not trimmed, so the invisible-content\n  case would pass as success *in that environment only*. glibc ships `C.UTF-8`\n  built in — `LOCPATH` cannot even unseat it — so this is a documented edge, not\n  a live hole on this fleet. Asserted in `test-rtrim.sh` rather than only\n  described here.\n","The Codex branch uses `harness.codex_bin` from the [shared configuration](..\u002F_shared\u002Fconfiguration.md) (Python 3.11+).\n\n# ask-agent\n\nQuery another AI agent non-interactively and get the response back. Use this\nwhen you want a second opinion from a different agent (Claude, Codex, Antigravity\u002Fagy, etc.).\n\n## Usage\n\n```\n\u002Fask-agent \u003Cagent> [options] \u003Cprompt>\n```\n\n## Arguments\n\n- `\u003Cagent>`: The agent to query (`claude`, `codex`, `agy`)\n- `\u003Cprompt>`: The question or request for the agent\n\n## Options\n\n- `-d, --dir \u003Cdir>`: Set working directory for the agent\n- `-m, --model \u003Cmodel>`: Specify model (agent-specific)\n- `-f, --prompt-file \u003Cfile>`: Read prompt from a file instead of inline (use for\n  large prompts to avoid ARG_MAX limits at the caller-to-script boundary)\n- `-r, --resume \u003Cid>`: Continue an existing session instead of starting a new\n  one. Mapped to each agent's own flag — see the mapping table below.\n- `-S, --session-id-file \u003Cfile>`: Write the session id this run **yielded** to\n  `\u003Cfile>`, so the next round can pass it back via `--resume`. The file holds\n  the bare id and a newline, nothing else — or is left **empty**, which means\n  \"nothing came out of this round that is safe to chain\", never a stale id from\n  the round before. It is written by atomic rename at the end, so a run that\n  fails before reaching an agent (a typo'd agent name, a bad `--dir`, a\n  rejected id) leaves whatever was there **untouched**.\n\n## Instructions\n\nWhen this skill is invoked, **always pass the prompt via a temp file** to avoid\nARG_MAX errors with large prompts.\n\nThis protects the *caller-to-script* boundary. Past that point no agent is\nconstrained by argv: `claude` and `codex` receive the prompt on stdin, and\n`agy` -- which has no stdin mode -- is handed a file path to read instead of\nthe prompt text, so nothing large ever transits argv. Ordinary limits still\napply of course: the model's context window, and whatever the agent decides to\ndo with a very long prompt.\n\n```bash\n# 1. Write prompt to a temp file\nprompt_file=$(mktemp \u002Ftmp\u002Fask-agent-prompt.XXXXXX)\ncat \u003C\u003C 'PROMPT_DELIM' > \"$prompt_file\"\n\u003Cyour prompt here>\nPROMPT_DELIM\n\n# 2. Run the script with --prompt-file\n~\u002F.claude\u002Fskills\u002Fask-agent\u002Fscripts\u002Fagent-query.sh \u003Cagent> [options] --prompt-file \"$prompt_file\"\n\n# 3. Clean up (the script does NOT delete caller-provided files)\nrm -f \"$prompt_file\"\n```\n\nFor short prompts that are clearly under the ARG_MAX limit (~128KB), inline\nis also fine:\n\n```bash\n~\u002F.claude\u002Fskills\u002Fask-agent\u002Fscripts\u002Fagent-query.sh \u003Cagent> [options] \u003Cprompt>\n```\n\nThe script pipes the prompt via stdin to `claude` and `codex`, and stages it in\na file for `agy`, so inline prompts are safe at the script-to-agent boundary for\nall three. The --prompt-file approach\nprotects the caller-to-script boundary as well.\n\nReport the response back to the user.\n\n## Examples\n\n```bash\n# Get Codex opinion on an approach (short prompt, inline ok)\n\u002Fask-agent codex \"What do you think of using JWT for this auth flow?\"\n\n# Ask Claude with a specific model\n\u002Fask-agent claude -m opus \"Review this error handling pattern\"\n\n# Query from a specific directory\n\u002Fask-agent codex -d .\u002Fsrc \"Explain what the auth module does\"\n\n# Ask agy (Antigravity CLI) for a summary\n\u002Fask-agent agy \"Summarize this codebase\"\n\n# Ask agy with a specific model (see `agy models` for available names)\n\u002Fask-agent agy -m \u003Cmodel> \"Review this architecture\"\n\n# Use a prompt file for large prompts (avoids ARG_MAX)\n\u002Fask-agent codex --prompt-file \u002Ftmp\u002Freview-prompt.txt\n\n# Round 1 of a council: keep the seat warm by capturing its session id\n\u002Fask-agent codex --session-id-file \u002Ftmp\u002Fcodex.sid --prompt-file \u002Ftmp\u002Fround1.txt\n\n# Round 2: same seat, so the prompt can be the fix delta alone\n\u002Fask-agent codex --resume \"$(cat \u002Ftmp\u002Fcodex.sid)\" --prompt-file \u002Ftmp\u002Fround2.txt\n```\n\n## Agent CLI Mappings\n\n| Agent  | Non-interactive command | Stdin |\n|--------|------------------------|-------|\n| claude | `claude -p` | Yes - reads from stdin when no positional prompt given |\n| codex  | `codex exec -` | Yes - `-` reads from stdin |\n| agy | `agy --add-dir \u003Cdir> -p \"Read \u003Cfile>...\"` | **No** - no stdin mode; the script stages the prompt in a private dir and passes the path |\n\n### Session resume, per agent\n\n| Agent | `--resume \u003Cid>` becomes | Fork or append? | How the yielded id is obtained |\n|-------|------------------------|-----------------|-------------------------------|\n| claude | `--resume \u003Cid>` | **Append.** Same id, one jsonl in the project dir before and after | The caller **mints** it: the script generates a UUID and passes `--session-id \u003Cuuid>` |\n| codex | `codex exec resume \u003Cid> -` | **Append, in place.** Same rollout file (14 → 26 lines), same id, no new `*.jsonl` | Parsed from codex's stderr banner (`session id: \u003Cuuid>`) |\n| agy | `--conversation \u003Cid>` | **Append.** Same id, no new `.db` | Parsed from a per-run `--log-file` (`Print mode: conversation=\u003Cuuid>`) |\n\nAll three **append**, so `--resume` mutates the session's history rather than\nbranching it — which is what a council round wants, but worth knowing before\npointing it at a session you care about. The non-mutating halves exist\n(`codex exec fork \u003Cid>`, `claude --fork-session`) and are deliberately **not**\nwrapped here. Note `codex exec fork` — the `exec` one — runs headless and needs\nno terminal. For a steerable, transcript-preserving Codex child that hands a\nfinal recap back to a high-level parent, use `spawn-agent --fork-session`; it\nwraps the interactive bare `codex fork` and its tmux lifecycle.\n\nEvery claim above was checked rather than inferred; commands, byte counts and\nfile counts are in [historical session-resume evidence](references\u002Fsession-resume-evidence.md).\n\n### agy will not tell you a resume failed — the script does\n\nGive codex or claude an unknown session id and they exit 1 with a clear message.\nGive **agy** one and it **silently starts a brand-new conversation and exits 0**,\nanswering from a cold context with nothing on stderr to say so.\n\nFor a fixpoint council that is the worst failure available: round 3 believes it\nis talking to the reviewer that settled rounds 1–2 and instead gets a stranger\nwho re-litigates them. So on `--resume` the script compares the conversation id\nagy *logged* against the one it was *asked* for, and **exits 4** on a mismatch:\n\n```\nError: agy did NOT resume 00000000-… -- it started d74dd188-… instead,\n       so this reply has no memory of the earlier rounds\n```\n\nBeing unable to determine the id counts as a mismatch too — it fails closed on\npurpose, since \"assume the resume we cannot confirm probably worked\" is the\nsilent failure again with an extra step. **Exit 4 always still prints the\nreply** — it is a real answer, just a cold one — and reports the id of the\nconversation agy actually used on stderr. It does **not** record that id in\n`--session-id-file`: the stranger has no history in it, and writing it would\npromote the cold conversation to being the seat. The file is left empty.\n\n`--resume \"\"` is a hard error rather than quietly meaning \"fresh\": the intended\ncall is `--resume \"$(cat sid)\"` and that file is empty exactly when a previous\nround failed to determine its id.\n\n### Chaining rounds (council use)\n\nRound 1 asks for the id; every later round passes it back. Two files per seat —\none for the prompt, one for the id:\n\n```bash\n# A private directory, not a predictable \u002Ftmp path: on a shared machine anyone\n# can pre-create \u002Ftmp\u002Fcouncil-codex.sid, and it is the seat of the whole round.\ncouncil=$(mktemp -d \u002Ftmp\u002Fcouncil.XXXXXX)\nprompt=\"$council\u002Fprompt.txt\"\n\n# Round 1: full context, fresh seat.\ncat > \"$prompt\" \u003C\u003C'P'\nReview this diff for correctness bugs. \u003Cfull diff here>\nP\ntimeout 900 ~\u002F.claude\u002Fskills\u002Fask-agent\u002Fscripts\u002Fagent-query.sh codex \\\n    --session-id-file \"$council\u002Fcodex.sid\" --prompt-file \"$prompt\"\n\n# 2>\u002Fdev\u002Fnull: on a run that failed before reaching the agent the file is left\n# untouched, which can mean it does not exist. Unguarded, that aborts a caller\n# running under `set -e`.\nseat=$(cat \"$council\u002Fcodex.sid\" 2>\u002Fdev\u002Fnull || true)   # keep it in a variable too\n[[ -n \"$seat\" ]] || { echo \"round 1 yielded no session id; cannot chain\" >&2; }\n\n# Round 2..n: the fix delta ONLY. The seat still remembers round 1, so there is\n# no need to re-feed the diff, the findings, or what was already agreed.\ncat > \"$prompt\" \u003C\u003C'P'\nHere is the delta that fixes your findings. Did any fix introduce a new bug?\n\u003Cgit diff \u003Clast-reviewed-sha>..HEAD>\nP\ntimeout 900 ~\u002F.claude\u002Fskills\u002Fask-agent\u002Fscripts\u002Fagent-query.sh codex \\\n    --resume \"$seat\" --prompt-file \"$prompt\"\nrc=$?\ncase $rc in\n    0) ;;                                     # warm seat, real answer\n    4) echo \"seat went cold — redo this round, do not count it\" >&2 ;;\n    5) echo \"answer is good but the id was not recorded — do not trust the file\" >&2 ;;\n    *) echo \"seat failed with $rc\" >&2 ;;\nesac\nrm -r -f \"$council\"\n```\n\nPoints that matter in a council:\n\n- **Check the exit status, and 4 specifically.** 4 means the seat answered\n  without the earlier rounds; its \"no new findings\" is not a convergence signal\n  and the round should be redone (or restarted fresh, with context re-fed).\n- **One sid file per seat.** Seats run in parallel; a shared file is a race.\n- **One round at a time per seat.** A codex thread has a single active writer:\n  a second `resume` of the same seat while the first is still running — or while\n  that thread's interactive TUI is open — fails with `thread-store conflict:\n  thread \u003Cid> already has an active writer` and exit 1. Different seats in\n  parallel is fine and is what a council does; the same seat twice at once is\n  not. It fails loudly, so it needs no guard, but it will stop a round.\n- **Fresh seats need no `--resume`.** Round 1 just asks for the id.\n- **Keep the id for the whole fixpoint loop, not just one round.** The point is\n  that round 4 still remembers round 1, which is what makes \"re-run the council\n  on the fix delta only\" cheap enough to run to convergence.\n- **On a resume round `--session-id-file` tells you nothing new** — resume\n  yields the id you passed it. Skip it. In particular do not aim it at the same\n  file you read the id *from*: that file is the seat, and a round that comes\n  back 4 (or cannot determine an id) would empty it, leaving you nothing to\n  retry with. Keep the warm id in a shell variable as well as a file.\n\n## Notes\n\n- Response is synchronous - the calling agent waits for the response\n- Useful for getting a second opinion or different perspective\n- Each agent has different training data and reasoning patterns\n- Exit status is the agent's own, plus three of the script's: **3** = agy's\n  reply did not carry the end-of-prompt sentinel (it may have answered on a\n  partial prompt); **4** = `--resume` did not demonstrably land in the\n  requested session; **5** = the run was fine but the id could not be written\n  where `--session-id-file` asked — which matters because the destination may\n  still hold the *previous* round's id, and the status is the only thing that\n  tells you not to chain onto it. All three still print the reply. 3 outranks\n  4 outranks 5, and the agent's own non-zero status outranks all of them.\n- ask-agent is for **foreign** providers. Never ask-agent your own provider\n  (Claude must not ask-agent `claude`, Codex must not ask-agent `codex`, agy\n  must not ask-agent `agy`) — that is another instance of your own model\n  family, correlated blind spots and none of your context, even if a different\n  model is picked. For a same-provider second pass use your native subagent\n  (or review inline if it cannot run — never ask-agent yourself). In a\n  council this is a hard rule: your own provider's seat is your native\n  subagent, and a missing foreign seat is noted, never backfilled — see\n  `council-review`.\n- Prompts are piped via stdin to `claude` and `codex` (never as CLI args)\n- **`agy` has no stdin mode**, so the script stages the prompt in a private\n  0700 temp directory and passes agy a *path* plus `--add-dir`, letting agy\n  read it with its own tools. Only the path reaches argv, so there is no size\n  cap (verified reading a 251031-byte prompt in full) and no prompt content in\n  `ps` \u002F `\u002Fproc\u002F\u003Cpid>\u002Fcmdline`.\n  - Do not \"simplify\" this to `agy -p \"$prompt\"`. That reintroduces the\n    128 KiB `MAX_ARG_STRLEN` cap and exposes the prompt to every local account\n    for as long as agy runs.\n  - `--add-dir` is required: without it agy auto-denies its own `read_file`\n    in headless mode and exits with no output. Loud, not silent.\n  - The staged prompt ends with a per-run marker that agy is told to reproduce\n    as the last line of its reply. A reply without it means agy may have\n    answered without reading the prompt to the end, so the script says so on\n    stderr and **exits 3**. The reply is still printed (marker stripped), but\n    treat exit 3 as \"this answer may be based on a partial prompt\", not as a\n    clean result. Exit 3 also covers a reply that is *only* the marker.\n  - The marker is stripped from the last line only, so if agy decorates it the\n    punctuation survives: a reply ending `**MARKER**` leaves a stray `****`\n    line. A known trade-off — stripping the whole line would eat a short answer\n    that shares the line with the marker, and stripping every occurrence would\n    corrupt a reply that legitimately quotes it mid-body.\n\n### The headless permission flake\n\n`--add-dir` grants a directory **read**, and nothing else. agy usually reads the\nstaged prompt with its built-in file tool, but it sometimes decides to shell out\n(`cat`) instead — and the `command` permission that needs cannot be prompted for\nin headless mode, so it is auto-denied and the run produces nothing:\n\n```\njetski: no output produced — a tool required the \"command\" permission that\nheadless mode cannot prompt for, so it was auto-denied.\n```\n\nWhich tool it picks varies run to run, so this presents as an intermittent\nfailure (roughly 1 in 8 from an untrusted workspace).\n\n**It arrives in two shapes**, and they look completely different from outside:\n\n| | stdout | stderr | exit |\n|---|---|---|---|\n| **hard** — agy aborts | *empty* | the `jetski:` message | 0 |\n| **soft** — agy carries on | the message is *in the reply* | — | 0 |\n\nThe script captures stdout but not stderr (stderr passes through live, which is\nwhat you want for visibility), so the hard shape shows up simply as **an empty\nreply that exited 0**.\n\nMitigations, neither touching machine-wide permissions:\n\n- the preamble tells agy to use its file-reading tool and not a shell command;\n- the script retries **once**, when the run exited 0 **and the reply does not\n  carry the marker**, and is then either empty (hard) or carries the auto-deny\n  text (soft). The stderr note says which shape it was.\n\nThe marker-absence gate is what makes this safe. A genuine denial produced no\nanswer, so it cannot carry the marker; a real reply that merely *quotes* the\ndenial text — which every \"review ask-agent\" prompt does, since that phrase is\nin this very file — does carry it. Without the gate, a good answer was thrown\naway and re-asked. And given the gate, \"empty\" is a sound trigger by itself:\nthe marker is mandatory, so empty-and-exit-0 can never be a valid reply.\n\nIt is deliberately **not** a general retry on exit 3 — that would paper over\ngenuine partial reads, which is what the marker exists to catch. If you see the\nretry note often, the durable fix is a permission allow-rule in\n`~\u002F.gemini\u002Fconfig\u002Fconfig.json`, which is an operator security decision and is\ntracked separately (ditz `agy-headless-command-permission`) rather than shipped\nhere.\n\n### Reply trimming is locale-sensitive — there is a tripwire\n\n`scripts\u002Ftest-rtrim.sh` exercises the reply-trimming function across\n`en_US.UTF-8`, `C.UTF-8`, `C` and `POSIX` and asserts byte-identical results.\n**Run it after touching anything in the reply-handling path.** It takes a second\nand needs no framework:\n\n```bash\n.claude\u002Fskills\u002Fask-agent\u002Fscripts\u002Ftest-rtrim.sh\n```\n\nIt exists because this exact code shipped a bug twice, from opposite directions\n— once blanking whole replies containing an undecodable byte (the `timeout`\npath, where agy is killed mid-character), once letting an invisible character\npass as a successful answer. The caller's locale is not reliable: `LANG` is\nunset under cron, systemd units, `ssh host cmd`, `docker exec` and `sudo` with\n`env_reset`, and a `LANG` naming an ungenerated locale degrades to `C` silently.\nThe test extracts the function from `agent-query.sh` rather than copying it, so\nit cannot drift.\n\n### Session resume has its own tripwire\n\n`scripts\u002Ftest-session-resume.sh` covers `--resume` \u002F `--session-id-file` the\nsame way — the real script against stub `claude`, `codex` and `agy` binaries,\nno network and no agent state touched. **Run it after touching option parsing,\nthe per-agent command build, the agy log handling, or the tail of the script.**\n\n```bash\n.claude\u002Fskills\u002Fask-agent\u002Fscripts\u002Ftest-session-resume.sh\n```\n\nWhat it pins, and why each one is there:\n\n- the agy id comparison actually firing — a silent fork must be exit 4, not 0,\n  and that check is the entire reason `--resume` is safe to point at agy;\n- `--session-id-file` getting the right thing in *both* directions: a round\n  that cannot determine an id leaves it empty rather than holding the\n  *previous* round's (which would chain the next round onto the wrong thread\n  while looking perfectly healthy), while a run that never reached an agent at\n  all — a typo'd agent name, a bad `--dir` — leaves it untouched rather than\n  throwing away a warm seat;\n- the reply outranking the bookkeeping: the id is recorded in front of the\n  reply on the agy path, under `set -e`, with the reply's capture file already\n  unlinked, so a failing write there must not be able to abort the script;\n- the **negative** argv assertions — a plain query must not grow `--log-file`\n  or `--session-id`, or every existing caller changes behaviour at once;\n- the codex capture path keeping the reply, the exit status and live stderr, and\n  forwarding TERM, since it is the one path that gave up `exec` and so the one\n  path that can drop any of them or orphan an agent under `timeout`.\n\n### Known residuals\n\n- **If the `--session-id-file` destination directory becomes unwritable *during*\n  a run**, the 0600 scratch file created beside it at startup cannot be removed\n  and is left behind. Same residual class as the agy staging directory. The run\n  itself is unaffected: the reply is printed and the status is 5.\n- **The id file is written by rename, so it gets a fresh inode each round.** A\n  destination deliberately made group-readable (a sid file shared between two\n  processes) reverts to 0600 on the first write. One file per seat, which is\n  the advice anyway, makes this moot.\n- **A signal arriving between arming the traps and learning the child's pid** is\n  remembered and forwarded once the pid is known, but only the *last* such\n  signal is kept if several distinct ones land in that window. Forwarding one\n  signal is what matters here; the window is microseconds wide.\n\n- **Replies above ~500KB with no newline at all** hit a quadratic parameter\n  expansion when the last line is located: ~0.36s at 200KB, ~3.4s at 500KB,\n  ~15.4s at 1MB. Any plausible reply is far below the cliff, but callers run\n  this under `timeout`, so it is worth knowing the shape.\n- **A signal arriving after agy is reaped but during reply handling discards\n  the reply** (~0.4s window). Deliberate: the signal-forwarding traps are\n  disarmed once the child is reaped, because leaving them armed meant firing\n  `kill` at a PID that may already have been recycled. Losing a reply to a\n  signal that arrived in a 0.4s window is the better failure.\n- **On a system without `C.UTF-8`, trimming degrades to ASCII-only.** The trim\n  pins `C.UTF-8`; if that is unavailable the guard detects the byte locale and\n  drops the named non-breaking characters rather than letting the character\n  class shred multibyte tails. Consequence: **no corruption ever**, but a reply\n  ending in U+00A0 \u002F U+202F \u002F U+FEFF is not trimmed, so the invisible-content\n  case would pass as success *in that environment only*. glibc ships `C.UTF-8`\n  built in — `LOCPATH` cannot even unseat it — so this is a documented edge, not\n  a live hole on this fleet. Asserted in `test-rtrim.sh` rather than only\n  described here.\n",{"name":5,"description":7,"allowed-tools":24,"argument-hint":25},"Bash(~\u002F.claude\u002Fskills\u002Fask-agent\u002Fscripts\u002F*)","\u003Cagent> [options] \u003Cprompt>","master","f233dc9c278370625755a94f72c1ee3815214b89","skills\u002Fask-agent","https:\u002F\u002Fgithub.com\u002Ftedks\u002Fagent-skills","https:\u002F\u002Fgithub.com\u002Ftedks","https:\u002F\u002Ftedks.com","2026-11-03 02:32:59",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add tedks\u002Fagent-skills --skill ask-agent",{"tool":39,"command":40},"bunx","bunx skills add tedks\u002Fagent-skills --skill ask-agent",{"tool":42,"command":43},"pnpm","pnpm dlx skills add tedks\u002Fagent-skills --skill ask-agent","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftedks\u002Fagent-skills\u002Fblob\u002Fmaster\u002Fskills\u002Fask-agent\u002FSKILL.md",true,[47,53,59,63],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fsession-resume-evidence.md","REFERENCE","参考文档",16526,"https:\u002F\u002Fgithub.com\u002Ftedks\u002Fagent-skills\u002Fblob\u002Fmaster\u002Fskills\u002Fask-agent\u002Freferences\u002Fsession-resume-evidence.md",{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"scripts\u002Fagent-query.sh","SCRIPT","脚本",51379,"https:\u002F\u002Fgithub.com\u002Ftedks\u002Fagent-skills\u002Fblob\u002Fmaster\u002Fskills\u002Fask-agent\u002Fscripts\u002Fagent-query.sh",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"scripts\u002Ftest-rtrim.sh",12896,"https:\u002F\u002Fgithub.com\u002Ftedks\u002Fagent-skills\u002Fblob\u002Fmaster\u002Fskills\u002Fask-agent\u002Fscripts\u002Ftest-rtrim.sh",{"path":64,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":65,"sourceHtmlUrl":66},"scripts\u002Ftest-session-resume.sh",25061,"https:\u002F\u002Fgithub.com\u002Ftedks\u002Fagent-skills\u002Fblob\u002Fmaster\u002Fskills\u002Fask-agent\u002Fscripts\u002Ftest-session-resume.sh",[68,75,82,89,96,103],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7EME6XZ35HJRKWWKGM3TCF4","where","Use before any find, rg, grep or Glob over a repo or a directory you do not already have an exact path for. Prints a small map of the current project (root, worktrees, depth-2 tree with sizes, the repo's own \"Project structure\" notes) so you search the worktree you own with a path instead of enumerating ~, ~\u002FProjects, \u002F, \u002Fnix or \u002Ftmp.","https:\u002F\u002Fgithub.com\u002Ftedks\u002Fagent-skills\u002Fblob\u002Fmaster\u002Fskills\u002Fwhere\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7EME20D4MY2J5NMD9XMH4HP","usage","Use when a CTO or lead asks how much its lanes are spending, which session is burning quota, whether a lane tripped the token tripwire, or where the provider quota meters stand. Reads the installed token-usage counts (turns\u002Fh, cached tokens\u002Fh, average context per turn for each session; per-project\u002Fmodel totals; quota meters) and the tripwire's open incidents. Counts only; never message content. Does not install anything or change thresholds.","https:\u002F\u002Fgithub.com\u002Ftedks\u002Fagent-skills\u002Fblob\u002Fmaster\u002Fskills\u002Fusage\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7EMDZKTR8RD7QM6TB5SYWRZ","stacked-prs","Detailed workflow for managing stacked PRs. Use when rebasing a PR stack, resolving merge conflicts in a stack, merging stacked PRs, or when user mentions \"stack\" and \"PR\" together.","https:\u002F\u002Fgithub.com\u002Ftedks\u002Fagent-skills\u002Fblob\u002Fmaster\u002Fskills\u002Fstacked-prs\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7EMDVP1P5RNE1S6VYGWPNFW","spawn-agent","Spawn AI agents in steerable tmux windows for parallel or long-running work, including transcript-preserving Codex session forks with step-scoped compaction and structured final-recap handoffs. Use to spawn interactive agents, steer running tmux agents, or fork a Codex session for a separate step.","https:\u002F\u002Fgithub.com\u002Ftedks\u002Fagent-skills\u002Fblob\u002Fmaster\u002Fskills\u002Fspawn-agent\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M7EMDR15E49C5D52XRJ52PK7","retire-agent","Preserve a private, resumable agent handoff and verify a polite exit, or transfer the handoff to a freshly spawned successor.","https:\u002F\u002Fgithub.com\u002Ftedks\u002Fagent-skills\u002Fblob\u002Fmaster\u002Fskills\u002Fretire-agent\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":19},"01M7EMDJYJR0EF8QG0XN0GCV7T","lean-automation","Diagnose and prevent CI\u002Fdeploy latency caused by automation inheriting a human's environment. Use when CI or a deploy feels slow, when auditing a repo's pipeline, when adding a dependency to a shared dev environment (flake devShell, base image, requirements file), or when writing a guard that is supposed to keep an environment lean.","https:\u002F\u002Fgithub.com\u002Ftedks\u002Fagent-skills\u002Fblob\u002Fmaster\u002Fskills\u002Flean-automation\u002FSKILL.md",[],[]]