Cq — Development skill for Claude Code
An open standard for shared agent learning.
How to install Cq
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open mozilla-ai/cq and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Cq does
An open standard for shared agent learning. Agents persist, share, and query collective knowledge so they stop rediscovering the same failures independently.
Alternatives in Development
- Fix Cookbook Recipe — Fix Cookbook Recipe Validation Failures 2.1k ★
- Zeroshot — Runs coding agents as a graph: one agent implements, independent agents review, failures go to repair, and not 1.9k ★
- Analyze Cluster Postmortem — Postmortem analysis of cluster failures → OPTIMIZE PROMPTS to work for EVERY use case 1.7k ★
README
cq
**Status: 0.x** — expect breaking changes. See [DEVELOPMENT.md](DEVELOPMENT.md#status) for migration guides.
An open standard for shared agent learning — structured knowledge that prevents AI agents from repeating each other's mistakes.
The term **cq** is derived from two sources: *colloquy* (/ˈkɒl.ə.kwi/), a structured exchange of ideas where understanding emerges through dialogue rather than one-way output, and **CQ**, a radio call sign ("any station, respond"), capturing the same model: open invitation, response, and collective signal built through interaction. Both capture the same idea: agents broadcasting what they've learned and listening for what others already know.
For the full documentation, visit [docs.mozilla.ai/cq](https://docs.mozilla.ai/cq).
Installation
Install the [cq CLI](cli/README.md#installation) (via Homebrew, Scoop, or GitHub Releases), then install into your coding agent:
cq install --target
| Agent | Target |
|---|---|
| Claude | claude |
| Codex | codex |
| Copilot | copilot |
| Cursor | cursor |
| Devin Desktop | devin-desktop |
| OpenCode | opencode |
| Pi | pi |
Install into multiple hosts at once by repeating `--target`.
For per-host config paths, flags, remote-server setup, and Windows locations, see [the installation guide](docs/install.md).
Once installed, follow the [Quickstart](docs/quickstart.md) to verify it works and add your first knowledge unit.
How cq works in practice
You typically do not propose knowledge units manually. cq works through two agent workflows:
Skill-guided query/propose workflow
When your agent starts a task or encounters an error, the cq skill directs the agent to query the knowledge store before the agent retries.
If another agent has already solved this problem, your agent gets the relevant guidance immediately,
Related Skills
Hv Query
Query hAIveMind collective knowledge and specialized agent expertise
IDEA.Md
IDEA.md — A standard file for portable idea intent in agentic software work. Share the idea, not the code. You
Creating Skills
How to create, update, and manage your own skill files to persist knowledge and workflows as reusable referenc
Write Back Discipline
Skill governing when and how to persist useful outputs back into the knowledge base instead of leaving them on
Autonomous Lesson Learning
Start an autonomous loop that recalls stored lessons before each iteration and saves or reinforces lessons on
Hearmemory
Shared memory for multi-agent coding: subagents and Codex/Claude Code/Cursor hand-offs share one project memor
Related Agents
Knowledge Synthesizer
Expert knowledge synthesizer specializing in extracting insights from multi-agent interactions, identifying pa
Multi Agent Coordinator
Use when you need to plan how multiple concurrent subagents should communicate, sequence their work, share sta
Followup Synthesizer
Reads the OPEN follow-up ledger with fresh eyes and proposes ROOT-CAUSE FOLDS — sets of symptom follow-ups tha