workflows-simplify
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "workflows-simplify":https://skillpi.com/zh/skills/deepskill-8acaeaf95504b270487692f3da3aff596e32c296caba2be924522420a2e5099f。安装前核对上游来源和版本:https://github.com/clay-run/agent-plugins。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
Clay 工作流简化(CLI):通过 `clay workflows` 命令合并冗余节点、削减不必要的复杂性,并在可能时将 LLM 节点替换为确定性替代方案。
介绍来源: third_party · clay-run · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 输入和输出
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: workflows-simplify
description: 'Clay workflows — simplify a workflow via the CLI (`clay workflows` commands): merge redundant nodes, cut unnecessary complexity, and replace LLM nodes with deterministic alternatives where possible.'Simplifying a workflow
Analyze the current workflow and suggest concrete simplifications to reduce complexity, improve reliability, and lower costs.
Process
- Read the workflow using
clay workflows graph get <workflowId> --mode fullto get all node details - Analyze each node against the simplification checklist below
- Present findings as a prioritized list of suggestions with specific changes, alongside a render of the current graph (
clay workflows diagram <workflowId>) so the user can see which nodes each suggestion affects - Apply authorized changes — edit the workflow only when the user's request authorizes modifications, via
clay workflows nodes update/create/delete. Once authorized, apply clearly behavior-preserving improvements as you go and ask before changes with a material behavior or quality trade-off - Show the result — after applying, run
clay workflows graph format <workflowId>and render the updated graph so the simplification is visible, not just described
Narrate throughout and prefer the diagram over raw node JSON — see the workflows skill's presenting.md.
Simplification Checklist
Replace LLM nodes with code nodes
Regular (LLM) nodes cost an LLM call per execution. Many can be replaced with deterministic code:
- Data transformation — extracting fields, reformatting JSON, string manipulation → code node
- Simple routing — if the decision can be expressed as rules on data fields → conditional node (rules mode)
- Calculations — math, aggregation, counting → code node
- Template filling — constructing strings from known fields → code node
Ask: "Does this node require creative reasoning, or could a Python function do the same thing?"
Merge sequential nodes
Two adjacent nodes can often be combined into one if:
- Node A passes all its output to Node B, and Node B doesn't add new tools or branching
- Both nodes use the same model and could be described in a single prompt
- One node just reformats the other's output
Ask: "Would combining these prompts into one still produce the same result?"
Remove unnecessary nodes
- Nodes that just pass data through without transformation
- Conditional nodes with only one possible outcome
Pin typed inputs deterministically
When a downstream node needs specific typed data from an upstream node:
- Add
outputSchemato the upstream node - On the downstream agent node, pin each input via
sourceNodeId/sourcePathinline on theinputSchemaproperty (see theworkflowsskill'sdata-passing.md) - This preserves exact values across nodes
Simplify tool usage
- If a node has tools it never uses, remove them (reduces prompt size and cost)
- If a node calls one tool and passes the result, consider making it a code node with
context.call_tool()
Use code mode for conditional and map nodes
- Conditional nodes: prefer
rulesorcodemode overagenticmode when the decision logic is expressible programmatically - Map nodes: prefer
codemode overagentmode when processing is deterministic
Output Format
Present suggestions as:
- What to change — specific node(s) affected
- Why — what complexity or cost this removes
- How — the concrete edit (new node type, merged prompt, code snippet)
Pair the suggestion list with the current-graph render so each affected node is easy to locate. For analysis or recommendation requests, present the suggestions without editing. If the user asks you to modify the workflow, apply clearly behavior-preserving improvements as you identify them and state your assumptions. Ask only when an edit has a meaningful behavior or quality trade-off. Then run clay workflows graph format <workflowId> and show the updated graph so the user can see the before/after difference.
版本历史
-
clay-cli-v1.22.0
GitHub ↗
原版更新说明
Standalone Clay CLI 1.22.0 binaries, consumed by the Clay agent plugin. ## What's new - `clay ad-syncs trigger <adSyncId>` starts an export of an ad sync’s audience to its destinations: a draft’s first trigger starts the sync, later triggers run it again, and a paused sync resumes. - When a command fails because of a plan limit, the agent shows the upgrade link from the error and offers a way to continue without the gated feature. - Various bug fixes and stability improvements.
-
clay-cli-v1.21.0
GitHub ↗
原版更新说明
Standalone Clay CLI 1.21.0 binaries, consumed by the Clay agent plugin. ## What's new - `clay knowledge-hub skills create` saves agent skills to the workspace and resolves duplicate names without overwriting existing skills. - Various bug fixes and stability improvements.
-
clay-cli-v1.20.0
GitHub ↗
原版更新说明
Standalone Clay CLI 1.20.0 binaries, consumed by the Clay agent plugin. ## What's new - `clay workflows runs bulk pause`, `resume`, and `stop` control many runs; `clay workflows triggers list` lists assignments and schedules, and `update --resume-paused-runs` resumes paused runs with a trigger. - `clay workflows groups publish-as-function` creates reusable functions; the Workflows and Enhanced Match skills guide Classify routing and hashed-email enrichment, and `clay workflows runs get` shows waterfall provider names. - `clay audiences activities` reads and summarizes record activities, retrieves Gong transcripts, and searches call content; `clay audiences records get` includes related-record references. - `clay searches query-mode reference --sections` retrieves selected reference sections. - Various bug fixes and stability improvements.
-
clay-cli-v1.19.0
GitHub ↗
原版更新说明
Standalone Clay CLI 1.19.0 binaries, consumed by the Clay agent plugin. ## What's new - `clay workflows nodes insert --help` describes the Classify step: a Use AI step that sorts each record into one of a fixed set of categories with GPT 6 Luna or Jev, ready to branch on the chosen category. - `clay ad-syncs destinations delete` removes a destination from a paused or failed ad sync, not only a draft. - `clay searches preview` output includes `preview.isCurrent`, which says whether the stored preview still matches the search's current configuration. - Various bug fixes and stability improvements.
-
clay-cli-v1.18.0
GitHub ↗
原版更新说明
Standalone Clay CLI 1.18.0 binaries, consumed by the Clay agent plugin. ## What's new - `clay workflows runs steps` accepts `--omit-payloads` to list steps without their input and output data, and `--step-ids s1,s2` to fetch selected steps using comma-separated IDs, up to 50 per request. - Various bug fixes and stability improvements.
此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 直接解决用户工作流优化核心痛点,显著提升效率并降低成本
- 提供具体检查清单与行为保留改进策略,实用性强
亮点
- 触发词精准完整,覆盖多种变体,边界清晰
亮点
- Phase/步骤清晰,有出口条件,含端到端示例,frontmatter完整
亮点
- 工具来源明确,参数正确,覆盖主要异常,不可逆操作有确认机制
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。