create-skill
What it does
This skill explains when and how to create a new skill for an Agent-Native app. It covers the questions to answer first and when a note is better kept elsewhere. It is for builders who want the agent to follow a pattern again and again.
When to use it
- βWhen there is a pattern the agent should follow each time it does a certain task.
- βWhen a multi-step workflow needs clear step-by-step guidance.
- βWhen you want to create a template or scaffold files from a standard layout.
Skill link
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/create-skill/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCan you create a skill that tells the agent how to add a new report page the same way every time?β
5 new skills a week. 1 minute to read.
How it works
The agent first answers a short interview about the skill's purpose, triggers and type. Then it writes a short skill file, adding supporting files only if they are needed.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Create a Skill
When to Use
Create a new skill when:
- There's a pattern the agent should follow repeatedly.
- A multi-step workflow needs reliable, step-by-step guidance.
- You want to scaffold files from a template.
Don't create a skill when:
- The guidance already exists in another skill β extend it instead.
- You're documenting something the agent already knows (e.g., how to write TypeScript).
- It's a one-off β put it in
AGENTS.md(for everyone) ormemory/MEMORY.md(personal, per-user). See capture-learnings.
Interview
Before writing the skill, answer these:
- What should this skill enable? β The core purpose in one sentence.
- Which of the four areas does it serve? β UI, actions, skills/instructions, or application state (see the adding-a-feature skill). Most skills are about how to touch one or more of these correctly.
- When should it trigger? β Describe the situations in natural language.
- Does it involve context awareness? β Does the agent need to know what the
user is looking at? If so, reference the
navigationapplication-state key and theview-screenaction pattern. See the context-awareness skill. - What type of skill? β Pattern, Workflow, or Generator (see below).
- Does it need supporting files? β References (read-only context) or none.
Keep it minimal; push depth into
references/.
Skill Types and Templates
Pattern (architectural rule)
For documenting how things should be done:
---
name: my-pattern
description: >-
[Under 40 words. What it covers AND when it should trigger.]
---
# [Pattern Name]
## Rule
[One sentence: what must be true]
## Why
[Why this rule exists]
## How
[How to follow it, with code examples]
## Don't
[Common violations]
## Related Skills
[Which skills compose with this one]
Workflow (step-by-step)
For multi-step implementation tasks:
---
name: my-workflow
description: >-
[Under 40 words. What it covers AND when it should trigger.]
---
# [Workflow Name]
## Prerequisites
[What must be in place first]
## Steps
[Numbered steps with code examples]
## Verification
[How to confirm it worked]
## Troubleshooting
[Common issues and fixes]
## Related Skills
Generator (scaffolding)
For creating files from templates:
---
name: my-generator
description: >-
[Under 40 words. What it covers AND when it should trigger.]
---
# [Generator Name]
## Usage
[How to invoke β what args/inputs are needed]
## What Gets Created
[List of files and their purpose]
## Template
[The template content with placeholders]
## After Generation
[What to do next β wire up sync, add routes, register the action, etc.]
## Related Skills
Naming Conventions
- Hyphen-case only:
[a-z0-9-], max 64 characters. - Pattern skills: descriptive names (
storing-data,delegate-to-agent). - Workflow/generator skills: verb-noun (
create-skill,capture-learnings). - The directory name must match the
namein frontmatter.
Frontmatter Fields
| Field | Required | Value |
|---|---|---|
name |
yes | Hyphen-case, matches the directory name |
description |
yes | What the skill covers AND when it triggers |
scope |
no | both (default) | runtime | dev |
For how to word a description and which scope a skill should get, follow
writing-agent-instructions β it owns those rules.
Tips
- Keep SKILL.md lean (under ~500 lines) β move detailed content to
references/files. - Use standard markdown headings β no XML tags or custom formats.
Anti-Patterns
- Inline LLM calls β skills must not call LLMs directly. All AI work goes through the agent chat (see delegate-to-agent).
- Introducing databases β data lives in SQL via Drizzle (see storing-data).
- Ignoring sync β if a skill creates data, mention wiring
useDbSync/useActionQueryso the UI updates (see real-time-sync). - Pure documentation β skills should guide action, not just explain concepts.
File Structure
.agents/skills/my-skill/
βββ SKILL.md # Main skill (required)
βββ references/ # Optional supporting context
βββ detailed-guide.md
Related Skills
- adding-a-feature β The four-area model every skill ultima
FAQ
When should I not make a skill?
The skill says not to make one when the guidance already exists in another skill, or for a one-off note.
Where do one-off notes go?
They go in the app's agent guide file or in personal memory, rather than in a skill.
Should skills be long?
The skill advises keeping them minimal and placing extra depth in reference files.
Details
Original description by the author
How to create new skills for an agent-native app. Use when adding a new skill, documenting a pattern the agent should follow, or creating reusable guidance for the agent.
repo: BuilderIO/agent-native
Popularity
- GitHub stars
- 7.6k
- Ranking position
- #13150
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
design-exploration
7.6kHelps your agent explore several UI design directions side by side, let you pick one, and then refine the chosen design.
visual-edit
7.6kHelps your agent open a running local app in a visual editor so you can review and edit its real screens together.
turn-into-app
7.6kTurns a workflow, spreadsheet or project into a polished visual app, with populated screens and an agent working behind the controls.
visual-plan
7.6kTurns a plain text plan into an interactive visual plan with diagrams, file maps, code snippets and open questions.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.