/clay:workflows-simplifyfrom clay
Analyzes Clay workflows and suggests simplifications: merging redundant nodes, replacing LLM nodes with deterministic code, and removing unnecessary complexity. Use with `clay workflows` CLI commands.
Ships in clay. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Before using this skill, read the clay entry skill if you haven’t already this session, and follow its access guidance.
Analyze the current workflow and suggest concrete simplifications to reduce complexity, improve reliability, and lower costs.
clay workflows graph get <workflowId> --mode full to get all node detailsclay workflows diagram <workflowId>) so the user can see which nodes each suggestion affectsclay 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-offclay workflows graph format <workflowId> and render the updated graph so the simplification is visible, not just describedNarrate throughout and prefer the diagram over raw node JSON — see the workflows skill's presenting.md.
Regular (LLM) nodes cost an LLM call per execution. Many can be replaced with deterministic code:
Ask: "Does this node require creative reasoning, or could a Python function do the same thing?"
Two adjacent nodes can often be combined into one if:
Ask: "Would combining these prompts into one still produce the same result?"
When a downstream node needs specific typed data from an upstream node:
outputSchema to the upstream nodesourceNodeId/sourcePath inline on the inputSchema property (see the workflows skill's data-passing.md)Look for code nodes that each take one serialized state input (often state_json) from the previous code node and return it changed. That state gets copied into every step it passes through, so step inputs and outputs keep growing. Suggest:
outputSchema on each code node with the fields it producesrules or code mode over agentic mode when the decision logic is expressible programmaticallyPresent suggestions as:
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.
What SKILL.md sets; muted values are Claude Code's defaults
39 skills in this plugin
/ad-syncsClay ad syncs — push an audience segment to ad platforms (LinkedIn, Meta, Google, Bing, Reddit, Vibe) as a custom audience. Use to create, edit, start, pause, or map the fields of an ad sync, or to check its status, match rate, or run history./audiencesClay Audiences — the workspace's own people, companies, and deals (contacts, leads, accounts, customers). Use for any request about their records when no surface is named, including counts, fill rates, lookups ("how many people have a phone?"), saved segments, and field definitions. Also deal and pipeline questions like largest opportunities, biggest pipeline items, recent wins, closed-won, deal stage, and ACV. Also Data hub enrichment configuration, audience assignments, and parity checks. Also the calls and meetings synced onto those records, such as Gong recordings, and which accounts discussed a topic on their calls./clayClay — start here. A table of contents for working with Clay and which skill to use for each thing — audiences (the workspace's own people/companies/deals), sequences (formerly campaigns; create, improve, and analyze outbound email sequences in Sequencer), ad syncs (push audience segments to ad platforms), search (find net-new people/companies), routines (run Clay-managed and custom functions), tables (query/export data), the CLI (ephemeral programmatic access), the Public API (build services on Clay), workflows (build automations), feedback, and getting help — reaching Clay support or a human about billing, refunds, or account problems. Read this first to answer "what can I do with Clay?"/clay-docsUse when the user asks a Clay product question — how a feature works, whether Clay supports or integrates with something, what plans include, security/compliance, or what's new — and the answer isn't operational guidance another skill owns. Answer from Clay's live public documentation, fetched and cited, never from memory./clay-feedbackClay feedback — send a bug report or product feedback to the Clay team via the `clay feedback` CLI./cliClay CLI — the primary scripting surface (JSON output, typed errors). Use when running or discovering `clay` commands. For what Clay can do and which skill to use, read the `clay` skill when it is available; otherwise run `clay --help`. Use `clay --help` for command names, flags, JSON shape, and error codes.npx claudepluginhub clay-run/agent-plugins --plugin clayOther plugins' skills for the same job