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 skills add rpamis/comet --skill comet-tweakgit 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-tweak)<a href="https://agentmods.dev/skills/rpamis/comet/comet-tweak"><img src="https://agentmods.dev/badge/skills/rpamis/comet/comet-tweak/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/rpamis/comet/comet-tweak"><img src="https://agentmods.dev/badge/skills/rpamis/comet/comet-tweak.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high YARA Match · line 3 YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
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.1 | $0.00040 | $0.01797 |
| Opus 5.5 | $0.00016 | $0.00719 |
| Sonnet 5.5 | $0.00008 | $0.00359 |
| Haiku 4.5 | $0.00004 | $0.00180 |
Grade A, and why
comet-tweak 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 — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Comet 预设路径:Tweak
开始或恢复任务前,必须先读取并遵守 comet-classic/reference/classic-layout.md。本文件中的 OpenSpec CLI 调用必须通过适配器执行,文件路径必须基于该协议绑定的 <classic-*> 逻辑根目录。
Tweak 为 Comet 五阶段流程提供一组预设配置。它通过 OpenSpec 完成需求与实施工作,复用 open、build、verify、archive 阶段,跳过 Superpowers brainstorming 和完整实施计划,不另建一套独立流程。
适用于配置调整、文档或提示词优化等轻量改动,也适用于需要依据 spec(含 delta spec)实施、但不需要完整 /comet-classic 深度设计的中等变更。Tweak 正常支持 delta spec,不能仅因为需要 delta spec 就要求升级流程。
适用条件(必须全部满足):
- 可以在单个 OpenSpec change 中完成
- 无需通过 Superpowers Design Doc 和完整实施计划,就能明确方案
- 不涉及跨模块、跨层级的架构协调
- 任务规模可预估(文件数和任务数仅作提示,不会自动要求升级,见 SDK 方法参考的预设范围复核)
不适用:变更过程中如发现 SDK 方法参考的预设范围复核列出的变化,需要由用户决定是否改用完整 /comet-classic 流程。
首次进入阶段、交接给新 Agent 或上下文恢复后,读取并执行 任务上下文与产物语言,优先采用当前 continuation 或已领取 Action 的 contextRequest;同一阶段连续执行不重复获取。
个人记忆只保存可复用用户信息,不写入任务摘要、进展、命令输出或测试结果。
SDK Run 路径
先读取并执行普通命令与检查。新旧 Run 均使用平台工具执行普通命令,在原 Run 提交实际检查报告;自动升级不恢复旧检查执行器。阶段准备、用户选择、任务完成和验收要求继续有效。
首次进入当前 SDK 阶段、换 Agent 或恢复上下文时,读取阶段入口与恢复及该参考的当前阶段章节;本会话已有且仍有效时直接复用。下文按当前阶段执行;nextAction.kind 的恢复路由只适用于没有 continuation mode 的旧响应。
开始或恢复时,优先复用当前有效结果中的 agent.continuation / data.nextAction 及已绑定的 change、工作区、phase 和 Run revision,按已知的 data.runtimeFormat 路由。只有冷恢复、外部状态变化或缺少这些信息时,才运行 comet state next <change-name> --json。sdk 只按本节推进;SDK 方法参考的适用条件、OpenSpec apply 方法、升级判定和文件数授权规则仍适用,状态与证据通过本节命令提交。若 nextAction.kind 为 reconcile,运行 comet state check <change-name> <phase> --recover --json 核对原 Action;结果未明时不重做实现、检查或归档。
- 新建时先按 工作区选择 确定隔离方式,运行
comet classic workspace prepare <name> --isolation <selected-isolation> --json,进入返回的projectRoot,先按 开始与产物 创建 OpenSpec 基础目录,再运行comet state init <name> tweak --isolation <selected-isolation> --select --json初始化并绑定 Hook 路由。按 SDK 方法参考的开始与产物章节创建 OpenSpec 产物,包括本次确需的 delta spec;运行comet guard <change-name> open --json预览确认内容,保存返回的data.approvalHash。向用户展示本次 Open 产物与范围,获得明确批准后,运行comet guard <change-name> open --apply --approval-hash <approvalHash>。产物变化后必须重新预览并确认,不复用旧哈希。只有 Run 进入 Build,Open 才完成。 tweak.build.execute待执行时,沿用本次 change、工作区和 Run,直接恢复 Build,不重新初始化或重跑 Open。按 SDK 方法参考的预设范围复核章节的 OpenSpec apply 方法读取指令与上下文,逐项实施并勾选同一 tasks.md。出现实质升级信号或文件数超限且无有效授权时,先运行comet state propose-escalation <change-name> --reason "<reason>";向用户展示当前原因和继续 tweak / 升级 full 的影响,并保存返回的data.wait.proposalHash。用户明确选择后运行comet state decide-escalation <change-name> --proposal-hash <proposalHash> --choice <continue|upgrade>。continue仍须满足 SDK 方法参考的范围、风险与 ruling 要求;upgrade在同一个 Run 和工作区进入 full Design,立即按入口加载 comet-design。恢复待决定 Wait 时复用原提案,不重新提案或替用户选。- 所有任务完成、必要检查与审查完成且仍适合当前预设时,运行
comet state complete-build <change-name> --session <builder-execution-ref> --checks <checks-json-file>提交实际结果。此处没有新的用户决定;Runtime 核对当前任务、配置、工作区和报告后进入 Verify。失败或结果未明时按返回的当前 Action 核对原任务,不重复执行。 - Run 进入 Verify 时,立即执行: 使用 Skill 工具加载 comet-verify 技能。禁止跳过此步骤。若有 delta spec,按 SDK 方法参考的完整验证方法覆盖其一致性,不调用旧
state set verify_mode。Run 进入 Archive 时,立即执行: 使用 Skill 工具加载 comet-archive 技能。禁止跳过此步骤。归档和交付仍须获得用户当前授权;当前成功结果显示 Run 完成后才能宣告完成;缺少完成状态时再读state next --json。
What ships with it
2 files 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 Changed 57487aded13f
- 16d ago Changed · +2 lines 1622d0de8320
- 23d ago Changed · +4 lines 7f06f0ef3121
- 1mo ago Changed · -207 lines f8de9a3c2967
- 1mo ago Changed 229a57194124
- 2mo ago Changed · +1 lines 2827638c3b05
- 2mo ago Changed · +14 lines 43e9c98d1b12
- 2mo ago Changed · +25 lines · +8 tokens per session 6be7fa070f55
- 2mo ago Changed · +2 lines d972870cc691
- 3mo ago First seen · 209 lines · 32 tokens per session scan A 7cb6d2f0a92d
comet-tweak is a skill published in the GitHub repository rpamis/comet (3,326 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 1,797 once invoked, about $0.0002 per session on Opus 5.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.
comet-tweak compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| comet-tweakrpamis/comet | Skill | 3.3k | yesterday | MIT | A | 40 | Codex |
| gh-stacksd0xdev/sd0x-harness | Skill | 196 | 5d ago | MIT | A | 175 | Claude Code |
| smart-rebasesd0xdev/sd0x-harness | Skill | 196 | 5d ago | MIT | A | 133 | Claude Code |
| remindsd0xdev/sd0x-harness | Skill | 196 | 5d ago | MIT | A | 157 | Claude Code |
| adrsd0xdev/sd0x-harness | Skill | 196 | 5d ago | MIT | A | 144 | Claude Code |
| plan-reviewsd0xdev/sd0x-harness | Skill | 196 | 5d ago | MIT | A | 96 | Claude Code |
| post-dev-recapsd0xdev/sd0x-harness | Skill | 196 | 5d ago | MIT | A | 124 | Claude Code |