
hermes-agent-skill-authoring
Author in-repo SKILL.md files: frontmatter and structure.
- Installs
- 524
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/nousresearch/hermes-agent --skill hermes-agent-skill-authoring- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads hermes-agent-skill-authoring automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Authoring Hermes-Agent Skills (in-repo)
Overview
There are two places a SKILL.md can live:
- User-local:
~/.hermes/skills/<maybe-category>/<name>/SKILL.md— personal, not shared. Created viaskill_manage(action='create'). - In-repo (this skill is about this case):
skills/<category>/<name>/SKILL.mdoroptional-skills/<category>/<name>/SKILL.mdinside the hermes-agent repo — committed, shipped with the package. Usewrite_file+git add.skill_manage(action='create')does NOT target this tree.
In-repo skills must meet the repo's hardline authoring standards (see AGENTS.md, "Skill authoring standards (HARDLINE)" — that section is the source of truth; this skill is the operational walkthrough). Reviewers reject PRs that violate them, so meeting them up front is cheaper than a salvage pass later.
When to Use
- User asks you to add a skill "in this branch / repo / commit"
- You're committing a reusable workflow that should ship with hermes-agent
- You're editing an existing skill under
skills/oroptional-skills/(usepatchfor small edits,write_filefor rewrites;skill_managestill works for patch on in-repo skills, but not forcreate) - Don't use for: personal skills in
~/.hermes/skills/(just useskill_manage)
Decide the Tier First: Bundled vs Optional
- Bundled (
skills/<category>/) — daily-driver behavior, broadly useful across many user types, low footprint. Hard bar: you can say "a user will load this in 5+ sessions per month" with a straight face. - Optional (
optional-skills/<category>/) — niche, vertical-specific (blockchain, gaming, finance, one app), recurring-job/task skills, or anything heavy. Installed viahermes skills install official/<category>/<skill>.
When in doubt, optional. Promoting later is easy; demoting is churn. "Would be useful to anyone who ever needs this" is an optional-tier argument, not a bundled one.
Pick the category by what the tool IS, not what it feels like (an AI-agent CLI goes in autonomous-ai-agents/ even if it "feels productivity"). Confirm existing categories with search_files(pattern='*', target='files', path='skills') and don't invent new top-level categories casually.
No router / index / hub skills. A skill whose core content is a routing table pointing at sibling skills adds an indirection hop and duplicates the siblings' own When to Use triggers. If the skill would be empty without "load skill X instead" pointers, don't write it — the catalog and each sibling's triggers already do that job.
Required Frontmatter
Validator source of truth: tools/skill_manager_tool.py::_validate_frontmatter. Validator hard requirements:
- Starts with
---as the first bytes (no leading blank line). - Closes with
\n---\nbefore the body. - Parses as a YAML mapping.
namefield present.descriptionfield present (validator ceiling 1024 chars — but see the repo hardline below, which is much stricter).- Non-empty body after the closing
---.
Repo-standard shape (all fields expected, even where the validator doesn't enforce them):
---
name: my-skill-name # lowercase, hyphens, ≤64 chars (MAX_NAME_LENGTH)
description: Concise capability statement, under sixty chars.
version: 0.1.0 # semver; new skills start at 0.1.0
author: Real Name (github-handle), Hermes Agent
license: MIT
platforms: [linux, macos, windows] # audit, don't guess — see Platform Gating
metadata:
hermes:
tags: [Short, Descriptive, Tags]
related_skills: [other-in-repo-skill]
---
description rules (HARDLINE — the validator's 1024 is NOT the standard)
- ≤ 60 characters. One sentence. Ends with a period.
- State the capability, not the implementation, and don't repeat the skill name or its category name (the index prints the category above the skill).
- No marketing words ("powerful", "comprehensive", "seamless", "advanced").
- 60 is the width the system prompt skill index shows;
skill_managerejects a new or changed description over it, and the index clips a longer legacy one at a word boundary. - If the description contains a
:, wrap it in double quotes or YAML parses it as a mapping and the docs generator crashes. Quotes don't count toward the 60.
Good: Track named companies for material news with cited digests.
Bad: Use when a user asks to monitor named competitors or companies for product launches, pricing changes, funding, ... (240 chars — rejected in review)
author rules
- Credit the human first, then "Hermes Agent" as secondary collaborator:
Ben Barclay (benbarclay), Hermes Agent. - Never
author: Hermes Agentalone for contributed skills — credit the human, not the tool, even (especially) when an agent drafted the text. - Maintainer-authored skills:
Teknium (teknium1), Hermes Agent.
related_skills rules
- Every entry must resolve to an existing in-repo skill in the same tree state as your PR. Do not reference skills that were only planned, live in another PR, or exist only in
~/.hermes/skills/. - Verify each entry:
search_files(pattern='<name>', target='files', path='skills')(andoptional-skills/).
Platform Gating: audit, don't trust
platforms: gates loading by host OS. Set it from what the skill's prose and scripts actually invoke:
| Skill uses only… | platforms: |
|---|---|
| Hermes tools + stdlib Python + cross-platform CLIs | [linux, macos, windows] |
bash pipelines, grep/awk/sed chains, heredocs | [linux, macos] |
osascript, defaults, pmset | [macos] |
apt/systemctl//proc | [linux] |
POSIX-only signals to search for in scripts/: fcntl, termios, pty, os.fork, os.killpg, signal.SIGKILL, os.kill(pid, 0) liveness checks, hardcoded /tmp /proc /etc. Default posture: fix cross-platform first (tempfile.gettempdir(), pathlib.Path, psutil.pid_exists); gate narrower only when the dependency is genuinely platform-bound, and say why in ## Pitfalls.
Size Limits
- Full SKILL.md: ≤ 100,000 chars enforced (
MAX_SKILL_CONTENT_CHARS), but target ~100 lines for a simple skill, ~200 for a complex one. Peer skills sit at 8-14k chars. - Bulky or branch-specific material goes in
references/*.md,templates/, orscripts/— pointed to from SKILL.md, not inlined. - Don't expect the model to inline-write parsers or non-trivial logic every call — ship a helper script in
scripts/and reference it by path.
Body Structure (modern section order)
# <Skill> Skill
2-3 sentence intro: what it does, what it doesn't do, dependency stance.
## When to Use — bulleted triggers (+ "Don't use for:" counter-triggers)
## Prerequisites — exact env vars, installs, API key sourcing
## How to Run — canonical invocation through the `terminal` tool
## Quick Reference — flat command list, no narration
## Procedure — numbered steps, each with a checkable completion criterion
## Pitfalls — known limits, things that look broken but aren't
## Verification — how to prove the skill worked
Not every section applies to every skill (a pure-procedure task skill may have no Quick Reference), but When to Use + actionable body + Pitfalls + Verification are the minimum. Cut marketing intros, "Setup Check" no-ops, and re-explanations of env vars already in Prerequisites.
Reference Hermes tools, not raw shell
When the skill needs a capability, name the proper Hermes tool in backticks: terminal, read_file, write_file, patch, search_files, web_search, web_extract, browser_exec, vision_analyze, delegate_task, cronjob. Do NOT name shell utilities the agent already has wrapped (grep → search_files, cat → read_file, sed/awk → patch, find/ls → search_files target='files'). A CLI-wrapper skill should frame invocations as terminal(command="{tool} ...", timeout=...) — bare shell prose ("run foo --version") is a review-blocking non-conformance. If the skill depends on an MCP server, name it and document setup in Prerequisites.
Never use machine-local paths
Write repo-relative paths (skills/..., tools/skill_manager_tool.py). A /home/<you>/... path baked into a committed skill breaks for every other user and is an instant review flag.
Writing Quality Principles
A skill exists to make the agent's process more predictable — the agent reliably follows the same useful discipline.
- Optimize for process predictability. If a line does not change behavior, cut it.
- Choose the right context load. The description is paid for every turn; details go in the body or linked references.
- End steps with completion criteria. Checkable and, when it matters, exhaustive: "every modified file accounted for" beats "summarize changes."
- Co-locate rules with the concept they govern.
- Use strong leading words ("tight loop," "root cause," "regression test") over long repeated explanations.
- Prune duplication and no-ops. "Be careful" and "use best practices" don't change model behavior — replace with a checkable criterion or delete.
Tests and Docs (required for repo skills)
- Tests live at
tests/skills/test_<skill>_skill.py— stdlib + pytest +unittest.mockonly, no live network. Run viascripts/run_tests.sh tests/skills/test_<skill>_skill.py -q. (The generictests/tools/test_skill_manager_tool.pypassing proves nothing about YOUR skill.) - Docs regen: run
python website/scripts/generate-skill-docs.py, then apply scope discipline — the generator rewrites EVERY auto-gen page.git checkout --everything that isn't yours; the final diff must show only your SKILL.md, your one per-skill docs page, a one-line catalog row, and a one-linewebsite/sidebars.tsinsertion (verify withsearch_files(pattern='<your-slug>', path='website/sidebars.ts')— exactly one hit, or the page is an orphan). .env.example(only if the skill needs new env vars): one clearly delimited commented block; touch nothing else in the file.
Workflow
- Survey peers in the target category with
search_files(target='files')and read 2-3 peer SKILL.md files to match tone and structure. Prefer extending an existing skill over creating a narrow sibling. - Decide tier and category (see above). When in doubt, optional — and ask before pushing rather than defaulting.
- Draft with
write_filetoskills/<category>/<name>/SKILL.md(oroptional-skills/...). - Validate locally:
Also verify every
import re, pathlib from ruamel.yaml import YAML content = pathlib.Path("skills/<category>/<name>/SKILL.md").read_text() assert content.startswith("---") m = re.search(r'\n---\s*\n', content[3:]) fm = YAML(typ="safe").load(content[3:m.start()+3]) assert "name" in fm and "description" in fm assert len(fm["description"]) <= 60, f"description {len(fm['description'])} chars — hardline is 60" assert fm["description"].endswith(".") assert "platforms" in fm assert len(content) <= 100_000related_skillsentry exists in-repo. - Add tests + regen docs (previous section).
- Git add + commit on the active branch; open a PR.
- Note: the CURRENT session's skill loader is cached —
skill_view/skills_listwill not see the new skill until a new session. This is expected, not a bug.
Editing Existing In-Repo Skills
- Small fix:
skill_manage(action='patch', ...)works on in-repo skills, as doespatch. - Major rewrite:
write_filethe whole SKILL.md. - Supporting files:
write_filetoreferences/,templates/, orscripts/under the skill dir. - Always commit — in-repo skills are source, not runtime state. Re-run the docs generator when frontmatter changed.
Common Pitfalls
- Using
skill_manage(action='create')for an in-repo skill. It writes to~/.hermes/skills/, not the repo tree. Usewrite_file. - Trusting the validator's limits as the standard. The validator allows 1024-char descriptions; review rejects anything over 60. The validator doesn't check
platforms:, author format, tests, or docs — review does. author: Hermes Agenton a contributed skill. Credit the human first.- Leading whitespace before
---. Validation fails on any leading blank line or BOM. - Description too generic or trigger buried past char 57.
related_skillspointing at skills that don't exist in-repo (user-local, planned, or in a sibling PR).- Duplicating a peer. Survey the category first; extend rather than sibling.
- Skipping the docs generator or pushing its unrelated drift. Both directions are wrong: no regen = orphan skill with no docs page; blind regen = a ballooned diff full of other skills' drift.
- Expecting the current session to see the new skill. The loader is initialized at session start.
- Letting skills accumulate sediment. When adding a rule, remove the old wording it replaces.
Verification Checklist
- Tier decided deliberately (bundled bar: 5+ sessions/month; else
optional-skills/) - File at
skills/<category>/<name>/SKILL.mdoroptional-skills/<category>/<name>/SKILL.md - Frontmatter starts at byte 0 with
---, closes with\n---\n -
name,description,version,author,license,platforms,metadata.hermes.{tags, related_skills}all present - Description ≤ 60 chars, one sentence, ends with a period, no marketing words
-
authorcredits the human contributor first -
platforms:audited against actual prose/scripts, not copied from a sibling - Every
related_skillsentry resolves in-repo - Body follows the modern section order; commands framed through Hermes tools
- No machine-local paths anywhere in the file
- Each ordered step has a checkable completion criterion
- Tests at
tests/skills/test_<skill>_skill.pypass underscripts/run_tests.sh - Docs regenerated with scope discipline; sidebar has exactly one entry for the slug
-
git add+ commit on the intended branch; PR opened
FAQ
What does the hermes-agent-skill-authoring skill do?
Author in-repo SKILL.md files: frontmatter and structure.
How do I install hermes-agent-skill-authoring?
Run npx skills add https://github.com/nousresearch/hermes-agent --skill hermes-agent-skill-authoring in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/hermes-agent-skill-authoring/ (personal) or .claude/skills/hermes-agent-skill-authoring/ (project).
Which AI agents can use hermes-agent-skill-authoring?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is hermes-agent-skill-authoring safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains hermes-agent-skill-authoring?
It is published by nousresearch in nousresearch/hermes-agent. It has 524 recorded installs.
More from nousresearch/hermes-agent
dogfood
nousresearch/hermes-agent
Exploratory QA of web apps: find bugs, evidence, reports.
humanizer
nousresearch/hermes-agent
Humanize text: strip AI-isms and add real voice.
hermes-agent
nousresearch/hermes-agent
Use, configure, theme, extend, and orchestrate Hermes Agent.
popular-web-designs
nousresearch/hermes-agent
54 real design systems (Stripe, Linear, Vercel) as HTML/CSS.
powerpoint
nousresearch/hermes-agent
Create, read, edit .pptx decks with python-pptx.
arxiv
nousresearch/hermes-agent
Search arXiv papers by keyword, author, category, or ID.
Popular ai & agents skills
google-agents-cli-publish
google/agents-cli
This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).
google-agents-cli-eval
google/agents-cli
This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).
skill-creator
anthropics/skills
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
codex-pet
prime-skills/runcomfy-agent-skills
Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.
full-output-enforcement
leonxlnx/taste-skill
Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.
executing-plans
obra/superpowers
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available