Agent skill

Cm Idea

by kingxiaozhe in kingxiaozhe/cm-workflow

用户说“我有个点子”“帮我梳理产品”或需要先聊清目标时使用。通过逐题访谈整理为可交给 cm-prd 的 PRD;已有明确需求文档时改用 cm-prd,不写代码、不拆开发任务。

MITAuto-check passedProduct & Project Management

Install Cm Idea

skills CLI
$ npx skills add kingxiaozhe/cm-workflow --skill cm-idea -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kingxiaozhe/cm-workflow cm-idea --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kingxiaozhe/cm-workflow.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cm-idea .claude/skills/cm-idea && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cm-idea
GitHub stars
104
Used in
1 other repo
Token cost
~419 tokens
SKILL.md length
76 words
Files
5 (incl. references)
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

用户说“我有个点子”“帮我梳理产品”或需要先聊清目标时使用。通过逐题访谈整理为可交给 cm-prd 的 PRD;已有明确需求文档时改用 cm-prd,不写代码、不拆开发任务。

  • Works in 3 steps: 读取 references/idea-to-prd.md,缺失则提示重装最新包后中止 → 按 当前会话接线… → 全程遵守技能自身纪律(一次一题、防诱导选项、狠收敛、纯对话不联网)
  • Tasks that involve PRD writing
  • SKILL.md covers JS 只读准入, 执行, 与 cm 流程的衔接(只提示,不自动执行) and 边界
  • Calls node

What it does

Cm Idea is an agent skill from kingxiaozhe/cm-workflow. 用户说“我有个点子”“帮我梳理产品”或需要先聊清目标时使用。通过逐题访谈整理为可交给 cm-prd 的 PRD;已有明确需求文档时改用 cm-prd,不写代码、不拆开发任务。

Its SKILL.md is about 420 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/domains/trading.md`, `references/example-prd.md` and `references/idea-to-prd.md`).

It sits in Product & Project Management, covering PRD writing. The repository describes itself as: Codex-native, spec-driven AI Agent workflow with Claude Code compatibility, independent review, QA, fixes, and refactors. The licence is MIT.

When your agent uses it

  • Tasks that involve PRD writing

Example prompts

  • “帮我梳理产品”
  • “/cm-idea”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. 读取 references/idea-to-prd.md,缺失则提示重装最新包后中止
  2. 按 当前会话接线 启动JS宿主,把用户实际输入送入访谈;判定类型、一次一题、L1骨架和按需加深仍遵循原引用,交易/Web3先读领域包
  3. 全程遵守技能自身纪律(一次一题、防诱导选项、狠收敛、纯对话不联网)

What it can do on your machine

Read from SKILL.md and the folder at commit 82d43f0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cm Idea loads about 419 tokens when it runs, and up to ~8.2k if it reads all its reference files. Until then it costs about 24 tokens; SKILL.md has 76 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~24
When it runs · the whole SKILL.md, loaded when a task matches
~419
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from kingxiaozhe/cm-workflow at commit 82d43f0, republished under its MIT licence (© kingxiaozhe). 76 words, ~419 tokens.

Download SKILL.mdSave it as .claude/skills/cm-idea/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
cm-idea
description
用户说“我有个点子”“帮我梳理产品”或需要先聊清目标时使用。通过逐题访谈整理为可交给 cm-prd 的 PRD;已有明确需求文档时改用 cm-prd,不写代码、不拆开发任务。

cm-idea — 点子 → PRD(流程上游入口,非 N1–N8 步骤)

先读取 ../../runtime/project-context.md。Codex 入口为 $cm-idea;Claude Code 跨平台入口为 /cm-idea,macOS/Linux 另有历史别名 /cm:idea。

用户明确要求外部专家,或为本次访谈开启 AUTO 时,先读取 ../../runtime/external-expert.md 并执行 ../external-expert/SKILL.md 的任务路由。 AUTO 只在复杂方案/材料综合时 CONSULT,需要权威事实时 VERIFY,其余 LOCAL。外部 结果只作为访谈输入,不能替用户确认产品方向;没有明确请求,也没有本次 AUTO 授权 时,保持原来的纯对话、不联网流程。

用法:$cm-idea 一句话点子(如 $cm-idea 我想做个帮宝妈记录辅食的小程序)

JS 只读准入

在加载访谈引用、联网或探测保存目录之前,先执行:

bash
node "{CM_WORKFLOW_ROOT}/scripts/cm-idea-entry.mjs" \
  --skill-dir "{CM_WORKFLOW_ROOT}/skills/cm-idea"

只有 ready / interview 才继续加载下方引用。该结果不读取或回显点子内容,不调用外部专家, 也不授权保存文件;保存前仍必须按访谈引用取得用户对完整路径的确认。JS宿主管理轮次和保存, references/idea-to-prd.md 继续是访谈规则唯一事实源。

把模糊想法聊成成熟 PRD 的产品访谈搭档。本命令只做一件事:加载 references/idea-to-prd.md 并严格按其规则执行——本文件不复制不改写访谈规则,该引用文件是唯一事实源。

执行

  1. 读取 references/idea-to-prd.md,缺失则提示重装最新包后中止
  2. 按 当前会话接线 启动JS宿主,把用户实际输入送入访谈;判定类型、一次一题、L1骨架和按需加深仍遵循原引用,交易/Web3先读领域包
  3. 全程遵守技能自身纪律(一次一题、防诱导选项、狠收敛、纯对话不联网)

与 cm 流程的衔接(只提示,不自动执行)

只有JS返回 saved 且文件已回读,才追加下面的“已保存”提示;未保存则如实报告草稿状态,不伪造路径或自动代跑后续命令:

text
📄 PRD 已保存: {路径}(成熟度 {L1/L2/L3},「待明确的问题」剩 {N} 条(口径:只数 PRD 第 7 节的条目,正文散落的待补标记不计;路径用绝对路径)——带着未决问题交棒,prd 的产品角色会重新追问;想少被问就先在这里加深)
下一步(需要你手动执行,本命令不代跑):
  1. 建 specs 文件夹,把这份 PRD 放进 docs/
  2. $cm-prd {specs路径}   ← 拆成规格三件套
  3. 人审摘要卡后 $cm-ai 开始开发

边界

cm-idea 位于 specs 上游,按设计不读写规格审批位 .cm-specs-status;这是职责边界,不是遗漏。

  • 不写代码、不拆任务、不调 $cm-prd——想法阶段结束就交棒
  • 已有现成需求文档的项目不需要本命令,直接 $cm-prd
  • 触发词自然唤起("我有个点子…")与本命令等效,习惯哪个用哪个

© kingxiaozhe, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in skills/cm-idea of kingxiaozhe/cm-workflow.

  • SKILL.md
  • references/domains/trading.md
  • references/example-prd.md
  • references/idea-to-prd.md
  • references/js-host.md

Open the folder on GitHubat commit 82d43f0

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in kingxiaozhe/cm-workflow, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Cm Idea next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cm Idea compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cm Idea this skillkingxiaozhe/cm-workflow1041 repos~419Automated safety check: PassMIT
CCPM Project Managementautomazeio/ccpm8.4k—~1.1kAutomated safety check: PassMIT
Ralph Tui Create Beadssubsy/ralph-tui2.5k1 repos~2.6kAutomated safety check: PassMIT
Trellis Brainstormanjiemo/SunnyBeach1787 repos~4kAutomated safety check: PassApache-2.0
Adversarial Speczscole/adversarial-spec5561 repos~8.3kAutomated safety check: NotesMIT
Ralph Tui Create Beads Rustsubsy/ralph-tui2.5k1 repos~2.8kAutomated safety check: PassMIT

Similar skills

  • Runs a spec-driven workflow from PRD to epic to GitHub issues to parallel agents, with status, standup and blocked-work reports from bundled scripts.

    8.4k GitHub stars~1.1k tokensUpdated 6 mo ago
    Product & Project ManagementAuto-check passed
  • Ralph Tui Create Beads

    subsy/ralph-tui

    Convert PRDs to beads for ralph-tui execution. An agent skill from subsy/ralph-tui.

    2.5k GitHub starsUsed in 1 repo~2.6k tokens
    Product & Project ManagementAuto-check passed
  • Trellis Brainstorm

    anjiemo/SunnyBeach

    Guides collaborative requirements discovery before implementation.

    178 GitHub starsUsed in 7 repos~4k tokens
    Product & Project ManagementAuto-check passed
  • Adversarial Spec

    zscole/adversarial-spec

    Iteratively refine a product spec by debating with multiple LLMs (GPT, Gemini, Grok, etc.) until all models agree.

    556 GitHub starsUsed in 1 repo~8.3k tokens
    Product & Project ManagementAuto-check: notes
  • Convert PRDs to beads for ralph-tui execution using beads-rust (br CLI).

    2.5k GitHub starsUsed in 1 repo~2.8k tokens
    Product & Project ManagementAuto-check passed
  • Runs a guided product-manager interview that classifies each question automatically and produces a Product Requirements Document.

    6.2k GitHub starsUsed in 1 repo~5.7k tokens
    Product & Project ManagementAuto-check passed

More from kingxiaozhe/cm-workflow

All 23 skills in this repo
  • Cm Fix

    kingxiaozhe/cm-workflow

    用户说“修复这个可复现 bug”或要求根据失败报告修代码时使用。执行红灯测试、根因定位、最小修复、独立审查和回归;尚未确认的问题先用 cm-test,新功能和架构重设计转交 cm-prd。

    104 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Cm Refactor

    kingxiaozhe/cm-workflow

    用户明确要求“只整理结构,不改变行为”时使用。执行边界分流、行为判官、分批重构和独立审查;缺陷修复转交 cm-fix,新增或变化的业务行为转交 cm-prd。

    104 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed
  • Cm Security

    kingxiaozhe/cm-workflow

    用户运行 cm-security,或要求代码安全扫描、漏洞检查、密钥泄露排查、依赖漏洞检查时使用。默认检查当前分支相对主分支及已跟踪未提交修改,结合业务地图复核;--all 检查全部已跟踪文件。只报告问题,不自动修复、安装、升级或发布。安装自检用 cm-check,功能测试与覆盖率用 cm-test。

    104 GitHub starsUsed in 1 repo~744 tokens
    Auto-check passed
  • Cm AI

    kingxiaozhe/cm-workflow

    用户明确说“规格已确认,开始实现”或要求按已审批 CM specs 开发时使用。新任务默认由 JS workflow 驱动 N1-N8,完成开发、独立审查、QA 与文档同步;模糊点子、未审规格和单独一句“继续”不能触发编码批准。

    104 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Cm Check

    kingxiaozhe/cm-workflow

    用户说“检查工作流是否安装正确”“为什么找不到 cm 命令”时使用。默认查询 npm 稳定版,有新版自动升级已管理的 CM 安装,再检查插件、核心 Skills、兼容包装与模板引用;不测试或修改业务代码。

    104 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Cm Init

    kingxiaozhe/cm-workflow

    用户说“第一次接管这个项目”“分析仓库并生成项目规则”时使用。分析已有代码并生成 Codex AGENTS.md 与 CM/Claude 兼容规则;仅适用于非空存量项目,不创建脚手架、不承接普通代码修改。

    104 GitHub stars~1.9k tokensUpdated today
    Auto-check passed

Questions about Cm Idea

What does Cm Idea do?

用户说“我有个点子”“帮我梳理产品”或需要先聊清目标时使用。通过逐题访谈整理为可交给 cm-prd 的 PRD;已有明确需求文档时改用 cm-prd,不写代码、不拆开发任务。. Cm Idea is an agent skill from kingxiaozhe/cm-workflow.

When should I use Cm Idea?

Cm Idea fits situations like: tasks that involve PRD writing.

How do I install Cm Idea in Claude Code?

Run `npx skills add kingxiaozhe/cm-workflow --skill cm-idea -a claude-code`. Or copy the skill folder (skills/cm-idea in kingxiaozhe/cm-workflow) into .claude/skills/cm-idea in your project. Claude Code loads it when a task matches its description.

How do I install Cm Idea in Codex?

Run `npx skills add kingxiaozhe/cm-workflow --skill cm-idea -a codex`. Or copy the skill folder (skills/cm-idea in kingxiaozhe/cm-workflow) into .agents/skills/cm-idea in your project. Codex loads it when a task matches its description.

Can I use Cm Idea in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kingxiaozhe/cm-workflow --skill cm-idea -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cm-idea, .gemini/skills/cm-idea, .github/skills/cm-idea and .opencode/skills/cm-idea in your project.

What does Cm Idea need to run?

Going by SKILL.md and its folder, Cm Idea needs the command-line tools its instructions call (node).

Does Cm Idea access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cm Idea safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cm Idea use?

Cm Idea is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cm Idea use?

About 419 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 7.8k tokens, read only when the agent opens those files.

What are the alternatives to Cm Idea?

Skills that share tags, products or a category with Cm Idea: CCPM Project Management (automazeio/ccpm, 8.4k stars), Ralph Tui Create Beads (subsy/ralph-tui, 2.5k stars), Trellis Brainstorm (anjiemo/SunnyBeach, 178 stars) and Adversarial Spec (zscole/adversarial-spec, 556 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cm Idea?

kingxiaozhe (a GitHub user) maintains it in kingxiaozhe/cm-workflow, which has 104 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on October 8, 2026.

Source: kingxiaozhe/cm-workflow on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.