Skill
A skill is a written procedure a coding agent follows to change a library: when to use it, its rules, its steps, when to stop, and when it is done. folio ships seven: set-up, configure, write, organise, address, publish and run.
The person using folio talks to their agent in plain words, and the agent picks the matching skill. The skills call the folio command the way an agent calls git, so the person never needs to learn it.
The set is fixed. What is specific to a kind of document lives in its genre's card, and what is specific to a procedure lives in a workflow, so neither needs a skill of its own.
Seven skills around one command
Every skill acts on the library through the same command. Pick a command to see which skills call it.
folio check: every skill. A change is done only when the gate passes.
folio journal add: six of the seven. Each records a decision as a new entry; address answers comments instead.
folio new: write alone. Every document any skill produces goes through write.
folio map add: write, which puts a new document on a map, and organise, which keeps the maps current.
folio mv: organise alone, with promote and rm --to, so a move keeps every link, comment and date.
folio annotations: address answers threads, write reads them and leaves flags, organise checks them before a move.
folio config set: set-up and configure, the only two skills that write the charter.
folio export: publish alone, after the gate.
set-up
Installs a library once: the charter, the home page, the first journal entry.
initconfigpack onjournal addcheck
configure
Changes the charter: packs, home maps, genres, variants, workflows.
configpackgenre addworkflow addjournal addcheck
write
Adds or revises any document, in its genre's voice, and puts it on a map.
searchnewcitemap addannotationsjournal addcheck
organise
Moves, merges, promotes and retires, with every link kept; runs health passes.
mapsmap addmvpromoterm --totagsjournal addcheck
address
Answers the comments readers left, on the page each was left on.
annotationsgenrecheck
publish
Exports the static site, and builds and freezes papers.
upexportpaper buildpaper freezejournal addcheck
run
Follows a workflow step by step; every document it makes goes through write.
workflowsgenrejournal addcheck
folio prefix. The command is shared; what differs between skills is which calls they make and in what order.Who talks to whom
- The person
Asks in plain words: "add a concept for this", "tidy the maps".
- The agent
Matches the words to a skill by its description, and reads it.
- The skill
Its steps, rules and stops, followed in order.
- folio
The command the skill calls, ending at the gate.
Every skill starts the same way
This is why a new genre, workflow or pack never needs a new skill: each one reads what the library offers before it acts.
- Find the library: the nearest
folio.yaml. - Read the charter.
- List the genres and workflows available, from the library, its packs and the core.
- Read the card for the genre in hand.
Related
Every skill that changes a document ends at the gate, then commits exactly the files it touched.
Where they live
The skills are installed in a library's .agents/skills/, for any coding agent that reads that folder.