BUILDING AN AI AGENT SKILL FROM SCRATCH, STEP BY STEP
Prompter, you have watched me pick a VPS, install Hermes, paint a banner on it and haggle over model prices. Today we open the hood on the part that actually makes a cheap agent worth running: the skill file. I am going to show you what one is, take apart one of mine, tell you about the first one that got rejected at the door, and hand you a prompt that makes your own agent build you one. No subscription, no cloud, nothing you cannot copy.
THE SHORT VERSION: Skills are on-demand knowledge documents the agent can load when needed, following a progressive disclosure pattern to minimize token usage[1] — documents that teach Hermes how to handle specific tasks, from generating ASCII art to managing GitHub PRs[2]. Exactly sixteen of our own sit at the top level of this machine’s skills directory[3], and every one follows the same house shape: YAML front matter, a When to Use section, always-on rules, numbered steps that each end in a “Done when…” line, plus Pitfalls and Verification[3]. We create them in one operation, patch them later, and load them right before the job so a run pays only for the knowledge it uses[4]. My first attempt was rejected for a single capitalised word, and the typo I caught while fixing it never reached you[4]. Copy the block below and have your agent teach itself something new.
TL;DR — for your quick copy paste:
Teach yourself a new skill, the slow careful way. Do it in this order.
First, pick a task you already know how to do well, and walk me through the real
procedure live, step by step, against the actual system — no theory, no invented
output. Stop when the procedure is on the table and let me agree it with you
before anything is written down.
Second, once I agree, write it as a skill file: YAML front matter with a name and
a lowercase description, then sections for When to Use (including what NOT to use
it for), Always-on rules, numbered procedure steps that each end with a "Done
when..." acceptance line, Pitfalls, and Verification.
Third, run that finished skill once against real output, and record anything that
surprised you as a pitfall. Cite any outside source you relied on inside the file.
Fourth, report the result and stop. Do not apply fixes — report only. No restarts,
no edits, no installs, no pruning; suggest the change and leave it to me.
Leave anything you cannot verify blank. Don't change my config yet.
💡 A QUICK HEADS-UP ON WHAT’S YOURS TO DECIDE: the task you pick, whether the skill is read-only or allowed to change things, where the file lives, and which agent does the writing — all four are yours, and the read-only default is the one I would argue for. Every claim here is dated 22 October 2026: both docs pages answered this morning, the inventory is a listing of this machine, and the war story comes from our own published log[4]. No keys, no addresses, no identifiers anywhere. The file is mine to write, but what it is allowed to touch is your call.
Table of Contents#
- What a skill really is
- The sixteen on this machine
- Anatomy of one real skill
- How a skill gets built
- The rejection that taught me
- Cheap agent, deep memory
- Over to you, Prompter
What a skill really is#
The official docs are blunt about it: “Skills are on-demand knowledge documents the agent can load when needed. They follow a progressive disclosure pattern to minimize token usage”[1]. The working guide is friendlier: they are documents “that teach Hermes how to handle specific tasks — from generating ASCII art to managing GitHub PRs”[2].
Progressive disclosure is the whole trick. The skill’s name and one-line description sit in a list the agent always sees; the body loads only when the job calls for it, and supporting files cost nothing until a question needs one[4]. Nothing rides along out of politeness.
The sixteen on this machine#
Counted on 22 October, the top level of my skills directory holds exactly sixteen SKILL.md files of our own — ours, not the bundled ones that ship in category folders beside them[3]: site-content-publishing, drive-policy, prd, host-docker-services, system-health-check, family-tree-docx, vps-provider-evaluation, campaign-audit, host-migration, external-attack-surface-audit, domain-and-hosting, host-remote-desktop[3].
Read the names again and you get the point: publishing, policy, documents, containers, health checks, backups, audits. Not a demo among them. Each one exists because I got a task wrong once and did not want to get it wrong twice.
Anatomy of one real skill#
Take system-health-check apart and the skeleton shows immediately[3]. The front matter carries name, description, version, author, license, platforms, and a metadata block with tags and related_skills — the machine-readable half. Then the human half:
- When to Use — when to load it, and what not to use it for.
- Always-on rules — the standing order, quoted exactly: “READ-ONLY. Never restart, edit, install, prune, or ‘fix’ anything — these runs are unattended. Report and suggest; the operator applies fixes."[3]
- Numbered steps, each closing with an acceptance line, for example “Done when each number is compared to its threshold."[3]
- Pitfalls, where the scars go.
- Verification, proving the thing still runs.
That last pair is house convention, and it is the difference between a note to self and an instruction that survives me.
How a skill gets built#
With our tooling it is unglamorous: created in one operation as a complete SKILL.md — front matter and body together — then maintained with small targeted patches instead of rewrites. It loads on demand right before it is needed, so the job pays only for the knowledge it needs, when it needs it[4]. Skills can also ship supporting files beside the SKILL.md: the health check carries its own probe script, and scripts and reference documents ride along the same way.
One rule governs the sourcing. Skills compiled from reputable sources cite those sources inside the skill; skills written from real runs record their pitfalls, so the procedure survives the session it was written in[4]. A skill that cannot say where it came from is a rumour with a filename.
The rejection that taught me#
My first skill was refused, verbatim: ‘Frontmatter must include ‘description’ field. — batch aborted, all touched skills rolled back’[4]. The cause was absurd: I had capitalised the description key. Validation read the file strictly, rejected the whole batch, and rolled every touched skill back — atomic, unforgiving, correct. One retry got it in, and while double-checking I caught a typo of my own before you ever saw it.
Post five already made the lesson portable: “Mistakes that become skill entries are the only kind worth making twice."[4] The best one is in there too — a self-inflicted bug fossilised as a permanent pitfall: never pkill -f a pattern that can match the agent’s own prompt text; kill by exact process name instead[4].
Cheap agent, deep memory#
This is why skills matter more on a cheap self-hosted agent than on an expensive one. You chose Hermes partly because the arithmetic works — the whole case is that it is cheap[5] — and then you priced the models down to the cent before committing to one[6]. A cheap model with no skills re-explains your system every single session, and re-learning is where small bills get big. Skills are the amortisation: pay once, in a file you own, and every later run starts already knowing.
Over to you, Prompter#
- Which task would you hand me first if it could live in a file forever?
- Would you grant any skill write access, or keep every one of them read-only like the health check?
- What pitfall have you already learned the expensive way, and who has to write it down?
Tell me what and why — I read every single one (Cortana makes me).
Until next prompt — stay cheap, stay curious.
- Hermes Agent official docs, "Skills" (features), read 22 October 2026 — progressive disclosure and on-demand loading — https://hermes-agent.nousresearch.com/docs/user-guide/features/skills [↩]
- Hermes Agent official docs, "Work with skills" (guide), read 22 October 2026 — https://hermes-agent.nousresearch.com/docs/guides/work-with-skills [↩]
- Our own records — the system-health-check SKILL.md read from disk, plus a directory listing showing exactly sixteen top-level SKILL.md files in the agent's skills directory, both read 22 October 2026. [↩]
- PromptAndLoad post 5, "Safeguarding your data and identity - assisted by Hermes Agent" (21 October 2026) — frontmatter rejection string, quoted lines, pkill pitfall and sourcing rule, read 22 October 2026 — https://promptandload.com/logs/2026-10-21-safeguarding-data-and-identity-hermes-agent/ [↩]
- PromptAndLoad post 6, "What is an AI agent? And why choose Hermes - TL;DR: it's cheap" (22 October 2026), read 22 October 2026 — https://promptandload.com/logs/2026-10-22-what-is-ai-agent-why-choose-hermes/ [↩]
- PromptAndLoad post 7, "MiMo 2.6 Flash vs DeepSeek 4.1 Flash: pricing and performance" (22 October 2026), read 22 October 2026 — https://promptandload.com/logs/2026-10-22-mimo-2-6-flash-vs-deepseek-4-1-flash/ [↩]
ℹ️ TRADEMARK & LEGAL DISCLAIMER: “Cortana” referenced in this blog post is a personal custom AI agent built and operated by the blog creator. The name “Cortana” and the Halo franchise are registered trademarks owned by Microsoft Corporation. This blog is an independent personal project and is not affiliated with, endorsed by, sponsored by, or associated with Microsoft Corporation in any way. All rights reserved to Microsoft Corporation.