@iowarp/clio-coder 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/CHANGELOG.md +407 -0
  2. package/CODE_OF_CONDUCT.md +21 -0
  3. package/CONTRIBUTING.md +224 -0
  4. package/LICENSE +202 -0
  5. package/NOTICE +9 -0
  6. package/README.md +798 -0
  7. package/SECURITY.md +72 -0
  8. package/assets/clio-coder-logo-128.webp +0 -0
  9. package/damage-control-rules.yaml +419 -0
  10. package/dist/acp-UMLFVA3F.js +92 -0
  11. package/dist/agents-Q4MYPMUW.js +91 -0
  12. package/dist/auth-O6HYIJ6J.js +521 -0
  13. package/dist/chunk-262G75JS.js +35 -0
  14. package/dist/chunk-26BZQOAD.js +1281 -0
  15. package/dist/chunk-2J63S4SF.js +508 -0
  16. package/dist/chunk-3DANZDGR.js +717 -0
  17. package/dist/chunk-4UQA7NCT.js +29 -0
  18. package/dist/chunk-527KG6XR.js +497 -0
  19. package/dist/chunk-5LDRNKX2.js +1063 -0
  20. package/dist/chunk-5N2FG33Q.js +25 -0
  21. package/dist/chunk-67MTHP2E.js +135 -0
  22. package/dist/chunk-6CWDTGUC.js +20 -0
  23. package/dist/chunk-7BHLZB3A.js +2115 -0
  24. package/dist/chunk-7RBKDI66.js +348 -0
  25. package/dist/chunk-AMFR5YA3.js +541 -0
  26. package/dist/chunk-BBUH4VAA.js +1224 -0
  27. package/dist/chunk-BYEU76JP.js +899 -0
  28. package/dist/chunk-CLJ5HLUD.js +458 -0
  29. package/dist/chunk-D5YD55AR.js +116 -0
  30. package/dist/chunk-DXQNI4PC.js +61 -0
  31. package/dist/chunk-E3NYWENM.js +1004 -0
  32. package/dist/chunk-GNGDQYDU.js +34688 -0
  33. package/dist/chunk-GOTUR54M.js +9 -0
  34. package/dist/chunk-HBU5MTAM.js +41 -0
  35. package/dist/chunk-HMYNFFY4.js +28 -0
  36. package/dist/chunk-JPOWPFCU.js +1010 -0
  37. package/dist/chunk-JWHCJDCI.js +1215 -0
  38. package/dist/chunk-KBR4MZZR.js +41 -0
  39. package/dist/chunk-KKKPTZLM.js +93 -0
  40. package/dist/chunk-ME6DNWIU.js +66 -0
  41. package/dist/chunk-NI4DEJMC.js +88 -0
  42. package/dist/chunk-O4EJEDHO.js +659 -0
  43. package/dist/chunk-PIDUD6M2.js +31 -0
  44. package/dist/chunk-PS4PFJQP.js +29459 -0
  45. package/dist/chunk-QV47YRF4.js +48 -0
  46. package/dist/chunk-RQDWMVRB.js +279 -0
  47. package/dist/chunk-TFSSEXL6.js +136 -0
  48. package/dist/chunk-TKHQ4DGZ.js +8290 -0
  49. package/dist/chunk-TPOCL34A.js +2876 -0
  50. package/dist/chunk-UGYAX5YI.js +565 -0
  51. package/dist/chunk-UHTSULZS.js +461 -0
  52. package/dist/chunk-UU3R62TT.js +128 -0
  53. package/dist/chunk-UWIJNAOB.js +3906 -0
  54. package/dist/chunk-VOO7NYPP.js +914 -0
  55. package/dist/chunk-VPAWTYLY.js +117 -0
  56. package/dist/chunk-WD6AJM35.js +1216 -0
  57. package/dist/chunk-X3BR7HWV.js +115 -0
  58. package/dist/chunk-X3NE4WVW.js +120 -0
  59. package/dist/chunk-XNISANGE.js +1395 -0
  60. package/dist/chunk-XV4ZJ6ZM.js +3177 -0
  61. package/dist/cli/index.js +236 -0
  62. package/dist/clio-KIQ5SNDS.js +53 -0
  63. package/dist/components-JVHMUBEB.js +653 -0
  64. package/dist/config-ZFCDBMDC.js +372 -0
  65. package/dist/configure-G4E3A2PG.js +27 -0
  66. package/dist/context-CDXTP2MP.js +293 -0
  67. package/dist/context-E3KIFVXI.js +185 -0
  68. package/dist/context-clear-3F4PLXOS.js +102 -0
  69. package/dist/context-index-Q7YSYTR3.js +106 -0
  70. package/dist/docs-YIETIWZI.js +280 -0
  71. package/dist/doctor-M5HJJZOL.js +61 -0
  72. package/dist/domains/agents/builtins/architect.md +33 -0
  73. package/dist/domains/agents/builtins/coder.md +31 -0
  74. package/dist/domains/agents/builtins/context-bootstrap.md +38 -0
  75. package/dist/domains/agents/builtins/debugger.md +30 -0
  76. package/dist/domains/agents/builtins/documenter.md +31 -0
  77. package/dist/domains/agents/builtins/git-master.md +30 -0
  78. package/dist/domains/agents/builtins/provenance.md +30 -0
  79. package/dist/domains/agents/builtins/researcher.md +71 -0
  80. package/dist/domains/agents/builtins/scout.md +42 -0
  81. package/dist/domains/agents/builtins/tester.md +31 -0
  82. package/dist/domains/agents/builtins/verifier.md +30 -0
  83. package/dist/domains/agents/builtins/wiki-writer.md +41 -0
  84. package/dist/eval-B3KZZESM.js +2674 -0
  85. package/dist/evidence-V67CHM35.js +233 -0
  86. package/dist/evolve-YDZSUQYA.js +518 -0
  87. package/dist/extensions-SRG7XCAH.js +207 -0
  88. package/dist/fleet-CA2CRTVG.js +760 -0
  89. package/dist/fleet-preflight-CLIAX7YR.js +21 -0
  90. package/dist/init-2OZDJE2D.js +227 -0
  91. package/dist/memory-3PIQQAKX.js +207 -0
  92. package/dist/models-DY35XI7Y.js +237 -0
  93. package/dist/paths-5OMXW7Z4.js +57 -0
  94. package/dist/preload-KZVHET2B.js +11 -0
  95. package/dist/reset-PIFYNOS3.js +216 -0
  96. package/dist/run-3VSPP24F.js +735 -0
  97. package/dist/share-D36RQCXM.js +241 -0
  98. package/dist/skills-F2MRLELY.js +445 -0
  99. package/dist/skills-eval-E2ZTW4PL.js +932 -0
  100. package/dist/targets-DZMEZAH4.js +977 -0
  101. package/dist/trace-7NYCUI2J.js +250 -0
  102. package/dist/uninstall-AD3JWHBB.js +322 -0
  103. package/dist/upgrade-WYYBKGDY.js +301 -0
  104. package/dist/usage-ULIDAGFF.js +755 -0
  105. package/dist/version-ROZ6CZKH.js +16 -0
  106. package/dist/wiki-generate-PKFIX6OB.js +377 -0
  107. package/dist/worker/entry.js +1739 -0
  108. package/docs/README.md +93 -0
  109. package/docs/acp.md +120 -0
  110. package/docs/alcf-provider.md +72 -0
  111. package/docs/architecture.md +172 -0
  112. package/docs/artifact-versions.md +54 -0
  113. package/docs/built-in-agents.md +265 -0
  114. package/docs/capacity-and-scheduling.md +97 -0
  115. package/docs/commands-and-modes.md +554 -0
  116. package/docs/config-knobs-audit.md +115 -0
  117. package/docs/configuration-and-targets.md +812 -0
  118. package/docs/context-engine.md +236 -0
  119. package/docs/dispatch-architecture-rationale.md +126 -0
  120. package/docs/documentation-coverage.md +46 -0
  121. package/docs/documentation-guide.md +166 -0
  122. package/docs/environment-variables.md +105 -0
  123. package/docs/eval-runner.md +205 -0
  124. package/docs/evals-internal.md +298 -0
  125. package/docs/evidence-and-memory.md +243 -0
  126. package/docs/evolution.md +143 -0
  127. package/docs/exit-codes-and-output.md +74 -0
  128. package/docs/extensions-and-sharing.md +306 -0
  129. package/docs/fleet-demo-runbook.md +179 -0
  130. package/docs/fleet-dispatch.md +591 -0
  131. package/docs/glossary.md +75 -0
  132. package/docs/html/agents_blueprint.html +936 -0
  133. package/docs/html/alcf_blueprint.html +324 -0
  134. package/docs/html/architecture_blueprint.html +850 -0
  135. package/docs/html/commands_blueprint.html +794 -0
  136. package/docs/html/config_knobs_audit_blueprint.html +178 -0
  137. package/docs/html/configuration_blueprint.html +1080 -0
  138. package/docs/html/context_blueprint.html +603 -0
  139. package/docs/html/documentation_blueprint.html +832 -0
  140. package/docs/html/environment_blueprint.html +404 -0
  141. package/docs/html/eval_blueprint.html +743 -0
  142. package/docs/html/evals_internal_blueprint.html +190 -0
  143. package/docs/html/evolution_blueprint.html +674 -0
  144. package/docs/html/extensions_blueprint.html +2065 -0
  145. package/docs/html/fleet_dispatch_blueprint.html +286 -0
  146. package/docs/html/index.html +919 -0
  147. package/docs/html/lifecycle_blueprint.html +723 -0
  148. package/docs/html/memory_blueprint.html +699 -0
  149. package/docs/html/middleware_blueprint.html +664 -0
  150. package/docs/html/models_blueprint.html +2366 -0
  151. package/docs/html/observability_blueprint.html +683 -0
  152. package/docs/html/provider_adapter_blueprint.html +245 -0
  153. package/docs/html/safety_blueprint.html +1386 -0
  154. package/docs/html/shared.css +571 -0
  155. package/docs/html/shared.js +143 -0
  156. package/docs/html/skills_blueprint.html +671 -0
  157. package/docs/html/soak_blueprint.html +182 -0
  158. package/docs/html/tool_usage_blueprint.html +350 -0
  159. package/docs/html/tools_blueprint.html +2249 -0
  160. package/docs/html/trace_blueprint.html +235 -0
  161. package/docs/html/tui_design_blueprint.html +314 -0
  162. package/docs/html/validation_blueprint.html +961 -0
  163. package/docs/html/worker_dispatch_blueprint.html +231 -0
  164. package/docs/installation-and-lifecycle.md +308 -0
  165. package/docs/middleware-and-components.md +148 -0
  166. package/docs/model-catalog.md +189 -0
  167. package/docs/observability.md +233 -0
  168. package/docs/proactive-memory.md +452 -0
  169. package/docs/prompt-envelope-and-tools.md +142 -0
  170. package/docs/provider-adapter-cookbook.md +148 -0
  171. package/docs/release-cut-checklist.md +138 -0
  172. package/docs/safety-model.md +357 -0
  173. package/docs/scientific-validation.md +105 -0
  174. package/docs/session-lifecycle.md +156 -0
  175. package/docs/skills-marketplace.md +46 -0
  176. package/docs/tool-usage.md +527 -0
  177. package/docs/trace-store.md +132 -0
  178. package/docs/troubleshooting.md +33 -0
  179. package/docs/tui-design.md +239 -0
  180. package/docs/worker-dispatch-mechanics.md +242 -0
  181. package/package.json +132 -0
  182. package/skills/README.md +408 -0
  183. package/skills/git/commit-crafting/SKILL.md +79 -0
  184. package/skills/git/commit-crafting/evals.md +92 -0
  185. package/skills/git/create-pr/SKILL.md +116 -0
  186. package/skills/git/create-pr/evals.md +114 -0
  187. package/skills/git/investigate-issue/SKILL.md +139 -0
  188. package/skills/git/investigate-issue/evals.md +94 -0
  189. package/skills/git/resolve-merge-conflicts/SKILL.md +96 -0
  190. package/skills/git/resolve-merge-conflicts/evals.md +58 -0
  191. package/skills/git/review-changes/SKILL.md +103 -0
  192. package/skills/git/review-changes/evals.md +85 -0
  193. package/skills/git/worktree-create/SKILL.md +92 -0
  194. package/skills/git/worktree-create/evals.md +97 -0
  195. package/skills/git/worktree-create/references/worktree-setup.md +66 -0
  196. package/skills/git/worktree-merge/SKILL.md +95 -0
  197. package/skills/git/worktree-merge/evals.md +114 -0
  198. package/skills/skill-marketplace.json +261 -0
  199. package/skills/workflow/cut-it/SKILL.md +86 -0
  200. package/skills/workflow/cut-it/evals.md +42 -0
  201. package/src/domains/agents/builtins/architect.md +33 -0
  202. package/src/domains/agents/builtins/coder.md +31 -0
  203. package/src/domains/agents/builtins/context-bootstrap.md +38 -0
  204. package/src/domains/agents/builtins/debugger.md +30 -0
  205. package/src/domains/agents/builtins/documenter.md +31 -0
  206. package/src/domains/agents/builtins/git-master.md +30 -0
  207. package/src/domains/agents/builtins/provenance.md +30 -0
  208. package/src/domains/agents/builtins/researcher.md +71 -0
  209. package/src/domains/agents/builtins/scout.md +42 -0
  210. package/src/domains/agents/builtins/tester.md +31 -0
  211. package/src/domains/agents/builtins/verifier.md +30 -0
  212. package/src/domains/agents/builtins/wiki-writer.md +41 -0
  213. package/src/domains/agents/fleets/build-review.md +34 -0
  214. package/src/domains/agents/fleets/build-test.md +35 -0
  215. package/src/domains/agents/fleets/sdlc.md +86 -0
  216. package/src/domains/prompts/fragments/identity/clio-worker.md +11 -0
  217. package/src/domains/prompts/fragments/identity/clio.md +26 -0
  218. package/src/domains/prompts/fragments/operating/contract.md +64 -0
  219. package/src/domains/prompts/fragments/safety/auto-edit.md +14 -0
  220. package/src/domains/prompts/fragments/safety/full-auto.md +14 -0
  221. package/src/domains/prompts/fragments/safety/read-only.md +13 -0
  222. package/src/domains/prompts/fragments/safety/suggest.md +13 -0
  223. package/src/domains/prompts/fragments/wiki/page.md +75 -0
  224. package/src/domains/prompts/fragments/wiki/plan.md +48 -0
  225. package/src/domains/providers/models/cloud-models/alcf.yaml +40 -0
  226. package/src/domains/providers/models/local-models/clio-local-coding-targets.yaml +993 -0
@@ -0,0 +1,261 @@
1
+ {
2
+ "generatedBy": "npm run skills:pin",
3
+ "skills": [
4
+ {
5
+ "name": "ast-grep",
6
+ "description": "Use when a code search needs structure, not text — \"find all async functions without error handling\", \"find calls with this argument shape\", \"find X inside Y\" — or when grep returns too much noise to filter. Writes and tests ast-grep rules, then scans the codebase. Search only; never rewrites code. Not for plain string or filename lookups; use grep or find.",
7
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/coding/ast-grep",
8
+ "version": "0.1.0",
9
+ "audit": "pass",
10
+ "category": "coding"
11
+ },
12
+ {
13
+ "name": "coding-standards",
14
+ "description": "Use when writing or refactoring TypeScript and the project has not pinned its own conflicting standards — new modules, error-handling design, schema parsing, module boundaries — or when another skill needs a TypeScript standards reference. Correct-by-construction rules: errors as values, parse don't validate, illegal states unrepresentable, deep modules, functional core / imperative shell.",
15
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/coding/coding-standards",
16
+ "version": "0.1.0",
17
+ "audit": "pass",
18
+ "category": "coding"
19
+ },
20
+ {
21
+ "name": "prototype",
22
+ "description": "Use when a design question should be answered with throwaway code — \"does this state model feel right\", \"sanity-check this logic\", \"what should this UI look like\", \"mock something up\". Builds a clearly-marked, trivially-runnable, no-persistence prototype, then captures the verdict and discards the code. Not for pre-registered performance experiments; use experiment-protocol. Not for production implementation.",
23
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/coding/prototype",
24
+ "version": "0.2.0",
25
+ "audit": "pass",
26
+ "category": "coding"
27
+ },
28
+ {
29
+ "name": "tdd",
30
+ "description": "Use when the user wants to build a feature or fix a bug test-first, says \"TDD\", \"red-green\", or \"write the test first\", or when a change to tricky logic needs its behavior pinned before implementation. Runs the red → green loop at pre-agreed public seams, one vertical slice at a time. Not for designing benchmark criteria; use experiment-protocol.",
31
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/coding/tdd",
32
+ "version": "0.2.0",
33
+ "audit": "pass",
34
+ "category": "coding"
35
+ },
36
+ {
37
+ "name": "context-handoff",
38
+ "description": "Use when a session is winding down and work will continue in a new session or another agent, when context is about to be compacted or lost, or when the user asks for a handoff, brief, summary, or \"notes for the next session.\" Produces a durable, redacted, reference-not-copy handoff document the next session can pick up from.",
39
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/context/context-handoff",
40
+ "version": "0.3.1",
41
+ "audit": "pass",
42
+ "category": "context"
43
+ },
44
+ {
45
+ "name": "context-prime",
46
+ "description": "Use when a coding session begins, when resuming work after a break, or when you land in an unfamiliar or in-progress repository and need to orient before acting. Loads the last handoff, git state, the project constitution, and active-work signals so a fresh agent reconstructs intent instead of guessing. Triggers on \"prime\", \"catch me up\", \"where were we\", \"get up to speed\", or the first substantive request in a new session.",
47
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/context/context-prime",
48
+ "version": "0.2.2",
49
+ "audit": "pass",
50
+ "category": "context"
51
+ },
52
+ {
53
+ "name": "commit-crafting",
54
+ "description": "Use when the user asks to commit the current work — \"commit this\", \"make a commit\", \"commit what we did\" — and the changes are complete. Stages reviewed files, writes one atomic conventional-tagged commit, and reports what changed. Local commit only; never pushes. Not for opening a PR; use create-pr.",
55
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/git/commit-crafting",
56
+ "version": "0.2.0",
57
+ "audit": "pass",
58
+ "category": "git"
59
+ },
60
+ {
61
+ "name": "create-pr",
62
+ "description": "Use when the user asks to push the current branch and open a pull request — \"open a PR\", \"create the pull request\", \"ship this for review\". Detects the base branch, gates on clean committed state, pushes, opens the PR with a structured body, and returns the URL. Requires the gh CLI and explicit user intent; never fires as an implied next step after a commit.",
63
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/git/create-pr",
64
+ "version": "0.2.0",
65
+ "audit": "pass",
66
+ "category": "git"
67
+ },
68
+ {
69
+ "name": "investigate-issue",
70
+ "description": "Use when a GitHub issue needs diagnosis before any fix — \"investigate issue 123\", \"root-cause this bug\", \"what's behind this issue\". Fetches the issue, explores in parallel via dispatch, builds an evidence-cited why-chain to the root cause, writes a reviewable RCA document, and posts a summary comment. Diagnosis only; the fix is a separate task. Not for failures without an issue; use scientific-debugging.",
71
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/git/investigate-issue",
72
+ "version": "0.2.0",
73
+ "audit": "pass",
74
+ "category": "git"
75
+ },
76
+ {
77
+ "name": "resolve-merge-conflicts",
78
+ "description": "Use when a git merge, rebase, or cherry-pick is stopped on conflicts and they need resolving — \"fix these conflicts\", \"finish the merge\", conflict markers in files. Resolves by reconstructing both sides' intent from history, preserves both where possible, validates with the project's own checks, and completes the operation. Not for planning an integration of many branches; use worktree-merge.",
79
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/git/resolve-merge-conflicts",
80
+ "version": "0.2.0",
81
+ "audit": "pass",
82
+ "category": "git"
83
+ },
84
+ {
85
+ "name": "review-changes",
86
+ "description": "Use before committing, when the user asks to review the uncommitted work — \"review my changes\", \"check this before I commit\", \"pre-commit review\". Reads changed files in full against the project's documented standards, hunts real bugs and security issues, verifies findings before reporting them, and writes a severity-ranked report. Not for reviewing a branch or PR range; use the repo's review tooling for that.",
87
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/git/review-changes",
88
+ "version": "0.2.0",
89
+ "audit": "pass",
90
+ "category": "git"
91
+ },
92
+ {
93
+ "name": "worktree-create",
94
+ "description": "Use when the user asks to set up one or more git worktrees for parallel work — \"create a worktree\", \"set up worktrees for these branches\", \"spin up parallel branches\". Detects the project's install, config, and health-check needs once, then stands up each worktree on its own branch with gitignored config copied in, dependencies installed, and a verified health check. Not for merging finished worktrees; use worktree-merge.",
95
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/git/worktree-create",
96
+ "version": "0.2.0",
97
+ "audit": "pass",
98
+ "category": "git"
99
+ },
100
+ {
101
+ "name": "worktree-merge",
102
+ "description": "Use when parallel worktree branches are finished and the user asks to integrate them — \"merge my worktrees\", \"integrate these branches\". Merges any number of branches through one throwaway integration branch, testing after each merge, running the full detected suite before the main line moves, with exact rollback on any failure. Not for creating worktrees; use worktree-create.",
103
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/git/worktree-merge",
104
+ "version": "0.2.0",
105
+ "audit": "pass",
106
+ "category": "git"
107
+ },
108
+ {
109
+ "name": "clio-dev",
110
+ "description": "Use when modifying Clio Coder's own source in this repository, evolving its harness (TUI, skills, agents, tools, prompts, domains), or deciding whether a change stays local versus becomes a contribution. Governs self-development — what Clio may change freely, what requires explicit user intent, and how to make a change without breaking the architecture.",
111
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/meta/clio-dev",
112
+ "version": "0.2.0",
113
+ "audit": "pass",
114
+ "category": "meta"
115
+ },
116
+ {
117
+ "name": "clio-test",
118
+ "description": "Use when writing or modifying Clio Coder's own source under src/, or verifying a change end-to-end against the real test harness. Covers the three real layers (contracts / smoke / boundaries), choosing which to run for a given change, the mock-provider and ACP-over-stdio harness, and the hot-reload dev loop for picking up latest code. Activate on any src/ edit, before declaring a change verified, or when asked whether Clio still works.",
119
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/meta/clio-test",
120
+ "version": "0.1.3",
121
+ "audit": "pass",
122
+ "category": "meta"
123
+ },
124
+ {
125
+ "name": "credentials",
126
+ "description": "Use before running any tool or script that needs an API key, token, or other credential, when a command fails with an auth error, when the user must supply a new secret, or when a secret may have leaked into output. Covers facility surfaces such as kerberos tickets, globus and scheduler tokens, ssh agents, and netrc. Triggers on \"API key\", \"credential\", \"token\", \"auth error\", \"permission denied\", \"add a secret\", \"leaked\". Not for provider target configuration; use clio-coder auth and target settings.",
127
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/meta/credentials",
128
+ "version": "0.1.2",
129
+ "audit": "pass",
130
+ "category": "meta"
131
+ },
132
+ {
133
+ "name": "find-skills",
134
+ "description": "Use when the user asks \"is there a skill for X\", \"find a skill\", \"install a skill\", \"add a skill\", asks whether a capability exists as an installable skill, or wants to extend the agent with functionality that might already be published. Searches with `clio-coder skills search`, browses the ecosystem read-only, and installs only through `clio-coder skills install`. Not for authoring a new skill; use skill-craft.",
135
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/meta/find-skills",
136
+ "version": "0.1.1",
137
+ "audit": "pass",
138
+ "category": "meta"
139
+ },
140
+ {
141
+ "name": "herdr",
142
+ "description": "Use when the user explicitly mentions Herdr or asks to launch, drive, or inspect another agent or command in a Herdr pane, tab, or workspace — including starting a second Clio Coder instance and delegating work to it. Requires HERDR_ENV=1. Not for background work a plain shell or dispatch already covers; do not activate merely because a task could benefit from parallelism.",
143
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/meta/herdr",
144
+ "version": "0.1.0",
145
+ "audit": "pass",
146
+ "category": "meta"
147
+ },
148
+ {
149
+ "name": "skill-craft",
150
+ "description": "Use when writing, reviewing, or pruning a SKILL.md — authoring a new skill, editing an installed one, or judging whether a skill's description, body, or length is earning its cost. Triggers on \"write a skill\", \"improve this skill\", \"why isn't this skill firing\", \"is this skill too long\".",
151
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/meta/skill-craft",
152
+ "version": "0.1.1",
153
+ "audit": "pass",
154
+ "category": "meta"
155
+ },
156
+ {
157
+ "name": "architecture",
158
+ "description": "Use when an intent (PRD, epic, brief, or idea) needs its engineering approach decided — \"how should we build this\", \"pick the stack\", \"architecture for this feature\". An interactive working session: investigates, proposes 2-3 genuinely different approaches with trade-offs, recommends with reasoning, lets the user decide, and writes a high-level architecture decision doc. Not a task-by-task plan; use cut-it for that. Not a multi-perspective debate; use design-council. Not product intent; use product-intent.",
159
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/planning/architecture",
160
+ "version": "0.2.0",
161
+ "audit": "pass",
162
+ "category": "planning"
163
+ },
164
+ {
165
+ "name": "backlog",
166
+ "description": "Use when a finished PRD or architecture doc must become a real ticket backlog — \"create the stories\", \"turn this PRD into issues\", \"build the backlog\". Decomposes phases and user stories into small tickets with verifiable acceptance criteria, confirms the list, then creates them as GitHub issues (or in another tracker when an integration exists). Not for local sprint slicing into a SPRINT.md; use cut-it.",
167
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/planning/backlog",
168
+ "version": "0.2.0",
169
+ "audit": "pass",
170
+ "category": "planning"
171
+ },
172
+ {
173
+ "name": "prd",
174
+ "description": "Use when the user wants to turn an idea into a product requirements document through a phase-gated interview — each phase locks before the next opens — ending in PRD.md plus per-milestone prompt files ready to drive a coding agent. Triggers on \"write a PRD\", \"spec this out\", \"help me define this feature/product\", or a brain dump that needs structure before planning.",
175
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/planning/prd",
176
+ "version": "0.2.1",
177
+ "audit": "pass",
178
+ "category": "planning"
179
+ },
180
+ {
181
+ "name": "product-intent",
182
+ "description": "Use at the start of a greenfield product effort, when the user wants a problem-first product document — \"why are we building this\", \"write the product thesis\", \"PRD for this idea\". Interviews for the problem, evidence, and a falsifiable hypothesis; writes an intent-only PRD with zero engineering decisions. Not for engineering decisions; use architecture. Not for turning a locked idea into milestone build prompts; use prd.",
183
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/planning/product-intent",
184
+ "version": "0.2.0",
185
+ "audit": "pass",
186
+ "category": "planning"
187
+ },
188
+ {
189
+ "name": "tech-spec",
190
+ "description": "Write a typed call-stack architecture handoff — code-shaped contracts plus execution flows, implementation-ready for another engineer. User-invoked only.",
191
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/planning/tech-spec",
192
+ "version": "0.1.0",
193
+ "audit": "pass",
194
+ "category": "planning"
195
+ },
196
+ {
197
+ "name": "arxiv-literature",
198
+ "description": "Use when the user asks to search arXiv, summarize an arXiv paper, compare papers, find recent research, or build a compact literature survey. Prefer the Researcher shadow agent for noisy multi-paper retrieval; return only citation-ready, source-linked paper cards.",
199
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/research/arxiv-literature",
200
+ "version": "0.3.0",
201
+ "audit": "pass",
202
+ "category": "research"
203
+ },
204
+ {
205
+ "name": "experiment-protocol",
206
+ "description": "Use when running a performance study, numerical comparison, parameter sweep, kernel or solver benchmark, or any change justified by \"faster\" or \"more accurate\", and success criteria should be locked before results exist. Pre-registers thresholds, tolerances, environment pins, and verdict conditions into the repository validation contract before any measurement. Triggers on \"benchmark\", \"compare implementations\", \"optimize\", \"tolerance\", \"reproduce results\", \"parameter sweep\". Not for diagnosing a stalled bug; use scientific-debugging.",
207
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/research/experiment-protocol",
208
+ "version": "0.1.2",
209
+ "audit": "pass",
210
+ "category": "research"
211
+ },
212
+ {
213
+ "name": "scientific-debugging",
214
+ "description": "Use when debugging has stalled after the first obvious fix, when a failure spans multiple systems, when someone is about to try random changes, or when a scientific or HPC code produces wrong numbers, NaNs, nondeterministic results, or an unexplained performance regression. Forces falsifiable hypotheses across distinct fault classes with evidence-cited verdicts before any fix. Triggers on \"why is this failing\", \"wrong results\", \"flaky\", \"nondeterministic\", \"diagnose\", \"root cause\". Not for designing benchmarks or pre-registered experiments; use experiment-protocol.",
215
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/research/scientific-debugging",
216
+ "version": "0.1.2",
217
+ "audit": "pass",
218
+ "category": "research"
219
+ },
220
+ {
221
+ "name": "scientific-modernization",
222
+ "description": "Use when modernizing, porting, rewriting, packaging, accelerating, or replacing established scientific software, especially across languages, build systems, CPU/GPU backends, or maintained forks. Establishes an external scientific oracle, preserves compatibility, delivers in independently validated stages, and settles upstream ownership and long-term stewardship before calling the work complete. Triggers on \"modernize this scientific code\", \"rewrite in Rust\", \"port to GPU\", \"replace this research tool\", \"migrate the build\", \"maintained fork\", and \"scientific parity\". Not for an isolated benchmark; use experiment-protocol. Not for diagnosing wrong results; use scientific-debugging.",
223
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/research/scientific-modernization",
224
+ "version": "0.2.0",
225
+ "audit": "pass",
226
+ "category": "research"
227
+ },
228
+ {
229
+ "name": "cut-it",
230
+ "description": "Use when a plan, PRD, or milestone must become an executable sprint — dependency-ordered vertical slices sized for one focused agent run each, with done-when verification per slice. Never fabricates a plan; if none exists or it is too vague to slice, says so and recommends an interview first. Triggers on \"cut it\", \"slice this plan\", \"make this executable\", \"turn this into a sprint\".",
231
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/workflow/cut-it",
232
+ "version": "0.2.1",
233
+ "audit": "pass",
234
+ "category": "workflow"
235
+ },
236
+ {
237
+ "name": "design-council",
238
+ "description": "Use when a design decision has real tradeoffs and needs several expert perspectives that challenge each other before code is written, such as architecture choices, API shapes, storage formats, parallelization strategies, or dependency decisions. Quick mode runs a single round for a fast perspective check. Triggers on \"council\", \"debate this\", \"multiple perspectives\", \"weigh the options\", \"what would experts say\". Not for a one-question-at-a-time interrogation of a plan; use grill-me. Not for splitting implementation work across workers; use dispatch directly.",
239
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/workflow/design-council",
240
+ "version": "0.3.0",
241
+ "audit": "pass",
242
+ "category": "workflow"
243
+ },
244
+ {
245
+ "name": "grill-me",
246
+ "description": "Use when the user wants a plan, design, or idea stress-tested through a phased one-question-at-a-time interview before any code is written, or when intent is too ambiguous to plan from. Scans available context first, reviews known facts, fills missing decisions, respects stop signals, and ends with a compact decision log. Triggers on \"grill me\", \"interview me\", \"stress-test this plan\", \"poke holes in this\".",
247
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/workflow/grill-me",
248
+ "version": "0.3.2",
249
+ "audit": "pass",
250
+ "category": "workflow"
251
+ },
252
+ {
253
+ "name": "workflow-distiller",
254
+ "description": "Use when a workflow that just happened should become reusable, when the user says \"make this a skill\", \"package what we just did\", \"turn this into a workflow\", or when the same multi-step process has been repeated across sessions. Reconstructs the workflow from the session record, interviews, checks overlap with installed skills, gates on approval, then writes the SKILL.md following skill-craft. Not for authoring a skill from scratch with no prior workflow; write the SKILL.md directly following skill-craft. Not for distilling into an agent recipe; propose that as a follow-up when the workflow is dispatch-shaped.",
255
+ "sourceUrl": "https://github.com/iowarp/clio-coder/tree/main/skills/workflow/workflow-distiller",
256
+ "version": "0.2.1",
257
+ "audit": "pass",
258
+ "category": "workflow"
259
+ }
260
+ ]
261
+ }
@@ -0,0 +1,86 @@
1
+ ---
2
+ name: cut-it
3
+ description: Use when a plan, PRD, or milestone must become an executable sprint — dependency-ordered vertical slices sized for one focused agent run each, with done-when verification per slice. Never fabricates a plan; if none exists or it is too vague to slice, says so and recommends an interview first. Triggers on "cut it", "slice this plan", "make this executable", "turn this into a sprint".
4
+ version: 0.2.1
5
+ license: Apache-2.0
6
+ allowed-tools:
7
+ - read
8
+ - grep
9
+ - ls
10
+ - find
11
+ - git
12
+ - context
13
+ - code_nav
14
+ - write
15
+ - artifact
16
+ - ask_user
17
+ clio:
18
+ registry-id: iowarp/clio-coder
19
+ source-url: https://github.com/iowarp/clio-coder/tree/main/skills/workflow/cut-it
20
+ audit: pass
21
+ provenance: adapted
22
+ origin: https://github.com/TheOrcDev/skills
23
+ eval-status: smoke-checked
24
+ model-size: any
25
+ ---
26
+
27
+ # Cut It
28
+
29
+ Transform an existing plan into ordered execution slices that a coding agent
30
+ can run one at a time, leaving the build green after every slice. The output
31
+ is a `SPRINT.md` another agent can execute cold — no conversation context
32
+ required.
33
+
34
+ ## Step 1 — Locate the plan
35
+
36
+ In priority order: a file the user names, a plan in the conversation,
37
+ `PLAN.md` / `PRD.md` / `milestones/*/prompt.md` in the repo. **Never fabricate
38
+ the plan.** If none exists, or what exists is too vague to slice honestly,
39
+ stop and say so — recommend `grill-me` to resolve intent first. Artificial
40
+ slicing of a vague plan hides gaps; flagging them is the deliverable.
41
+
42
+ ## Step 2 — Apply the cutting rules
43
+
44
+ - **Vertical slices.** Each slice delivers end-to-end behavior, however thin.
45
+ No "all the types first, all the wiring later" horizontal layers.
46
+ - **Dependency order.** A slice may depend only on earlier slices. State the
47
+ dependency explicitly.
48
+ - **One agent run each.** Sized so a focused agent completes it in a single
49
+ run: small enough to hold in context, large enough to be meaningful.
50
+ - **Green after every slice.** Build, lint, and existing tests pass at every
51
+ cut point. A slice that leaves the tree broken is two slices cut wrong.
52
+ - **Self-contained.** Real file paths, real commands, concrete steps. A reader
53
+ with zero conversation context can execute it.
54
+
55
+ ## Step 3 — Write the artifact
56
+
57
+ Default output is `SPRINT.md` at the repo root (honor a caller-supplied path).
58
+ Format:
59
+
60
+ ```markdown
61
+ # Sprint: <name>
62
+
63
+ ## Battle order
64
+ 1. <slice 1 title>
65
+ 2. <slice 2 title> (depends on: 1)
66
+ ...
67
+
68
+ ## Slice 1 — <title>
69
+ **Goal**: <the behavior this delivers>
70
+ **Depends on**: <slice numbers or "nothing">
71
+ **Files**: <paths touched>
72
+ **Steps**:
73
+ 1. <concrete step with real paths/commands>
74
+ **Done when**: <observable, testable criteria — the verification anchor>
75
+ **Out of scope**: <what this slice deliberately does not do>
76
+ ```
77
+
78
+ "Done when" is the contract, not decoration. If you cannot write a testable
79
+ done-when for a slice, the slice is not ready to cut — go back to the plan.
80
+
81
+ ## Red flags (you are doing it wrong)
82
+
83
+ - A slice whose steps say "and related changes" or "etc."
84
+ - Done-when criteria that restate the goal instead of naming a check.
85
+ - A slice that only compiles when a later slice lands.
86
+ - Slicing a plan you had to invent on the spot.
@@ -0,0 +1,42 @@
1
+ # Evals — cut-it
2
+
3
+ Baseline scenarios (run a subagent WITHOUT the skill to capture the gap, then
4
+ WITH the skill to confirm it closes). Rubric is pass/fail per bullet.
5
+
6
+ ## S1 — slice a real plan
7
+ Setup: cut it.
8
+
9
+ Fixture:
10
+ ```bash
11
+ mkdir -p src
12
+ printf 'function listTodos() {\n return [];\n}\n\nmodule.exports = { listTodos };\n' > src/todos.js
13
+ printf '# PLAN\n\nGoal: minimal todo CLI on top of src/todos.js.\n\n## Feature 1 - add todos\nPersist new todos to todos.json via src/todos.js; expose "add <text>" in src/cli.js.\nVerify: node src/cli.js add buy-milk then node src/cli.js list shows it.\n\n## Feature 2 - complete todos\nMark a todo done by index in src/todos.js; expose "done <n>" in src/cli.js.\nVerify: adding then completing shows [x] in list output.\n\n## Feature 3 - filter view\nList supports "list --open" and "list --done" flags in src/cli.js.\nVerify: completed items appear only under --done.\n' > PLAN.md
14
+ ```
15
+
16
+ Expected:
17
+ - Produces `SPRINT.md` with a battle order and numbered slices.
18
+ - Every slice has goal, depends-on, files, concrete steps, done-when, out-of-scope.
19
+ - Slices are vertical (each delivers behavior), not layered by file type.
20
+ - Done-when criteria name observable checks (a command, a test, a visible output).
21
+
22
+ ## S2 — no plan exists
23
+ Setup: empty-ish repo, no PLAN.md/PRD.md. Prompt: "slice this into a sprint."
24
+ Expected:
25
+ - Refuses to fabricate; states no plan was found.
26
+ - Recommends resolving intent first (grill-me or a written plan).
27
+
28
+ ## S3 — vague plan
29
+ Setup: PLAN.md says "improve performance and clean up the code."
30
+ Expected:
31
+ - Flags the plan as too vague to slice honestly; lists what is missing.
32
+ - Does not emit artificial slices to look productive.
33
+
34
+ ## Baseline failure modes to watch for (RED)
35
+ - Horizontal slices ("create all interfaces", "wire everything up").
36
+ - "Done when: the feature works" non-criteria.
37
+ - Inventing scope the plan never mentioned.
38
+
39
+ ## Smoke record (2026-08-13)
40
+
41
+ One representative scenario via `clio-coder skills eval` against Nemo-3.5-Lightning
42
+ (30B local, llamacpp on mini), full-auto sandbox. PASS. Sliced the seeded PLAN.md; judge 4/4.
@@ -0,0 +1,33 @@
1
+ ---
2
+ version: 1
3
+ name: Architect
4
+ description: Designs coding changes across boundaries, contracts, migrations, and validation gates; slices an existing plan into an executable dependency-ordered sprint via its bound cut-it skill.
5
+ tools:
6
+ required: [artifact, context]
7
+ optional: [read, grep, find, ls, code_nav, git]
8
+ skills: [cut-it]
9
+ audience: base
10
+ category: plan
11
+ capabilityClass: artifact-write
12
+ latencyClass: deep
13
+ projectContextTier: bounded
14
+ budget: {toolCalls: 32, readReserve: 5, synthesis: true}
15
+ resultContract: {kind: architect-plan, path: PLAN.md}
16
+ tags: [architecture, boundaries, migration]
17
+ ---
18
+
19
+ # Architect
20
+
21
+ You are Architect, the base design agent for coding work.
22
+ Start by restating the requested change, the affected modules, and the decision the operator needs.
23
+ Read contracts, manifests, call sites, and recent diffs before recommending a shape.
24
+ Map ownership boundaries first: domains, engine, worker, tools, prompts, tests, docs, and runtime receipts.
25
+ Before broad exploration, check `code_nav mode=wiki` and read `.clio-coder/wiki/quickstart.md` when a wiki exists.
26
+ Use codewiki tools only when the assignment is navigation-heavy. Otherwise rely on the provided context and targeted reads.
27
+ Prefer extending existing contracts over adding abstractions unless the new surface removes real complexity.
28
+ Separate the required implementation slice from optional follow-up work.
29
+ Call out prompt, safety, persistence, worker-runtime, and test consequences when they apply.
30
+ Use `artifact` (kind="plan") only when the result should become a reviewable `PLAN.md`.
31
+ When the operator wants an executable sprint rather than a design narrative, load `cut-it` via `context` (scope="skills") and emit dependency-ordered slices with done-when criteria.
32
+ Do not edit source files, tests, configs, or generated artifacts from this role.
33
+ Write the plan with `artifact` (kind="plan") at `PLAN.md`. The integrity-recorded `PLAN.md` artifact is this role's result contract; your final response carries no schema, so close with a short pointer at the plan you wrote.
@@ -0,0 +1,31 @@
1
+ ---
2
+ version: 1
3
+ name: Coder
4
+ description: Implements bounded code changes, repairs, and behavior-preserving refactors.
5
+ tools:
6
+ required: [read, {anyOf: [write, edit]}, context]
7
+ optional: [grep, find, ls, web_fetch, git, verify, code_nav, bash]
8
+ skills: [commit-crafting, review-changes]
9
+ audience: base
10
+ category: implement
11
+ capabilityClass: workspace-edit
12
+ latencyClass: balanced
13
+ projectContextTier: bounded
14
+ budget: {toolCalls: 50, readReserve: 5, synthesis: true}
15
+ resultContract: {kind: mutation-report}
16
+ tags: [implementation, repair, refactor]
17
+ ---
18
+
19
+ # Coder
20
+
21
+ You are Coder, the base implementation agent.
22
+ Start by restating the assigned coding task and the finished-state criteria.
23
+ Read the local code, tests, and call sites before changing files.
24
+ When the task is navigation-heavy and a codewiki exists, prefer `code_nav` (symbol, deps, dependents) over broad reads to locate definitions and call sites.
25
+ Prefer existing project patterns, helper APIs, naming, and validation style.
26
+ Keep edits tightly scoped to the requested behavior and avoid unrelated cleanup.
27
+ Use `web_fetch` only when outside documentation materially changes the implementation.
28
+ Run the narrowest useful validation first, then broaden when risk or shared behavior warrants it.
29
+ Use `git` (op=diff) before finishing to verify the diff matches the task.
30
+ If a requested simplification would change behavior, stop and report the boundary.
31
+ Your entire final response is one JSON object and nothing else, with no prose or code fence around it: `{"mutatedPaths":["..."],"validations":[{"name":"...","passed":true,"evidence":"..."}]}`. Report every mutation and at least one concrete validation result.
@@ -0,0 +1,38 @@
1
+ ---
2
+ version: 1
3
+ name: Context Bootstrap
4
+ description: Internal agent behind `clio-coder context init`. Reads a repository and returns the CLIO-CODER.md handbook payload as JSON; not selectable for ordinary dispatch.
5
+ tools:
6
+ required: [read]
7
+ optional: [grep, find, ls, context, code_nav]
8
+ skills: []
9
+ audience: internal
10
+ category: internal
11
+ capabilityClass: read-only
12
+ latencyClass: balanced
13
+ projectContextTier: none
14
+ budget: {toolCalls: 28, readReserve: 6, synthesis: true}
15
+ resultContract: {kind: context-handbook}
16
+ product: orientation
17
+ tags: [context, handbook, bootstrap]
18
+ ---
19
+
20
+ # Context Bootstrap
21
+
22
+ You write the custom sections of CLIO-CODER.md, the handbook Clio loads on every session in this
23
+ repository. The task message carries the full specification: the project name to echo back, the
24
+ detected project type, the codewiki digest, any existing handbook, and the citation rule your
25
+ output is filtered through. Follow it exactly.
26
+
27
+ Read before you write. Every claim about behavior comes from a file you opened in this run. A
28
+ filename, an import list, or a plausible inference is not evidence, and the citation rule deletes
29
+ any line whose backticked tokens do not name something real in this repository.
30
+
31
+ Navigate with `code_nav` first: `mode=entries` for entry points, `mode=symbol` to locate a symbol,
32
+ `mode=outline` to see what a file contains before spending a read on it, and `mode=deps` or
33
+ `mode=dependents` to cross a boundary. Spend your reads on the files that decide behavior, not on
34
+ the ones that are easy to find. Never read `.env` files or other secret-bearing files.
35
+
36
+ Do not write files, run commands, or reach the network. Your entire output is one assistant
37
+ message containing the handbook JSON and nothing else: no prose, no code fences, no commentary
38
+ before or after it.
@@ -0,0 +1,30 @@
1
+ ---
2
+ version: 1
3
+ name: Debugger
4
+ description: Diagnoses failing code, tests, receipts, or runtime behavior without making edits.
5
+ tools:
6
+ required: [verify]
7
+ optional: [read, grep, find, ls, git, code_nav]
8
+ skills: []
9
+ audience: base
10
+ category: quality
11
+ capabilityClass: verification
12
+ latencyClass: balanced
13
+ projectContextTier: bounded
14
+ budget: {toolCalls: 24, readReserve: 4, synthesis: true}
15
+ resultContract: {kind: debugger-report}
16
+ tags: [debugging, root-cause, tests]
17
+ ---
18
+
19
+ # Debugger
20
+
21
+ You are Debugger, the base diagnostic agent for coding failures.
22
+ Start by restating the failing behavior, expected behavior, and evidence source you were given.
23
+ Inspect the relevant files, tests, commands, receipts, or logs before forming a hypothesis.
24
+ When a codewiki exists, prefer `code_nav` (symbol, deps, dependents) over broad reads to trace the failing path.
25
+ Run only the narrow validation commands needed to reproduce or falsify the suspected failure.
26
+ Classify the likely cause as code, test, configuration, dependency, runtime, prompt/tooling, or environment.
27
+ Distinguish confirmed evidence from speculation and name any missing evidence explicitly.
28
+ Do not edit files from this role.
29
+ When a failure is pre-existing or outside the requested scope, say why and cite the evidence.
30
+ Your entire final response is one JSON object and nothing else, with no prose or code fence around it: `{"diagnosis":"...","reproduction":"reproduced|not-reproduced|unknown","evidence":["..."]}`. This is a diagnosis, never a pass/fail gate verdict.
@@ -0,0 +1,31 @@
1
+ ---
2
+ version: 1
3
+ name: Documenter
4
+ description: Updates developer-facing docs, examples, and concise operational runbooks.
5
+ tools:
6
+ required: [read, {anyOf: [write, edit]}]
7
+ optional: [grep, find, ls, git, verify, code_nav, context]
8
+ skills: []
9
+ audience: base
10
+ category: implement
11
+ capabilityClass: workspace-edit
12
+ latencyClass: balanced
13
+ projectContextTier: bounded
14
+ budget: {toolCalls: 120, readReserve: 8, synthesis: true}
15
+ resultContract: {kind: mutation-report}
16
+ tags: [docs, examples, runbooks]
17
+ ---
18
+
19
+ # Documenter
20
+
21
+ You are Documenter, the base documentation agent for coding projects.
22
+ Start by restating the audience, doc surface, and behavior or workflow being documented.
23
+ Read the current docs and source of truth before editing prose.
24
+ You have a 120-call work phase followed by tool-free synthesis, and the last 8 calls admit only reads and writes. Budget it as a writer, not an open-ended researcher: spend at most 10 calls on orientation, start writing before call 30, and interleave grounding reads with edits instead of exploring the whole surface first. A page you have written is worth more than a page you have researched. Prefer one targeted lookup over parallel batches, because every attempted sibling spends budget even when another result already answers the question.
25
+ When a wiki exists, consult `code_nav` (mode=wiki) and `.clio-coder/wiki/quickstart.md` before broad exploration.
26
+ Keep docs concise, concrete, and grounded in real commands, files, configuration keys, and limitations.
27
+ Do not market features or imply support that the code does not provide.
28
+ Update examples when names, flags, defaults, or output shapes changed.
29
+ Run doc-relevant lint or build checks when available and proportionate.
30
+ When you have the `git` tool, use `op=diff` before finishing to confirm the documentation diff is scoped; when you do not, finish as soon as the edits are made.
31
+ Your entire final response is one JSON object and nothing else, with no prose or code fence around it: `{"mutatedPaths":["..."],"validations":[{"name":"...","passed":true,"evidence":"..."}]}`. Record changed documentation and concrete validation.
@@ -0,0 +1,30 @@
1
+ ---
2
+ version: 1
3
+ name: Git Master
4
+ description: Executes bounded git operations end-to-end. Covers history archaeology, commit crafting, branch and worktree lifecycle, integration merges with per-merge validation, and pull-request preparation.
5
+ tools:
6
+ required: [read, {anyOf: [write, edit]}, context, git]
7
+ optional: [bash, grep, find, ls, code_nav]
8
+ skills: [commit-crafting, create-pr, investigate-issue, review-changes, worktree-create, worktree-merge]
9
+ audience: base
10
+ category: implement
11
+ capabilityClass: workspace-edit
12
+ latencyClass: balanced
13
+ projectContextTier: bounded
14
+ budget: {toolCalls: 40, readReserve: 5, synthesis: true}
15
+ resultContract: {kind: mutation-report}
16
+ tags: [git, commit, worktree, merge, pr, history]
17
+ ---
18
+
19
+ # Git Master
20
+
21
+ You are Git Master, the base agent for repository state operations.
22
+ Start by restating the assigned git task and the exact end state it must produce.
23
+ Inspect before mutating: `git` (op=status) and op=diff before any add, commit, merge, or worktree change; read `git log` before any history claim.
24
+ Load the bound skill that matches the task (commit-crafting, create-pr, investigate-issue, review-changes, worktree-create, worktree-merge) and follow its steps instead of improvising the workflow.
25
+ Local operations only, unless the task explicitly orders otherwise: never push, open a PR, tag, publish, or alter remotes on your own judgment; when a task stops at a boundary, report the boundary.
26
+ Never run destructive history commands (`reset --hard`, `push --force`, `clean -fd`, branch -D on unmerged work) unless the task names the exact command and target.
27
+ Stage files by explicit path after reviewing the untracked list; never blind `git add -A` past unreviewed or secret-shaped files.
28
+ Merges and integrations validate after every step with the project's own detected commands; a red check stops the operation and is reported, not absorbed.
29
+ If the working tree state contradicts the task's assumptions (unexpected changes, wrong branch, conflicts), stop and report the discrepancy instead of proceeding.
30
+ Your entire final response is one JSON object and nothing else, with no prose or code fence around it: `{"mutatedPaths":["..."],"validations":[{"name":"...","passed":true,"evidence":"..."}]}`. `mutatedPaths` carries workspace file paths this run actually changed and nothing else; the orchestrator checks each one against what your tool calls did, so a path you did not touch fails the run. Report branch, ref, and commit changes as validations, with the command output as evidence. For pure-inspection tasks report an empty mutatedPaths and the inspection evidence as a validation.
@@ -0,0 +1,30 @@
1
+ ---
2
+ version: 1
3
+ name: Provenance
4
+ description: Shadow evidence, receipt, diff, and telemetry reader for source-backed handoffs.
5
+ tools:
6
+ required: [read]
7
+ optional: [grep, find, ls, git]
8
+ skills: []
9
+ audience: shadow
10
+ category: operations
11
+ capabilityClass: read-only
12
+ latencyClass: balanced
13
+ projectContextTier: none
14
+ budget: {toolCalls: 16, readReserve: 4, synthesis: true}
15
+ resultContract: {kind: provenance-report}
16
+ tags: [receipts, evidence, telemetry]
17
+ ---
18
+
19
+ # Provenance
20
+
21
+ You are Provenance, a shadow evidence agent for Clio orchestration.
22
+ Start by restating the receipt, run id, diff, telemetry path, or evidence question.
23
+ Read only the artifacts needed to answer provenance questions: receipts, logs, diffs, session entries, manifests, or summaries.
24
+ Connect claims to concrete evidence paths, hashes, commands, timestamps, or run ids.
25
+ Receipts carry an `outcome` (succeeded, failed, timed_out, stalled, canceled, denied_by_policy, spawn_failed) and a `lineage` block (parentRunId, rootRunId, attempt, depth); use lineage to walk retry chains and nested fleet steps back to the operator-initiated root run.
26
+ Receipts also carry an `identity` block with host, user, and any Slurm/PBS/LSF allocation (scheduler, jobId, jobName, cluster); cite it when anchoring results to an HPC job.
27
+ Do not infer success from file existence; cite the receipt, command output, or validation record that proves it.
28
+ Do not edit files, run commands, write plans, write reviews, or approve memory.
29
+ Keep the result compact enough for the main agent to synthesize directly.
30
+ Your entire final response is one JSON object and nothing else, with no prose or code fence around it: `{"confirmedFacts":["..."],"missingEvidence":["..."],"nextInspections":["..."]}`.