In short.
Comet Runtime Diagnose is an AI assistant skill for maintainers diagnosing Comet installation, hook and runtime failures, but its required maintainer contract is outside the skill folder and its effectiveness is unassessed. It directs the assistant to distinguish configuration problems from source defects and inspect the generated or packaged Router or Runtime when execution behavior matters. No commands or code were executed; host compatibility, diagnostic accuracy and operating costs are unknown.
Researched and written by an AI model and checked by a second AI model. How it works
The selected scope contains assets/skills-maintainer/comet-runtime-diagnose/SKILL.md and assets/skills-maintainer/comet-runtime-diagnose/agents/openai.yaml, with complete capture recorded for that folder. The repository-root LICENSE is the related notice outside the folder. The referenced maintainer contract, repair skill, platform registry, Comet source, tests, generated components and installed copies are outside the supplied evidence. No commands or code were executed. Installation, invocation, routing, hooks, platform behavior, lifecycle behavior, diagnostic accuracy and repair outcomes were not tested.
The overview
Identity
The resource is the comet-runtime-diagnose skill in rpamis/comet, under assets/skills-maintainer/comet-runtime-diagnose. Its two files are SKILL.md, containing the diagnostic instructions, and agents/openai.yaml, containing assistant display and invocation metadata. The original folder address is [https://github.com/rpamis/comet/tree/master/assets/skills-maintainer/comet-runtime-diagnose].
The instructions and user-facing metadata are written in Chinese. This folder supplies assistant guidance; it does not contain a diagnostic executable.
Assessment
The skill offers a specific investigation structure for failures involving stale installations, configuration ownership, generated assets and runtime logic. Its useful feature is the requirement to compare the files involved in execution before attributing a problem to source code.
It is most useful to someone who already has a Comet environment and can obtain the referenced maintainer contract. The files establish the intended diagnostic procedure, but provide no execution results demonstrating that it finds or correctly classifies defects.
Users
The intended users are Comet maintainers investigating hooks, installation, routing, platform adapters, generated Runtime behavior or lifecycle inconsistencies. Developers handling reports where a global hook may be attributed to the wrong project are also within its stated scope.
Beginners would need help identifying Comet's source entry points, generated bundles, manifests and installed copies. The skill assumes familiarity with these components and does not teach Comet's architecture.
Capabilities
The instructions classify problems into stale or incomplete installations, configuration or path ownership, source or Runtime defects, generated-asset drift, platform registration or installation inconsistencies, and documentation or lifecycle-contract inconsistencies.
They call for inspecting source, installed files, generated assets, platform metadata, lifecycle JSON or configuration, and relevant tests. Cross-platform investigations must follow the canonical platform registry and inspect every affected adapter. The required report includes observed commands and paths, the expected contract, actual results, classification, evidence and a minimal next step.
Using it
Requirements
The skill requires reading ../comet-github/references/maintainer-contract.md before diagnosis. That document is outside this folder and its contents are unavailable in the evidence.
Following the procedure requires access to the relevant Comet source, installation and generated components, plus an assistant environment capable of inspecting them and invoking the packaged execution path. The instructions call for a host-provided project working directory and the actual platform identifier when available. Supported operating systems, assistant versions, model requirements and execution permissions are unspecified.
Mechanism
The procedure first establishes the problem category, then compares configuration and artifacts. Where actual execution matters, it directs the assistant to invoke the generated or packaged Router or Runtime using trusted host context; static configuration inspection alone is considered insufficient.
For suspected source defects, it compares source entry points, generated bundles, manifests and installed copies. It distinguishes project-level and global hook ownership, and directs the assistant to remain neutral when trusted project context is missing rather than infer ownership by scanning the current process directory. Diagnosis precedes changes or reinstallation.
Setup
SKILL.md declares the name comet-runtime-diagnose and sets disable-model-invocation to true. The assistant configuration sets allow_implicit_invocation to false and provides a Chinese default prompt referring to $comet-runtime-diagnose. These settings express an explicit-invocation intent; behavior in individual assistant hosts has not been assessed.
Before use, make the referenced maintainer contract available at the expected relative location and establish how the chosen host loads the skill folder. The files provide no installation command, supported host version, dependency-installation procedure or Runtime build command.
Example
An illustrative request is: Use $comet-runtime-diagnose to investigate why this project's Comet hook still behaves like an older installation. Use the host-provided project directory and platform identifier, compare source, generated and installed files, and report the evidence before making changes.
The prescribed output would identify the commands and paths examined, expected behavior, actual observations and whether the problem is reproducible, configuration-only, generated-artifact-only or a production defect. This is a hypothetical use case; no diagnosis or successful outcome was demonstrated.
Assessment & evidence
Limitations
The required maintainer contract, canonical platform registry, Comet implementation, generated Runtime, installed copies and relevant tests are absent from this evidence. The skill also names a separate repair skill whose contents are unavailable. These gaps prevent assessment of the complete diagnostic and repair paths.
The instructions cannot establish that an assistant will follow them correctly. There are no execution traces, accuracy measurements, compatibility results or documented successful diagnoses. Platform coverage and behavior when project context is missing remain untested.
Reasoning
Comparing source code with generated and installed artifacts could help avoid treating an outdated installation as a source defect. Requiring trusted project context could also reduce incorrect attribution of global hooks to a project. These are potential benefits inferred from the procedure, with no measured results.
The repair boundary is explicit: the instructions prohibit changing source, generated assets, installation state or GitHub issues unless the user requests it. An authorized fix is handed to comet-github-issue-fix, with a rebuild from source before verification.
Alternatives
No named diagnostic alternative or comparative evaluation is documented. A maintainer could manually inspect the same configuration, source, generated assets and installed files, but there is no evidence comparing effort or accuracy.
The named companion comet-github-issue-fix serves the subsequent repair step after user authorization. Its instructions, requirements and effectiveness have not been assessed.
Evidence
The diagnostic procedure comes from the revision-pinned SKILL.md at [https://raw.githubusercontent.com/rpamis/comet/d31d310e6d8c8223a08646c6e022c4de9ee75b91/assets/skills-maintainer/comet-runtime-diagnose/SKILL.md]. Assistant metadata comes from [https://raw.githubusercontent.com/rpamis/comet/d31d310e6d8c8223a08646c6e022c4de9ee75b91/assets/skills-maintainer/comet-runtime-diagnose/agents/openai.yaml].
The license notice is at [https://raw.githubusercontent.com/rpamis/comet/d31d310e6d8c8223a08646c6e022c4de9ee75b91/LICENSE]. These files establish the written procedure, configuration and permissions. They contain no diagnostic execution records or performance results.
Access & freshness
Costs
The two skill files state no price, required model provider, usage allowance or execution-cost estimate. Assistant-service charges, diagnostic execution costs and support costs are unknown. No measured token consumption or runtime duration is provided.
Rights
The repository LICENSE supplies the MIT License with copyright attributed to rpamis, 2026. It permits use, copying, modification, distribution, sublicensing and sale, provided copies or substantial portions retain the copyright and permission notices.
The license provides the software as is, without warranty, and disclaims liability. Redistribution of the skill must preserve the required notices.
Freshness
The source snapshot is commit d31d310e6d8c8223a08646c6e022c4de9ee75b91, captured on 2026-11-16 at 22:04:24.991 UTC. The capture timestamp does not establish when the skill was authored or last maintained.
Changes after that revision, compatibility with later Comet versions and current assistant-host behavior are unknown. The master-branch folder address can change independently of this pinned snapshot.
Actions
Before using the skill, obtain its referenced maintainer contract, confirm the host's explicit invocation behavior and identify the relevant Comet installation. Supply trusted project context and the platform identifier when available.
For a diagnosis, require the observed commands and paths, expected contract, actual observations, classification and smallest justified next step. If a fix is subsequently authorized, obtain the named repair skill and verify that the generated Runtime is rebuilt from source before rechecking the affected execution path.
