Attach a skill to an LLM node
Attach existing instructions to the step that needs them, without rewriting the same instructions in each workflow.
Before you start
You need an existing skill and edit access to the project. Attaching a skill changes the project draft. Updating the skill itself is a separate operation and immediately changes its latest live version.
Find the skill and target node
Confirm the organization with
whoami.Use
skills_listandskills_getto inspect the skill's instructions and actions.Read the complete project draft with
projects_get(version="draft").Identify the LLM node and its existing
data.skillsarray. Keep every attachment you intend to retain.
Preview the attachment
Call projects_edit with a direct patch. The example assumes the node is llm-0 and already has one skill. Replace both IDs and include the full desired array:
{
"project_id": "<project-id>",
"direct_patch": [
{
"op": "update_node",
"node_id": "llm-0",
"patch": {
"data": {
"skills": [
{
"skill_id": "<existing-skill-id>"
},
{
"skill_id": "<new-skill-id>"
}
]
}
}
}
],
"dry_run": true,
"publish": false
}The skills array replaces the existing array; it does not append automatically. An empty array detaches all skills.
Save and verify
Review the returned delta. Send the same patch with dry_run: false and publish: false to save the draft. Call projects_validate, then read the target node again and confirm the complete attachment list.
Publish the reviewed draft only when intended. If the skill's instructions later change, agents using the skill resolve its latest version; publishing a project does not pin the skill to an older version.
Tool reference
Was this helpful?

