50 Suraj1235

ultracode Skill

Kimi Code CLI 的 Ultracode 风格动态工作流。当用户输入 "ultracode"、"workflow:"、"/deep-research",或需要带规划、并行执行、验证或崩溃恢复的大规模多文件工作时使用。

安装方式:把技能目录放入 ~/.claude/skills/(Claude Code)或在 claude.ai 设置中启用;也可复制右侧安装命令一键添加。

查看源码

技能指令原文(SKILL.md)

Ultracode Through Open Dynamic Workflows for Kimi Code CLI

Invoke this as /flow:ultracode for the guided flow, or /skill:ultracode to load the playbook directly.

The ODW MCP tools should already be available from ~/.kimi-code/mcp.json. The bridge scripts referenced below live next to this skill in scripts/.

flowchart TD
  A([BEGIN]) --> B[Check whether the local ODW daemon and MCP tools are available. Run node scripts/daemon-bridge.js --check if tool availability is unclear.]
  B --> C{Is ODW available?}
  C -->|Yes| D[Run the user's task through ODW. Prefer the MCP tool odw_run, or use odw_plan first if the user asked to review the plan or the task is expensive/risky.]
  C -->|No| E[Explain the missing daemon or auth token exactly, then use Kimi's native agent workflow as a fallback.]
  D --> F[Report workflow id, topology, agent count, cost/time estimate, status, and final synthesized result.]
  E --> F
  F --> G([END])

Daemon Path

  1. Prefer MCP tools when available: call odw_health, then odw_run for direct execution or odw_plan first when the user wants to review the plan, the task is expensive, or mutation risk is high.
  2. If MCP tools are unavailable but the daemon is reachable, use the local bridge:
  • node scripts/daemon-bridge.js plan ""
  • node scripts/daemon-bridge.js exec plan.json
  • node scripts/daemon-bridge.js status
  • node scripts/daemon-bridge.js result
  1. Report the workflow id, topology, agent count, cost/time estimate, and final synthesized result. Do not redo the same work manually while ODW is running it.

Kimi-Native Fallback

If the daemon is unavailable, state that full ultracode requires the daemon, then use Kimi Code CLI's native planning and editing flow: discovery -> parallel work -> adversarial verification -> synthesis.

Never include secrets in prompts, plans, logs, or workflow artifacts.

配合站内内容