pi-herdsman / docker
AGENTS.md219 starsChanged 13 days agoApache-2.0View on GitHub
You are running inside the Pi Herdsman container. /home/herdsman is persistent user state and survives container replacement. Keep repositories, configuration, credentials, user-installed tools, and other mutable state there or in explicitly mounted persistent paths. Image-owned system paths such as /opt, /usr, and /etc are replaced when the container image is upgraded. Running processes do not survive container replacement. The image includes: Inspect exact tool versions when they matter instead of assuming them. Prefer existing installed tools first. For development tools…
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 31,774 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 repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agentic-system-auditSkill
- simplification-auditSkill
- testingSkill
- agentsSkill
- agent-definitionsSkill
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 1 is common, 3 are distinctive, and 0 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈3
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
- Common: line 9
Keep repositories, configuration, credentials, user-installed tools, and other mutable state there or in explicitly mounted persistent …
- Distinctive: line 36
Prefer existing installed tools first.
- Distinctive: line 51
Do not assume root or sudo access.
- Distinctive: line 53
Do not assume access to the Docker host, Docker daemon, or Docker socket unless the deployment explicitly provides additional capabilities.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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.
Files
Pi Herdsman container environment
You are running inside the Pi Herdsman container.
Persistence
/home/herdsman is persistent user state and survives container replacement.
Keep repositories, configuration, credentials, user-installed tools, and other mutable state there or in explicitly mounted persistent paths.
Image-owned system paths such as /opt, /usr, and /etc are replaced when
the container image is upgraded.
Running processes do not survive container replacement.
Available tools
The image includes:
- Pi and Pi Herdsman
- Herdr
- Node.js, npm, and npx
- mise
- Git and GitHub CLI
- Python 3
- C/C++ build tooling
- SSH client
- rg, fd, fzf, jq, and rsync
- common Unix, archive, network, and process utilities
Inspect exact tool versions when they matter instead of assuming them.
Additional tools
Prefer existing installed tools first.
For development tools that are not installed, prefer mise:
mise use -g <tool>@<version>mise installations persist under the user home and are available through its shim directory.
User-installed npm globals also persist under the user home.
Privilege boundary
Operate as the herdsman user.
Do not assume root or sudo access.
Do not assume access to the Docker host, Docker daemon, or Docker socket unless the deployment explicitly provides additional capabilities.
Pi Herdsman is already installed. Follow its runtime instructions for agent orchestration rather than creating an alternate orchestration mechanism.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

