agentleFS
sudokoisudokoi/skills/AGENTS.md

skills

AGENTS.md0 starsChanged 3 months agoMITView on GitHub

A version-controlled home for my agent skills — the "skills" equivalent of a dotfiles repo. It holds two kinds of skills: - Self-authored skills — one top-level <name>/SKILL.md folder each: - setup-skills/ — the bootstrap skill that installs everything else on a fresh machine. - commit-style/ — my commit conventions. - github-workflow/ — my GitHub Actions conventions. - Third-party skills — not vendored here; they are listed in setup-skills/scripts/inventory.tsv and installed from their upstream repos. On a fresh machine, install…

  • 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 repository3 other files it gives its agents.

The file

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

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

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Create <name>/SKILL.md — frontmatter name (lowercase, hyphenated, matches the folder) and a required description.

    line 29
  2. Very specific:

    Run python3 scripts/validate.py and python3 scripts/test_validate.py to check the metadata and the validator itself.

    line 34
  3. Very specific:

    Commit following the commit-style skill.

    line 36
  4. Very specific:

    Follow the commit-style skill for commits and the github-workflow skill for workflow changes.

    line 51
  5. Common:

    Do not commit secrets or personal tokens.

    line 53

≈ “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

AGENTS.md — Personal Skills Repo

What this repo is

A version-controlled home for my agent skills — the "skills" equivalent of a dotfiles repo. It holds two kinds of skills:

  • Self-authored skills — one top-level <name>/SKILL.md folder each:
    • setup-skills/ — the bootstrap skill that installs everything else on a fresh machine.
    • commit-style/ — my commit conventions.
    • github-workflow/ — my GitHub Actions conventions.
  • Third-party skills — not vendored here; they are listed in setup-skills/scripts/inventory.tsv and installed from their upstream repos.

Reproducing the setup

On a fresh machine, install the bootstrap skill and run it:

npx skills add sudokoi/skills --skill setup-skills --global --yes --agent opencode

setup-skills asks which agents to support, then shows a category tree of the skills in setup-skills/scripts/inventory.tsv; picking a category selects all skills under it, and the pick is remembered per machine. See setup-skills/scripts/install.sh --help for the installer flags (--all, --commands, --dry-run). Re-running is idempotent.

Adding a custom skill

  1. Create <name>/SKILL.md — frontmatter name (lowercase, hyphenated, matches the folder) and a required description.
  2. Register it in setup-skills/scripts/inventory.tsv as sudokoi/skills <name> <category> (category: core, react, kotlin, architecture, process, or tooling).
  3. Run python3 scripts/validate.py and python3 scripts/test_validate.py to check the metadata and the validator itself.
  4. Commit following the commit-style skill.

CI

  • .github/workflows/ci.yml — on every push: scripts/validate.py (frontmatter, inventory categories, slash-command references), scripts/test_validate.py, setup-skills/scripts/test_install.sh (installer contracts), ruff (lint + format) on the python, markdownlint on the markdown, a dry-run of the installer, plus bash -n and shellcheck on the scripts.
  • .github/workflows/install.yml — on main and manual dispatch: smoke-tests the real install and verifies every planned skill lands in ~/.agents/skills.

Conventions

  • One folder per skill; a skill is just a SKILL.md plus optional helper files.
  • Follow the commit-style skill for commits and the github-workflow skill for workflow changes.
  • Do not commit secrets or personal tokens.
  • Target audience is me (React + React Native, Kotlin native modules, Cloudflare), but setup-skills should ask rather than assume.

Technical reference

Where opencode discovers skills (https://opencode.ai/docs/skills/):

  • Project: .opencode/skills/<name>/SKILL.md, .claude/skills/..., .agents/skills/...
  • Global: ~/.config/opencode/skills/..., ~/.claude/skills/..., ~/.agents/skills/...
  • Each skill = a folder with a SKILL.md whose frontmatter has name (lowercase, hyphen-separated, must match folder name) and description (required).

skills.sh CLI (npx skills):

  • npx skills add <owner/repo-or-url> --skill <name> installs one skill.
  • --global installs to ~/.agents/skills (universal); --yes skips prompts.
  • --agent <name> selects a target agent (repeat for multiple, or omit for all detected agents).
  • --copy copies instead of symlinking; --full-depth finds nested skills.

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.