[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M799VCNN70XDMJ43EKRDPWTJ":3,"skill-same:01M799VCNN70XDMJ43EKRDPWTJ":97},{"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":30,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M799VCNN70XDMJ43EKRDPWTJ","agency",null,"Run a standing team with a mandate, advanced one governed case-turn at a time: a fixed roster, a persistent objective, a multi-turn case, member dispatch under a scoped grant, escalation gates, a measurable done-check, and a sealed receipt trail.","ZachDreamZ\u002Frunx","ZachDreamZ","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F22769595?v=4","01M799NTP9N5VYWB4JY50MC7Y3","NexusCore","01M799NTQ1AYT8TZC0XTSEZXDJ",0,"MIT","https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fagency\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: agency\ndescription: \"Run a standing team with a mandate, advanced one governed case-turn at a time: a fixed roster, a persistent objective, a multi-turn case, member dispatch under a scoped grant, escalation gates, a measurable done-check, and a sealed receipt trail.\"\nrunx:\n  category: ops\n---\n\n# Agency\n\nRun a standing, accountable team toward a mandate, one governed turn at a time.\n\nAn agency is the only runx skill that holds a roster, a persistent objective, and a\ncase that spans turns. It is a governed delegation envelope: a defined set of members\nwith scope ceilings, a mandate, cumulative limits, and a case whose every turn is\nsealed and replayable. It composes the existing skills and reimplements none. Each\nturn borrows `ops-desk` for judgment, the roster members for execution, `data-store`\nfor the event log, and receipts for the ledger.\n\nIt is not a durable-execution engine and it is not an autonomous daemon. One turn is\none stateless governed act; an external driver (a human, a cron, a board poll) runs\nthe loop by calling `advance` until the case resolves.\n\n## What this skill does\n\n- `open` starts a case: it appends `opened` with the mandate, the roster, and the\n  cumulative limits snapshot, so the charter travels with the case.\n- `advance` runs one turn: it folds the case from its event stream, asks `ops-desk`\n  for the single next move constrained to the roster, enforces the measurable gate,\n  records one turn event whose append is the contention lease, and names the member\n  to run. The member runs as a separate governed run; its outcome is fed back to the\n  next `advance` as `member_result`.\n- `status` folds and returns the current case state.\n\nThe case reducer is the agency's own code, because `data-store` carries events but\ndoes not fold domain state. Everything else is delegation.\n\n## When to use this skill\n\n- A standing, consequential mandate must run for days or weeks, dispatch different\n  members, and leave an auditable trail sealed to a bounded authority.\n- A process needs scoped delegation with a measurable ceiling and a human gate on\n  consequence, not an unbounded agent.\n\n## When not to use this skill\n\n- One-shot or interactive work. Call the member skills directly; the agency is\n  overhead when the operator is already the loop.\n- To compute proposals (that is `ops-desk`) or claim and clock logic (that is\n  `messageboard`). Compose them.\n- To bake a storage backend. The case lives in `data-store` via `data_source_ref`.\n- To let the model invent the roster, the mandate, or the limits. They are operator\n  config, snapshotted into the case at `open`.\n\n## Procedure\n\n1. `open` the case with the mandate, roster, and limits.\n2. `advance` the case. Read the turn packet:\n   - `advanced`: run the named member under its scope, then `advance` again with the\n     member's outcome as `member_result`.\n   - `awaiting_approval`: resolve the escalation, then `advance`.\n   - `resolved` or `failed`: the case is closed.\n3. Repeat until the case resolves. The driver, not this skill, decides the cadence.\n\n## The measurable gate\n\nThe done-check and the limit-check are measurable first. `advance` folds cumulative\ntotals (acts, spend) and the trusted planner overrides the model when a cap is\nbreached: an over-cap turn fails regardless of what `ops-desk` proposed. The narrative\njudgment from `ops-desk` chooses the move within the caps; it never widens them.\nSpend caps tracked in the projection are the v1 path; routing spend through `spend`\nand runx-pay reservations is the stronger enforcement.\n\n## Contention\n\nTwo drivers must not double-fire a member act. Each turn appends a single event keyed\n`case_id:turn:driver_id` at the folded `expected_version`. Two drivers racing the same\nturn carry different keys, so the loser hits a hard version conflict rather than\nreplaying the winner, and stops before any dispatch. The append is the lease, and it\nlands before the named member runs.\n\n## Edge cases and stop conditions\n\n- No case at `case_id`: `advance` returns `needs_input`; open the case first.\n- A cumulative cap is reached: the turn is `failed` with the breached predicate named.\n- The best move is consequential and unapproved: `awaiting_approval` with the prompt.\n- No roster member can act and nothing is escalatable: escalate to the configured\n  human with the missing input named.\n\n## Output schema\n\n`advance` returns one `agency_turn`:\n\n```yaml\nagency_turn:\n  schema: runx.agency.turn.v1\n  status: advanced | awaiting_approval | resolved | needs_input | failed\n  case_id: string\n  turn: number\n  dispatch:                 # present when status == advanced\n    member: string\n    skill: string\n    task: string\n    needed_scope: [string]\n  approval_prompt: string | null\n  resolution: object | null\n  predicates: object        # the measurable over_limits booleans\n  reason: string | null\n  next: string\n```\n\n## Inputs\n\n- `open`: `data_source_ref`, `case_id`, `agency_ref`, `mandate`, `roster`, `limits`,\n  optional `signal`.\n- `advance`: `data_source_ref`, `case_id`, `driver_id`, optional `member_result`.\n- `status`: `data_source_ref`, `case_id`.\n\n## Worked example\n\nOpen a docs case with a researcher, writer, and reviewer and a 50-turn limit.\n`advance` folds an empty-but-opened case, ops-desk picks the researcher, and the turn\nreturns `advanced` naming the researcher. The driver runs the researcher and calls\n`advance` again with its result; ops-desk now picks the writer to draft. When the\nreviewer approves and the projection shows the docs current, `advance` returns\n`resolved`.\n\n## Turn rules\n\n- Fold every turn from the sealed stream; never infer state the events do not show.\n- Enforce the measurable gate before the model's judgment; never widen a cap.\n- Name the member and the verification expectation on every dispatch; never claim\n  work settled, sent, paid, or done without a receipt.\n- Compose ops-desk, data-store, and the members; never reimplement them, and never\n  invent the roster or the mandate.\n- Stop cleanly with needs_input, awaiting_approval, refused, or failed; never a fake\n  ready.\n","# Agency\n\nRun a standing, accountable team toward a mandate, one governed turn at a time.\n\nAn agency is the only runx skill that holds a roster, a persistent objective, and a\ncase that spans turns. It is a governed delegation envelope: a defined set of members\nwith scope ceilings, a mandate, cumulative limits, and a case whose every turn is\nsealed and replayable. It composes the existing skills and reimplements none. Each\nturn borrows `ops-desk` for judgment, the roster members for execution, `data-store`\nfor the event log, and receipts for the ledger.\n\nIt is not a durable-execution engine and it is not an autonomous daemon. One turn is\none stateless governed act; an external driver (a human, a cron, a board poll) runs\nthe loop by calling `advance` until the case resolves.\n\n## What this skill does\n\n- `open` starts a case: it appends `opened` with the mandate, the roster, and the\n  cumulative limits snapshot, so the charter travels with the case.\n- `advance` runs one turn: it folds the case from its event stream, asks `ops-desk`\n  for the single next move constrained to the roster, enforces the measurable gate,\n  records one turn event whose append is the contention lease, and names the member\n  to run. The member runs as a separate governed run; its outcome is fed back to the\n  next `advance` as `member_result`.\n- `status` folds and returns the current case state.\n\nThe case reducer is the agency's own code, because `data-store` carries events but\ndoes not fold domain state. Everything else is delegation.\n\n## When to use this skill\n\n- A standing, consequential mandate must run for days or weeks, dispatch different\n  members, and leave an auditable trail sealed to a bounded authority.\n- A process needs scoped delegation with a measurable ceiling and a human gate on\n  consequence, not an unbounded agent.\n\n## When not to use this skill\n\n- One-shot or interactive work. Call the member skills directly; the agency is\n  overhead when the operator is already the loop.\n- To compute proposals (that is `ops-desk`) or claim and clock logic (that is\n  `messageboard`). Compose them.\n- To bake a storage backend. The case lives in `data-store` via `data_source_ref`.\n- To let the model invent the roster, the mandate, or the limits. They are operator\n  config, snapshotted into the case at `open`.\n\n## Procedure\n\n1. `open` the case with the mandate, roster, and limits.\n2. `advance` the case. Read the turn packet:\n   - `advanced`: run the named member under its scope, then `advance` again with the\n     member's outcome as `member_result`.\n   - `awaiting_approval`: resolve the escalation, then `advance`.\n   - `resolved` or `failed`: the case is closed.\n3. Repeat until the case resolves. The driver, not this skill, decides the cadence.\n\n## The measurable gate\n\nThe done-check and the limit-check are measurable first. `advance` folds cumulative\ntotals (acts, spend) and the trusted planner overrides the model when a cap is\nbreached: an over-cap turn fails regardless of what `ops-desk` proposed. The narrative\njudgment from `ops-desk` chooses the move within the caps; it never widens them.\nSpend caps tracked in the projection are the v1 path; routing spend through `spend`\nand runx-pay reservations is the stronger enforcement.\n\n## Contention\n\nTwo drivers must not double-fire a member act. Each turn appends a single event keyed\n`case_id:turn:driver_id` at the folded `expected_version`. Two drivers racing the same\nturn carry different keys, so the loser hits a hard version conflict rather than\nreplaying the winner, and stops before any dispatch. The append is the lease, and it\nlands before the named member runs.\n\n## Edge cases and stop conditions\n\n- No case at `case_id`: `advance` returns `needs_input`; open the case first.\n- A cumulative cap is reached: the turn is `failed` with the breached predicate named.\n- The best move is consequential and unapproved: `awaiting_approval` with the prompt.\n- No roster member can act and nothing is escalatable: escalate to the configured\n  human with the missing input named.\n\n## Output schema\n\n`advance` returns one `agency_turn`:\n\n```yaml\nagency_turn:\n  schema: runx.agency.turn.v1\n  status: advanced | awaiting_approval | resolved | needs_input | failed\n  case_id: string\n  turn: number\n  dispatch:                 # present when status == advanced\n    member: string\n    skill: string\n    task: string\n    needed_scope: [string]\n  approval_prompt: string | null\n  resolution: object | null\n  predicates: object        # the measurable over_limits booleans\n  reason: string | null\n  next: string\n```\n\n## Inputs\n\n- `open`: `data_source_ref`, `case_id`, `agency_ref`, `mandate`, `roster`, `limits`,\n  optional `signal`.\n- `advance`: `data_source_ref`, `case_id`, `driver_id`, optional `member_result`.\n- `status`: `data_source_ref`, `case_id`.\n\n## Worked example\n\nOpen a docs case with a researcher, writer, and reviewer and a 50-turn limit.\n`advance` folds an empty-but-opened case, ops-desk picks the researcher, and the turn\nreturns `advanced` naming the researcher. The driver runs the researcher and calls\n`advance` again with its result; ops-desk now picks the writer to draft. When the\nreviewer approves and the projection shows the docs current, `advance` returns\n`resolved`.\n\n## Turn rules\n\n- Fold every turn from the sealed stream; never infer state the events do not show.\n- Enforce the measurable gate before the model's judgment; never widen a cap.\n- Name the member and the verification expectation on every dispatch; never claim\n  work settled, sent, paid, or done without a receipt.\n- Compose ops-desk, data-store, and the members; never reimplement them, and never\n  invent the roster or the mandate.\n- Stop cleanly with needs_input, awaiting_approval, refused, or failed; never a fake\n  ready.\n",{"name":5,"runx":24,"description":7},{"category":25},"ops","main","fe90232960df6d9653e72e8d024a9d859e1ae524","skills\u002Fagency","https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx","https:\u002F\u002Frunx.ai","https:\u002F\u002Fgithub.com\u002FZachDreamZ","https:\u002F\u002Fagentapigw.dpdns.org","Building Agent API Gateway — structured web data for AI agents. Consistent until I make it.","2026-07-17 04:21:10",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add ZachDreamZ\u002Frunx --skill agency",{"tool":41,"command":42},"bunx","bunx skills add ZachDreamZ\u002Frunx --skill agency",{"tool":44,"command":45},"pnpm","pnpm dlx skills add ZachDreamZ\u002Frunx --skill agency","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fagency\u002FSKILL.md",true,[49,55,59,63,67,71,77,81,85,89,93],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"fixtures\u002Fadvance-1-open.yaml","REFERENCE","参考文档",714,"https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fagency\u002Ffixtures\u002Fadvance-1-open.yaml",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"fixtures\u002Fadvance-2-dispatch.yaml",1060,"https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fagency\u002Ffixtures\u002Fadvance-2-dispatch.yaml",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"fixtures\u002Fopen-case.yaml",829,"https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fagency\u002Ffixtures\u002Fopen-case.yaml",{"path":64,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":65,"sourceHtmlUrl":66},"fixtures\u002Fstatus-case.yaml",467,"https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fagency\u002Ffixtures\u002Fstatus-case.yaml",{"path":68,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":69,"sourceHtmlUrl":70},"graph\u002Fplan\u002Fagency-plan-debug.json",77,"https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fagency\u002Fgraph\u002Fplan\u002Fagency-plan-debug.json",{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"graph\u002Fplan\u002Frun.mjs","SCRIPT","脚本",4495,"https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fagency\u002Fgraph\u002Fplan\u002Frun.mjs",{"path":78,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":79,"sourceHtmlUrl":80},"graph\u002Fplan\u002FX.yaml",1108,"https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fagency\u002Fgraph\u002Fplan\u002FX.yaml",{"path":82,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":83,"sourceHtmlUrl":84},"graph\u002Freduce\u002Fagency-reduce-debug.json",94,"https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fagency\u002Fgraph\u002Freduce\u002Fagency-reduce-debug.json",{"path":86,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":87,"sourceHtmlUrl":88},"graph\u002Freduce\u002Frun.mjs",4473,"https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fagency\u002Fgraph\u002Freduce\u002Frun.mjs",{"path":90,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":91,"sourceHtmlUrl":92},"graph\u002Freduce\u002FX.yaml",813,"https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fagency\u002Fgraph\u002Freduce\u002FX.yaml",{"path":94,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":95,"sourceHtmlUrl":96},"X.yaml",5011,"https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fagency\u002FX.yaml",[98,105,112,119,126,133],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M79A3PCWPN0YG6XG3X2YWGY4","zapier-handoff","Validate a runx execution context and hand off a governed payload to a Zapier Catch Hook with scoped auth, idempotency, and receipt expectations.","https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-handoff\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M79A3JPAJVDGX5AGXKHB6M58","x402-pay","Execute a governed x402 payment by delegating to the canonical spend flow with the x402 runtime path selected.","https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fx402-pay\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":19},"01M79A3H7HHAQ5B4QCA0S2PPA3","work-plan","Decompose a build objective into governed runx execution steps.","https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fwork-plan\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":19},"01M79A3ESQDZ6AQ3QASKYGYTNB","web-fetch","Fetch and extract one web source within an explicit allowlist, returning the content by digest with full provenance.","https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fweb-fetch\u002FSKILL.md",[],[],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":19},"01M79A3C9NE99P24Q2QGG5236D","weather-forecast","Normalize provider weather evidence into an action-safe forecast packet with provenance, uncertainty, and stop conditions for downstream agents.","https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fweather-forecast\u002FSKILL.md",[],[],{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":19},"01M79A38RWEA5NHMYBQZPCVPQP","vuln-triage","Triage dependency or ecosystem vulnerability risk into remediation and advisory packets, grounding on verified CVE evidence when it is supplied.","https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fvuln-triage\u002FSKILL.md",[],[]]