一键导入
mdkb-workflow
Execute automated workflows from loaded knowledge notes. Use when: '/mdkb-workflow', 'run workflow', 'execute SOP', 'automate from notes'.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Execute automated workflows from loaded knowledge notes. Use when: '/mdkb-workflow', 'run workflow', 'execute SOP', 'automate from notes'.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | mdkb-workflow |
| description | Execute automated workflows from loaded knowledge notes. Use when: '/mdkb-workflow', 'run workflow', 'execute SOP', 'automate from notes'. |
| version | 1.0 |
| author | Anderson Chang |
| metadata | {"category":"utility"} |
This skill finds workflow-type knowledge notes loaded in the system prompt and executes them as automated SOPs.
You MUST use the Read tool to read the actual file content from the paths listed in the system prompt before doing anything.
Look for entries in the system prompt that match this pattern:
The following knowledge files are loaded. Use the Read tool to access full content when needed:
1. /path/to/file.md — Title
2. /path/to/file2.md — Title 2
If no knowledge file paths are found in the system prompt, tell the user: "No knowledge files loaded. Use the L key in mdkb TUI to load notes first."
Read ALL knowledge files from the system prompt. Then filter for workflow-type notes only:
type: workflow OR tags containing type:workflowShow a numbered list of executable workflows:
Available workflows:
1. [title] — brief description of what this workflow automates
2. [title] — brief description
The user picks one (or more) workflows to execute. Confirm before proceeding:
Parse the workflow note's SOP steps and execute them sequentially:
## Step N headings, or ordered instructions)After all steps complete, show a summary:
Workflow: [title]
Steps: 5/5 completed
Status: SUCCESS (or PARTIAL — 4/5 passed)
Results:
1. [step] — passed
2. [step] — passed
3. [step] — FAILED: [brief error]
4. [step] — skipped
5. [step] — passed
Guided reading of loaded knowledge document. Use when: '/mdkb-read', 'walk me through', 'explain loaded context', 'guide the knowledge'.
Disable mdkb auto-sync hook. Use when: '/mdkb-sync-off', 'disable mdkb sync', 'turn off sync'.
Enable mdkb auto-sync hook. Use when: '/mdkb-sync-on', 'enable mdkb sync', 'turn on sync'.
Consolidate, deduplicate, and clean up mdkb knowledge notes. Use when: '/mdkb-tidy', 'tidy notes', 'clean up knowledge', 'consolidate notes', 'merge notes'. Supports scope filter: '/mdkb-tidy mdkb-tui', '/mdkb-tidy myproject/auth'.
Create a new workflow note via interactive Q&A. Use when: '/mdkb-workflow-create', 'create workflow', 'new workflow', 'build SOP', 'make automation'.