[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M758HD17HN17FC2S9X4HWBDK":3,"skill-same:01M758HD17HN17FC2S9X4HWBDK":52},{"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":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":34,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M758HD17HN17FC2S9X4HWBDK","subagent-delegation",null,"Use when pinning subagent models or multi-role reviews.","lukemcqueen\u002Fsteadfaste-fleet","lukemcqueen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F405240?v=4","01M757MHPAGRXTJAT46SKZP98R","Luke McQueen","01M757MHPZ573KP8DT9GB8SBQ7",4,"MIT","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fsubagent-delegation\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: subagent-delegation\ndescription: \"Use when pinning subagent models or multi-role reviews.\"\nversion: 1.1.0\ncategory: devops\nplatforms: [linux, macos]\n---\n\n# Subagent Delegation\n\n**Trigger:** \"run the party on \u003Cmodel>\", \"pin subagents to \u003Cmodel>\", \"Cannot\nresolve delegation provider\", elicit \u002F architecture-party via subagents,\nmulti-role design review.\n\n## Pinning the subagent model\n\nDelegation resolution order: `delegation.base_url` (direct endpoint) →\n`delegation.provider` (named keychain bundle) → parent provider (inherit).\n`delegation.model` applies on every branch.\n\n**To pin subagents to a model on a direct endpoint**, set all three and leave\n`provider` empty:\n\n```yaml\ndelegation:\n  model: \u003Cmodel-id>\n  provider: \"\"          # empty — the direct endpoint takes precedence\n  base_url: \u003Copenai-compatible-base>\n  api_key: \u003Ckey>        # read from the provider's env var, not auth.json\n```\n\n**Pitfall — the named-provider branch ignores env keys.** Setting\n`delegation.provider: \u003Cnamed>` fails with \"not logged into \u003Cname> Portal\" even\nwhen the matching `\u003CNAME>_API_KEY` env var is exported. The named branch\nresolves a credential bundle from `~\u002F.hermes\u002Fauth.json` `credential_pool` only\n(commonly just deepseek \u002F opencode-zen \u002F openrouter); it never reads the env\nvar. Fix: use the direct-endpoint form above.\n\n**Secret-safe write:** `hermes config set delegation.model \u003Cid>` is fine for\nnon-secret fields, but set `delegation.api_key` via a Python yaml script\n(`yaml.safe_load` → set key → `yaml.safe_dump`) so the key never lands in shell\nhistory or logs. `write_file`\u002F`patch` refuse `config.yaml` (security-sensitive).\n\n**Nous inference API (verified):** base `https:\u002F\u002Finference-api.nousresearch.com\u002Fv1`,\nkey from `NOUS_API_KEY`; Fable model ids `anthropic\u002Fclaude-fable-5`,\n`anthropic\u002Fclaude-fable-5.1`, `anthropic\u002Fclaude-fable-latest`. List models:\n`curl -H \"Authorization: Bearer $NOUS_API_KEY\" \u003Cbase>\u002Fmodels`.\n\n## Running a multi-role review as parallel subagents\n\nWhen an elicit \u002F architecture-party asks for a panel of roles, run them as\nparallel `delegate_task` subagents — not sequential self-prompting:\n\n1. **Write one design brief first** — the single source of truth every role\n   reads (plus existing research docs).\n2. **Two waves, not one.** Design roles first (Elicit, Architect,\n   Domain\u002FDevEx); then critique roles (Security, SRE, Product, QA) pointed at those sections.\n   Critics must critique the actual design, not a strawman re-derivation of it. In a governed repo\n   the children cannot WRITE those files themselves unless the brief carries the load-and-lock\n   sequence (see the reviewer section below) — otherwise have each return its section as text and\n   write the files yourself.\n3. **Section-per-role, summary-only return.** Each child returns its full section plus a\n   one-paragraph summary; the parent synthesizes the weighted matrix \u002F recommendation itself —\n   never delegate the synthesis.\n4. **Pass exact read paths + output path** in each child's context; children\n   know nothing of the parent conversation.\n\n## Delegating implementation (children that commit code)\n\nWhen subagents will implement AND `git commit` (not just write review files),\nthree extra rules apply:\n\n- **One subagent per git repository.** The git index is shared state — two\n  parallel subagents in the SAME repo collide on `git add`\u002F`git commit` even\n  when they touch different files (staging serializes the whole working tree).\n  Parallelize ACROSS repos; within one repo run subagents sequentially, or have\n  them do the work without committing and commit serially yourself.\n- **Put the full governance sequence in the child's context.** In a governed\n  repo (Steadfaste Fleet enforcer), a child's first write blocks until it loads the\n  always-skills and holds a lock. Tell it explicitly: load the 7 always-skills\n  in one turn → `cache_search` → `begin_change` → work with TDD →\n  `feedback_accept` → `end_change`, commit through the hooks (no `--no-verify`),\n  and DO NOT `git push` — the parent reviews and pushes.\n- **Verify the child's self-report with real tool output — never trust it.**\n  \"N tests pass\" is a claim, not a fact. After it returns: `git log` for the\n  commits, run the test suite yourself, read the key diffs. Catch what a weak\n  model misses — a script that violates a repo naming convention (the doctor\n  flags it),  a graceful-SKIP that is actually an unverified check, a decision the\n  child made because a slice left it open.\n\n## Using children as external reviewers (their findings are CLAIMS)\n\nA review child sees a bounded window — its own context, a truncated diff, no terminal — so its\nfindings are claims to verify, not conclusions to act on:\n\n- **One concern per child, exact read paths in, one output out.** Two focused roles\n  beat one general reviewer (e.g. the process\u002Fevidence side and the technical-correctness side),\n  and each must be told explicitly not to duplicate the other's mandate.\n- **A child cannot write ANY file — not even to the scratch dir — without a governance lock.** The\n  write gate is keyed on the TOOL CLASS, not on the path, so \"write it outside the repo\" does not\n  exempt it: measured, two children dispatched for a design pass were both refused, one after the\n  other, and returned their artifacts as TEXT instead. Two workable shapes, pick one in the brief:\n  (a) put the full governance sequence in the child's context (load the 7 always-skills in one turn →\n  `cache_search` → `begin_change` → work → `feedback_accept` → `end_change`) when it must persist an\n  artifact; or (b) tell it plainly to RETURN THE FULL TEXT as its final answer and not to fight the\n  gate, which costs nothing for a design note, a review or a slice list. Do not write a brief that\n  assumes the scratch write will land.\n- **Classify every finding before acting: confirmed \u002F refuted-by-measurement \u002F environment.** Fix\n  only the confirmed ones; for a refutation state the measurement and change no code, because\n  \"fixing\" a non-defect to appease a finding is a defect in itself. A finding about the\n  reviewer's own transport or credentials is environment — fix the setup, not the change.\n- **Refute with the smallest decisive artifact, not with prose.** A finding that misreads material\n  the child could only partly see (\"the range diff puts the copy-back in the wrong commit\") is\n  settled by the per-commit listing — `git show --stat \u003Csha>` for each commit in the range — which\n  also disproves it for the NEXT reviewer. Commit that listing as evidence; re-explaining it in the\n  note is what the gate grades as an unverified claim.\n- **A child's probe can be the bug.** When a finding's evidence is a count, a path or a regex the\n  child wrote, verify the probe before rewriting the code it accuses — a wrong finding belongs to\n  the check, and the same discipline applies to a child's claims as to your own.\n","# Subagent Delegation\n\n**Trigger:** \"run the party on \u003Cmodel>\", \"pin subagents to \u003Cmodel>\", \"Cannot\nresolve delegation provider\", elicit \u002F architecture-party via subagents,\nmulti-role design review.\n\n## Pinning the subagent model\n\nDelegation resolution order: `delegation.base_url` (direct endpoint) →\n`delegation.provider` (named keychain bundle) → parent provider (inherit).\n`delegation.model` applies on every branch.\n\n**To pin subagents to a model on a direct endpoint**, set all three and leave\n`provider` empty:\n\n```yaml\ndelegation:\n  model: \u003Cmodel-id>\n  provider: \"\"          # empty — the direct endpoint takes precedence\n  base_url: \u003Copenai-compatible-base>\n  api_key: \u003Ckey>        # read from the provider's env var, not auth.json\n```\n\n**Pitfall — the named-provider branch ignores env keys.** Setting\n`delegation.provider: \u003Cnamed>` fails with \"not logged into \u003Cname> Portal\" even\nwhen the matching `\u003CNAME>_API_KEY` env var is exported. The named branch\nresolves a credential bundle from `~\u002F.hermes\u002Fauth.json` `credential_pool` only\n(commonly just deepseek \u002F opencode-zen \u002F openrouter); it never reads the env\nvar. Fix: use the direct-endpoint form above.\n\n**Secret-safe write:** `hermes config set delegation.model \u003Cid>` is fine for\nnon-secret fields, but set `delegation.api_key` via a Python yaml script\n(`yaml.safe_load` → set key → `yaml.safe_dump`) so the key never lands in shell\nhistory or logs. `write_file`\u002F`patch` refuse `config.yaml` (security-sensitive).\n\n**Nous inference API (verified):** base `https:\u002F\u002Finference-api.nousresearch.com\u002Fv1`,\nkey from `NOUS_API_KEY`; Fable model ids `anthropic\u002Fclaude-fable-5`,\n`anthropic\u002Fclaude-fable-5.1`, `anthropic\u002Fclaude-fable-latest`. List models:\n`curl -H \"Authorization: Bearer $NOUS_API_KEY\" \u003Cbase>\u002Fmodels`.\n\n## Running a multi-role review as parallel subagents\n\nWhen an elicit \u002F architecture-party asks for a panel of roles, run them as\nparallel `delegate_task` subagents — not sequential self-prompting:\n\n1. **Write one design brief first** — the single source of truth every role\n   reads (plus existing research docs).\n2. **Two waves, not one.** Design roles first (Elicit, Architect,\n   Domain\u002FDevEx); then critique roles (Security, SRE, Product, QA) pointed at those sections.\n   Critics must critique the actual design, not a strawman re-derivation of it. In a governed repo\n   the children cannot WRITE those files themselves unless the brief carries the load-and-lock\n   sequence (see the reviewer section below) — otherwise have each return its section as text and\n   write the files yourself.\n3. **Section-per-role, summary-only return.** Each child returns its full section plus a\n   one-paragraph summary; the parent synthesizes the weighted matrix \u002F recommendation itself —\n   never delegate the synthesis.\n4. **Pass exact read paths + output path** in each child's context; children\n   know nothing of the parent conversation.\n\n## Delegating implementation (children that commit code)\n\nWhen subagents will implement AND `git commit` (not just write review files),\nthree extra rules apply:\n\n- **One subagent per git repository.** The git index is shared state — two\n  parallel subagents in the SAME repo collide on `git add`\u002F`git commit` even\n  when they touch different files (staging serializes the whole working tree).\n  Parallelize ACROSS repos; within one repo run subagents sequentially, or have\n  them do the work without committing and commit serially yourself.\n- **Put the full governance sequence in the child's context.** In a governed\n  repo (Steadfaste Fleet enforcer), a child's first write blocks until it loads the\n  always-skills and holds a lock. Tell it explicitly: load the 7 always-skills\n  in one turn → `cache_search` → `begin_change` → work with TDD →\n  `feedback_accept` → `end_change`, commit through the hooks (no `--no-verify`),\n  and DO NOT `git push` — the parent reviews and pushes.\n- **Verify the child's self-report with real tool output — never trust it.**\n  \"N tests pass\" is a claim, not a fact. After it returns: `git log` for the\n  commits, run the test suite yourself, read the key diffs. Catch what a weak\n  model misses — a script that violates a repo naming convention (the doctor\n  flags it),  a graceful-SKIP that is actually an unverified check, a decision the\n  child made because a slice left it open.\n\n## Using children as external reviewers (their findings are CLAIMS)\n\nA review child sees a bounded window — its own context, a truncated diff, no terminal — so its\nfindings are claims to verify, not conclusions to act on:\n\n- **One concern per child, exact read paths in, one output out.** Two focused roles\n  beat one general reviewer (e.g. the process\u002Fevidence side and the technical-correctness side),\n  and each must be told explicitly not to duplicate the other's mandate.\n- **A child cannot write ANY file — not even to the scratch dir — without a governance lock.** The\n  write gate is keyed on the TOOL CLASS, not on the path, so \"write it outside the repo\" does not\n  exempt it: measured, two children dispatched for a design pass were both refused, one after the\n  other, and returned their artifacts as TEXT instead. Two workable shapes, pick one in the brief:\n  (a) put the full governance sequence in the child's context (load the 7 always-skills in one turn →\n  `cache_search` → `begin_change` → work → `feedback_accept` → `end_change`) when it must persist an\n  artifact; or (b) tell it plainly to RETURN THE FULL TEXT as its final answer and not to fight the\n  gate, which costs nothing for a design note, a review or a slice list. Do not write a brief that\n  assumes the scratch write will land.\n- **Classify every finding before acting: confirmed \u002F refuted-by-measurement \u002F environment.** Fix\n  only the confirmed ones; for a refutation state the measurement and change no code, because\n  \"fixing\" a non-defect to appease a finding is a defect in itself. A finding about the\n  reviewer's own transport or credentials is environment — fix the setup, not the change.\n- **Refute with the smallest decisive artifact, not with prose.** A finding that misreads material\n  the child could only partly see (\"the range diff puts the copy-back in the wrong commit\") is\n  settled by the per-commit listing — `git show --stat \u003Csha>` for each commit in the range — which\n  also disproves it for the NEXT reviewer. Commit that listing as evidence; re-explaining it in the\n  note is what the gate grades as an unverified claim.\n- **A child's probe can be the bug.** When a finding's evidence is a count, a path or a regex the\n  child wrote, verify the probe before rewriting the code it accuses — a wrong finding belongs to\n  the check, and the same discipline applies to a child's claims as to your own.\n",{"name":5,"version":24,"category":25,"platforms":26,"description":7},"1.1.0","devops",[27,28],"linux","macos","main","2e6aa8d15ab0a366c90be54f61bf9c6e97015e83","skills\u002Fdevops\u002Fsubagent-delegation",1,"https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet","steadfaste.com","https:\u002F\u002Fgithub.com\u002Flukemcqueen","AI Architect | Building Hermes Cortex: governed multi-agent AI for autonomous software engineering | Enterprise Tech Consultant","2026-11-14 22:33:34",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add lukemcqueen\u002Fsteadfaste-fleet --skill subagent-delegation",{"tool":44,"command":45},"bunx","bunx skills add lukemcqueen\u002Fsteadfaste-fleet --skill subagent-delegation",{"tool":47,"command":48},"pnpm","pnpm dlx skills add lukemcqueen\u002Fsteadfaste-fleet --skill subagent-delegation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fsubagent-delegation\u002FSKILL.md",true,[],[53,61,68,75,82,89],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":60},"01M7DXY4G8NSVB59K8B6S2AQNP","macbook-linux-maintenance","Legacy MacBook Linux fixes: GPU wedge, reboot hang, thermal.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fmacbook-linux-maintenance\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":60},"01M7DXXYJCXFJ3TGB84ZQ8KFE6","governance-regression-triage","Triage a host's governance issues: what changed.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fgovernance-regression-triage\u002FSKILL.md",[],[],{"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":60},"01M7DXXSAP1G8FDRJAMXQGBBMK","enforcement-immutability","Use when enforcement files lose their immutable flag.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fenforcement-immutability\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":60},"01M78SSDQVRYX64Y16X32TC0NS","steadfaste-fleet-repo-deploy","Use when committing to the steadfaste-fleet repo.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fsteadfaste-fleet-repo-deploy\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":60},"01M78SS928F3R2RJAYVW4E30CE","steadfaste-fleet-maintenance","Maintain an installed Steadfaste Fleet instance — update both the upstream Hermes Agent and the fleet repo layer, merge diverged histories, sync skills safely, and troubleshoot common issues. Covers the dual-update workflow (hermes update + fleet-update.sh), encrypted brain data backup, mycortex import, and recovery techniques.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fsteadfaste-fleet-maintenance\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":60},"01M78SP1CHW0T0BWE5ZT6JBPX8","fleet-preflight","DEPRECATED alias — merged into survey-before-action (2026-08-20). Load survey-before-action instead; its \"Repo-Specific Pre-Flight\" section covers git search, Hermes boundary, and deployment verification.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Ffleet-preflight\u002FSKILL.md",[],[]]