skill_create
Turn a completed task into a reusable skill (SOP) so the same workflow can be recalled later when trigger conditions match.
Instructions
Create a reusable skill (SOP) from a successful task or conversation. Skills are injected into recall when matching trigger conditions are met. Use this after completing a non-trivial task to capture the workflow for reuse.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Short name for the skill (e.g., 'deploy-to-vercel'). | |
| steps | No | Ordered execution steps. | |
| content | Yes | Full SOP content in markdown. Include steps, commands, and validation. | |
| task_id | No | The task ID. Use this to isolate memory by a specific task. Link captures to a task for finer isolation. | |
| team_id | No | The team ID. Use this to isolate memory by team. When set, all queries filter by this value. | |
| user_id | No | The user ID. Use this to isolate memory by user within a team. When set with team_id, queries filter by both. | |
| agent_id | No | The agent ID. Use this to isolate memory by agent role within a team. Defaults to the detected agent. | |
| description | No | One-line description of what the skill does. | |
| validation_rules | No | How to verify the skill succeeded (e.g., ['curl returns 200', 'no errors in logs']). | |
| source_capture_ids | No | Capture IDs that this skill was extracted from (for traceability). | |
| trigger_conditions | No | Keywords or patterns that trigger this skill (e.g., ['deploy', 'vercel', 'production']). |