agentleFS
Take-GroupTake-Group/openrevoke/.agents/skills/harness/SKILL.md

harness

Skill8 starsChanged 7 days agoMITView on GitHub

Write or change Open Revoke agent instructions - AGENTS.md files and folder maps, skills in open-revoke/.agents/skills, feature skills in open-revoke/skills, subagent profiles in .claude/agents and .codex/agents, and the harness in .agents/harness (hook, check). Use when a map is stale, a new folder or skill is needed, or an agent kept searching for something a map should have named. Inside website/ its own harness skill wins.

40 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use to-issues, to-prd and 6 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • GoogleSkill

    to-issues

    Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices.

    Also in 3 projects that use this

  • GoogleSkill

    to-prd

    Turn the current conversation into a PRD and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.

    Also in 3 projects that use this

  • AWSSkill

    retro

    Conduct a retrospective on a coding session.

    Also in 3 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 3 projects that use this

  • SentrySkill

    skill-creator

    Create new agent skills following the Agent Skills specification. Use when asked to "create a skill", "add a new skill", "write a skill", "make a skill", "build a skill", or scaffold a new skill with SKILL.md. Guides through requirements, writing, registration, and verification.

    Also in 3 projects that use this

  • +3 more from google

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 27 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    No dates in AGENTS.md outside docs/.

    line 42

“Common” is measured: kept by at least 6 in 10 of the 27 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Agent harness

How it works

  • .agents/harness/hook.py (Claude Code PreToolUse, set in the repo root .claude/settings.json): on the first touch of a folder it injects every AGENTS.md from the repo root down to that folder, once per session. Folders with a CLAUDE.md bridge (repo root, open-revoke/, website/) are skipped: Claude Code loads those itself.
  • .agents/harness/agent.py: context (first command of a Codex session), instructions <path> (the chain the hook would inject), check.
  • .agents/harness/check.py: fails on a folder under open-revoke/ with 5+ entries and no map, a map naming a missing file or missing a file, a broken link or backticked path, a budget overrun, a skill without a row in the "Task to skill" table, a Claude profile without a Codex twin.
  • .claude/hooks/ruff-python.sh (PostToolUse): formats and autofixes each edited backend .py.

Where things go

  • Repo-wide rules: repo root AGENTS.md. Product rules: open-revoke/AGENTS.md. Area facts: the area's AGENTS.md. CLAUDE.md exists only as the one-line bridge @AGENTS.md in the repo root, open-revoke/ and website/.
  • Folder map: in the folder's AGENTS.md, the whole file under # <folder>/ or a ## Files section beside rules. One bullet per entry, names in backticks: - \file.py`: what it owns`. A folder under 5 entries has no map; the parent's bullet names its files.
  • Procedures an agent repeats (explore, verify, diagnose): open-revoke/.agents/skills/<name>/SKILL.md, the only source; open-revoke/.claude/skills is a symlink to it. Add a row to the "Task to skill" table of open-revoke/AGENTS.md.
  • How one feature works (files, data flow, how to extend): open-revoke/skills/backend/ or open-revoke/skills/frontend/, listed in open-revoke/AGENTS.md.
  • Subagent: thin twins .claude/agents/<name>.md and .codex/agents/<name>.toml naming the same SKILL.md and its Subagent section.

Write

  • English. Only what changes decisions: entry points, symbols, commands, the order that matters, pitfalls. A map line answers "do I need to open this file?" with the key symbols, not a restatement of the file name.
  • No dates in AGENTS.md outside docs/. A backticked path must exist.
  • Budgets: repo root, open-revoke/ and website/ AGENTS.md 10 KiB, any other AGENTS.md 6 KiB (the hook injects it whole), SKILL.md 4 KiB.

Verify

  1. python3 .agents/harness/agent.py check from the repo root.
  2. python3 .agents/harness/agent.py instructions <path> shows what an agent gets for a path.
  3. Finish with verify.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.