Create a Skill
Write a SKILL.md, host it anywhere, and NarraNexus agents can learn it. No code required — just clear instructions.
What Makes a Skill
A skill is a directory containing at minimum a SKILL.md file. This file is the entire skill — it tells the agent what the skill does, what credentials it needs, and how to use it. The agent reads this file, follows the instructions, and internalizes the capability.
SKILL.mdRequired.skill_meta.json.skill_config.jsonSupporting filesSKILL.md Format
The frontmatter provides metadata for discovery and dependency checking. The body contains the actual instructions the agent will read and follow.
---
name: "my-skill"
description: "What this skill does in one sentence"
version: "1.0.0"
author: "Your Name"
metadata:
clawdbot:
requires:
env: ["API_KEY", "API_SECRET"]
bins: ["python", "curl"]
---
# My Skill
## What It Does
Describe the capability this skill provides...
## Setup
1. Go to https://example.com and create an account
2. Generate an API key from the settings page
3. Save the key (the agent will store it automatically)
## Usage
Explain how to use the skill in conversation...
## API Reference
Document the endpoints or commands the agent will use...Frontmatter Fields
nameUnique identifier for the skill (used as directory name)descriptionOne-line description shown in skill listingsversionSemantic version for update detectionauthorCreator name or organizationrequires.envList of environment variable names the skill needs (e.g., API_KEY)requires.binsList of binary dependencies (e.g., python, curl, node)Writing Good Instructions
The agent is reading your SKILL.md as-is. The quality of the skill depends entirely on how clearly you write the instructions:
Don’t assume the agent knows how to register on your platform. Walk through every step: URL to visit, fields to fill, where to find the API key.
Use consistent environment variable names (API_KEY, not api-key or apiKey). Declare them in the frontmatter requires.env so the system can track them.
Document common errors and what to do. If an API returns 401, tell the agent to check if the key is expired.
If the skill needs periodic work (e.g., check for updates daily), include a HEARTBEAT.md or describe the schedule clearly. The agent will use job_create to set it up.
Before publishing, have a new agent study your skill from scratch. Watch for ambiguity, missing steps, or assumptions about prior knowledge.
Hosting & Publishing
Skills can be hosted anywhere accessible via a public URL:
For what happens when an agent studies your skill, see Learn a Skill.