Comet Any - Skill Creator
/comet-any is the Comet Skill creation guide. The user describes the workflow they want; this Skill resolves real Skills, proposes a plan, waits for confirmation, generates a verifiable Comet-native Skill Bundle, and internally drives eval, review, publish readiness, and install preview.
Ordinary users see three starting points:
customize /comet-classic five-phase Skills: overlay the existing open / design / build / verify / archive Skills without modifying the permanent /comet-classic entry itself.
create a new workflow Skill: generate a new workflow-kernel from the goal and candidate Skills.
upgrade an existing Skill: read existing Skills and add Workflow Nodes, Skill Bindings, Output Schemas, Guardrails, Handoffs, eval, and readiness.
Bundle, Factory, and composition are backend audit terms, not the first-screen user model.
Core Model
Every path compiles to one Workflow Contract:
Workflow Node: a resumable workflow node such as open, design, plan, execute, subagent-execute, review, verify, or archive.
Node Responsibility: the responsibility this Node owns in the Agent workflow, explaining why it exists, what it must produce, and whether it can be replaced.
Skill Binding: the implementation or helper Skill bound to a Node.
Required Skill Call: a Skill that must be called inside a Node without replacing the Node implementation. For example, execute and subagent-execute may require elementui, while review may require whitebox-code-standard.
Output Schema: the artifacts, state, or evidence a Node must produce. Output Schema must be attached to a concrete Workflow Node before it is effective; defining it only in workflow.outputSchemas does not trigger guard, eval, or readiness. Scripts, eval, and readiness depend on Node-attached Output Schemas, not Skill names.
Guardrail: a check that blocks or allows Node advancement.
Handoff: evidence returned by a subagent or cross-Node delegation.
workflow-protocol.json: the package's single runtime source of truth, with kind comet-five-phase-overlay or workflow-kernel.
Protected Boundary
comet-five-phase-overlay preserves the Comet Classic five-phase control flow and .comet.yaml state semantics. In ordinary mode:
comet-five-phase-overlay primary state comes only from <classic-change-dir>/.comet.yaml bound by the Classic layout resolver; no active change or multiple active changes must block and ask the user to choose.
- The overlay must not create
.comet/runs/<workflow>/state.json as the Comet overlay primary state. Bundle drafts, eval evidence, and publish readiness may keep their own evidence files, but they cannot replace .comet.yaml.
control Nodes cannot be overridden: open, execute, verify, archive.
producer Nodes may be overridden: design, plan, but only when the replacement satisfies the matching Output Schema.
handoff and guardrail Nodes may require or augment Skills.
- If the user insists on replacing a control Node, switch to advanced
workflow-kernel and require a new state model, Output Schemas, and Guardrails.
- Every Node must explain its responsibility; internal coordinates are not part of the user-facing workflow model.
Steps
- Resume state: run
comet creator guide --project . --json and show a resume summary.
- Read preferences: load
.comet/skill-preferences.yaml, then use comet creator candidates --json to discover real local Skills and comet skill show <name> --json to read each candidate's real content and hash. Do not guess capability from a Skill name.
- Build proposal: express the goal as Workflow Nodes, Skill Bindings, Output Schemas, Guardrails, Handoffs, and Evidence.
- Show confirmation: list each Node, bound Skill, Required Skill Call, Output Schema, executable disclosure, and readiness impact. The confirmation must show enforcement for each new binding or schema:
guarded, handoff-guarded, evidence-only, or advisory.
- Wait for confirmation: do not write a Bundle draft before confirmation; pause for missing or ambiguous Skills.
- Initialize backend state: after confirmation, call
comet creator init <name> --file <plan.json> --confirmed-proposal --json.
- Run the authoring pipeline and generate the Bundle: run
comet creator authoring-plan <name> --depth quick|full --json for the lane DAG. Dispatch lanes by the DAG — dispatch wave1 (script, reference, pause-points) in parallel, dispatch wave2 (workflow-entry, skill-core) in parallel after the script contract, and run skill-review as the barrier. Record each lane via comet creator authoring-record <name> --lane <id> --file <out.json> --json (schema-validated; BLOCKED/NEEDS_CONTEXT is rejected). Then run comet creator generate <name> --json; it merges recorded content-leaf drafts (entry/node SKILL.md, decision-points, recovery) into the package while the deterministic backbone (protocol/scripts/manifest) stays templated, and renders real review evidence. Outputs entry Skill, Node Skills, reference/workflow-protocol.json, the six scripts, rules, hooks, and comet/eval.yaml.
- Validate: show quick/full eval workload and run or record current draft hash eval evidence; failed eval, skipped eval, or stale-hash evidence cannot become ready.
- Review readiness: read
comet publish review <name> --platform <reference-platform> --json and show Readiness:, Blockers:, Warnings:, and Evidence:.
- Publish and install preview: publish only after human approval; installation must start with preview and show
No files were written.
Plan Example
Component-library and whitebox-review requirements should produce a plan like:
{
"goal": "Customize /comet-classic five-phase Skills with component and whitebox review requirements.",
"skillCreatorIntent": "customize-comet",
"workflow": {
"kind": "comet-five-phase-overlay",
"name": "team-comet",
"goal": "Require component and whitebox review Skills.",
"nodes": {
"execute": {
"requiredSkillCalls": [
{
"skill": "elementui",
"reason": "Use project component library during direct implementation."
}
]
},
"subagent-execute": {
"requiredSkillCalls": [
{
"skill": "elementui",
"scope": "handoff"
}
]
},
"review": {
"requiredSkillCalls": [
{
"skill": "whitebox-code-standard",
"scope": "review"
}
]
}
}
}
}
Hard Rules
- Show the proposal confirmation page before generation.
- The confirmation must show enforcement for each new binding or schema:
guarded, handoff-guarded, evidence-only, or advisory.
- A Required Skill Call does not replace Node implementation.
- A producer override must declare the Output Schema it satisfies.
- Output Schema must be attached to a concrete Workflow Node before it is effective; defining it only in
workflow.outputSchemas does not trigger guard, eval, or readiness.
- Ordinary mode must not override control Nodes.
- Eval, review, and publish readiness must read the same
workflow-protocol.json.
- Readiness blockers must stop publish: missing current draft hash eval evidence, missing human approval, required capability gaps, or unconfirmed executable disclosures cannot become ready.
- Handoff must require subagents to load Required Skill Calls and return evidence.
- Scripts read protocol and state; they do not use Skill names as validation authority.
- Ask before installation. Never install automatically.
References
comet-any/reference/authoring-protocol.json
comet-any/reference/authored-zone-example.md
comet-any/reference/bundle-authoring.md
comet-any/reference/authoring-subagents.md
comet-any/reference/eval-provider.md
1---2name: comet-any3description: Create or upgrade a Comet Classic workflow Skill via Comet Creator. Not for general Skill authoring, cleanup, or review.4---5
6# Comet Any - Skill Creator
7
8`/comet-any` is the Comet Skill creation guide. The user describes the workflow they want; this Skill resolves real Skills, proposes a plan, waits for confirmation, generates a verifiable Comet-native Skill Bundle, and internally drives eval, review, publish readiness, and install preview.
9
10Ordinary users see three starting points:
11
12- `customize /comet-classic five-phase Skills`: overlay the existing `open / design / build / verify / archive` Skills without modifying the permanent `/comet-classic` entry itself.
13- `create a new workflow Skill`: generate a new `workflow-kernel` from the goal and candidate Skills.
14- `upgrade an existing Skill`: read existing Skills and add Workflow Nodes, Skill Bindings, Output Schemas, Guardrails, Handoffs, eval, and readiness.
15
16Bundle, Factory, and composition are backend audit terms, not the first-screen user model.
17
18## Core Model
19
20Every path compiles to one Workflow Contract:
21
22- `Workflow Node`: a resumable workflow node such as `open`, `design`, `plan`, `execute`, `subagent-execute`, `review`, `verify`, or `archive`.
23- `Node Responsibility`: the responsibility this Node owns in the Agent workflow, explaining why it exists, what it must produce, and whether it can be replaced.
24- `Skill Binding`: the implementation or helper Skill bound to a Node.
25- `Required Skill Call`: a Skill that must be called inside a Node without replacing the Node implementation. For example, `execute` and `subagent-execute` may require `elementui`, while `review` may require `whitebox-code-standard`.
26- `Output Schema`: the artifacts, state, or evidence a Node must produce. Output Schema must be attached to a concrete Workflow Node before it is effective; defining it only in `workflow.outputSchemas` does not trigger guard, eval, or readiness. Scripts, eval, and readiness depend on Node-attached Output Schemas, not Skill names.
27- `Guardrail`: a check that blocks or allows Node advancement.
28- `Handoff`: evidence returned by a subagent or cross-Node delegation.
29- `workflow-protocol.json`: the package's single runtime source of truth, with kind `comet-five-phase-overlay` or `workflow-kernel`.
30
31## Protected Boundary
32
33`comet-five-phase-overlay` preserves the Comet Classic five-phase control flow and `.comet.yaml` state semantics. In ordinary mode:
34
35- `comet-five-phase-overlay` primary state comes only from `<classic-change-dir>/.comet.yaml` bound by the Classic layout resolver; no active change or multiple active changes must block and ask the user to choose.
36- The overlay must not create `.comet/runs/<workflow>/state.json` as the Comet overlay primary state. Bundle drafts, eval evidence, and publish readiness may keep their own evidence files, but they cannot replace `.comet.yaml`.
37- `control` Nodes cannot be overridden: `open`, `execute`, `verify`, `archive`.
38- `producer` Nodes may be overridden: `design`, `plan`, but only when the replacement satisfies the matching Output Schema.
39- `handoff` and `guardrail` Nodes may require or augment Skills.
40- If the user insists on replacing a control Node, switch to advanced `workflow-kernel` and require a new state model, Output Schemas, and Guardrails.
41- Every Node must explain its responsibility; internal coordinates are not part of the user-facing workflow model.
42
43## Steps
44
451. Resume state: run `comet creator guide --project . --json` and show a resume summary.
462. Read preferences: load `.comet/skill-preferences.yaml`, then use `comet creator candidates --json` to discover real local Skills and `comet skill show <name> --json` to read each candidate's real content and hash. Do not guess capability from a Skill name.
473. Build proposal: express the goal as Workflow Nodes, Skill Bindings, Output Schemas, Guardrails, Handoffs, and Evidence.
484. Show confirmation: list each Node, bound Skill, Required Skill Call, Output Schema, executable disclosure, and readiness impact. The confirmation must show enforcement for each new binding or schema: `guarded`, `handoff-guarded`, `evidence-only`, or `advisory`.
495. Wait for confirmation: do not write a Bundle draft before confirmation; pause for missing or ambiguous Skills.
506. Initialize backend state: after confirmation, call `comet creator init <name> --file <plan.json> --confirmed-proposal --json`.
517. Run the authoring pipeline and generate the Bundle: run `comet creator authoring-plan <name> --depth quick|full --json` for the lane DAG. Dispatch lanes by the DAG — dispatch wave1 (`script`, `reference`, `pause-points`) in parallel, dispatch wave2 (`workflow-entry`, `skill-core`) in parallel after the script contract, and run `skill-review` as the barrier. Record each lane via `comet creator authoring-record <name> --lane <id> --file <out.json> --json` (schema-validated; BLOCKED/NEEDS_CONTEXT is rejected). Then run `comet creator generate <name> --json`; it merges recorded content-leaf drafts (entry/node SKILL.md, decision-points, recovery) into the package while the deterministic backbone (protocol/scripts/manifest) stays templated, and renders real review evidence. Outputs entry Skill, Node Skills, `reference/workflow-protocol.json`, the six scripts, rules, hooks, and `comet/eval.yaml`.
528. Validate: show quick/full eval workload and run or record current draft hash eval evidence; failed eval, skipped eval, or stale-hash evidence cannot become ready.
539. Review readiness: read `comet publish review <name> --platform <reference-platform> --json` and show `Readiness:`, `Blockers:`, `Warnings:`, and `Evidence:`.
5410. Publish and install preview: publish only after human approval; installation must start with preview and show `No files were written`.
55
56## Plan Example
57
58Component-library and whitebox-review requirements should produce a plan like:
59
60```json
61{
62 "goal": "Customize /comet-classic five-phase Skills with component and whitebox review requirements.",
63 "skillCreatorIntent": "customize-comet",
64 "workflow": {
65 "kind": "comet-five-phase-overlay",
66 "name": "team-comet",
67 "goal": "Require component and whitebox review Skills.",
68 "nodes": {
69 "execute": {
70 "requiredSkillCalls": [
71 {
72 "skill": "elementui",
73 "reason": "Use project component library during direct implementation."
74 }
75 ]
76 },
77 "subagent-execute": {
78 "requiredSkillCalls": [
79 {
80 "skill": "elementui",
81 "scope": "handoff"
82 }
83 ]
84 },
85 "review": {
86 "requiredSkillCalls": [
87 {
88 "skill": "whitebox-code-standard",
89 "scope": "review"
90 }
91 ]
92 }
93 }
94 }
95}
96```
97
98## Hard Rules
99
100- Show the proposal confirmation page before generation.
101- The confirmation must show enforcement for each new binding or schema: `guarded`, `handoff-guarded`, `evidence-only`, or `advisory`.
102- A Required Skill Call does not replace Node implementation.
103- A producer override must declare the Output Schema it satisfies.
104- Output Schema must be attached to a concrete Workflow Node before it is effective; defining it only in `workflow.outputSchemas` does not trigger guard, eval, or readiness.
105- Ordinary mode must not override control Nodes.
106- Eval, review, and publish readiness must read the same `workflow-protocol.json`.
107- Readiness blockers must stop publish: missing current draft hash eval evidence, missing human approval, required capability gaps, or unconfirmed executable disclosures cannot become ready.
108- Handoff must require subagents to load Required Skill Calls and return evidence.
109- Scripts read protocol and state; they do not use Skill names as validation authority.
110- Ask before installation. Never install automatically.
111
112## References
113
114- `comet-any/reference/authoring-protocol.json`
115- `comet-any/reference/authored-zone-example.md`
116- `comet-any/reference/bundle-authoring.md`
117- `comet-any/reference/authoring-subagents.md`
118- `comet-any/reference/eval-provider.md`