create-rule
Create Cursor rules for persistent AI guidance. Use when the user wants to create a rule, add coding standards, set up project conventions, configure…
Persistent project goal that survives across sessions and tools, with continuous-execution loop semantics. Use when someone asks to "set a goal", "what is my goal", "goal status", "keep working on X until done", "resume the goal", or wants work to continue across sessions until
$ npx -y skills add coco-research/coco --skill goal --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/goalContext preview
The summary Claude sees to decide when to auto-load this skill.
Persistent project goal that survives across sessions and tools, with continuous-execution loop semantics. Use when someone asks to "set a goal", "what is my goal", "goal status", "keep working on X until done", "resume the goal", or wants work to continue across sessions until
name: goal description: Persistent project goal that survives across sessions and tools, with continuous-execution loop semantics. Use when someone asks to "set a goal", "what is my goal", "goal status", "keep working on X until done", "resume the goal", or wants work to continue across sessions until an objective is achieved. File-backed (.goal.md at project root); shared by every Coco-installed tool working in that repository. domain: meta
A goal is a single objective the agent keeps pursuing across turns and sessions until it is marked done. Inspired by Prime Agent's thread goal: state lives outside any one conversation, so any tool with this skill installed (Claude Code, Cursor, Codex, ...) picks up where another left off.
One file per project: `.goal.md` in the repository root. Human-readable and human-editable on purpose — pause, resume, edit, and clear are controlled by the user editing the file directly.
--- objective: Ship release notes for v2.3 status: active # active | paused | done created: 2026-08-22 --- ## Progress - 2026-08-22 14:02 — drafted changelog from git log
Optional sections the loop reads if present: `## Queue` (ordered work items), `## Standing constraints` (owner-set rules that bind every session), `## Decisions` (recorded owner calls — binding, never re-litigated), `## Done criteria`.
objective, status, and latest progress entries when asked about goal status.
date. If an `active` goal already exists, do NOT silently replace it; show it and ask whether to complete, pause, or replace. Only create a goal when the user explicitly asks for a persistent goal; do not infer goals from ordinary tasks.
meaningful work session toward the goal. Keep notes short and factual.
been achieved and no required work remains — not because the session is ending or momentum ran out.
At the start of a session in a repo containing `.goal.md`:
LOOP below before starting unrelated work.
An active goal with remaining actionable items means you run a LOOP, not a single pass. One iteration:
1. **Resume** — read `.goal.md` plus the newest handoff document it references (typically under `docs/plans/`). Verify recorded receipts against reality (HEAD sha, merged PRs, live state) before trusting them. 2. **Pick** the highest-priority item that is actionable right now — from the Queue, the referenced workorder, or the handoff's "exact next action". 3. **Journal before acting** — append `TODO <task>` to `## Progress`. If the session dies here, a successor knows precisely what was attempted. 4. **Execute** — do the work. Run the real gates. Commit/PR per whatever authority the goal grants (e.g., self-review-and-merge if so recorded). 5. **Journal after** — append `DONE <task> — <receipt>` immediately. Receipt = commit sha, PR number, test counts, or posted artifact. No receipt, not done. 6. **Repeat** from step 2 while an actionable item remains and no STOP condition applies.
Never end a turn with actionable items outstanding unless a STOP condition fired. "Momentum ran out" is not a stop condition.
connections — are NEVER stop conditions. Retry with backoff (≈30s → 60s → 120s, cap ~5 attempts). If one dependency stays down, journal `BLOCKED <item> — <reason>`, switch to the next non-dependent actionable item, and circle back.
an interrupted session loses nothing. On resume, a task with TODO and no DONE is simply not started yet — verify no half-committed debris, then restart it.
a failing external service gets routed around; neither ends the loop.
treated as regressions — but always rerun isolated before concluding that.
1. **Done** — goal achieved; call `complete()`. 2. **Blocked on owner** — every remaining item needs an answer only the owner can give. Post the questions (one line each), mark items BLOCKED/DEFERRED, update `.goal.md`, stop with a clear summary of what you need. 3. **Context limit approaching** — write the handoff document (see Handoff), append the final Progress line, stop cleanly. 4. **Repeated hard failure** — ≥3 consecutive unrecoverable failures across DIFFERENT items (not retries of one) → write an incident note into Progress and the handoff, stop, report to owner.
Everything else — API flakiness, slow builds, flaky tests, waiting on a local service — is worked through or routed around.
If the repo keeps committed plan/handoff documents (e.g., `docs/plans/`), the graceful exit is: write/update the handoff file containing exact HEAD sha, PRs landed this session, current queue position, receipts, known gotchas, and the exact next action — then append the final Progress line to `.goal.md`, then stop. Ending a session without those two writes is a defect: the successor must be able to resume from `.goal.md` + the latest handoff alone.
goal state only in conversa
CoCo Super Intelligence is the orchestration layer that turns Claude Code, Cursor, or Codex into an engineering department: a routed advisory board, 226 skills, 386 commands, persistent state. Local. Open-core — MIT core; Super Intelligence is proprietary, own-use.
Repo: coco-research/coco
Create Cursor rules for persistent AI guidance. Use when the user wants to create a rule, add coding standards, set up project conventions, configure…
Guides users through creating effective Agent Skills for Cursor. Use when the user wants to create, write, or author a new skill, or asks about skill…
Create custom subagents for specialized AI tasks. Use when the user wants to create a new type of subagent, set up task-specific agents, configure code…
Convert 'Applied intelligently' Cursor rules (.cursor/rules/*.mdc) and slash commands (.cursor/commands/*.md) to Agent Skills format (.cursor/skills/). Use…
Modify Cursor/VSCode user settings in settings.json. Use when the user wants to change editor settings, preferences, configuration, themes, font size, tab…
Train and optimize AI agents using Microsoft's Agent Lightning framework with reinforcement learning. Use when setting up agent training, instrumenting agents…