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-runtime-diagnosenpx skills add rpamis/comet --skill comet-runtime-diagnosegit 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-runtime-diagnose)<a href="https://agentmods.dev/skills/rpamis/comet/comet-runtime-diagnose"><img src="https://agentmods.dev/badge/skills/rpamis/comet/comet-runtime-diagnose.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.00070 | $0.00493 |
| Opus 5 | $0.00035 | $0.00246 |
| Sonnet 5 | $0.00014 | $0.00099 |
| Haiku 4.5 | $0.00007 | $0.00049 |
Grade A, and why
comet-runtime-diagnose 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 4d 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.
What it actually says
Comet Runtime 诊断
先读取 ../comet-github/references/maintainer-contract.md。修改源码或重新安装前,先完成诊断。
确定问题边界
将报告分类为以下一种或多种:
- 本地安装过期或不完整;
- 项目/全局配置或路径归属问题;
- 源码/Runtime 逻辑缺陷;
- 生成资产漂移;
- 平台注册、安装或卸载不一致;
- 文档或生命周期契约不一致。
检查当前源码、已安装文件、生成资产、平台元数据、生命周期 JSON/配置和相关测试。涉及真实执行时,静态配置检查不足以得出结论。
执行真实路径
- 使用宿主提供的项目
cwd和实际平台标识(如果有),调用生成/打包后的 Router 或 Runtime。 - 必要时检查被保护和允许的阶段,以及缺少或存在歧义的项目上下文。
- 跨平台工作对照规范平台注册表,检查每个受影响的 adapter;不要用短的手写平台列表替代规范注册表。
- 怀疑源码时,对照源码入口、生成 bundle、Manifest 和已安装副本。
- 区分项目级和全局 Hook 归属;缺少可信宿主上下文时保持中立,不要自行扫描当前进程目录。
报告诊断结果
返回观察到的命令/路径、预期契约、实际结果、分类、证据和最小下一步。明确问题是可复现、仅配置、仅生成物,还是生产缺陷。
除非用户要求,不修改源码、生成资产、安装状态或 GitHub Issue。用户授权修复时,交给 comet-github-issue-fix,并从源码重新构建生成 Runtime 后再验证。
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.
- 4d ago First seen · 37 lines · 70 tokens per session scan A 81436452578e
comet-runtime-diagnose is a skill published in the GitHub repository rpamis/comet (2,914 stars, last pushed today), licensed MIT. It adds 70 tokens to every session and 493 once invoked, about $0.0003 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.
create-request
Create, update, or scan per-task request tickets for progress tracking. These are date-prefixed non-lifecycle docs under requests/, NOT feature-level requirements (use /req-analyze for those). Use when: tracking task progress, updating completion status, scanning incomplete requests, checking request status dashboard.…
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.