Load before calling build-agent for a new or existing n8n Agent. Governs prerequisite creation, faithful handoff of the user's request, agent targeting across turns, builder questions, testing, and publishing. Use directly for routine follow-ups when the conversation already targets an Agent; rerun intent-recognition only when the requested artifact is no longer clear.
64
77%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./packages/@n8n/instance-ai/skills/agent-builder/SKILL.mdUse this skill after intent-recognition chooses an agent-anchored design, or
when the conversation already targets an Agent and the user is continuing that
build. Do not rerun intent recognition for routine Agent edits or extensions.
Use build-agent only for Agent artifacts.
Treat message as a faithful handoff of the user's request, not an Agent build
specification authored by you. Forward the user's wording as close to verbatim
as possible. Include only:
Never infer, invent, expand, recommend, or prescribe implementation details the user did not request, and never present your assumptions as user requirements. In particular, do not choose or tell the builder which model, instructions, tools, tool types, integrations, channels, MCP servers, workflows, skills, tasks, memory, credentials, triggers, schedules, approvals, or test strategy to use.
Do not translate an outcome or named service into a specific implementation. For example, forward "a Slack agent that says hello to me" without turning it into a request for a Slack node tool. Preserve unspecified and ambiguous implementation details so the builder can resolve them with its own guidance and interactive tools.
Before the first build-agent call, create prerequisites the builder cannot
create when they must be attached to or used by the Agent:
workflow-builder, then pass the built workflow in workflowContext.data-table-manager
and create the required tables via data-tables. The builder cannot create
tables.List prerequisite names and schemas in message. Let the builder gather the
remaining Agent-specific requirements, including model, credentials,
integrations, and direct tools.
build-agent can return structured requiredArtifacts when the embedded
builder discovers something Instance AI must create:
relationship: "agent-tool", build it, pass it in
workflowContext, and call build-agent again so the builder can attach it.relationship: "agent-entrypoint", build it after the
Agent exists, using the returned agentId. This workflow invokes the Agent;
never pass it in workflowContext, never attach it to the Agent as a tool,
and do not call build-agent again solely to attach it.build-agent again with its name and
schema in message.For an unsupported chat channel, an agent-entrypoint workflow should connect
the platform trigger to Message an Agent, map the incoming message, use a
stable platform conversation/sender identifier as the custom session key, and
send the Agent's text response through the platform. Native Agent channels do
not need this wrapper.
If an older builder only lists missing workflows or tables in builderReply,
handle them the same way based on whether the workflow calls the Agent or is
called by the Agent. Never ask the user to create prerequisites manually.
Address Agents in this conversation with agentRef, a short stable key similar
to a workflow filePath.
agentRef and name.agentRef on later calls. Calls with neither agentRef nor
agentId continue editing the current Agent.createNew: true with a different
agentRef and name.agentId once,
optionally with an agentRef, then prefer the returned agentRef.Naming or renaming the current Agent never silently creates another one.
When the user asks for an Agent that uses other newly built Agents as saved sub-agents:
agentRef before attaching it to the
parent.build-agent for the parent and identify the child by its display name.
The parent builder must discover the saved child and map its name to the
valid stored ID. Do not pass a raw agentId as a user requirement.When the user asks to test, run, publish, activate, make usable, unpublish, or
otherwise change the Agent, forward that intent in message. The builder owns
its internal testing tools; do not conclude testing is unavailable because
those tools do not appear in your toolset.
When the builder needs a user choice, credential, chat channel, or approval, it
surfaces an interactive card in this chat. Do not relay the question yourself;
the build-agent call resumes with the user's answer.
7700b76
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.