omh-agent-instructions
Qué hace
Escribe las partes de un archivo de instrucciones que un agente no puede deducir del código, como los comandos de compilación y los errores comunes, y comprueba cada comando. Es para desarrolladores que quieren que sus herramientas de IA funcionen bien en un repositorio.
Cuándo usarla
- ✓Cuando quieres crear un archivo AGENTS.md o CLAUDE.md para tu proyecto.
- ✓Cuando tu archivo de instrucciones del agente está desactualizado o le faltan comandos clave.
- ✓Cuando quieres un archivo de reglas de Cursor o de instrucciones de Copilot para un repositorio.
Link de la skill
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-agent-instructions/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Actualiza nuestro CLAUDE.md con los comandos de compilación y de prueba, después de comprobar que cada uno realmente funciona.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente inventaría los archivos de instrucciones, comprueba cada comando o lo marca como no verificado, y escribe solo dentro de una sección marcada. Evita conteos o números de línea que quedarían desactualizados.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Agent Instructions
This is an OMH agent-instructions workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
agent-instructions exists because the file every handoff target reads first had no owner: rules-distill extracts rule candidates, codebase-onboarding builds a human reading path, and context aligns terminology, and each reads that file without writing it.
First Steps
- List every instruction file and which agent reads it before proposing a section.
- Run or ask for the observed run of each command before marking it verified.
Do Not Use When
- The ask is distilling repeated lessons into reviewed rule candidates; use
omh-rules-distill. - The ask is a reading path through the codebase for a new engineer; use
omh-codebase-onboarding. - The ask is project terminology alignment -- reviewing the terms this project uses and correcting inconsistent vocabulary; use
ulw-context. - The ask is user-facing product documentation; use
omh-docs.
Examples
Good example:
- Prompt: update our CLAUDE.md
- Expected behavior: Inventory the instruction files, run or collect each build and test command, mark each verified or unverified, and replace only the marked region with the commands, the generated-file map, the gates, and the costed pitfalls, refusing any count or line number.
- Why: An instruction file that states an unrun command or a stale count sends every later agent the wrong way.
Bad example:
- Prompt: add that the suite has 4,100 tests and the router is at line 212 of chat.py
- Expected behavior: Refuse both values, and write the command that counts the tests and the symbol that locates the router instead.
- Why: Both numbers were already wrong by the next merge.
Completion Checklist
- Every instruction file and its reader are listed.
- Every command is marked verified with an observed run, or unverified.
- Only the marked region changed, and hand-written text is byte-for-byte.
- No count, line number, or value the code already states was written.
- Every generated file names its source, its regenerate command, and its gate.
Recovery Notes
- If a command cannot be run here, write it marked unverified with what would verify it.
- If the file has no markers, insert them once around the new section and leave everything else untouched.
When to Use
Use when the repository's agent instruction file is being written or kept current: AGENTS.md, CLAUDE.md, GEMINI.md, a Cursor rule, or a Copilot instructions file. The output is the build and test commands each marked verified or unverified, the generated-file map with its regenerate command and gate, the byte-exact gates, and the pitfalls that cost time, written inside a marker-delimited region so hand-written sections survive.
Strong routing signals: `agent-instructions`, `agents.md`, `claude.md`, `gemini.md`, `copilot-instructions.md`, `.cursorrules`, `cursor rules`, `cursor rule`, `agent instruction file`, `agent instructions file`, `instructions file for agents`, `set up agents.md`, `update our claude.md`, `write an agents.md`
Catalog Metadata
Category: planning
Phase: agent-instructions
Quality tier: verified-command-and-region-gated
Reasoning demand: standard
Quality bar:
- Inventory every instruction file first and respect closest-file-wins nesting.
- Load
references/instruction-file-method.mdfor the section order, the marker convention, the verified and unverified command form, and the drift rules instead of recalling them. - Record each pitfall with what it cost, so a reader can tell a scar from a preference.
- Pair every generated file with its source, its regenerate command, and the gate that checks it.
- Keep prepared, verified, and written as separate states for every command and section.
Required inputs:
- which instruction files exist, where they sit, and which agents read them
- the build, test, lint, and regenerate commands the repository uses
- which files are generated, from what source, and which gate checks them
- the pitfalls that have cost time, each with what it cost
- observed output for every command written into the file
Expected outputs:
- instruction_file_inventory/v1
- command_verification_record/v1
- instruction_region_update/v1
- drift_refusal_note/v1 when a requested line would record a count or a line number
Artifact expectations:
- instruction_file_inventory/v1 lists every instruction file, its pat
Preguntas frecuentes
¿Guarda números como el conteo de archivos en el archivo?
No. La skill rechaza conteos y números de línea que cambian con el tiempo.
¿Se permiten comandos no verificados?
Sí, pero cada uno debe marcarse como no verificado y no presentarse como probado.
¿Qué herramientas cubre?
Archivos de instrucciones como AGENTS.md, CLAUDE.md, gemini.md, las instrucciones de Copilot y las reglas de Cursor.
Detalles
Descripción original del autor
[omh] Agent instruction file for a repo -- AGENTS.md, CLAUDE.md, a Cursor rule: write or update what an agent cannot derive from the code, inside a marked region, with every command verified or marked unverified and no counts that drift. Use when the user says: agent-instructions, agents.md, claude.md, gemini.md, copilot-instructions.md, .cursorrules, cursor rules, cursor rule.
repo: rlaope/oh-my-hermes
Popularidad
- Estrellas en GitHub
- 5,1 mil
- Posición en el ranking
- #15070
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
omh-accessibility-audit
5,1 milAyuda a tu agente a revisar una pantalla o flujo en busca de brechas de accesibilidad: teclado, lectores de pantalla, contraste y tamaño de los objetivos táctiles.
omh-adversarial-consensus
5,1 milAyuda a tu agente a atacar una propuesta técnica desde varios ángulos independientes antes de comprometerte con ella, y luego resume lo que sobrevive.
omh-agent-debug
5,1 milAyuda a tu agente a averiguar por qué otro agente de IA está atascado, en bucle o desviado, y sugiere la forma más pequeña y segura de recuperarlo.
omh-agent-ops-review
5,1 milAyuda a los gerentes a ver cómo va el trabajo de los agentes de IA, con avance, bloqueos, controles de calidad y formas de hacer más trabajo.
Skills parecidas
writing-skills
311 milEnseña a tu agente a escribir skills nuevas y a probar cada una primero, comprobando que realmente cambia la forma en que se comporta el agente.
writing-for-agents
310 milExplica cómo escribir instrucciones claras para agentes de IA, incluidas las skills y los archivos AGENTS.md y CLAUDE.md, para que el agente se comporte de forma predecible.
bengali-nlp
280 milHace que tu agente procese texto en bengalí. Ayuda a entender y trabajar con el idioma, normalizando el texto y gestionando sus características propias.