Skip to content
Agent Orchestration
Skill

/omh-agent-instructions

[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:

From plugin
oh-my-hermes
5.7k158 skills

Claude Code

$ npx -y skills add rlaope/oh-my-hermes --skill omh-agent-instructions --agent claude-code

SKILL.md

omh-agent-instructions.SKILL.md
name: "omh-agent-instructions"
description: "[omh] Agent instruction file for a repo: AGENTS.md, CLAUDE.md, or 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."
license: MIT
author: "oh-my-hermes maintainers"
metadata:
  hermes:
    tags: [workflow, oh-my-hermes, planning]
    category: planning
    phase: agent-instructions
    role: planner
    quality_tier: verified-command-and-region-gated
    related_skills: [omh-rules-distill, omh-codebase-onboarding, ulw-context, omh-docs]

Agent Instructions

This is a Hermes-native `agent-instructions` workflow skill.

Why This Exists

`agent-instructions` exists because the file every handoff target reads first had no owner: `omh-rules-distill` extracts rule candidates, `omh-codebase-onboarding` builds a human reading path, and `ulw-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.

Workflow Lane

  • Current lane: **Coding handoff** - coding owners, handoffs, review, CI, and merge evidence.
  • If intent belongs to another lane, hand back to `omh-routing` or name the adjacent workflow.
  • Shared product, routing, compatibility, and evidence rules: `skill_view(name='omh-routing', file_path='references/skill-common-rail.md')`.

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` Hermes role: `planner` 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.md` for 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.

Handoff policy:

Keep the section plan, the command verification record, and the region update in Hermes. Every command's outcome is recorded only from executor, operator, or wrapper observed output; the file is written by the executor, and only inside its marked region.

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 path, the agents that read it, and which one is closest to each directory, since the closest file wins
  • command_verification_record/v1 marks every command verified,
Read more
@rlaope
Ships withoh-my-hermes

⚚ The ultrawork agent with AI coworkers wired into you

5.7k158 skills
Get the whole plugin

Stars on GitHub

Momentum

stars in total
5.7k
Star history of rlaope/oh-my-hermes on GitHub, a chart by star-history.com

Other skills on oh-my-hermes.

model-onboarding

model-onboarding

Onboard a new model generation or sibling into oh-my-hermes: probe router recognition, research the official contract, write…

@rlaope@rlaopeInstall Skill
review-sweep

review-sweep

Review oh-my-hermes pull requests that have not been reviewed at their current head commit. Run manually to sweep the open…

@rlaope@rlaopeInstall Skill
triage-sweep

triage-sweep

Backfill labels across oh-my-hermes issues and pull requests. Run manually to sweep everything currently unlabeled, or pass a…

@rlaope@rlaopeInstall Skill
dag-ulw

dag-ulw

[omh] Large multi-part job to run on its own: plan it as a graph of small nodes, run the ready ones in parallel through Hermes'…

@rlaope@rlaopeInstall Skill
omh-achievements

omh-achievements

[omh] Hermes badges unlocked and achievement progress: achievements observation: summarize hermes-achievements badges, tiers,…

@rlaope@rlaopeInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw4d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca1d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip2d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about omh-agent-instructions.

Which coding agents can use omh-agent-instructions?
omh-agent-instructions installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.