Comet is a resumable workflow and skill platform for coding tasks, covering requirements work as well as skill creation, evaluation, and release. It supports separate Native and Classic workflows and can coordinate implementation and verification across isolated Git worktrees. The catalogue contains skills and instructions that implement Comet-related workflows.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/rpamis/comet/comet-designnpx skills add rpamis/comet --skill comet-designgit clone --depth 1 https://github.com/rpamis/cometWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/rpamis/comet/comet-design)<a href="https://agentmods.dev/skills/rpamis/comet/comet-design"><img src="https://agentmods.dev/badge/skills/rpamis/comet/comet-design.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00024 | $0.03267 |
| Opus 5 | $0.00012 | $0.01633 |
| Sonnet 5 | $0.00005 | $0.00653 |
| Haiku 4.5 | $0.00002 | $0.00327 |
Grade A, and why
comet-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 265 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Comet 阶段 2:深度设计(Design)
开始或恢复前必须先读取并执行 comet-classic/reference/classic-layout.md;本文件中的 OpenSpec CLI 调用必须使用 adapter,文件路径必须使用该协议绑定的 <classic-*> 逻辑根。
前置条件
- 活跃 change 已存在(proposal.md、design.md、tasks.md)
- 无 Design Doc(
docs/superpowers/specs/下无对应文件)
职责边界:open 阶段的
design.md给出高层方案框架(架构决策方向、方案选型、数据流);design 阶段的 Design Doc 是对它的深度技术细化(详细实现设计、技术风险、测试策略、边界条件),是深化而非替代或重写。
步骤
0. 入口状态验证(Entry Check)
按 comet-classic/reference/scripts.md 运行公开 Comet CLI 命令,然后执行入口验证;从任意入口恢复时先按 comet-classic/reference/context-recovery.md 运行恢复检查:
comet state select <change-name>
comet state check <name> design
验证通过后继续 Step 1。验证失败时脚本会输出具体失败原因。
幂等性:所有 design 阶段操作可以安全重试。如果 handoff_context 和 handoff_hash 已存在,先确认它们与当前产物一致再决定是否重新生成。
1a. 生成 OpenSpec → Superpowers 交接包
必须由脚本生成,不允许 agent 临场手写 summary 代替。
comet handoff <change-name> design --write
脚本会根据 change .comet.yaml 的 context_compression 快照生成并记录交接包。
默认 context_compression: off 时生成:
<classic-change-dir>/.comet/handoff/design-context.json
<classic-change-dir>/.comet/handoff/design-context.md
启用 beta(项目 .comet/config.yaml 中 classic.context_compression: beta,创建 change 时快照进入 .comet.yaml)时生成:
<classic-change-dir>/.comet/handoff/spec-context.json
<classic-change-dir>/.comet/handoff/spec-context.md
并在 .comet.yaml 写入:
handoff_context: <classic-change-dir>/.comet/handoff/design-context.json
handoff_hash: <sha256>
默认交接包是 compact 可追溯摘录,不是 agent summary:
design-context.json:机器索引,包含 change、phase、canonical spec、source paths、hashdesign-context.md:供 Superpowers 阅读的上下文,包含脚本标记、source path、line range、sha256、确定性摘录- 超出摘录预算时标记
[TRUNCATED],并保留 Full source 路径
beta 交接包是 结构化 spec projection,用于减少 OpenSpec 原文 token 占用但避免实现漂移:
spec-context.json:机器索引,包含 change、phase、mode=beta、source paths、context_hash、files 角色spec-context.md:供 Superpowers 阅读的紧凑上下文,verbatim 投影 delta spec 文件并按 hash 引用支撑产物- OpenSpec delta spec 仍是 canonical spec;projection 缺失或过期时必须重新生成或读取源 spec,不得用 agent summary 替代
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 265 lines · 24 tokens per session scan A de891cd07a75
comet-design is a skill published in the GitHub repository rpamis/comet (2,914 stars, last pushed yesterday), licensed MIT. It adds 24 tokens to every session and 3,267 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
agent-spec-tool-first
CRITICAL: Use for agent-spec CLI tool workflow. Triggers on: agent-spec, contract, lifecycle, guard, verify, explain, stamp, checkpoint, plan, requirements, work-units, knowledge requirements, KLL, docs vs knowledge, spec verification, task contract, spec quality, lint spec, run log, "how to verify", "how to use…
agent-spec-authoring
CRITICAL: Use for writing and editing agent-spec .spec/.spec.md files. Triggers on: write spec, create spec, edit spec, new spec, spec authoring, task contract, .spec file, .spec.md file, BDD scenario, acceptance criteria, completion criteria, test selector, boundary, constraint, intent, decision, out of scope, "how…
agent-spec-estimate
CRITICAL: Use for estimating work effort from agent-spec Task Contracts. Triggers on: estimate, estimation, how long, work effort, round count, time estimate, scope, sizing, cost, budget, planning, sprint, capacity, "how many rounds", "how long will this take", "estimate this spec", 估算, 工作量, 多久, 时间估算, 预估, 工时, 规模…
agent-spec-intent-compiler
Use when converting PRD or issue prose into KLL requirements, running the intent compiler plan, or reverse-interviewing a human to resolve requirement ambiguity before task spec generation.
push-ci
Push to remote and monitor CI. Validates branch safety, executes git push WITH explicit user approval, then monitors CI run status via gh CLI. Use when: user says 'push', 'push and watch CI', 'ship it', 'push-ci'. Not for: committing (use /smart-commit), creating PRs (use /create-pr), merging (use /merge-prep).
codex-setup
Initialize sd0x-dev-flow infrastructure for Codex CLI and other non-Claude agents. Generates AGENTS.md, installs the commit-msg hook, copies runner scripts. The pre-push gate is opt-in via --with-push-gate. Use when setting up a new project or after updating skills.