# Comet

> Comet is an open-source agent skill for developer tools. Entry point that routes requests into the Comet Native or Classic workflow per project. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/cocoyes/zhizhi-agent-runtime/tree/master/.agents/skills/comet
- **Repository:** https://github.com/cocoyes/zhizhi-agent-runtime
- **GitHub stars:** 183
- **License:** MIT
- **Skill name:** comet
- **Collection:** https://github.com/cocoyes/zhizhi-agent-runtime
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-05

## About

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。

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs JavaScript scripts](https://github.com/cocoyes/zhizhi-agent-runtime/tree/HEAD/.agents/skills/comet)
- [No network calls found in its scripts](https://github.com/cocoyes/zhizhi-agent-runtime/tree/HEAD/.agents/skills/comet)
- [License: MIT](https://github.com/cocoyes/zhizhi-agent-runtime/tree/HEAD/.agents/skills/comet)

## Features

- **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

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/comet` to use it in all your projects:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/comet` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/comet` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/cocoyes/zhizhi-agent-runtime.git --path .agents/skills/comet
```

Or copy the folder to `~/.gemini/skills/comet` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/comet`:

```sh
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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/cocoyes/zhizhi-agent-runtime.git
```

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

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

## Alternatives

- [Comet any](https://ai-powered.com/skills/comet-any): Comet any is an open-source agent skill for developer tools.
- [Comet native](https://ai-powered.com/skills/comet-native): Comet native is an open-source agent skill for developer tools.
- [Composio](https://ai-powered.com/skills/composio-melandlabs-2): Composio is an open-source agent skill for developer tools.
- [Compose wp](https://ai-powered.com/skills/compose-wp): Compose wp is an open-source agent skill for developer tools.
- [Cursor do](https://ai-powered.com/skills/cursor-do-chachamaru127): Cursor do is an open-source agent skill for developer tools.
- [Compute actions CLI](https://ai-powered.com/skills/compute-actions-cli): Compute actions CLI is an open-source agent skill for developer tools.
- [Commit](https://ai-powered.com/skills/commit-juliusz-cwiakalski): Commit is an open-source agent skill for developer tools.
- [Conventional commit](https://ai-powered.com/skills/conventional-commit-k1-c): Conventional commit is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/comet
