[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M723EM6TR527P9TJ1HX616AD":3,"skill-same:01M723EM6TR527P9TJ1HX616AD":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":45},"01M723EM6TR527P9TJ1HX616AD","secret-handling",null,"The secret-source gate. Routed to when changed code reads, writes, or passes a secret — API key, token, password, connection string, signing key, certificate, or any value that grants access. Validates that every secret comes from the approved store and never lands in source, log, test fixture, error response, image, or LLM prompt. The auth-crypto-reviewer agent is dispatched as the reviewer.","arbiterForge\u002FcodeArbiter","arbiterForge","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F292945970?v=4","01M723CJ1FZ9YBVA7XXT0NJESP","01M723CJ23SYBFFTGBA7Q63BKH",153,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fcore\u002Fsurface\u002Fskills\u002Fsecret-handling\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"---\nname: secret-handling\ndescription: The secret-source gate. Routed to when changed code reads, writes, or passes a secret — API key, token, password, connection string, signing key, certificate, or any value that grants access. Validates that every secret comes from the approved store and never lands in source, log, test fixture, error response, image, or LLM prompt. The auth-crypto-reviewer agent is dispatched as the reviewer.\ndisable-model-invocation: true\n---\n\n# secret-handling\n\nThe secret-source gate. Routed to when changed code reads, writes, generates, stores, or passes a secret. If a value's secret status is uncertain, treat it as a secret.\n\n## Pre-flight\n\nRead these, or STOP and surface the gap — never guess the policy:\n\n- The complete format-selected `security-controls` policy, read by `{{PLUGIN_ROOT}}\u002Fincludes\u002Fknowledge.md` (\"Read security policy before a security decision\") — the approved originating store, access method, runtime transport, exposure limits, and required reference format when one applies. If the required policy is absent or unreadable, BLOCK the affected flow; do not infer approval from scope blocks or a variable name.\n\n## Phase 1 — Identify · gate: BLOCK\n\nScan the changed code for secret-bearing names: `password`, `secret`, `token`, `key`, `credential`, `api_key`, `apikey`, `private`, `cert`, `passphrase`. For each match, record its source (where the value originates) and every sink (where it flows). No candidate may remain unclassified.\n\nGate: every candidate secret is listed with its source and sinks.\n\n## Phase 2 — Source · gate: BLOCK\n\nFor each secret, distinguish where it originates from how the owning process receives it. Compare both the source and access method with the complete `security-controls` policy. An environment variable may be the policy-approved source or a bounded runtime transport from an approved release store; reading `process.env` alone neither approves nor rejects the flow. The following sources BLOCK:\n\n- A hardcoded credential, secret literal, or token-shaped dummy value in changed source or committed configuration. Non-secret fixture labels are not credentials; dummy credential values must still arrive through the policy-approved runtime source\u002Ftransport.\n- A committed secret-bearing `.env` file or any other committed secret-bearing configuration. `.env` files MUST be gitignored and secrets-scanned on every PR.\n- A database column holding the raw value (a stored *reference* is allowed — see Phase 3).\n- An environment or store endpoint not approved for that secret and access method by the active policy. An approved parent environment does not authorize passing the value to an unrelated child.\n\n**Stakes:** a hardcoded or unapproved-source secret ships to every clone, every CI log, and the\nhistory; rotation is the only fix once it lands. State that when you block, not just \"unapproved\nsource.\" A genuine catch the user then rotates earns **exactly one** warm sentence at the close (per\nthe orchestrator register), never on a clean pass.\n\nGate: every secret's origin, access method and runtime transport are approved for that flow by the active policy. A missing, unreadable or genuinely contradictory policy blocks the affected flow with the precise unresolved point; independent work continues.\n\n## Phase 3 — Sinks and persistence · gate: BLOCK\n\nTrace each secret to all sinks. These are prohibited regardless of project, with no log-redaction excuse:\n\n- Any logger call, at any level.\n- Client-facing error messages or HTTP response bodies.\n- Telemetry, metrics, tracing, span attributes.\n- Any LLM prompt or agent context — treat the provider as out-of-boundary; verify shape with length, prefix, or hash, never the value.\n- Serialized state, session storage, or JWT payload.\n- A database column, except the store *reference* (path, ID, ARN) in the format `security-controls.md` requires. A migration adding a reference column without a format check constraint BLOCKs.\n\nKeep each secret only for the lifetime and exposure boundary approved for its access method. A request-scoped secret ends with its request. Policy-approved owning-process runtime input may remain only for that bounded process\u002Fworkflow lifetime; it is not permission for a module-level cache, unrelated child environment, serialized state, or longer-lived copy. Check the actual child argv and environment before treating an injection as approved.\n\nDispatch the independent `auth-crypto-reviewer` agent (`{{PLUGIN_ROOT}}\u002Fagents\u002Fauth-crypto-reviewer.md`) to confirm the exact staged candidate in the intended worktree against `security-controls.md`; the change author must not self-approve.\n\nGate: no secret reaches a prohibited sink or persists beyond its policy-approved lifetime.\n\n**On pass — record the gate:** follow `{{PLUGIN_ROOT}}\u002Fincludes\u002Fsecurity-gate-record.md` (the shared record mechanism). For this gate the relevant commit hook is **H-10b** (secrets). On any BLOCK, do NOT record the pass.\n\n**Out-of-scope finding:** do not act on it and do not author an ADR (ADRs are user-attributed, via `\u002Fadr` only). Mark it inline with `[NEEDS-TRIAGE]`; never silently drop it.\n\n## Hard rules\n\n- MUST read the complete format-selected `security-controls` policy for the approved store before Phase 2 — BLOCK if it cannot be read.\n- MUST classify secret origin, access method, runtime transport, sinks and lifetime against the complete active policy; `process.env` alone is neither approval nor prohibition.\n- MUST NOT source a secret from a hardcoded credential, committed secret-bearing file, or unapproved store or environment.\n- MUST NOT let a secret reach a logger, error response, telemetry, LLM prompt, serialized state, or session\u002FJWT payload.\n- MUST NOT store a secret value in the database — store the approved-store reference only, with a format check constraint.\n- MUST NOT let a secret persist beyond its policy-approved request or owning-process boundary, or pass to an unrelated child.\n- MUST record the `security-gate-passed` marker (via `hooks\u002Fsecurity-pass.py`) ONLY when the gate genuinely passes — the marker is what unblocks the commit (hook H-10b), so a premature or unconditional recording defeats the gate.\n- MUST keep the reviewed staged set, producer `--root`, and pending commit worktree identical; untracked, unstaged, stale, unreadable, or different-worktree rows are not covered.\n","# secret-handling\n\nThe secret-source gate. Routed to when changed code reads, writes, generates, stores, or passes a secret. If a value's secret status is uncertain, treat it as a secret.\n\n## Pre-flight\n\nRead these, or STOP and surface the gap — never guess the policy:\n\n- The complete format-selected `security-controls` policy, read by `{{PLUGIN_ROOT}}\u002Fincludes\u002Fknowledge.md` (\"Read security policy before a security decision\") — the approved originating store, access method, runtime transport, exposure limits, and required reference format when one applies. If the required policy is absent or unreadable, BLOCK the affected flow; do not infer approval from scope blocks or a variable name.\n\n## Phase 1 — Identify · gate: BLOCK\n\nScan the changed code for secret-bearing names: `password`, `secret`, `token`, `key`, `credential`, `api_key`, `apikey`, `private`, `cert`, `passphrase`. For each match, record its source (where the value originates) and every sink (where it flows). No candidate may remain unclassified.\n\nGate: every candidate secret is listed with its source and sinks.\n\n## Phase 2 — Source · gate: BLOCK\n\nFor each secret, distinguish where it originates from how the owning process receives it. Compare both the source and access method with the complete `security-controls` policy. An environment variable may be the policy-approved source or a bounded runtime transport from an approved release store; reading `process.env` alone neither approves nor rejects the flow. The following sources BLOCK:\n\n- A hardcoded credential, secret literal, or token-shaped dummy value in changed source or committed configuration. Non-secret fixture labels are not credentials; dummy credential values must still arrive through the policy-approved runtime source\u002Ftransport.\n- A committed secret-bearing `.env` file or any other committed secret-bearing configuration. `.env` files MUST be gitignored and secrets-scanned on every PR.\n- A database column holding the raw value (a stored *reference* is allowed — see Phase 3).\n- An environment or store endpoint not approved for that secret and access method by the active policy. An approved parent environment does not authorize passing the value to an unrelated child.\n\n**Stakes:** a hardcoded or unapproved-source secret ships to every clone, every CI log, and the\nhistory; rotation is the only fix once it lands. State that when you block, not just \"unapproved\nsource.\" A genuine catch the user then rotates earns **exactly one** warm sentence at the close (per\nthe orchestrator register), never on a clean pass.\n\nGate: every secret's origin, access method and runtime transport are approved for that flow by the active policy. A missing, unreadable or genuinely contradictory policy blocks the affected flow with the precise unresolved point; independent work continues.\n\n## Phase 3 — Sinks and persistence · gate: BLOCK\n\nTrace each secret to all sinks. These are prohibited regardless of project, with no log-redaction excuse:\n\n- Any logger call, at any level.\n- Client-facing error messages or HTTP response bodies.\n- Telemetry, metrics, tracing, span attributes.\n- Any LLM prompt or agent context — treat the provider as out-of-boundary; verify shape with length, prefix, or hash, never the value.\n- Serialized state, session storage, or JWT payload.\n- A database column, except the store *reference* (path, ID, ARN) in the format `security-controls.md` requires. A migration adding a reference column without a format check constraint BLOCKs.\n\nKeep each secret only for the lifetime and exposure boundary approved for its access method. A request-scoped secret ends with its request. Policy-approved owning-process runtime input may remain only for that bounded process\u002Fworkflow lifetime; it is not permission for a module-level cache, unrelated child environment, serialized state, or longer-lived copy. Check the actual child argv and environment before treating an injection as approved.\n\nDispatch the independent `auth-crypto-reviewer` agent (`{{PLUGIN_ROOT}}\u002Fagents\u002Fauth-crypto-reviewer.md`) to confirm the exact staged candidate in the intended worktree against `security-controls.md`; the change author must not self-approve.\n\nGate: no secret reaches a prohibited sink or persists beyond its policy-approved lifetime.\n\n**On pass — record the gate:** follow `{{PLUGIN_ROOT}}\u002Fincludes\u002Fsecurity-gate-record.md` (the shared record mechanism). For this gate the relevant commit hook is **H-10b** (secrets). On any BLOCK, do NOT record the pass.\n\n**Out-of-scope finding:** do not act on it and do not author an ADR (ADRs are user-attributed, via `\u002Fadr` only). Mark it inline with `[NEEDS-TRIAGE]`; never silently drop it.\n\n## Hard rules\n\n- MUST read the complete format-selected `security-controls` policy for the approved store before Phase 2 — BLOCK if it cannot be read.\n- MUST classify secret origin, access method, runtime transport, sinks and lifetime against the complete active policy; `process.env` alone is neither approval nor prohibition.\n- MUST NOT source a secret from a hardcoded credential, committed secret-bearing file, or unapproved store or environment.\n- MUST NOT let a secret reach a logger, error response, telemetry, LLM prompt, serialized state, or session\u002FJWT payload.\n- MUST NOT store a secret value in the database — store the approved-store reference only, with a format check constraint.\n- MUST NOT let a secret persist beyond its policy-approved request or owning-process boundary, or pass to an unrelated child.\n- MUST record the `security-gate-passed` marker (via `hooks\u002Fsecurity-pass.py`) ONLY when the gate genuinely passes — the marker is what unblocks the commit (hook H-10b), so a premature or unconditional recording defeats the gate.\n- MUST keep the reviewed staged set, producer `--root`, and pending commit worktree identical; untracked, unstaged, stale, unreadable, or different-worktree rows are not covered.\n",{"name":5,"description":7,"disable-model-invocation":23},true,"main","fd7eb34b2da439551443d09526ab48fd1d1bb9bf","core\u002Fsurface\u002Fskills\u002Fsecret-handling",9,"https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter","https:\u002F\u002Fcodearbiter.dev\u002F","https:\u002F\u002Fgithub.com\u002FarbiterForge","https:\u002F\u002FArbiterForge.com","2026-11-15 04:04:31",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":23},[35,38,41],{"tool":36,"command":37},"npx","npx skills add arbiterForge\u002FcodeArbiter --skill secret-handling",{"tool":39,"command":40},"bunx","bunx skills add arbiterForge\u002FcodeArbiter --skill secret-handling",{"tool":42,"command":43},"pnpm","pnpm dlx skills add arbiterForge\u002FcodeArbiter --skill secret-handling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fcore\u002Fsurface\u002Fskills\u002Fsecret-handling\u002FSKILL.md",[],[47,54,61,67,74,81],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":18},"01M723VC2J3R1BJ20XW56WZG3K","myskill","A sample skill for fixtures — does one gated thing well.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fsite\u002Ftest\u002Ffixtures\u002Fplugin\u002Fskills\u002Fmyskill\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M723VAQ3APJEW6G1ESJ7AGFN","dup","Second of two same-named skills, used to prove within-collection dedup still works.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fsite\u002Ftest\u002Ffixtures\u002Fplugin-collisions\u002Fskills\u002Fdupskill-b\u002FSKILL.md",[],[],{"skillNo":62,"name":56,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M723V963M5R77EQM2N36KRTK","First of two same-named skills, used to prove within-collection dedup still works.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fsite\u002Ftest\u002Ffixtures\u002Fplugin-collisions\u002Fskills\u002Fdupskill-a\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M723V7VKBK473J4WMKV758B5","debug","A fixture skill named debug, colliding with the debug command\u002Fagent.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fsite\u002Ftest\u002Ffixtures\u002Fplugin-collisions\u002Fskills\u002Fdebug\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M723V5PS7H5QY903F2WB8MJY","writing-plans","Turn the selected specification into a maintained implementation plan with clear outcomes, useful tasks, dependencies, and verification steps. Drafting uses the existing authorization and does not require artifact approval codes, reviewer receipts, or a frozen implementation script.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fplugins\u002Fca\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M723V22QK0R2VJ4HA74PRRW5","using-git-worktrees","OPTIONAL per-task isolation for autonomous parallel work. Routed to only on explicit opt-in by subagent-driven-development or dispatching-parallel-agents, so parallel units mutate files without colliding. Stands up one worktree per unit, works it in isolation, then integrates each unit back onto the caller's working branch for the caller's single commit-gate + finishing-a-development-branch exit. Never on the default path; it does not bypass a gate or finish per unit.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fplugins\u002Fca\u002Fskills\u002Fusing-git-worktrees\u002FSKILL.md",[],[]]