用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill agenfk-flow命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
基于 SOC 职业分类
正在显示 SKILL.md
| name | agenfk-flow |
| description | Interactively create or edit an AgenFK workflow flow in chat. Use when this capability is needed. |
| metadata | {"author":"cglab-public"} |
This skill guides you through creating or editing a custom workflow flow for an AgenFK project. A flow defines the ordered steps (statuses) that items move through — replacing the default TODO → IN_PROGRESS → REVIEW → TEST → DONE pipeline with a tailored one for your team.
Invoke this skill by running the /agenfk-flow slash command or by asking:
"Help me create a new flow" / "I want to set up a custom workflow"
Follow these steps in order. Ask one section at a time — do not dump all questions at once.
.agenfk/project.json in the working directory to get the projectId.list_projects() via MCP and ask the user which project to scope the flow to.[projectId]). Is that correct?"Ask:
security-review, ml-training): no spaces, lowercase-hyphenated recommended.Explain to the user:
"A flow is a sequence of steps. Each step represents a status an item can be in. You need at least 2 steps. The last step is usually a terminal step (equivalent to DONE). Tell me about each step one at a time, or give me the full list at once."
For each step, collect:
| Field | Required | Notes |
|---|---|---|
name | Yes | Machine-safe identifier, e.g. IN_PROGRESS, QA, SHIPPED |
label | No | Human-friendly display name (defaults to name) |
exitCriteria | No | What must be true before leaving this step |
isSpecial | No | true if this is a terminal/archive step (like DONE) |
Steps are automatically ordered in the sequence you provide them.
Example steps for a security-focused flow:
TODO — "Not started"IN_PROGRESS — "Being implemented"SEC_REVIEW — "Security review", exitCriteria: "No critical CVEs, signed off by security team"STAGING — "Deployed to staging", exitCriteria: "All integration tests pass on staging"DONE — "Released", isSpecial: trueDisplay the collected flow as a table:
Flow: [name]
Description: [description]
Order | Name | Label | Exit Criteria | Terminal?
------|--------------|------------------|----------------------------------|----------
1 | TODO | Not started | | No
2 | IN_PROGRESS | In progress | | No
...
Ask: "Does this look right? Type yes to create, edit to change a step, or cancel to abort."
Once confirmed, run via Bash:
agenfk flow create "[name]"
The CLI gathers the description and steps interactively, then prints the new flow's ID.
agenfk flow create takes only the flow name as an argument — it has no --project flag;
associate the flow with a project later via agenfk flow use (Step 6).
Option A — MCP tool (preferred when installed with --with-mcp):
Call the create_flow MCP tool with the full flow body you collected:
{
"name": "<name>",
"description": "<description>",
"projectId": "<projectId>",
"steps": [
{ "name": "TODO", "label": "Not started", "order": 1, "isSpecial": false },
{ "name": "IN_PROGRESS", "label": "In progress", "order": 2, "isSpecial": false },
...
]
}
(There is also an update_flow MCP tool for editing an existing flow.) Do not
curl http://localhost:3000 — that bypass route is blocked by the agenfk-mcp-enforcer
hook. Go through the MCP tool or the CLI.
Option B — CLI (default, no MCP required):
agenfk flow create "<name>"
Then enter each step when prompted.
After creation, ask:
"Would you like to activate this flow for project [name] now?"
If yes, run:
agenfk flow use <flowId> --project <projectId>
Or via REST:
curl -s -X POST http://localhost:3000/projects/<projectId>/flow \
-H "Content-Type: application/json" \
-d '{"flowId":"<flowId>"}'
Report back:
agenfk flow show <flowId>If the user wants to edit a flow instead of creating one:
agenfk flow list or GET /flowsagenfk flow show <id>agenfk flow edit <id> — or use PUT /flows/<id> via REST with the full updated flow body.workflow_gatekeeper MCP tool returns the active flow's steps — all platforms benefit automatically once a flow is activated.agenfk flow reset --project <projectId>agenfk flow publish <flowId>Source: cglab-public/agenfk — distributed by TomeVault.