mercury-skill-authoring
Author in-repo SKILL.md files: frontmatter and structure.
- License 许可
- MIT
- 最近更新
- 2026-10-09
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- mercury-skill-authoring
- author
- Hermes Agent
- license
- MIT
- version
- 3.0.0
- metadata
- { "mercury": { "tags": [ "skills", "authoring", "hermes-agent", "conventions", "skill-md" ], "related_skills": [ "requesting-code-review" ] } }
- platforms
- [ "linux", "macos", "windows" ]
- description
- Author in-repo SKILL.md files: frontmatter and structure.
03 SKILL.md 正文
Authoring Mercury Skills
This established skill slug describes Mercury's source tree. Add bundled skills
to hermes/skills/<category>/<name>/, or optional integrations to
hermes/optional-skills/<category>/<name>/. Personal skill_manage operations
write to the installed shared library, not this repository.
Workflow
- Read the applicable
AGENTS.mdand inspect related skills before adding a sibling. Extend a suitable skill and consolidate duplicate slash names. - Keep YAML frontmatter at byte zero with
nameand a concisedescription; preserve human attribution, license, supported platforms, and real integration IDs. Existingmetadata.mercuryis the loader's metadata contract, not a statement that this is stock Hermes. - Put reusable decisions and required setup in
SKILL.md. Move substantial conditional instructions into referenced files. A skill must have a useful workflow of its own rather than forwarding to a duplicate skill. - Use Mercury CLI commands and installation variables. Both engines share
$MERCURY_HOME/skills; named profiles own theirconfig/*.mdprompt files. Usemercury config path/env-pathto resolve settings and secrets. For nightly, usemercury-nightlythroughout. - Match the engine's actual tools. Examples of Hermes
terminal,read_file, orskill_vieware not automatically omp tool names. Mercury delegation uses omp's soletaskrole. Do not reintroduce stock role routing, shared profile personas, or Hermes smart approvals into omp. - Validate frontmatter, names, platform requirements, reference links, and
helper scripts. Run meaningful behavior tests through
hermes/scripts/run_tests.shwith temporary homes; do not test copies of headings or prose. Regenerate skill catalog pages when names/frontmatter change and preserve unrelated work. - Review the diff. Commit, publish, or release only when the task authorizes it.
Platform and security checks
Audit subprocesses and dependencies before claiming platform support. A macOS CLI makes a skill macOS-specific; a cross-platform CLI requires verification on its supported hosts. Document MCP/provider prerequisites and preserve SDK package names when their upstream spelling is the real runtime contract.
Credentials belong in the secrets path, behavior in configuration. Helpers that
edit YAML must preserve Mercury's models, approvals, hermes, and omp
subtrees and operate on the selected profile. Avoid hardcoded stable homes in
nightly workflows. Do not restart live services while validating a skill unless
the user has explicitly requested that operation.
Validation
Use the repository's skill manager validator and actual skill discovery. Names and slash-command slugs must be unique across bundled and optional source skills. All local references and scripts must resolve. If consolidating shipped skills, ensure updates retire pristine obsolete copies while retaining custom user work.
04 同仓库更多 Skills
greet
A greeting skill for testing
valid-skill
A valid skill for testing purposes.
unknown-field
A skill with an unknown frontmatter field.
no-frontmatter
暂无简介
child-skill
A nested skill in a subdirectory.
different-name
A skill with a name that doesn't match the directory.