comet-runtime-diagnose

comet-runtime-diagnose is a skill for Claude Code, Codex from rpamis/comet. It costs 70 tokens per session (493 once invoked), scanned A, original, MIT.

A diagnostic procedure for Comet's hooks, installation, routing, platform support, generated runtime, and lifecycle behavior.

In plain words
What is it for?
It helps inspect source, installed files, generated bundles, manifests, platform registrations, and real runtime paths, then report the cause and smallest next step.
Why use it?
It separates outdated configuration or generated files from actual source-code defects, preventing changes based on incomplete evidence.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/rpamis/comet/comet-runtime-diagnose
Any agent
npx skills add rpamis/comet --skill comet-runtime-diagnose
Clone the repo
git clone --depth 1 https://github.com/rpamis/comet

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for comet-runtime-diagnose

README.md
[![agentmods](https://agentmods.dev/badge/skills/rpamis/comet/comet-runtime-diagnose.svg)](https://agentmods.dev/skills/rpamis/comet/comet-runtime-diagnose)
Your own site
<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>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 493 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 4d ago against content hash 81436452578e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

assets/skills-maintainer/comet-runtime-diagnose/SKILL.md · 37 lines

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 后再验证。

Files

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.

Changes

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.

  1. 4d ago First seen · 37 lines · 70 tokens per session scan A 81436452578e

Subscribe to this mod's changes

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.

Related

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…

ZhangHanDong/agent-spec · 165 tokens

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…

ZhangHanDong/agent-spec · 172 tokens

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", 估算, 工作量, 多久, 时间估算, 预估, 工时, 规模…

ZhangHanDong/agent-spec · 116 tokens

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.

ZhangHanDong/agent-spec · 42 tokens

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.…

sd0xdev/sd0x-harness · 112 tokens

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.

sd0xdev/sd0x-harness · 65 tokens