Skills and subagents

SKILL.md format

Frontmatter, then instructions. The same shape Claude Code uses, deliberately — a file copied from there works as it is.

frontmatter + bodynames are lowercase-dashed100 000 characters
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

A skill

~/.iagenify/skills/release-notes/SKILL.md
~/.iagenify/skills/release-notes/template.md     ← optional extra files
---
name: release-notes
description: Write release notes from a range of commits, in our house format.
---

Group changes under Added, Changed, Fixed.
Write one line per change, in the past tense, naming the user-visible effect.
Use template.md as the shape of the final document.
api.agents.skills.save(
    name="release-notes",
    description="Write release notes from a range of commits, in our house format.",
    content="""Group changes under Added, Changed, Fixed.
Write one line per change, in the past tense, naming the user-visible effect.
Use template.md as the shape of the final document.""",
)
namestring

Lowercase letters, digits and dashes, 64 characters at most. The folder's name is used when the frontmatter has none.

descriptionstring

The only thing in the system prompt. It decides whether the agent reaches for this skill at all.

bodymarkdown

The instructions, up to 100 000 characters.

The description is the trigger, not a label

The agent is told to call skill when a request matches a description. « Release notes » matches almost nothing; « Write release notes from a range of commits, in our house format » matches the request that needs it.

A skill's extra files

Anything else in the folder is listed when the skill is loaded, and the agent can open one with skill { name, file }. That is where a template, a checklist or a reference table belongs — out of the body, so it costs nothing until it is wanted.

A subagent

~/.iagenify/agents/explore.md
---
name: explore
description: Dig through files and data to answer a question, and report the facts.
tools: read, list, glob, grep, search, fetch, query_storage, account
model: gemini-3.5-flash
---

Find what was asked. Quote exactly, with paths.
Do not change anything. End with the facts, not with advice.
api.agents.subagents.save(
    name="explore",
    description="Dig through files and data to answer a question, and report the facts.",
    tools=["read", "list", "glob", "grep", "search", "fetch", "query_storage", "account"],
    model="gemini-3.5-flash",
    content="""Find what was asked. Quote exactly, with paths.
Do not change anything. End with the facts, not with advice.""",
)
toolslist

Which tools it gets. A list, or a comma-separated line. Absent means the parent's selection.

modelstring

Its own model. Absent — or inherit — means the parent's.

Claude Code names are translated

WrittenUnderstood as
lslist
websearchsearch
webfetchfetch
multieditmulti_edit
todowritetodo_write

Model names of that family — sonnet, opus, haiku, inherit — are not served here and fall back to the agent's own model, rather than failing.

The read-only set

For an investigating subagent, the useful selection is read, list, glob, grep, search, fetch, query_storage and account — everything that looks, nothing that changes. convert is not in it (it writes a file), and neither is anything that leaves the machine.

What the frontmatter accepts

A small subset of YAML: strings, and lists written either [a, b] or as dashed lines. A file with no frontmatter at all is read as pure instructions, with the name taken from the folder or the file.