Installation and initialization
Will comet init overwrite my existing configuration
Will comet init overwrite my existing configuration
comet init lets you choose to overwrite or skip it. Hooks merge non-destructively, keeping the hooks you already have. In --yes mode, existing components are skipped by default. To force a refresh, use --overwrite.What does failed (12 files, 1 failed) mean for a platform in the installation summary?
What does failed (12 files, 1 failed) mean for a platform in the installation summary?
failed with a failure count. Missing critical files such as comet-hook-guard.mjs would silently break the phase guard, so they must be repaired first. Re-run comet init or comet update to restore the missing files. See Reading the installation summary.What should I do if the hook reports [COMET-HOOK] crash and exits code 2 when writing a file
What should I do if the hook reports [COMET-HOOK] crash and exits code 2 when writing a file
comet-hook-guard.mjs itself crashed (bundle damage, import failure, or an unexpected throw). It fails closed: it prints a [COMET-HOOK] crash: ... diagnostic and blocks the write with exit code 2. This means the phase guard is unavailable, most often because a required script is missing.Use a fixed recovery sequence: run comet doctor to identify missing assets, run comet init or comet update to restore them, then retry the original action.Can it run on Windows? Do I still need Git Bash
Can it run on Windows? Do I still need Git Bash
How to choose between project-level and global installation
How to choose between project-level and global installation
Which platforms does comet init support
Which platforms does comet init support
comet init will automatically detect the existing platform directories in the project and pre-select them. The Skill, Rule, and Hook capabilities supported by different platforms vary. For details, see Supported platforms.Status and Diagnosis
What happens if I say continue without entering /comet?
What happens if I say continue without entering /comet?
What's the difference between comet status and comet doctor
What's the difference between comet status and comet doctor
comet status answers “where am I in the flow and what should I run next?”.
comet doctor answers “why is this failing and what is broken?”.In practice, start with status and run doctor only when status looks wrong or recovery fails.Should I worry about a doctor warn
Should I worry about a doctor warn
warn is generally advisory (for example, an optional dependency is missing). fail is blocking (for example, missing Skills or corrupted state).Clear all fail items first, then handle warn based on impact. For details, see comet doctor.comet status shows the wrong phase
comet status shows the wrong phase
comet doctor to see if there are any malformed .comet.yaml files or missing evidence. After the repair, run status again. For troubleshooting abnormal state, see State recovery.Why is there a Comet Node process in the background
Why is there a Comet Node process in the background
Upgrade and Uninstall
How can I upgrade to RC1
How can I upgrade to RC1
comet doctor to confirm the installation is healthy:--current-project, --scope global or --json only refresh assets and do not update npm packages. When using these limited modes and needing to upgrade the CLI simultaneously, explicitly add --self-update:comet update will cause the project to continue using the old assets.Will uninstalling delete my code or OpenSpec change
Will uninstalling delete my code or OpenSpec change
comet uninstall only removes the skills, rules and hooks managed by Comet and keeps your OpenSpec changes, design documents, implementation plans and project code. For more details, see comet uninstall.Should I use update or init
Should I use update or init
comet init for first-time setup or when adding a new platform to a project.
Use comet update after version upgrades to refresh what is already installed.Both follow a non-destructive policy for existing user configuration unless you explicitly choose overwrite.Skills, evaluation and publishing commands
Should I use comet skill or /comet-any
Should I use comet skill or /comet-any
/comet-any, which invokes the CLI backend internally. comet skill is a low-level tool, suitable for local debugging, advanced Skill execution, and package management. See comet skill.What are the differences between comet eval and comet skill check
What are the differences between comet eval and comet skill check
comet eval assesses the product capabilities of a Skill and produces pre-release evidence. comet skill check verifies whether a certain Skill run is missing an artifact or status, without generating release evidence. Publish readiness only needs comet eval. See comet eval.Should I use comet bundle or comet publish
Should I use comet bundle or comet publish
comet publish (the user publishing entry). comet bundle is an advanced backend used directly only for backend-status checks, auditing, or automated integration. See comet publish.CI/CD
How to install non-interactively in CI
How to install non-interactively in CI
--yes --json:Can --json output be parsed reliably
Can --json output be parsed reliably
status and doctor is part of the CLI contract. CI gates should exit non-zero only on doctor fail results. For details, see CI/CD integration.
