Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

linkfox-workflow

FreeRuns bundled scriptsNot checked

用自然语言设计、修改、解释、校验 linkfox-workflow agentflow v2 工作流;用户确认生成或修改方案后,将合法 JSON 落盘并幂等上传到 linkfox-workflow 系统,返回…

linkfox-aiby linkfox-ai★ 127 GitHub stars

About this skill

linkfox-workflow Agentflow v2 生成器

响应预算(硬约束,减少 agent 空转)

  • 每段 thinking ≤ 500 字;不在 thinking 里枚举节点参数、默写 references 表格、反复自问"要不要再加个 sticky note"。参数以 references/ 为准,拿到答案立刻推进。
  • 每轮工具调用总预算 ≤ 8 次(Write / Read / Bash 各算 1 次;LinkfoxHTTP 节点的业务接口查询不计入,见下一条)。典型 generate:Read SKILL.md(如未读)→ Read 3 个固定 references(node-catalog / flow-structure / output-and-state)+ 至多 1-2 个本轮用到的节点分类 → rm -f 旧 fragment → Write fragment → save_workflow → upload_workflow。已读过的文件不重复 Read;同会话连续第二轮 generate 通常 3-4 次;refine 每轮固定多一次 fetch_workflow.py(见「执行流程」第 5 步),约 4-5 次。
  • flow 里每出现一个 LinkfoxHTTP 节点,就必须对它单独做一次"业务接口查询"(用 scripts/query_tools_matrix.py,不要用 curl / WebFetch;步骤见 nodes-linkfox-custom.md)。N 个 LinkfoxHTTP 节点就是 N 次独立查询,每个节点都要取出自己那个端点、核对 path/method/body。用户规格里只列了 skill 名或 endpoint_path、没给完整请求体字段,也算"没给完整入参",同样要查。查完后 body 必须是按文档字段组好的真实 JSON,不允许把 body 落成占位 "{}" 上传。
  • 节点级 refine(标签带 nodeId)通常 4-5 次:fetch → 在基线里定位该节点并搜一次 {{<nodeId>.output(一次 Grep,不能省,漏了下游引用是该场景最常见的错)→ rm -f + Write fragment → save → upload。不重读节点分类 references(除非换节点类型),不通读整份基线 JSON。
  • run / runs 预算 ≤ 2 次:Read references/runtime-execution.md(如未读)→ 跑一次 run_workflow.py 或 list_executions.py,拿到 stdout 直接回复。不读节点契约、不写 fragment、不跑 save/upload。
  • history 预算 ≤ 3 次:Read references/version-history.md(如未读)→ workflow_history.py(查看 1 次;还原是预览 + --confirm 两次)。不 fetch、不写 fragment、不跑 save/upload。
  • variables / credentials 预算 ≤ 3 次:Read references/variables-and-credentials.md(如未读)→ 一次 workflow_config.py。list 纯读随时可跑;set / create / update / delete 只在用户明确要求时跑,delete 必须带 --confirm。不读节点契约、不写 fragment、不跑 save/upload。
  • 上面的预算只管"拼 JSON + 落盘上传"和单次查看。用户明确要求调试 / 端到端验证 / 多轮迭代时换一套规则:每一轮(改 → 存 → 传 → 跑 → 查)最多 15 次调用,而且每一轮都要得出一个可验证的结论,比如"断言 PASS"、"定位到某节点输入里缺某字段"。然后再决定要不要开下一轮。别为了凑预算省掉验证,也别在一轮里漫无目的地反复试。临时测试版的恢复(fetch + 恢复 + 上传)不计入这一轮。
  • 同一 pattern 的 Glob / Grep 一轮内只出现一次。
  • 禁止读 linkfox-workflow 系统源码来推断字段:节点 data.name / data.type / inputs / credential 字段名一律以本 skill 的 references/ 为准;references 缺就补 references,不去猜源码。
  • 不读上一次遗留的 workflow.fragment.json:Write 前不 Read 该文件,直接覆盖写。
  • 生成 / 修改阶段禁止 Read scripts/ 下任何 .py(包括 workflow_spec.py / input_params_specs.py / save_workflow.py):校验规则以 save_workflow.py 实际报的 ERROR: 行为准。读完固定 references 后,下一步就是 Write fragment + 跑 save,先写后改,按报错逐条修。拿不准某个字段时也是先写一版让脚本说话,不要去源码里找答案——读校验器源码不会让片段更对,只会把预算耗光(会话 99b8c675:97 次 Read、0 次 Write)。
  • refine 不通读基线 JSON:fetch 的 stdout 已给出节点数;要定位节点 / 下游引用用一次 Grep,不要按 offset 分块 Read 整份基线。没动的节点在片段里怎么写见「执行流程」第 5 步。

目标

把自然语言需求归一为一份合法 linkfox-workflow agentflow v2 JSON(顶层 {description, usecases, nodes, edges})。只用 24 个节点(原生 15 + LinkFox 自定义 9;原生 Start 已弃用,开始节点一律用 BusinessStart);运行时对象(模型、凭据、Document Store、Vector Store、Tool credential、目标 flowId)一律留占位(用户点名要绑的已有凭据例外,见「执行流程」第 12 步)。用户确认后把 JSON 落盘并幂等上传到 linkfox-workflow 系统,由用户随后在 linkfox-workflow 系统中绑定运行时对象(linkfoxAgentApi 凭据除外——后台自动绑定,不要提示用户去页面上绑)。

按需读取参考(严格按需,未用到的分类禁读)

固定读三个:references/node-catalog.md(节点身份索引)+ references/flow-structure.md(顶层结构/edge/id 规则)+ references/output-and-state.md(各节点真实 output 字段 / $flow.state 读写 / 内置变量)。任何 generate/refine/validate 都要读,不能靠"这轮应该用不到"跳过 output-and-state.md(引用错字段运行时不报错也不替换)。run / runs 不属于此列,见本节末尾。

再按本轮实际用到的节点追加,没用到就不读:

本轮 flow 里出现 追加读
Agent / LLM / Tool / Retriever references/nodes-ai-and-knowledge.md
Condition / ConditionAgent / Loop / Iteration / HumanInput references/nodes-control-flow.md
HTTP / CustomFunction / ExecuteFlow / DirectReply references/nodes-integration-and-output.md
任何 LinkFox 自定义节点(BusinessStart / CrossBorderExpert / DataReader / FillForm / SendNotification / WriteFile / LinkfoxHTTP / End) references/nodes-linkfox-custom.md
异步任务接口(AI 生图/生文/生视频等 /aigc/*Async,以及任何"创建只回 taskId、结果要另查"的接口) references/nodes-linkfox-custom.md 的「异步任务接口」一节 + 必须追加 references/nodes-integration-and-output.md(CustomFunction 当延时节点)和 references/nodes-control-flow.md(Condition / Loop)
字段含 {{...}},且该节点的 inputParams 要你自己写(Agent / LLM / Tool / Retriever / ConditionAgent / ExecuteFlow / Loop / Iteration / DataReader / DirectReply) references/variable-substitution.md(管"字段要不要标 acceptVariable")

inputParams 由脚本代填的节点(见「inputParams 交给脚本」一节)不需要为此读 variable-substitution.md。

按需读:意图分类模糊读 references/intent-routing.md;不清楚 lifecycle 动作读 references/lifecycle-actions.md;不清楚"要不要单独求确认"读 references/confirmation-policy.md;不清楚回复格式读 references/response-contract.md;不清楚会话边界读 references/chat-runtime-contract.md。已经知道就不重复 Read。

run / runs 固定读 references/runtime-execution.md,且只读它,上面三个固定项一个字都不用读。history(查看 / 对比 / 还原历史版本)同理,只读 references/version-history.md;automation(启停 / 查看多维表自动化)只读 references/table-automation.md;variables / credentials(平台变量 / 凭据)只读 references/variables-and-credentials.md。flow 含记录触发(tableRecordTrigger)的 generate / refine 追加读 `references/table-autom

Full SKILL.md on GitHub

Install linkfox-workflow in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

references/chat-runtime-contract.mdreferences/confirmation-policy.mdreferences/flow-structure.mdreferences/intent-routing.mdreferences/lifecycle-actions.mdreferences/node-catalog.mdreferences/nodes-ai-and-knowledge.mdreferences/nodes-control-flow.mdreferences/nodes-integration-and-output.mdreferences/nodes-linkfox-custom.mdreferences/onboarding.mdreferences/output-and-state.mdreferences/response-contract.mdreferences/runtime-execution.mdreferences/table-automation.mdreferences/variable-substitution.mdreferences/variables-and-credentials.mdreferences/version-history.mdscripts/fetch_workflow.pyscripts/input_params_specs.pyscripts/linkfox_paths.pyscripts/list_executions.pyscripts/onboarding.pyscripts/query_tools_matrix.pyscripts/run_preflight.pyscripts/run_workflow.pyscripts/save_workflow.pyscripts/table_automation.pyscripts/table_sync.pyscripts/upload_workflow.pyscripts/workflow_auth.pyscripts/workflow_config.pyscripts/workflow_history.pyscripts/workflow_identity.pyscripts/workflow_spec.py

FAQ

What does the linkfox-workflow skill do?

用自然语言设计、修改、解释、校验 linkfox-workflow agentflow v2 工作流;用户确认生成或修改方案后,将合法 JSON 落盘并幂等上传到 linkfox-workflow 系统,返回 workflowId;用户明确要求时还能执行一次该工作流、查看它的执行记录、管理流程引用的平台变量与凭据(认证信息)。适用于“生成工作流”“修改 flow”“校验 agentflow”“上传/部署到 linkfox-workflow 系统”“跑一下这个流程”“看下执行记录/上次为什么失败”“建个变量/凭据”“这个值放哪”“用哪个认证”等请求;不发布、不删除 flow,不删改执行记录,不查看凭据明文。

How do I install the linkfox-workflow skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the linkfox-workflow skill run scripts?

Yes, this skill bundles executable scripts. Review the source before installing.

Related skills

Compare linkfox-workflow with