hermes-skill-authoring
Skill4 starsChanged 7 months agoMITView on GitHub
Use when creating new Hermes skills, writing SKILL.md, or contributing to HermitDoc. Covers: SKILL.md format, frontmatter requirements, size limits, directory structure, peer matching, validation, references, templates, publishing. Triggers on: skill authoring, create skill, SKILL.md format, frontmatter, skill structure, peer matching.
In this repository22 other files it gives its agents.
- hermes-channelsSkill
- hermes-cliSkill
- hermes-conceptsSkill
- hermes-configSkill
- hermes-cronSkill
- hermes-delegationSkill
- hermes-gatewaySkill
- hermes-hooksSkill
- hermes-installSkill
- hermes-loggingSkill
- hermes-masterSkill
- hermes-mcpSkill
- hermes-memorySkill
- hermes-platformsSkill
- hermes-providersSkill
- hermes-securitySkill
- hermes-skillsSkill
- hermes-soulSkill
- hermes-toolsSkill
- hermes-troubleshootingSkill
- hermes-voiceSkill
- hermitdoc-onboardingSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
When to use (triggers)
- Very specific: line 28
Every SKILL.md must have:
- Distinctive: line 104
Every skill follows this pattern:
- Very specific: line 140
Not every section is mandatory, but Overview + When to Use + actionable body + pitfalls are the minimum.
- Distinctive: line 145
Start with "Use when..."
- Very specific: line 205
Forgetting author/license/metadata block: Not validator-enforced, but every peer has it.
- Distinctive: line 207
Duplicating a peer: Check existing skills in the category first.
- Very specific: line 215
Use related_skills in frontmatter to link skills:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Hermes Skill Authoring Guide
Complete guide to authoring Hermes skills that match project conventions.
Overview
Skills are reusable, persisted procedures. They store:
- When to use (triggers)
- Step-by-step workflows
- Pitfalls and verification steps
- Reference docs and examples
Required Frontmatter
Every SKILL.md must have:
---
name: my-skill-name # lowercase, hyphens, ≤64 chars
description: "Use when <trigger>. <one-line behavior>. Triggers on: <phrases>."
version: 1.0.0
author: <your-name>
license: MIT
metadata:
hermes:
tags: [short, descriptive, tags]
related_skills: [other-skill, another-skill]
---Required fields:
name— lowercase, hyphens, ≤64 charsdescription— ≤1024 chars, starts with "Use when..."- Body content — non-empty after frontmatter
Recommended fields:
version— SemVer (e.g.,1.0.0)author— your name or GitHub handlelicense— MIT recommendedmetadata.hermes.tags— descriptive tagsmetadata.hermes.related_skills— links to related skills
Size Limits
| Field | Limit |
| Description | ≤ 1024 chars |
| Full SKILL.md | ≤ 100,000 chars |
Peer skills in the repo are 8-15KB. Aim for that range. If pushing past 20KB, split into references/*.md.
Directory Structure
skills/<category>/<skill-name>/
├── SKILL.md # Main skill file (required)
├── references/ # Deep-dive docs (optional)
│ ├── topic1.md
│ └── topic2.md
├── templates/ # Template files (optional)
│ └── template.yaml
└── scripts/ # Utility scripts (optional)
└── validate.shAvailable Categories
| Category | Use for |
autonomous-ai-agents | Claude Code, Codex, Hermes config |
creative | Art, music, design, video |
data-science | Jupyter, analytics, ML |
devops | Cron, webhooks, Kanban |
email | Gmail, SMTP |
gaming | Game automation |
github | PRs, issues, repos |
mcp | MCP server integration |
media | Spotify, YouTube, images |
mlops | Fine-tuning, serving, benchmarks |
note-taking | Obsidian, Notion |
productivity | Calendars, docs, spreadsheets |
research | arXiv, papers, search |
smart-home | Home automation |
social-media | Twitter/X, posting |
software-development | Debugging, testing, planning |
For HermitDoc, skills go under hermitdoc/skills/<category>/.
Peer-Matched Structure
Every skill follows this pattern:
---
name: example-skill
description: "Use when <trigger>. <one-line behavior>. Triggers on: <phrases>."
version: 1.0.0
author: Your Name
license: MIT
metadata:
hermes:
tags: [tag1, tag2, tag3]
related_skills: [other-skill]
---
# Skill Title
## Overview
One or two paragraphs: what it does and why it matters.
## When to Use
- Bulleted triggers
- "Don't use for:" counter-triggers
## <Topic sections>
- Quick-reference tables
- Code blocks with exact commands
- Hermes-specific patterns
## Common Pitfalls
Numbered list of mistakes and their fixes.
## Verification Checklist
- [ ] Checkbox list of post-action verificationsNot every section is mandatory, but Overview + When to Use + actionable body + pitfalls are the minimum.
Description Format
Descriptions must:
- Start with "Use when..."
- Describe the trigger class, not one specific task
- Embed triggers inline (not in separate frontmatter)
- Be ≤ 1024 characters
Good:
Use when configuring model providers, API keys, or model selection.
Covers: OpenRouter, Anthropic, DeepSeek, Gemini, Ollama, Groq,
Together, HuggingFace, and 20+ providers. Provider config, auth setup,
model routing, credential pools, failover.
Triggers on: provider, model, API key, openrouter, anthropic, deepseek, gemini.Bad:
Configure models.Workflow
- Survey peers in target category
- Draft with
write_file - Validate with the validator script
- Commit on your branch
- PR to HermitDoc
Validator Script
import yaml, re, pathlib
content = pathlib.Path("skills/<category>/<name>/SKILL.md").read_text()
assert content.startswith("---"), "Must start with ---"
m = re.search(r'\n---\s*\n', content[3:])
fm = yaml.safe_load(content[3:m.start()+3])
assert "name" in fm and "description" in fm
assert len(fm["description"]) <= 1024
assert len(content) <= 100_000
print("✅ Valid!")Validation Checklist
- File starts at byte 0 with
--- name,description,version,author,license,metadata.hermes.{tags, related_skills}all present- Name ≤ 64 chars, lowercase + hyphens
- Description ≤ 1024 chars, starts with "Use when..."
- Total file ≤ 100,000 chars (aim for 8-15k)
- Structure:
# Title→## Overview→## When to Use→ body →## Common Pitfalls→## Verification Checklist related_skillsreferences resolve (or are explicitly OK to be user-local)- Git committed on your branch
Common Pitfalls
- Using
skill_manage(action='create')for in-repo skills. It writes to~/.hermes/skills/, not the repo tree. Usewrite_filefor repo contributions. - Leading whitespace before
---. Validator checkscontent.startswith("---"). Any leading blank line or BOM fails. - Description too generic. "Use when debugging Python" > "Debug Python". Describe the trigger class.
- Forgetting author/license/metadata block. Not validator-enforced, but every peer has it.
- Duplicating a peer. Check existing skills in the category first.
- Expecting current session to see new skill. The skill loader is cached at session start. Verify in a fresh session.
- Linking to skills that don't exist in-repo.
related_skills: [some-user-local-skill]works for you but breaks for others.
Cross-Referencing
Use related_skills in frontmatter to link skills:
metadata:
hermes:
related_skills: [hermes-config, hermes-cli, hermes-skills]Within the body, reference other skills by name:
- "See
hermes-config/for full reference" - "Use
hermes-troubleshootingfor diagnosis flows"
References
Structured reference docs:
- SKILL.md Format — Frontmatter and format spec
- Authoring Workflow — Step-by-step process
- Common Pitfalls — Mistakes and fixes
Related skills:
hermes-skills/— skill managementhermes-master/— routinghermes-concepts/— architecture- Official skill authoring docs: https://hermes-agent.nousresearch.com/docs/skill-system
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

