agentleFS
mc3545dadamc3545dada/mspm0-skill/AGENTS.md

mspm0-skill

AGENTS.md373 starsChanged 4 months agoMITView on GitHub

This repository packages an installable MSPM0 CCS skill. The installable skill lives at: Root-level AGENTS.md and CLAUDE.md are for agents developing this repository. They are not the user-facing installation entrypoint. This file is the canonical source for repository-development agent rules. Claude Code should load this file through CLAUDE.md. After changing scripts, run: After changing references or examples, run the checker against the repository to catch obvious path or SysConfig issues: Expected warnings are acceptable because the examples are compact reference…

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

The file

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

11 rules. About 0 are common, 3 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

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

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

    Keep the installable skill self-contained under skills/mspm0-ccs/.

    line 17
  2. Very specific:

    Put long reference docs in skills/mspm0-ccs/references/.

    line 19
  3. Very specific:

    Put executable helper scripts in skills/mspm0-ccs/scripts/.

    line 20
  4. Very specific:

    Put reusable snippets in skills/mspm0-ccs/assets/snippets/.

    line 21
  5. Very specific:

    Put compact example packages in skills/mspm0-ccs/examples/.

    line 22
  6. Very specific:

    Do not reintroduce root-level docs/, tools/, snippets/, or examples/ as the primary structure.

    line 23
  7. Very specific:

    Do not reintroduce root-level SKILL.md.

    line 24
  8. Distinctive:

    After changing scripts, run:

    line 28
  9. Distinctive:

    After changing references or examples, run the checker against the repository to catch obvious path or SysConfig issues:

    line 35
  10. Distinctive:

    When updating installation or usage instructions, update the root README.md.

    line 45
  11. Very specific:

    When updating actual Agent behavior, update skills/mspm0-ccs/SKILL.md and the relevant file under skills/mspm0-ccs/references/.

    line 47

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

Repository Agent Instructions

This repository packages an installable MSPM0 CCS skill.

The installable skill lives at:

skills/mspm0-ccs/

Root-level AGENTS.md and CLAUDE.md are for agents developing this repository. They are not the user-facing installation entrypoint.

This file is the canonical source for repository-development agent rules. Claude Code should load this file through CLAUDE.md.

Repository Rules

  • Keep the installable skill self-contained under skills/mspm0-ccs/.
  • The skill entrypoint is skills/mspm0-ccs/SKILL.md.
  • Put long reference docs in skills/mspm0-ccs/references/.
  • Put executable helper scripts in skills/mspm0-ccs/scripts/.
  • Put reusable snippets in skills/mspm0-ccs/assets/snippets/.
  • Put compact example packages in skills/mspm0-ccs/examples/; each should prefer example.syscfg, manifest.json, README.md, and src/.
  • Do not reintroduce root-level docs/, tools/, snippets/, or examples/ as the primary structure.
  • Do not reintroduce root-level SKILL.md; the installable skill entrypoint is inside skills/mspm0-ccs/.

Validation

After changing scripts, run:

python -m py_compile skills/mspm0-ccs/scripts/check_syscfg.py skills/mspm0-ccs/scripts/run_sysconfig.py skills/mspm0-ccs/scripts/detect_probe.py skills/mspm0-ccs/scripts/serial_console.py skills/mspm0-ccs/scripts/index_syscfg_examples.py skills/mspm0-ccs/scripts/list_examples.py skills/mspm0-ccs/scripts/capture_example.py skills/mspm0-ccs/scripts/ccs_dss_debug.py skills/mspm0-ccs/scripts/openocd_debug.py
python -m unittest discover -s tests -v

After changing references or examples, run the checker against the repository to catch obvious path or SysConfig issues:

python skills/mspm0-ccs/scripts/check_syscfg.py .

Expected warnings are acceptable because the examples are compact reference packages, not complete CCS projects.

Documentation

When updating installation or usage instructions, update the root README.md.

When updating actual Agent behavior, update skills/mspm0-ccs/SKILL.md and the relevant file under skills/mspm0-ccs/references/.

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.