
Comet
Entry point that routes requests into the Comet Native or Classic workflow per project
Comet is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- JavaScript
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 183
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Comet
Comet is a workflow entry skill. When invoked, it runs the Comet CLI in the current project to resolve which workflow the project is configured for, then hands the user's original request to either the Native or the Classic workflow skill. On first use in a project it saves the global default configuration into the project and creates the matching artifact directories, so later changes to global defaults do not override that saved setup.
The skill instructs the agent to fetch task context through the Comet CLI's JSON task commands, starting from a lightweight context manifest and expanding individual entries only when their full text or sources are needed. It also asks the agent to record whether each applied context item was actually used successfully, ignored, overridden, corrected or linked to a failure.
It expects the Comet CLI to be installed and available on the PATH, and it stops with an explanation when the CLI is missing or returns invalid output rather than searching for skill files itself. Its scripts are written in JavaScript.
When your agent uses it
Comet 工作流入口。当用户明确调用 /comet,或明确要求使用 Comet 但未指定 Native/Classic 时使用;按项目配置加载 Native 或 Classic。
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs JavaScript scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 3 files (783 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/comet to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/cocoyes/zhizhi-agent-runtime.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/comet &&
cp -R "$tmp/.agents/skills/comet" ~/.claude/skills/comet &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/comet inside it instead.
Copy the skill folder to ~/.agents/skills/comet to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/cocoyes/zhizhi-agent-runtime.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/comet &&
cp -R "$tmp/.agents/skills/comet" ~/.agents/skills/comet &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/comet inside it instead.
Copy the skill folder to ~/.cursor/skills/comet to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/cocoyes/zhizhi-agent-runtime.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/comet &&
cp -R "$tmp/.agents/skills/comet" ~/.cursor/skills/comet &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/comet inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/cocoyes/zhizhi-agent-runtime.git --path .agents/skills/cometOr copy the folder to ~/.gemini/skills/comet yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/comet:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/cocoyes/zhizhi-agent-runtime.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/comet &&
cp -R "$tmp/.agents/skills/comet" ~/.copilot/skills/comet &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/comet inside it instead.
Get the folder:
git clone --depth 1 https://github.com/cocoyes/zhizhi-agent-runtime.gitThen copy zhizhi-agent-runtime/.agents/skills/comet into your agent's skills folder as comet. Agents that support SKILL.md read one folder per skill.
What it does
- Workflow routing
- Resolves the project's configured workflow and loads either the Native or Classic entry skill.
- Project configuration setup
- Saves default workflow settings into the project and creates artifact directories on first run.
- On-demand context loading
- Fetches a summary manifest of task context and expands individual items only when needed.
- Context usage tracking
- Records whether each applied context item was used successfully, ignored, overridden or corrected.
- Strict CLI error handling
- Stops and reports the original error when the CLI is missing or returns malformed output.
Good for
- Start a Comet workflow for a feature request in my project
- Continue an existing Comet change in the current workspace
- Load task context and project knowledge before working on a change
- Run the Comet workflow that this project is configured to use
Comet FAQ
What does Comet need to run?
It needs the Comet CLI installed and available on the PATH. If the CLI is missing, the skill stops and reports an incomplete installation.
When does Comet trigger?
It is used when the user explicitly invokes /comet, or explicitly asks for Comet without specifying Native or Classic.
Does Comet choose the workflow itself?
No. The workflow is chosen from the project configuration returned by the Comet CLI, and the skill does not switch workflows based on task size or other judgments.
How do I install Comet in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/comet to use it in all your projects, or to .claude/skills/comet in one project.
Does Comet run scripts?
Yes. It runs JavaScript scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Comet?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Comet?
The closest alternatives to Comet are Comet any, Comet native, Composio, Compose wp and Cursor do.
Where this comes from
- Description: from the skill's own SKILL.md.
More from cocoyes/zhizhi-agent-runtime

Guides building or upgrading Comet Classic workflow skills through a confirmed proposal
- Open source
- 183 GitHub stars
- Developer tools

Runs a Chinese-language native change workflow where the runtime drives each stage
- Open source
- 183 GitHub stars
- Developer tools

Runs a read-only manual review of the current Comet change's diff for correctness
- Open source
- 183 GitHub stars
- Developer tools

Has the agent call the application's greeting tool to compose a greeting for a named
- Open source
- 183 GitHub stars
- Agent setup

Run an approved Python hello script and produce a small report file
- Open source
- 183 GitHub stars
- Developer tools



