agentleFS
mentealternementealterne/GYOS/AGENTS.md

GYOS

AGENTS.md1 starsChanged 5 days agoApache-2.0View on GitHub

Instructions for coding agents working on GYOS, the Claude Code plugin that implements Knowledge-Driven Programming. This file is a map: it says where things are and which rules hold. The detail lives in the files it points to. GYOS is a generator. It ships as a Claude Code plugin, and the repo is its own marketplace. What it generates lives in the user's repo and must work without GYOS installed. Read docs/plan.md before changing anything substantial. Standard → template →…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 35,337 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 repository7 other files it gives its agents.

The file

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

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Commit messages say what changed and why.

    line 45
  2. Distinctive:

    Run both before opening a pull request.

    line 49

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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

AGENTS.md

Instructions for coding agents working on GYOS, the Claude Code plugin that implements Knowledge-Driven Programming. This file is a map: it says where things are and which rules hold. The detail lives in the files it points to.

What this repo is

GYOS is a generator. It ships as a Claude Code plugin, and the repo is its own marketplace. What it generates lives in the user's repo and must work without GYOS installed. Read docs/plan.md before changing anything substantial.

PathHoldsChanges when
docs/plan.mdWhat GYOS is, the init flow, the commands, the roadmap, the dated decisionsA decision changes: add a dated row, never rewrite an old one
standards/What GYOS enforces: the shape of a module, of a domain skillBefore any template or skill that follows it
knowledge/What GYOS knows, with sources: the reasons behind the standardsResearch changes a conclusion
templates/Files copied as they are into a user's repoAfter the standard they implement
skills/The plugin's skills, invoked as /gyos:<name>—
scripts/Deterministic tooling: scaffolding, checks—
.claude-plugin/plugin.json and marketplace.jsonA release, or a new plugin field

Order of work

Standard → template → skill. A skill never encodes a rule the standard doesn't state. A template never contradicts its standard. When building a template proves the standard wrong, fix the standard in the same change and say so.

Rules

  • Ask, never invent. This holds for GYOS's own docs too: no claim about a tool, a library or a practice without a source. In knowledge/, every claim cites one. Where sources disagree, say so and say which side GYOS takes. Version-dependent details carry a version and a date.
  • Generated skills are self-contained. ${CLAUDE_PLUGIN_ROOT} is substituted only in the plugin's own skills. Whatever a generated skill needs is copied into the user's repo.
  • Plugin skills load knowledge in pieces. A skill links to ${CLAUDE_PLUGIN_ROOT}/knowledge/… and says when to read each file. Keep each SKILL.md under 500 lines.
  • Decisions are append-only. A change of mind is a new dated entry that supersedes the old one.
  • English for everything in the repo. Plain words, short sentences.

Git

  • One branch per change, a pull request, and the CI green before merging. main is protected: no direct pushes, no force pushes.
  • Commit messages say what changed and why.

Checks

Run both before opening a pull request. CI runs the same.

claude plugin validate --strict .                          # the marketplace and the plugin
claude plugin validate --strict .claude-plugin/plugin.json
node scripts/check-links.ts                                # relative links and anchors in *.md

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.