Skip to content

Build

Skills & Prompt Library

Two small libraries of reusable text: skills are focused playbooks composed into an agent's system prompt at run time; prompts are complete starter system prompts. Both exist so good instructions get written once and reused everywhere.

Skill Library

Skills at /skills follow the Anthropic-style skill.md pattern: a skill is a focused, reusable playbook — "how to write a structured code review", "how to cite sources from a knowledge base" — that you attach to any agent or swarm node. At run time every selected skill is composed into the agent's effective system prompt, so the same agent can be specialized for different jobs just by swapping skills.

  • My skills — skills you write yourself in the editor, or generate with AI from a plain-English description and then edit.
  • Sample skills — a curated set you can copy into your own library with one click and adapt.
  • Attaching — open an agent in the Agent Builder (or a swarm node inspector) and select skills from the picker. Deleting a skill is safe: agents that referenced it simply drop it.

How skills reach the model

Attached skills are composed into the agent's system prompt on every turn — but how much of each skill goes in depends on how much you have attached, because a prompt full of playbooks for situations that are not happening this turn costs tokens and crowds the model's reasoning.

Combined skill sizeWhat the prompt carriesWhat the model does
Up to SKILLS_INLINE_MAX_CHARS (default 8,000 characters)Every skill's full body, inline.Reads them directly — one round trip, exactly as skills have always worked.
Above the limitA compact index: each skill's name and a one-line summary.Calls the use_skill tool with a skill's exact name to load its full instructions before applying it. Only the skills relevant to the current request are loaded.

Why the default keeps everything inline

All six sample skills together are about 6,700 characters, so the default limit means every configuration built from them behaves exactly as before — one prompt, no extra round trip. The index mode exists for heavy setups: ten skills, or two very long ones. There, inlining means resending every playbook on every turn while the model needs at most one or two of them — the index keeps the prompt small and the model pulls exactly what the request calls for.

Swarm nodes are unaffected in practice

A swarm node attaches its own skills, and well-built nodes are narrow — one or two skills each — so they stay comfortably under the limit and keep the classic inline behaviour. The same gate protects a node that is ever overloaded, but if you find yourself attaching ten skills to one node, the better fix is usually more nodes with narrower jobs.

Skill, tool, or just the system prompt?

These three are easy to confuse because all of them change what an agent does. They are not alternatives to each other, and the distinction is sharp once you see it: a skill and a prompt are text that changes how the model behaves; a tool is code the model can call to learn something it has no way of knowing, or to make something happen outside the conversation.

UseWhenExample
The system promptThe instruction is this agent's standing identity — its job, its refusals, its tone. One agent, one prompt, and nobody else needs it."You are the support assistant for Northwind Tools. Answer only from the knowledge base."
A skillThe same playbook should apply to several agents, or you want to swap it in and out without rewriting a prompt."How to write a structured code review" attached to three different reviewer agents.
A toolThe model needs a fact it cannot have, or must cause an effect. No amount of instruction substitutes for either.web_search for today's news, sql_query for a number in your database.

The common mistake is writing a skill that needed a tool

A skill saying "look up the customer's current plan before answering" instructs the model to do something it has no means of doing. It will comply in the only way available to it — by producing a plausible plan — and the failure looks like a hallucination rather than a missing capability. If the instruction requires information from outside the conversation, it needs a tool; the skill can then say when to reach for that tool.

Why a skill rather than a longer prompt

Two reasons, both practical. Reuse: a playbook written once and attached to five agents is edited in one place, where the same text pasted into five prompts drifts into five slightly different versions within a month. And composition: skills carry their own When to use section, so several can be attached and the model applies the ones that match the current request — which a single monolithic prompt cannot do, because every instruction in it applies to every turn whether relevant or not.

The three combine rather than compete. A well-built agent usually has a short prompt fixing its identity and refusals, two or three skills for the jobs it does repeatedly, and the narrow set of tools those jobs require — see Agent Builder for how they are attached.

Prompt Library

The Prompt Library at /prompts is a searchable collection of complete system prompts, filtered by category — support, sales, engineering, research, data, writing, creative, operations, productivity, and education. Each entry has a preview so you can read the full prompt before using it, and you can save your own prompts to the library for reuse across agents.

Prompt Compare

/prompt-compare answers the most practical question in prompt engineering: given this exact prompt, how do different models behave? It runs the same prompt against two or three models side by side, streaming the outputs next to each other with per-panel latency, token counts, and real cost. Preset experiments are included — constraint-following, JSON-only output, and similar discriminating tasks — each with a note on what to watch for.

Rule of thumb: if the reusable thing is a complete identity ("you are a support agent for…"), it belongs in the Prompt Library. If it is a technique an agent should apply on top of its identity ("when reviewing code, always…"), it is a skill.

Fields on a skill

FieldRequiredNotes
NameYesHow you find it in the picker
DescriptionNoWhat it is for
bodyYesThe instruction text itself. This is what gets prepended to the agent's prompt.
TagsNoFor filtering a long library

Attached skills are resolved at run time and prepended as a "Skills available to you" block ahead of the agent's own system prompt. Both saved agents and individual swarm nodes can attach them.

Why it works this way

A skill is instructions, not code — which is exactly why it is cheap to add. If a capability only needs the model to know a procedure ("how we format a change request"), it is a skill. If it needs to reach something outside the model, it is a tool, and tools need a handler and a permission gate.

Writing one that works

Skill body — change request format
When asked to write a change request, always produce exactly these sections:

TITLE      one line, imperative
RISK       low | medium | high, with one sentence of justification
ROLLBACK   the exact steps to undo this, or "none — irreversible"
BLAST      what breaks if this goes wrong

Never omit ROLLBACK. If a change genuinely cannot be undone, say so
explicitly rather than leaving the section out.
  • Be procedural. A skill is at its best describing a repeatable format or sequence, not general advice.
  • Keep it short. Every attached skill is prompt tokens on every turn.
  • One skill, one job. Two loosely-related skills beat one that covers both, because you can attach them independently.