Compozy Reference Guide

SkillAI & models

Explains Compozy capabilities, CLI commands, core workflow skills, optional extension skills, configuration, artifact structure, reusable agents, and extensions. Use when the user asks how to use Compozy, what commands are available, how the workflow pipeline works, or how to configure a workspace. Do not use for executing workflow steps — use the specific cy- skills instead.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Compozy Reference Guide skill

What this skill tells your AI

The instructions your AI receives, as published by compozy/kb in .agents/skills/compozy/SKILL.md and read by ahel’s review.

Comprehensive reference for the Compozy CLI and its AI-assisted development workflow.

What Is Compozy

Compozy is a Go CLI that orchestrates the full lifecycle of AI-assisted development. It covers product ideation, technical specification, task decomposition, automated execution via AI coding agents, and PR review remediation.

Key characteristics:

  • Agent-agnostic. Supports claude, codex, copilot, cursor-agent, droid, gemini, opencode, and pi as ACP runtimes.
  • Skills-based. Bundled skills (installed via compozy setup) teach agents how to execute each workflow phase.
  • Artifact-driven. Planning and review artifacts live as markdown under .compozy/tasks/<slug>/, versioned alongside the codebase.
  • Daemon-backed runtime. A home-scoped daemon owns run state, workspace registration, snapshots, streams, and the synced global.db catalog under ~/.compozy/.
  • Single binary, local-first. The daemon is launched from the same binary; there are no external control planes.

Workflow Pipeline Overview

The standard development pipeline follows these phases in order. Each phase produces artifacts consumed by the next.

  1. Setup -- compozy setup installs core skills into target agents plus any setup assets shipped by enabled extensions.
  2. Ideation (optional) -- install and enable the first-party cy-idea-factory extension, run compozy setup, then use /cy-idea-factory to expand a raw idea into a structured, research-backed spec at .compozy/tasks/<slug>/_idea.md.
  3. Requirements -- /cy-create-prd creates a business-focused Product Requirements Document at .compozy/tasks/<slug>/_prd.md with ADRs.
  4. Technical Design -- /cy-create-techspec translates the PRD into a technical specification at .compozy/tasks/<slug>/_techspec.md with ADRs.
  5. Task Decomposition -- /cy-create-tasks breaks down the PRD and TechSpec into independently implementable task files (task_01.md, task_02.md, etc.) and a canonical task graph manifest at _tasks.md.
  6. Execution -- compozy tasks run <slug> --ide <runtime> dispatches task files to the configured AI agent for implementation. Use --parallel-tasks to run one workflow by dependency waves from _tasks.md graph edges.
  7. Review -- /cy-review-round (manual AI review) or compozy reviews fetch <slug> --provider coderabbit --pr <N> (external provider) produces review issue files under reviews-NNN/.
  8. Remediation -- compozy reviews fix <slug> processes review issues, triages, fixes, and verifies each one.
  9. Archive -- compozy archive --name <slug> moves fully completed workflows to .compozy/tasks/_archived/.

Repeat phases 7-8 until the review is clean, then merge.

digraph compozy_pipeline {
    "compozy setup" [shape=box];
    "/cy-idea-factory (optional)" [shape=box];
    "/cy-create-prd" [shape=box];
    "/cy-create-techspec" [shape=box];
    "/cy-create-tasks" [shape=box];
    "compozy tasks run" [shape=box];
    "Review (manual or provider)" [shape=box];
    "compozy reviews fix" [shape=box];
    "Reviews clean?" [shape=diamond];
    "compozy archive" [shape=doublecircle];

    "compozy setup" -> "/cy-idea-factory (optional)";
    "/cy-idea-factory (optional)" -> "/cy-create-prd";
    "/cy-create-prd" -> "/cy-create-techspec";
    "/cy-create-techspec" -> "/cy-create-tasks";
    "/cy-create-tasks" -> "compozy tasks run";
    "compozy tasks run" -> "Review (manual or provider)";
    "Review (manual or provider)" -> "compozy reviews fix";
    "compozy reviews fix" -> "Reviews clean?";
    "Reviews clean?" -> "Review (manual or provider)" [label="no"];
    "Reviews clean?" -> "compozy archive" [label="yes"];
}

For a detailed step-by-step walkthrough of each phase, read references/workflow-guide.md.

CLI Commands Quick Reference

CommandPurposeKey Flags
Setup & Config
compozy setupInstall core skills and enabled extension assets--agent, --skill, --global, --copy, --list, --all, --yes
compozy upgradeUpdate CLI to latest release
Workflow Execution
compozy daemonManage the home-scoped daemon lifecyclestart, status, stop
compozy workspacesInspect and manage daemon workspace registrationslist, show, register, unregister, resolve
compozy tasks runExecute PRD task files through the daemon--name, --multiple, --parallel, --parallel-limit, --parallel-tasks, --recursive / -r, --attach, --ui, --stream, --detach, --task-runtime
compozy execExecute an ad hoc prompt--agent, --format, --prompt-file, --tui, --persist, --run-id
compozy runsAttach, watch, and purge daemon-managed runsattach, watch, purge
Review
compozy reviews fetchFetch provider review comments--provider, --pr, --name, --round
compozy reviews fixProcess review issue files--name, --round, --concurrent, --batch-size, --ide
Utilities
compozy tasks validateValidate task file metadata--name, --tasks-dir, --format
compozy syncReconcile workflow artifacts into daemon global.db--name, --root-dir, --tasks-dir
compozy archiveMove daemon-eligible completed workflows to archive--name, --root-dir, --tasks-dir
compozy migrateConvert legacy artifacts to frontmatter--name, --dry-run, --reviews-dir
Agent Management
compozy agents listList resolved reusable agents
compozy agents inspectView agent definition and defaults<name>
Extensions
compozy ext listList extensions
compozy ext inspectView extension details<name>
compozy ext installInstall an extension from a local path or GitHub repo archive<source>, --remote, --ref, --subdir
compozy ext uninstallRemove an extension<name>
compozy ext enable/disableToggle extension<name>
compozy ext doctorDiagnose extension issues

Common flags shared by tasks run, exec, and reviews fix: --ide, --model, --reasoning-effort, --add-dir, --auto-commit, --dry-run.

For complete flag documentation, read references/cli-reference.md.

Core Skills Summary

SkillTriggerWhen To UseDo Not Use For
cy-create-prd/cy-create-prdBuilding a Product Requirements DocumentTechSpec, task breakdown, coding
cy-create-techspec/cy-create-techspecTranslating PRD into technical designPRD creation, task execution
cy-create-tasks/cy-create-tasksDecomposing PRD+TechSpec into task filesExecution, review
cy-execute-task(internal)Executing a single PRD task (called by compozy tasks run)Direct invocation, review work
cy-review-round/cy-review-roundPerforming comprehensive code reviewFetching external reviews, fixing
cy-fix-reviews(internal)Remediating review issues (called by compozy reviews fix)Fetching reviews, task execution
cy-final-verify/cy-final-verifyEnforcing verification before completion claimsEarly planning, brainstorming
cy-workflow-memory(internal)Maintaining cross-task workflow memoryPR reviews, user preferences
compozy/compozyLearning how to use CompozyExecuting workflow steps

Optional Extension Skills

SkillTriggerWhen To UseInstall Flow
cy-idea-factory/cy-idea-factoryRaw feature idea needs structured exploration before a PRDcompozy ext install --yes compozy/compozy --remote github --ref <tag> --subdir extensions/cy-idea-factory -> compozy ext enable cy-idea-factory -> compozy setup

For detailed skill descriptions and inputs/outputs, read references/skills-reference.md.

Artifact Directory Structure

.compozy/
  config.toml                          # Workspace configuration
  tasks/
    <slug>/                            # One directory per workflow
      _idea.md                         # Idea spec (from cy-idea-factory)
      _prd.md                          # Product Requirements Document
      _techspec.md                     # Technical Specification
      _tasks.md                        # Task graph manifest
      task_01.md ... task_N.md         # Individual task files
      adrs/
        adr-001.md ... adr-NNN.md      # Architecture Decision Records
      reviews-NNN/
        issue_001.md ... issue_N.md    # Review issues with round metadata in frontmatter
      memory/
        MEMORY.md                      # Shared workflow memory
        task_01.md ... task_N.md       # Per-task memory
    _archived/
      <timestamp>-<slug>/             # Archived completed workflows
  agents/
    <name>/                            # Workspace-scoped reusable agents
      AGENT.md                         # Agent definition
      mcp.json                         # Optional MCP server config
  extensions/                          # Workspace-scoped extensions

Global paths:

  • ~/.compozy/agents/<name>/ -- global reusable agents (workspace overrides global)
  • ~/.compozy/extensions/ -- user-scoped extensions
  • ~/.compozy/runs/<run-id>/ -- daemon-managed run artifacts and persisted exec sessions
  • ~/.compozy/global.db -- daemon workspace, workflow, task, and review catalog

Configuration

Workspace defaults live in .compozy/config.toml. CLI flags always override config values.

[defaults]
ide = "claude"
model = "opus"
auto_commit = true
reasoning_effort = "high"
add_dirs = ["../shared-lib"]

[tasks]
types = ["frontend", "backend", "docs", "test", "infra", "refactor", "chore", "bugfix"]

[tasks.run]
include_completed = false
recursive = false

[fix_reviews]
concurrent = 2
batch_size = 3

[fetch_reviews]
provider = "coderabbit"
nitpicks = false

[exec]
verbose = false
tui = false
persist = false

For all fields, types, and defaults, read references/config-reference.md.

Reusable Agents and the Council Pattern

Reusable agents are standalone personas that can be invoked via compozy exec --agent <name> or referenced by skills through run_agent.

Discovery order: workspace (.compozy/agents/<name>/) overrides global (~/.compozy/agents/<name>/).

Agent definition: Each agent has an AGENT.md with YAML frontmatter (title, description) and optional mcp.json for MCP server configuration.

Council agents shipped by the optional cy-idea-factory extension:

AgentPerspective
pragmatic-engineerExecution-focused, delivery speed, maintenance burden
architect-advisorLong-term system coherence, boundaries, coupling
security-advocateAttack vectors, compliance, data protection
product-mindUser impact, business value, opportunity cost
devils-advocateChallenges assumptions, surfaces risks, stress-tests
the-thinkerCross-domain patterns, structural reframing

Install flow: compozy ext install --yes compozy/compozy --remote github --ref <tag> --subdir extensions/cy-idea-factory -> compozy ext enable cy-idea-factory -> compozy setup.

The cy-idea-factory skill uses these agents in a council debate to challenge feature scope and surface risks. The council skill can also orchestrate multi-advisor debates on demand.

Management commands: compozy agents list, compozy agents inspect <name>.

Extensions

Executable plugins that extend Compozy at runtime via JSON-RPC 2.0 on stdin/stdout.

  • Three scopes: bundled (shipped with Compozy), user (~/.compozy/extensions/), workspace (.compozy/extensions/). Workspace overrides user overrides bundled.
  • Disabled by default. Enable explicitly with compozy ext enable <name> or --extensions flag on exec.
  • Capabilities: lifecycle observation, prompt decoration, plan injection, agent session modification, review provider registration.
  • SDKs: TypeScript (@compozy/extension-sdk), Go (sdk/extension).
  • Scaffolding: npx @compozy/create-extension generates extension boilerplate.

Management: compozy ext list, compozy ext inspect <name>, compozy ext install <source>, compozy ext uninstall <name>, compozy ext enable/disable <name>, compozy ext doctor.

Common Patterns

  • Run compozy setup before starting any workflow to ensure core skills and enabled extension assets are installed.
  • Follow the pipeline in order: idea (optional) -> PRD -> TechSpec -> Tasks -> Execution -> Review -> Fix.
  • Configure workspace defaults in .compozy/config.toml to reduce repetitive CLI flags.
  • Run compozy tasks validate --name <slug> before compozy tasks run to catch metadata issues early.
  • Use compozy archive to clean up fully completed workflows and keep the tasks directory focused.
  • Use compozy exec --agent <name> for ad hoc prompts with a specific advisor perspective.
  • Use compozy exec --persist to save session artifacts for later resumption with --run-id.

Anti-Patterns

  • Skipping pipeline stages. Running compozy tasks run without a PRD and task files produces poor results.
  • Invoking cy-execute-task directly. Use compozy tasks run, which handles dispatch, sequencing, memory, and tracking.
  • Mixing workflow skills out of order. Running /cy-create-tasks without a PRD and TechSpec leads to shallow task decomposition.
  • Editing task file frontmatter manually. Use compozy migrate or compozy tasks validate to fix metadata issues programmatically.
  • Confusing skills with CLI commands. Skills (slash commands like /cy-create-prd) run inside an agent session. CLI commands (compozy tasks run) run in the terminal.
  • Skipping verification. Always use cy-final-verify before claiming task completion or creating commits.

Signals

GitHub stars
108
Forks
8
Last commit
Aug 2026
Advanced
Catalog kind
skill
Gateway key
compozy-compozy
Source
github.com/compozy/kb