agentleFS
rasatpetabitrasatpetabit/ai-skills/AGENTS.md

ai-skills

AGENTS.md0 starsChanged 2 months agoMITView on GitHub

A collection of agent skills that install on both Pi and Claude Code from one tree. Each skill is a directory under skills/<name>/ holding SKILL.md and whatever it reads or runs. skills/ is the source of truth. Pi loads the whole directory (package.json → pi.skills); Claude Code gets one plugin per skill (.claude-plugin/marketplace.json, each entry "strict": false with "skills": ["./skills/<name>"]). npm run check fails when the two manifests and the directories disagree, so adding a skill means adding its directory…

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

The file

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

1 rule. About 0 are common, 1 is distinctive, and 0 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.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No absolute home-directory paths, hostnames, or private repository names in shipped files.

    line 24

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

ai-skills — agent instructions

A collection of agent skills that install on both Pi and Claude Code from one tree. Each skill is a directory under skills/<name>/ holding SKILL.md and whatever it reads or runs.

Layout is the manifest

skills/ is the source of truth. Pi loads the whole directory (package.json → pi.skills); Claude Code gets one plugin per skill (.claude-plugin/marketplace.json, each entry "strict": false with "skills": ["./skills/<name>"]). npm run check fails when the two manifests and the directories disagree, so adding a skill means adding its directory and its marketplace entry in the same change.

Writing a skill that runs on both harnesses

  • Refer to bundled files by path relative to the skill directory. Both harnesses tell the model where the skill lives; neither expands the other's variables, so never use ${CLAUDE_SKILL_DIR} or ${CLAUDE_PLUGIN_ROOT} in SKILL.md.
  • Structured questions: AskUserQuestion on Claude Code, ask_user_question on Pi (an extension; stock Pi has none). Author to Claude Code's limits — four options, 12-character header — and give the skill a plain-chat fallback when no question tool exists.
  • Scripts use Node built-ins or the Python standard library only, and state any external binary (such as git) they need.
  • No absolute home-directory paths, hostnames, or private repository names in shipped files.

Tests and release

  • npm test runs every skill's own tests (skills/*/test/*.test.mjs) and the repo check. CI runs the same on Node 20 and 22, and runs md-refactor's script tests on macOS under /bin/bash.
  • skills/intent/manifest.json declares that skill's closed file set; adding, removing, or renaming a file under skills/intent/ means updating it (its tests fail otherwise).
  • One version for the whole collection: package.json, the marketplace root, and every marketplace plugin entry carry the same version, bumped together, with a CHANGELOG.md entry. Claude Code only delivers an update when the version changes.
  • A release is that version bump landed on main plus an annotated tag vX.Y.Z on the same commit, pushed together. Pi users following main get it on pi update; users pinned to a tag move by installing the new tag (README § Update).

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.