/clay:workflows-claygentfrom clay
Builds and runs Claygent agent nodes in Clay workflows for custom LLM research, reasoning, classification, drafting, or summarization over records.
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.
A Claygent in a workflow is a dedicated nodeType: "agent" node. It is not a Clay action
or function, so its absence from clay workflows actions list does not make Claygent
unavailable. Use /workflows-discover-actions only for tool nodes.
To sort each record into one of a fixed set of categories from data the workflow already has, or
when the user asks for Jev or a decisions API, use a Classify step instead: a Use AI tool node whose
inputs are listed in clay workflows nodes insert --help. Classify does the same job; Clay picks its
model, so don’t set one or say which model or provider it uses. Never set Jev as a Claygent’s model.
For downstream category-based actions, follow “Route Classify results” in /workflows: add
a rules Conditional child when the requested paths are clear, or ask about unclear next actions.
If an existing routine already performs the requested task, use the /routines skill.
Otherwise build the Claygent workflow here. Read the main /workflows skill for graph,
publishing, testing, and presentation rules.
clay claygents list --search <text> and read it
with clay claygents get <id> to check its inputs, outputs, and tools. Then set only
agentClaygentId on the node. Do not also send its name, prompt, model, or outputs.agentName and agentPrompt together in the agent node's first
clay workflows nodes create call. Omit agentModel to use the workspace default (Auto
where enabled). Set agentModel only when the user requests a specific model, and do not
silently substitute a different model. When editing an existing node, omit agentModel
unless the user asks to change it so the saved model is preserved.inputSchema.properties. Wire upstream values with
sourceNodeId and sourcePath, then use the property name as {{variable}} in the prompt.outputSchema to a flat field map with a useful description on every field. A
select field's options value is a JSON-encoded string containing a non-empty array of
objects with non-empty text, for example:{
"signal": {
"type": "select",
"description": "Strength of the evidence",
"options": "[{\"text\":\"Strong\"},{\"text\":\"Weak\"},{\"text\":\"None\"}]"
}
}
If a write rejects an output field or schema, use the validation message to correct it before testing. Do not retry the same shape.
If the user asks for a numeric score within a bounded set of ranges (for example "80–100 strong, 35–65 mixed, 0–25 weak"), the Claygent prompt must say that the score has to fall inside one of those ranges.
A Claygent's tools — MCP servers such as Linear or Notion, routines, document sources, and
web search — are configured on the Claygent, not on the workflow node. An agent node's
tools field is always empty, so it says nothing about what the Claygent can use. Read
clay claygents get <id> and check tools, internetSearchEnabled, and
peopleAndCompaniesSearchEnabled.
An agent node's agentInternetSearchEnabled shows whether its Claygent can search the web.
Set it with clay workflows nodes update to turn web search on or off for a regular
Claygent; the change applies everywhere that Claygent runs. Clay models always search the
web, so web search cannot be turned off for them.
When the agent needs a resource behind authentication, such as a private Linear attachment, first look for a connected tool that already holds that account's credentials, and tell the Claygent in its prompt to use it. Do not build a separate fetch-and-rehost chain of workflow nodes for something a connected tool can reach. Connecting a new tool is done in the Claygent's settings in Clay.
/workflows skill. Preserve the latest search query and its explicit
overall limit; never use an estimated result count as the run limit or turn search results
into workflow inputs by hand./workflows skill.Each Find Leads or Audiences source record starts one workflow run, so the downstream Claygent reads one person's or company's fields directly from the trigger node.
When the task requires public evidence, put the research criteria and source expectations in the Claygent prompt. The Claygent performs the per-record web research during its run; the host agent should not manually research every record before launching it.
When the user needs an exact criterion checked by the research — a funding event's date, a launch in the last 12 months — have the Claygent return it as an output field, left empty when the evidence does not establish it rather than guessed. Add a conditional that stops non-matching records only when the user asked to keep just the matches ("only companies that…", "skip anyone without…"); otherwise every record continues with the field as returned. Do not claim the Claygent's future research has already verified it.
workflows-discover-actions/cost-and-budget.md.clay workflows runs get; use --node-id or
--verbose when needed.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub clay-run/agent-plugins --plugin clay39 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./Other plugins' skills for the same job