agentleFS
zircote-pluginszircote-plugins/github-agentic-workflows/AGENTS.md

github-agentic-workflows

AGENTS.md2 starsChanged 8 months agoMITView on GitHub

This file is read by all agentic runtimes (GitHub Copilot, Claude Code, Codex, and gh-aw workflows) when operating in this repository. The aw-author plugin (v1.3.0) for Claude Code. It provides skills, commands, and reference materials for authoring GitHub Agentic Workflow (gh-aw) markdown files, plus an autonomous daily pipeline that keeps the reference materials current. Repository: zircote/github-agentic-workflows Owner: Robert Allen (zircote)

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository5 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Reference files are large (200–2100 lines): Use section headers as anchors for edits, not line numbers.

    line 29
  2. Very specific:

    The plugins: frontmatter field is deprecated: Use dependencies: instead.

    line 32
  3. Very specific:

    When editing reference files, verify the change compiles: Run gh aw compile after modifying any .md file in .github/workflows/.

    line 35
  4. Very specific:

    All write operations go through safe-outputs: using App tokens

    line 43

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “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
AGENTS.md

Agent Instructions — aw-author Plugin

This file is read by all agentic runtimes (GitHub Copilot, Claude Code, Codex, and gh-aw workflows) when operating in this repository.

What This Repository Is

The aw-author plugin (v1.3.0) for Claude Code. It provides skills, commands, and reference materials for authoring GitHub Agentic Workflow (gh-aw) markdown files, plus an autonomous daily pipeline that keeps the reference materials current.

Repository: zircote/github-agentic-workflows Owner: Robert Allen (zircote)

Key Directories

  • skills/aw-author/references/ — 9 canonical reference files (frontmatter schema, safe-outputs, tools, gotchas, patterns, examples, validation, body guide, URLs). These are the primary deliverable of this project.
  • skills/aw-daily/ — Autonomous daily pipeline skill that researches the gh-aw ecosystem, identifies gaps in reference files, and creates PRs to fix them.
  • skills/gh-aw-report/ — Intelligence reporting skill with knowledge base and search queries.
  • .github/workflows/ — Two gh-aw workflows: daily-intelligence.md (daily research + updates) and weekly-develop-merge.md (weekly develop→main merge).
  • outputs/gh-aw-reports/ — Dated intelligence reports.

Branching

  • main — stable
  • develop — receives daily automated PRs from the intelligence pipeline
  • Feature branches: daily-intelligence-YYYY-MM-DD (ephemeral, deleted after merge)

Rules for All Agents

  1. Never edit .lock.yml files. They are compiled output from gh aw compile.
  2. Reference files are large (200–2100 lines). Use section headers as anchors for edits, not line numbers.
  3. Knowledge base (skills/gh-aw-report/knowledge-base.md) is append-only. Never delete entries. Mark outdated facts with [SUPERSEDED by YYYY-MM-DD].
  4. All add-comment safe-outputs must include discussions: false. This is a known gh-aw gotcha that causes HTTP 422 errors.
  5. The plugins: frontmatter field is deprecated. Use dependencies: instead. Run gh aw fix --write to migrate.
  6. Discussion posts go to the "Project News" category (ID: DIC_kwDORSXBr84C61Lr).
  7. The daily pipeline is idempotent. It checks for existing Discussions, PRs, and issues before creating new ones. Re-running on the same day is safe.
  8. When editing reference files, verify the change compiles. Run gh aw compile after modifying any .md file in .github/workflows/.
  9. PRs are created as drafts. Open with --draft or draft: true in safe-outputs, then mark ready with gh pr ready after all changes are pushed and verified.

gh-aw Spec Essentials

  • Workflows are .md files with YAML frontmatter in .github/workflows/
  • Compiled to .lock.yml via gh aw compile
  • permissions: block is read-only — write permissions are rejected by the compiler
  • All write operations go through safe-outputs: using App tokens
  • Event-triggered workflows need reaction: eyes in the on: block
  • ${{ }} expressions inside fenced code blocks are NOT interpolated — use env vars
  • Trigger is issues (plural), not issue

Available Commands

CommandPurpose
/aw-authorAuthor, validate, improve, or debug gh-aw workflows
/aw-dailyAutonomous daily pipeline (research → gaps → fix → PR)
/aw-mergeWeekly develop→main merge
/aw-reportIntelligence sweep + Discussion posting
/aw-statusQuick briefing from knowledge base
/aw-upgradeUpgrade gh-aw extension + recompile + PR

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.