@cleocode/cleo 2026.3.2 → 2026.3.6

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 (76) hide show
  1. package/README.md +1 -3
  2. package/dist/cli/index.js +7381 -3507
  3. package/dist/cli/index.js.map +4 -4
  4. package/dist/mcp/index.js +5792 -2097
  5. package/dist/mcp/index.js.map +4 -4
  6. package/package.json +4 -4
  7. package/packages/ct-skills/index.js +1 -1
  8. package/packages/ct-skills/package.json +0 -2
  9. package/packages/ct-skills/profiles/core.json +1 -1
  10. package/packages/ct-skills/profiles/full.json +4 -5
  11. package/packages/ct-skills/profiles/minimal.json +3 -3
  12. package/packages/ct-skills/profiles/recommended.json +2 -2
  13. package/packages/ct-skills/provider-skills-map.json +97 -0
  14. package/packages/ct-skills/skills/_shared/skill-chaining-patterns.md +23 -26
  15. package/packages/ct-skills/skills/_shared/testing-framework-config.md +9 -9
  16. package/packages/ct-skills/skills/ct-cleo/SKILL.md +21 -1
  17. package/packages/ct-skills/skills/ct-dev-workflow/SKILL.md +1 -1
  18. package/packages/ct-skills/skills/ct-documentor/SKILL.md +1 -1
  19. package/packages/ct-skills/skills/ct-epic-architect/SKILL.md +1 -1
  20. package/packages/ct-skills/skills/ct-grade/SKILL.md +214 -0
  21. package/packages/ct-skills/skills/ct-orchestrator/SKILL.md +119 -43
  22. package/packages/ct-skills/skills/ct-orchestrator/orchestrator-prompt.txt +17 -0
  23. package/packages/ct-skills/skills/ct-orchestrator/references/orchestrator-patterns.md +1 -1
  24. package/packages/ct-skills/skills/ct-research-agent/SKILL.md +1 -1
  25. package/packages/ct-skills/skills/ct-spec-writer/SKILL.md +1 -1
  26. package/packages/ct-skills/skills/ct-task-executor/SKILL.md +1 -1
  27. package/packages/ct-skills/skills/ct-validator/SKILL.md +1 -1
  28. package/packages/ct-skills/skills/manifest.json +217 -947
  29. package/packages/ct-skills/skills.json +244 -3
  30. package/templates/CLEO-INJECTION.md +37 -0
  31. package/templates/README.md +4 -4
  32. package/templates/cleo-gitignore +3 -11
  33. package/templates/git-hooks/pre-commit +1 -1
  34. package/packages/ct-skills/protocols/agent-protocol.md +0 -260
  35. package/packages/ct-skills/protocols/artifact-publish.md +0 -587
  36. package/packages/ct-skills/protocols/consensus.md +0 -309
  37. package/packages/ct-skills/protocols/contribution.md +0 -375
  38. package/packages/ct-skills/protocols/decomposition.md +0 -352
  39. package/packages/ct-skills/protocols/implementation.md +0 -344
  40. package/packages/ct-skills/protocols/provenance.md +0 -600
  41. package/packages/ct-skills/protocols/release.md +0 -635
  42. package/packages/ct-skills/protocols/research.md +0 -248
  43. package/packages/ct-skills/protocols/specification.md +0 -287
  44. package/packages/ct-skills/protocols/testing.md +0 -346
  45. package/packages/ct-skills/protocols/validation.md +0 -229
  46. package/packages/ct-skills/skills/ct-gitbook/SKILL.md +0 -516
  47. package/packages/ct-skills/skills/ct-gitbook/assets/SUMMARY.md +0 -28
  48. package/packages/ct-skills/skills/ct-gitbook/assets/gitbook.yaml +0 -14
  49. package/packages/ct-skills/skills/ct-gitbook/references/api-sdk.md +0 -318
  50. package/packages/ct-skills/skills/ct-gitbook/references/auth-sso.md +0 -208
  51. package/packages/ct-skills/skills/ct-gitbook/references/change-requests.md +0 -169
  52. package/packages/ct-skills/skills/ct-gitbook/references/content-blocks.md +0 -230
  53. package/packages/ct-skills/skills/ct-gitbook/references/docs-sites.md +0 -202
  54. package/packages/ct-skills/skills/ct-gitbook/references/git-sync.md +0 -175
  55. package/packages/ct-skills/skills/ct-gitbook/references/llm-ready.md +0 -178
  56. package/packages/ct-skills/skills/ct-gitbook/references/migration.md +0 -263
  57. package/packages/ct-skills/skills/ct-library-implementer-bash/SKILL.md +0 -316
  58. package/packages/ct-skills/skills/ct-skill-lookup/SKILL.md +0 -179
  59. package/packages/ct-skills/skills/ct-test-writer-bats/SKILL.md +0 -347
  60. package/packages/ct-skills/skills/railway-platform/SKILL.md +0 -506
  61. package/packages/ct-skills/skills/railway-platform/_shared/scripts/railway-api.sh +0 -180
  62. package/packages/ct-skills/skills/railway-platform/_shared/scripts/railway-common.sh +0 -262
  63. package/packages/ct-skills/skills/railway-platform/references/01-getting-started.md +0 -149
  64. package/packages/ct-skills/skills/railway-platform/references/02-projects.md +0 -116
  65. package/packages/ct-skills/skills/railway-platform/references/03-services.md +0 -147
  66. package/packages/ct-skills/skills/railway-platform/references/04-deployments.md +0 -210
  67. package/packages/ct-skills/skills/railway-platform/references/05-databases.md +0 -142
  68. package/packages/ct-skills/skills/railway-platform/references/06-environments.md +0 -261
  69. package/packages/ct-skills/skills/railway-platform/references/07-domains.md +0 -139
  70. package/packages/ct-skills/skills/railway-platform/references/08-volumes.md +0 -533
  71. package/packages/ct-skills/skills/railway-platform/references/09-networking.md +0 -592
  72. package/packages/ct-skills/skills/railway-platform/references/10-cron.md +0 -488
  73. package/packages/ct-skills/skills/railway-platform/references/11-functions.md +0 -170
  74. package/packages/ct-skills/skills/railway-platform/references/12-monorepo.md +0 -294
  75. package/packages/ct-skills/skills/railway-platform/references/13-troubleshooting.md +0 -335
  76. package/packages/ct-skills/skills/railway-platform/references/14-railway-metal.md +0 -197
@@ -1,5 +1,246 @@
1
1
  {
2
- "version": "2.0.0",
3
- "generated": "2026-02-19T18:35:42Z",
4
- "skills": [{"name":"ct-cleo","description":"CLEO task management protocol - core guidance for session, task, and workflow operations. Provides MCP-first workflow, CLI fallback, session protocol, task discovery patterns, RCSD lifecycle overview, and error handling. Load this skill for detailed CLEO protocol guidance.","version":"2.0.0","path":"skills/ct-cleo/SKILL.md","references":["skills/ct-cleo/references/session-protocol.md","skills/ct-cleo/references/rcsd-lifecycle.md","skills/ct-cleo/references/orchestrator-constraints.md","skills/ct-cleo/references/anti-patterns.md"],"core":true,"category":"core","tier":0,"protocol":null,"dependencies":[],"sharedResources":["task-system-integration"],"compatibility":["claude-code","gemini-cli","codex-cli"],"license":"MIT","metadata":{}},{"name":"ct-contribution","description":"Guided workflow for multi-agent consensus contributions. Use when user says \"/contribution\", \"contribution protocol\", \"submit contribution\", \"consensus workflow\", \"multi-agent decision\", \"create contribution\", \"contribution start\", \"contribution submit\", \"detect conflicts\", \"weighted consensus\", \"decision tracking\", \"conflict resolution\".","version":"1.0.0","path":"skills/ct-contribution/SKILL.md","references":[],"core":false,"category":"meta","tier":3,"protocol":"contribution","dependencies":[],"sharedResources":["subagent-protocol-base"],"compatibility":["claude-code","cursor","windsurf","gemini-cli"],"license":"MIT","metadata":{}},{"name":"ct-dev-workflow","description":"Development workflow orchestration for task-driven development with atomic commits, conventional commit messages, and systematic release processes. Enforces task traceability, branch discipline, smart test scope selection, and GitHub Actions integration. Use when committing code, creating releases, managing branches, or following contribution protocols. Triggers on commit operations, release preparation, or workflow compliance needs.","version":"3.0.0","path":"skills/ct-dev-workflow/SKILL.md","references":[],"core":false,"category":"specialist","tier":2,"protocol":"contribution","dependencies":[],"sharedResources":["subagent-protocol-base","task-system-integration"],"compatibility":["claude-code","cursor","windsurf","gemini-cli"],"license":"MIT","metadata":{}},{"name":"ct-docs-lookup","description":"This skill should be used when the user asks \"how do I configure [library]\", \"write code using [framework]\", \"what are the [library] methods\", \"show me [framework] examples\", or mentions libraries like React, Vue, Next.js, Prisma, Supabase, Express, Tailwind, Drizzle, Svelte. Triggers for library setup, configuration, API references, framework code examples, or version-specific docs (\"React 19\", \"Next.js 15\").","version":"1.0.0","path":"skills/ct-docs-lookup/SKILL.md","references":[],"core":false,"category":"composition","tier":3,"protocol":null,"dependencies":[],"sharedResources":[],"compatibility":["claude-code","cursor","windsurf","gemini-cli"],"license":"MIT","metadata":{}},{"name":"ct-docs-review","description":"This skill should be used when the user asks to \"review documentation\", \"check docs style\", \"review this markdown file\", \"check style guide compliance\", \"review PR documentation\", or needs documentation reviewed against the CLEO writing style guide. Supports both local file review and GitHub PR review modes with inline comments.","version":"1.0.0","path":"skills/ct-docs-review/SKILL.md","references":[],"core":false,"category":"composition","tier":3,"protocol":null,"dependencies":[],"sharedResources":[],"compatibility":["claude-code","cursor","windsurf","gemini-cli"],"license":"MIT","metadata":{}},{"name":"ct-docs-write","description":"This skill should be used when creating, editing, or reviewing documentation files (markdown, MDX, README, guides). Use when the user asks to \"write docs\", \"create documentation\", \"edit the README\", \"improve doc clarity\", \"make docs more readable\", \"follow the style guide\", or \"write user-facing content\". Applies CLEO's conversational, clear, and user-focused writing style.","version":"1.0.0","path":"skills/ct-docs-write/SKILL.md","references":[],"core":false,"category":"composition","tier":3,"protocol":null,"dependencies":[],"sharedResources":[],"compatibility":["claude-code","cursor","windsurf","gemini-cli"],"license":"MIT","metadata":{}},{"name":"ct-documentor","description":"Documentation creation, editing, and review with CLEO style guide compliance. Coordinates specialized skills for lookup, writing, and review. Use when creating or updating documentation files, consolidating scattered documentation, or validating documentation against style standards. Triggers on documentation tasks, doc update requests, or style guide compliance checks.","version":"3.0.0","path":"skills/ct-documentor/SKILL.md","references":[],"core":false,"category":"specialist","tier":3,"protocol":null,"dependencies":["ct-docs-lookup","ct-docs-write","ct-docs-review"],"sharedResources":["subagent-protocol-base","task-system-integration"],"compatibility":["claude-code","cursor","windsurf","gemini-cli"],"license":"MIT","metadata":{}},{"name":"ct-epic-architect","description":"Epic planning and task decomposition for breaking down large initiatives into atomic, executable tasks. Provides dependency analysis, wave-based parallel execution planning, hierarchy management, and research linking. Use when creating epics, decomposing initiatives into task trees, planning parallel workflows, or analyzing task dependencies. Triggers on epic creation, task decomposition requests, or planning phase work.","version":"3.0.0","path":"skills/ct-epic-architect/SKILL.md","references":["skills/ct-epic-architect/references/bug-epic-example.md","skills/ct-epic-architect/references/commands.md","skills/ct-epic-architect/references/feature-epic-example.md","skills/ct-epic-architect/references/migration-epic-example.md","skills/ct-epic-architect/references/output-format.md","skills/ct-epic-architect/references/patterns.md","skills/ct-epic-architect/references/refactor-epic-example.md","skills/ct-epic-architect/references/research-epic-example.md","skills/ct-epic-architect/references/shell-escaping.md","skills/ct-epic-architect/references/skill-aware-execution.md"],"core":false,"category":"recommended","tier":1,"protocol":"decomposition","dependencies":[],"sharedResources":["subagent-protocol-base","task-system-integration"],"compatibility":["claude-code","cursor","windsurf","gemini-cli"],"license":"MIT","metadata":{}},{"name":"ct-gitbook","description":"Comprehensive guide for the modern GitBook platform including Docs Sites publishing, @gitbook/api TypeScript SDK, Git Sync with GitHub App, Change Requests, Site Sections, adaptive content, visitor authentication (Auth0/Okta/Azure AD), LLM-ready docs (llms.txt, MCP server), OpenAPI integration, content blocks, custom domains, SSO/SAML, SEO optimization, and migration from MkDocs/Docusaurus. Use when creating, managing, or automating GitBook documentation sites, configuring Git Sync, working with the GitBook API, setting up authentication, or migrating documentation to GitBook.","version":"1.0.0","path":"skills/ct-gitbook/SKILL.md","references":["skills/ct-gitbook/references/api-sdk.md","skills/ct-gitbook/references/auth-sso.md","skills/ct-gitbook/references/change-requests.md","skills/ct-gitbook/references/content-blocks.md","skills/ct-gitbook/references/docs-sites.md","skills/ct-gitbook/references/git-sync.md","skills/ct-gitbook/references/llm-ready.md","skills/ct-gitbook/references/migration.md"],"core":false,"category":"meta","tier":3,"protocol":null,"dependencies":[],"sharedResources":[],"compatibility":["claude-code","cursor","windsurf","gemini-cli"],"license":"MIT","metadata":{}},{"name":"ct-library-implementer-bash","description":"Bash library development with focus on creating well-structured lib/*.sh files following shell best practices. Implements reusable functions, utility modules, and shared helpers with proper documentation, error handling, and dependency management. Use when creating new lib/ modules, implementing shared functions, or adding utility libraries. Triggers on library implementation tasks, bash module creation, or utility function needs.","version":"2.0.0","path":"skills/ct-library-implementer-bash/SKILL.md","references":[],"core":false,"category":"specialist","tier":2,"protocol":"implementation","dependencies":[],"sharedResources":["subagent-protocol-base","task-system-integration"],"compatibility":["claude-code","cursor","windsurf","gemini-cli"],"license":"MIT","metadata":{}},{"name":"ct-orchestrator","description":"This skill should be used when the user asks to \"orchestrate\", \"orchestrator mode\", \"run as orchestrator\", \"delegate to subagents\", \"coordinate agents\", \"spawn subagents\", \"multi-agent workflow\", \"context-protected workflow\", \"agent farm\", \"HITL orchestration\", or needs to manage complex workflows by delegating work to subagents while protecting the main context window. Enforces ORC-001 through ORC-009 constraints.","version":"3.0.0","path":"skills/ct-orchestrator/SKILL.md","references":["skills/ct-orchestrator/references/autonomous-operation.md","skills/ct-orchestrator/references/lifecycle-gates.md","skills/ct-orchestrator/references/orchestrator-compliance.md","skills/ct-orchestrator/references/orchestrator-handoffs.md","skills/ct-orchestrator/references/orchestrator-patterns.md","skills/ct-orchestrator/references/orchestrator-recovery.md","skills/ct-orchestrator/references/orchestrator-spawning.md","skills/ct-orchestrator/references/orchestrator-tokens.md","skills/ct-orchestrator/references/SUBAGENT-PROTOCOL-BLOCK.md"],"core":true,"category":"core","tier":0,"protocol":"agent-protocol","dependencies":[],"sharedResources":["subagent-protocol-base","task-system-integration"],"compatibility":["claude-code","cursor","windsurf","gemini-cli"],"license":"MIT","metadata":{}},{"name":"ct-research-agent","description":"Multi-source research and investigation combining web search, documentation lookup via Context7, and codebase analysis. Synthesizes findings into actionable recommendations with proper citation and task traceability. Use when conducting research, investigating best practices, gathering technical information, or analyzing existing implementations. Triggers on research tasks, investigation needs, or information discovery requests.","version":"2.0.0","path":"skills/ct-research-agent/SKILL.md","references":[],"core":false,"category":"recommended","tier":2,"protocol":"research","dependencies":[],"sharedResources":["subagent-protocol-base","task-system-integration"],"compatibility":["claude-code","cursor","windsurf","gemini-cli"],"license":"MIT","metadata":{}},{"name":"ct-skill-creator","description":"Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.","version":"1.0.0","path":"skills/ct-skill-creator/SKILL.md","references":["skills/ct-skill-creator/references/output-patterns.md","skills/ct-skill-creator/references/workflows.md"],"core":false,"category":"meta","tier":3,"protocol":null,"dependencies":[],"sharedResources":[],"compatibility":["claude-code","cursor","windsurf","gemini-cli"],"license":"MIT","metadata":{}},{"name":"ct-skill-lookup","description":"This skill should be used when the user asks to \"find me a skill\", \"search for skills\", \"what skills are available\", \"get skill XYZ\", \"install a skill\", \"extend Claude's capabilities with skills\", or mentions Agent Skills, prompts.chat, SkillsMP, marketplace, external skills, or reusable AI agent components.","version":"1.1.0","path":"skills/ct-skill-lookup/SKILL.md","references":[],"core":false,"category":"meta","tier":3,"protocol":null,"dependencies":[],"sharedResources":[],"compatibility":["claude-code","cursor","windsurf","gemini-cli"],"license":"MIT","metadata":{}},{"name":"ct-spec-writer","description":"Technical specification writing using RFC 2119 language for clear, unambiguous requirements. Creates protocol specifications, technical requirements, API specifications, and architecture documents with testable requirements and compliance criteria. Use when writing specifications, defining protocols, documenting requirements, or creating API contracts. Triggers on specification tasks, protocol definition needs, or requirement documentation.","version":"2.0.0","path":"skills/ct-spec-writer/SKILL.md","references":[],"core":false,"category":"recommended","tier":2,"protocol":"specification","dependencies":[],"sharedResources":["subagent-protocol-base","task-system-integration"],"compatibility":["claude-code","cursor","windsurf","gemini-cli"],"license":"MIT","metadata":{}},{"name":"ct-task-executor","description":"General implementation task execution for completing assigned CLEO tasks by following instructions and producing concrete deliverables. Handles coding, configuration, documentation work with quality verification against acceptance criteria and progress reporting. Use when executing implementation tasks, completing assigned work, or producing task deliverables. Triggers on implementation tasks, general execution needs, or task completion work.","version":"2.0.0","path":"skills/ct-task-executor/SKILL.md","references":[],"core":true,"category":"core","tier":2,"protocol":"implementation","dependencies":[],"sharedResources":["subagent-protocol-base","task-system-integration"],"compatibility":["claude-code","cursor","windsurf","gemini-cli"],"license":"MIT","metadata":{}},{"name":"ct-test-writer-bats","description":"BATS (Bash Automated Testing System) test creation for comprehensive integration and unit testing. Creates idempotent tests with happy path, error handling, and edge case coverage. Includes fixture creation and JSON output validation. Use when writing tests, creating test suites, adding test coverage, or validating bash implementations. Triggers on test writing tasks, test coverage needs, or BATS test creation.","version":"2.0.0","path":"skills/ct-test-writer-bats/SKILL.md","references":[],"core":false,"category":"specialist","tier":2,"protocol":"testing","dependencies":[],"sharedResources":["subagent-protocol-base","task-system-integration"],"compatibility":["claude-code","cursor","windsurf","gemini-cli"],"license":"MIT","metadata":{}},{"name":"ct-validator","description":"Compliance validation for verifying systems, documents, or code against requirements, schemas, or standards. Performs schema validation, code compliance checks, document validation, and protocol compliance verification with detailed pass/fail reporting. Use when validating compliance, checking schemas, verifying code standards, or auditing protocol implementations. Triggers on validation tasks, compliance checks, or quality verification needs.","version":"2.0.0","path":"skills/ct-validator/SKILL.md","references":[],"core":false,"category":"recommended","tier":2,"protocol":"validation","dependencies":[],"sharedResources":["subagent-protocol-base","task-system-integration"],"compatibility":["claude-code","cursor","windsurf","gemini-cli"],"license":"MIT","metadata":{}},{"name":"railway-platform","description":"Deploy and manage applications on Railway platform. Use for creating projects, deploying services (Node.js, Python, Go, Docker, static sites), managing databases (Postgres, Redis, MySQL, MongoDB), configuring domains, environment variables, volumes, cron jobs, and networking. Integrates with GitHub for auto-deploys. Supports monorepos, private networking, and Railway Metal infrastructure.","version":"1.0.0","path":"skills/railway-platform/SKILL.md","references":["skills/railway-platform/references/01-getting-started.md","skills/railway-platform/references/02-projects.md","skills/railway-platform/references/03-services.md","skills/railway-platform/references/04-deployments.md","skills/railway-platform/references/05-databases.md","skills/railway-platform/references/06-environments.md","skills/railway-platform/references/07-domains.md","skills/railway-platform/references/08-volumes.md","skills/railway-platform/references/09-networking.md","skills/railway-platform/references/10-cron.md","skills/railway-platform/references/11-functions.md","skills/railway-platform/references/12-monorepo.md","skills/railway-platform/references/13-troubleshooting.md","skills/railway-platform/references/14-railway-metal.md"],"core":false,"category":"specialist","tier":3,"protocol":null,"dependencies":[],"sharedResources":[],"compatibility":["claude-code","cursor","windsurf","gemini-cli"],"license":"MIT","metadata":{}}]
2
+ "version": "2.1.0",
3
+ "generated": "2026-03-02T05:45:00Z",
4
+ "skills": [
5
+ {
6
+ "name": "ct-cleo",
7
+ "description": "CLEO task management protocol - core guidance for session, task, and workflow operations. Provides MCP-first workflow, CLI fallback, session protocol, task discovery patterns, RCSD lifecycle overview, and error handling. Load this skill for detailed CLEO protocol guidance.",
8
+ "version": "2.0.0",
9
+ "path": "skills/ct-cleo/SKILL.md",
10
+ "references": ["skills/ct-cleo/references/session-protocol.md", "skills/ct-cleo/references/rcsd-lifecycle.md", "skills/ct-cleo/references/anti-patterns.md"],
11
+ "core": true,
12
+ "category": "core",
13
+ "tier": 0,
14
+ "protocol": null,
15
+ "dependencies": [],
16
+ "sharedResources": ["task-system-integration"],
17
+ "compatibility": ["claude-code", "gemini-cli", "codex-cli"],
18
+ "license": "MIT",
19
+ "metadata": {}
20
+ },
21
+ {
22
+ "name": "ct-orchestrator",
23
+ "description": "Pipeline-aware orchestration for multi-agent workflows. Manages RCASD-IVTR+C pipeline progression for epics, delegates all work to subagents via provider-neutral spawning, enforces lifecycle gates before spawning, and reads only manifests. Use when orchestrating complex workflows, delegating to subagents, or managing epic pipeline progression.",
24
+ "version": "4.0.0",
25
+ "path": "skills/ct-orchestrator/SKILL.md",
26
+ "references": ["skills/ct-orchestrator/references/autonomous-operation.md", "skills/ct-orchestrator/references/lifecycle-gates.md", "skills/ct-orchestrator/references/orchestrator-compliance.md", "skills/ct-orchestrator/references/orchestrator-handoffs.md", "skills/ct-orchestrator/references/orchestrator-patterns.md", "skills/ct-orchestrator/references/orchestrator-recovery.md", "skills/ct-orchestrator/references/orchestrator-spawning.md", "skills/ct-orchestrator/references/orchestrator-tokens.md", "skills/ct-orchestrator/references/SUBAGENT-PROTOCOL-BLOCK.md"],
27
+ "core": true,
28
+ "category": "core",
29
+ "tier": 0,
30
+ "protocol": "agent-protocol",
31
+ "dependencies": [],
32
+ "sharedResources": ["subagent-protocol-base", "task-system-integration"],
33
+ "compatibility": ["claude-code", "cursor", "windsurf", "gemini-cli"],
34
+ "license": "MIT",
35
+ "metadata": {}
36
+ },
37
+ {
38
+ "name": "ct-task-executor",
39
+ "description": "General implementation task execution for completing assigned CLEO tasks by following instructions and producing concrete deliverables. Handles coding, configuration, documentation work with quality verification against acceptance criteria and progress reporting.",
40
+ "version": "2.0.0",
41
+ "path": "skills/ct-task-executor/SKILL.md",
42
+ "references": [],
43
+ "core": true,
44
+ "category": "core",
45
+ "tier": 0,
46
+ "protocol": "implementation",
47
+ "dependencies": [],
48
+ "sharedResources": ["subagent-protocol-base", "task-system-integration"],
49
+ "compatibility": ["claude-code", "cursor", "windsurf", "gemini-cli"],
50
+ "license": "MIT",
51
+ "metadata": {}
52
+ },
53
+ {
54
+ "name": "ct-epic-architect",
55
+ "description": "Epic planning and task decomposition for breaking down large initiatives into atomic, executable tasks. Provides dependency analysis, wave-based parallel execution planning, hierarchy management, and research linking.",
56
+ "version": "3.0.0",
57
+ "path": "skills/ct-epic-architect/SKILL.md",
58
+ "references": ["skills/ct-epic-architect/references/bug-epic-example.md", "skills/ct-epic-architect/references/commands.md", "skills/ct-epic-architect/references/feature-epic-example.md", "skills/ct-epic-architect/references/migration-epic-example.md", "skills/ct-epic-architect/references/output-format.md", "skills/ct-epic-architect/references/patterns.md", "skills/ct-epic-architect/references/refactor-epic-example.md", "skills/ct-epic-architect/references/research-epic-example.md", "skills/ct-epic-architect/references/shell-escaping.md", "skills/ct-epic-architect/references/skill-aware-execution.md"],
59
+ "core": false,
60
+ "category": "recommended",
61
+ "tier": 1,
62
+ "protocol": "decomposition",
63
+ "dependencies": [],
64
+ "sharedResources": ["subagent-protocol-base", "task-system-integration"],
65
+ "compatibility": ["claude-code", "cursor", "windsurf", "gemini-cli"],
66
+ "license": "MIT",
67
+ "metadata": {}
68
+ },
69
+ {
70
+ "name": "ct-research-agent",
71
+ "description": "Multi-source research and investigation combining web search, documentation lookup via Context7, and codebase analysis. Synthesizes findings into actionable recommendations with proper citation and task traceability.",
72
+ "version": "2.0.0",
73
+ "path": "skills/ct-research-agent/SKILL.md",
74
+ "references": [],
75
+ "core": false,
76
+ "category": "recommended",
77
+ "tier": 1,
78
+ "protocol": "research",
79
+ "dependencies": [],
80
+ "sharedResources": ["subagent-protocol-base", "task-system-integration"],
81
+ "compatibility": ["claude-code", "cursor", "windsurf", "gemini-cli"],
82
+ "license": "MIT",
83
+ "metadata": {}
84
+ },
85
+ {
86
+ "name": "ct-spec-writer",
87
+ "description": "Technical specification writing using RFC 2119 language for clear, unambiguous requirements. Creates protocol specifications, technical requirements, API specifications, and architecture documents with testable requirements and compliance criteria.",
88
+ "version": "2.0.0",
89
+ "path": "skills/ct-spec-writer/SKILL.md",
90
+ "references": [],
91
+ "core": false,
92
+ "category": "recommended",
93
+ "tier": 1,
94
+ "protocol": "specification",
95
+ "dependencies": [],
96
+ "sharedResources": ["subagent-protocol-base", "task-system-integration"],
97
+ "compatibility": ["claude-code", "cursor", "windsurf", "gemini-cli"],
98
+ "license": "MIT",
99
+ "metadata": {}
100
+ },
101
+ {
102
+ "name": "ct-validator",
103
+ "description": "Compliance validation for verifying systems, documents, or code against requirements, schemas, or standards. Performs schema validation, code compliance checks, document validation, and protocol compliance verification with detailed pass/fail reporting.",
104
+ "version": "2.0.0",
105
+ "path": "skills/ct-validator/SKILL.md",
106
+ "references": [],
107
+ "core": false,
108
+ "category": "recommended",
109
+ "tier": 1,
110
+ "protocol": "validation",
111
+ "dependencies": [],
112
+ "sharedResources": ["subagent-protocol-base", "task-system-integration"],
113
+ "compatibility": ["claude-code", "cursor", "windsurf", "gemini-cli"],
114
+ "license": "MIT",
115
+ "metadata": {}
116
+ },
117
+ {
118
+ "name": "ct-dev-workflow",
119
+ "description": "Development workflow orchestration for task-driven development with atomic commits, conventional commit messages, and systematic release processes. Enforces task traceability, branch discipline, smart test scope selection, and GitHub Actions integration.",
120
+ "version": "3.0.0",
121
+ "path": "skills/ct-dev-workflow/SKILL.md",
122
+ "references": [],
123
+ "core": false,
124
+ "category": "specialist",
125
+ "tier": 2,
126
+ "protocol": "contribution",
127
+ "dependencies": [],
128
+ "sharedResources": ["subagent-protocol-base", "task-system-integration"],
129
+ "compatibility": ["claude-code", "cursor", "windsurf", "gemini-cli"],
130
+ "license": "MIT",
131
+ "metadata": {}
132
+ },
133
+ {
134
+ "name": "ct-documentor",
135
+ "description": "Documentation creation, editing, and review with CLEO style guide compliance. Coordinates specialized skills for lookup, writing, and review.",
136
+ "version": "3.0.0",
137
+ "path": "skills/ct-documentor/SKILL.md",
138
+ "references": [],
139
+ "core": false,
140
+ "category": "specialist",
141
+ "tier": 2,
142
+ "protocol": null,
143
+ "dependencies": ["ct-docs-lookup", "ct-docs-write", "ct-docs-review"],
144
+ "sharedResources": ["subagent-protocol-base", "task-system-integration"],
145
+ "compatibility": ["claude-code", "cursor", "windsurf", "gemini-cli"],
146
+ "license": "MIT",
147
+ "metadata": {}
148
+ },
149
+ {
150
+ "name": "ct-docs-lookup",
151
+ "description": "Context7 library documentation lookup. Use when configuring libraries, writing framework code, or looking up API references and version-specific docs.",
152
+ "version": "1.0.0",
153
+ "path": "skills/ct-docs-lookup/SKILL.md",
154
+ "references": [],
155
+ "core": false,
156
+ "category": "composition",
157
+ "tier": 2,
158
+ "protocol": null,
159
+ "dependencies": [],
160
+ "sharedResources": [],
161
+ "compatibility": ["claude-code", "cursor", "windsurf", "gemini-cli"],
162
+ "license": "MIT",
163
+ "metadata": {}
164
+ },
165
+ {
166
+ "name": "ct-docs-write",
167
+ "description": "Documentation writing with CLEO's conversational, clear, user-focused style. Use when creating, editing, or improving documentation files.",
168
+ "version": "1.0.0",
169
+ "path": "skills/ct-docs-write/SKILL.md",
170
+ "references": [],
171
+ "core": false,
172
+ "category": "composition",
173
+ "tier": 2,
174
+ "protocol": null,
175
+ "dependencies": [],
176
+ "sharedResources": [],
177
+ "compatibility": ["claude-code", "cursor", "windsurf", "gemini-cli"],
178
+ "license": "MIT",
179
+ "metadata": {}
180
+ },
181
+ {
182
+ "name": "ct-docs-review",
183
+ "description": "Documentation review against CLEO writing style guide. Supports local file review and GitHub PR review modes.",
184
+ "version": "1.0.0",
185
+ "path": "skills/ct-docs-review/SKILL.md",
186
+ "references": [],
187
+ "core": false,
188
+ "category": "composition",
189
+ "tier": 2,
190
+ "protocol": null,
191
+ "dependencies": [],
192
+ "sharedResources": [],
193
+ "compatibility": ["claude-code", "cursor", "windsurf", "gemini-cli"],
194
+ "license": "MIT",
195
+ "metadata": {}
196
+ },
197
+ {
198
+ "name": "ct-contribution",
199
+ "description": "Guided workflow for multi-agent consensus contributions including conflict detection, weighted consensus, and decision tracking.",
200
+ "version": "1.0.0",
201
+ "path": "skills/ct-contribution/SKILL.md",
202
+ "references": [],
203
+ "core": false,
204
+ "category": "specialist",
205
+ "tier": 2,
206
+ "protocol": "contribution",
207
+ "dependencies": [],
208
+ "sharedResources": ["subagent-protocol-base"],
209
+ "compatibility": ["claude-code", "cursor", "windsurf", "gemini-cli"],
210
+ "license": "MIT",
211
+ "metadata": {}
212
+ },
213
+ {
214
+ "name": "ct-grade",
215
+ "description": "Session grading for agent behavioral analysis. Evaluates session quality against CLEO protocol using a 5-dimension rubric to produce scores and diagnostic flags.",
216
+ "version": "1.0.0",
217
+ "path": "skills/ct-grade/SKILL.md",
218
+ "references": [],
219
+ "core": false,
220
+ "category": "specialist",
221
+ "tier": 2,
222
+ "protocol": null,
223
+ "dependencies": [],
224
+ "sharedResources": [],
225
+ "compatibility": ["claude-code", "cursor", "windsurf", "gemini-cli"],
226
+ "license": "MIT",
227
+ "metadata": {}
228
+ },
229
+ {
230
+ "name": "ct-skill-creator",
231
+ "description": "Guide for creating effective skills. Use when creating a new skill or updating an existing skill that extends agent capabilities.",
232
+ "version": "1.0.0",
233
+ "path": "skills/ct-skill-creator/SKILL.md",
234
+ "references": ["skills/ct-skill-creator/references/output-patterns.md", "skills/ct-skill-creator/references/workflows.md"],
235
+ "core": false,
236
+ "category": "meta",
237
+ "tier": 3,
238
+ "protocol": null,
239
+ "dependencies": [],
240
+ "sharedResources": [],
241
+ "compatibility": ["claude-code", "cursor", "windsurf", "gemini-cli"],
242
+ "license": "MIT",
243
+ "metadata": {}
244
+ }
245
+ ]
5
246
  }
@@ -59,6 +59,43 @@ Always check `success` and exit code values. Treat non-zero exit code as failure
59
59
 
60
60
  Agents MUST NOT provide hours/days/week estimates. Use `small`, `medium`, `large` sizing.
61
61
 
62
+ ## Session Quick Reference
63
+
64
+ | Goal | Operation | Gateway |
65
+ |------|-----------|---------|
66
+ | Check active session | `session status` | query |
67
+ | Resume context from last session | `session handoff.show` | query |
68
+ | Start working | `session start` (scope required) | mutate |
69
+ | Stop working | `session end` | mutate |
70
+
71
+ For advanced session ops (find, suspend, resume, debrief, decisions): see `.cleo/agent-outputs/T5124-session-decision-tree.md`
72
+
73
+ **Budget note**: `session list` defaults to 10 results (~500-2000 tokens). Prefer `session find` for discovery (~200-400 tokens).
74
+
75
+ ## Memory Protocol
76
+
77
+ CLEO includes a native BRAIN memory system. Use the 3-layer retrieval pattern for token-efficient access:
78
+
79
+ | Step | Operation | Gateway | ~Tokens | Purpose |
80
+ |------|-----------|---------|---------|---------|
81
+ | 1 | `memory brain.search` | query | 50/hit | Search index (IDs + titles) |
82
+ | 2 | `memory brain.timeline` | query | 200-500 | Context around an anchor ID |
83
+ | 3 | `memory brain.fetch` | query | 500/entry | Full details for filtered IDs |
84
+ | Save | `memory brain.observe` | mutate | — | Save observation to brain.db |
85
+
86
+ **Workflow**: Search first (cheap) → filter interesting IDs → fetch only what you need.
87
+
88
+ **Example**:
89
+ ```
90
+ cleo_query memory brain.search {query: "authentication"}
91
+ cleo_query memory brain.fetch {ids: ["O-abc123"]}
92
+ cleo_mutate memory brain.observe {text: "Found auth uses JWT", title: "Auth discovery"}
93
+ ```
94
+
95
+ **Anti-patterns:**
96
+ - Fetching all entries without searching first (expensive)
97
+ - Skipping brain.search and going straight to brain.fetch
98
+
62
99
  ## Escalation
63
100
 
64
101
  For deeper guidance beyond this minimal protocol:
@@ -10,7 +10,7 @@ Template files used by `init.sh` to initialize new projects with the CLEO task m
10
10
  | `archive.template.json` | `.cleo/todo-archive.json` | Completed tasks archive (immutable after archival) |
11
11
  | `log.template.json` | `.cleo/todo-log.json` | Append-only change log for audit trail |
12
12
  | `config.template.json` | `.cleo/config.json` | Project configuration (archive, validation, display settings) |
13
- | `AGENT-INJECTION.md` | CLAUDE.md, AGENTS.md, GEMINI.md | Default injection template (works with any CLI agent instructions doc) |
13
+ | `CLEO-INJECTION.md` | AGENTS.md (via `@~/.cleo/templates/CLEO-INJECTION.md`) | Global injection template for task management protocol |
14
14
 
15
15
  ## Placeholder Contract
16
16
 
@@ -70,10 +70,10 @@ ajv validate -s "$TODO_DIR/schemas/todo.schema.json" -d "$TODO_DIR/todo.json"
70
70
  - Placeholders: NONE
71
71
  - Schema: `../schemas/config.schema.json`
72
72
 
73
- ### AGENT-INJECTION.md
74
- - Contains: concise CLEO CLI instructions with session protocol
73
+ ### CLEO-INJECTION.md
74
+ - Contains: CLEO protocol instructions with MCP-first operations and session protocol
75
75
  - Placeholders: NONE
76
- - Usage: Default injection template for CLAUDE.md (or any agent doc via --target flag)
76
+ - Usage: Global injection template referenced from AGENTS.md via `@~/.cleo/templates/CLEO-INJECTION.md`
77
77
 
78
78
  ## Schema Path Rewriting
79
79
 
@@ -26,24 +26,16 @@
26
26
  !setup-otel.sh
27
27
  !DATA-SAFETY-IMPLEMENTATION-SUMMARY.md
28
28
 
29
- # Step 4: Allow schemas directory
30
- !schemas/
31
- !schemas/**
32
-
33
- # Step 5: Allow templates directory
34
- !templates/
35
- !templates/**
36
-
37
- # Step 6: Allow ADRs directory (architecture decisions — project-level, not CLEO-specific)
29
+ # Step 4: Allow ADRs directory (architecture decisions — project-level, not CLEO-specific)
38
30
  !adrs/
39
31
  !adrs/**
40
32
 
41
- # Step 7: Allow RCASD lifecycle provenance directory
33
+ # Step 5: Allow RCASD lifecycle provenance directory
42
34
  # Structure: rcasd/{epic#}/research/, consensus/, architecture/, specs/, contributions/
43
35
  !rcasd/
44
36
  !rcasd/**
45
37
 
46
- # Step 8: Allow agent-outputs directory
38
+ # Step 6: Allow agent-outputs directory
47
39
  !agent-outputs/
48
40
  !agent-outputs/**
49
41
 
@@ -20,7 +20,7 @@ if [ -n "$BAD_FILES" ]; then
20
20
  fi
21
21
 
22
22
  # ── 2. Core file gitignore protection ─────────────────────────────────
23
- PROTECTED_FILES=".cleo/tasks.db .cleo/config.json .cleo/.gitignore .cleo/project-info.json .cleo/project-context.json"
23
+ PROTECTED_FILES=".cleo/config.json .cleo/.gitignore .cleo/project-info.json .cleo/project-context.json"
24
24
  IGNORED_CORE=""
25
25
 
26
26
  for f in $PROTECTED_FILES; do