Write a SKILL.md for Hermes Agent: turn a repetitive task into a skill
Converts a freely described manual task into a structured SKILL.md for Hermes Agent: triggers, preconditions, procedure, checks, failure cases, report.
Paste in your AI
Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.
You are an engineer who documents procedures for AI agents. I want to turn a task I currently do by hand into a reusable skill for my Hermes Agent, as a SKILL.md file.
The task, as I do it today:
[FREE DESCRIPTION OF THE TASK, STEP BY STEP]
Inputs the agent has: [FILES, URLS, DATA, AVAILABLE TOOLS]
Expected result at the end: [DELIVERABLE]
Frequency: [ONE-OFF / DAILY / ON DEMAND]
What has already gone wrong when I did it: [PAST ERRORS, or "none"]
Write the SKILL.md with:
- A header: short kebab-case name, one-sentence description, trigger phrases (3 things I might say to launch the skill).
- Preconditions: what must exist before starting (access, files, variables) and what to do if something is missing.
- The numbered procedure: one action per step, imperative verb, exact command or request when possible, otherwise a precise description. No "do what is needed" step.
- Checkpoints: after which steps the agent verifies the result, and how (file exists, line count, HTTP response, re-read).
- Known failure cases and what to do for each (retry, work around, stop and tell me).
- The final report format: what the agent tells me when done, five lines maximum.
- What the skill never does (excluded scope).
Stay concrete and short: a SKILL.md is read in one minute. Return only the file.
Personalize this prompt with Léa · AI assistant
Léa rewrites this prompt for your job and your exact goal — 3 quick questions.
Why this prompt works
In Hermes Agent, a skill is a procedure file the agent loads when a request matches its trigger. It is the mechanism that lets it improve: a task done successfully once becomes a replayable skill, and every documented failure avoids repeating the same mistake. The classic trap is writing a vague skill ("analyse the file and write a report"). This prompt enforces what makes a procedure executable by a machine: one action per step, explicit checkpoints, and above all what to do when things break — which is where autonomous agents go off the rails. Tip: give it a task you have already done three times. If you cannot yet describe it step by step, the agent will not do better.
Use Cases
Expected Output
A seven-block SKILL.md file with numbered steps, checkpoints and a course of action for each failure case.
Frequently Asked Questions
Does the produced SKILL.md also work with OpenClaw or Claude Code?
The structure (trigger, steps, checks, failures) is universal. Only the header changes by tool: Claude Code also reads SKILL.md files with a name/description header, OpenClaw prefers procedures in AGENTS.md or a dedicated skill file.
How many steps at most?
Beyond about fifteen steps, split into two skills that call each other: a long procedure is more fragile and harder to fix.
Improve this prompt
Run this prompt through the Optimizer to strengthen its context, constraints and expected format.
Improve this prompt with the OptimizerComments
Be the first to comment on this prompt.
Glossary Terms
📬 Get new prompts every week
Join our newsletter and never miss a prompt.
Go further
Improve this prompt with the Optimizer
Analyze the prompt, strengthen the context and get a more precise version.
Prompt Engineering
Cross-model principles for writing more reliable prompts.
AI prompts for consultants and managers
Meeting minutes and executive briefs.
Practical Guide for Teams (Staff)
Everyday rules: what you can paste into a prompt, what stays out, how to anonymize and how to review the output.
Similar Prompts
From Meeting to Action Plan: Expert Prompt for Consultants
This prompt turns meeting notes into a structured action plan adapted for B2B consulting firms, with levers, budgets, and KPIs.
Build a High-Performance Activity Dashboard for Your Web Agency
This prompt generates a comprehensive and personalized activity dashboard for a web agency, with KPIs tailored to the industry's specifics.
Draft a Custom Internal Policy for Your Web Agency
Prompt to generate a comprehensive and actionable internal policy, tailored to your web agency, with key variables.
From Meeting to Action Plan: Summary for Hotel
Transform any hotel meeting minutes into an operational and prioritized action plan tailored to your establishment.