ironpet
AGENTS.md9 starsChanged 11 days agoMITView on GitHub
Instructions for AI agents working in this repository: ironpet, a macOS desktop pet (Swift, AppKit and SwiftUI) that watches coding agents and chats with them. README.md is a short overview, the docs in web/content/docs/ (published on ironpet.ai) explain every feature and setting, SPEC.md how it is built, and CONTRIBUTING.md how to build and test it. A feature with no UI lands in IronPetCore (Sources/IronPetCore), the Foundation-only target. UI code, listeners and Mac adapters stay in Sources/IronPet, and the UI calls…
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,196 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 repository9 other files it gives its agents.
- .agents/skills/apple-design/AGENTS.mdAGENTS.md
- apple-designSkill
- swiftSkill
- dev-code-reviewSkill
- dev-featureSkill
- dev-open-prSkill
- ironpet-automationsSkill
- ironpet-desktopSkill
- ironpet-petsSkill
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 1 is common, 0 are distinctive, and 2 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.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Ask before running ./scripts/install.sh, ./scripts/uninstall.sh, ./scripts/configure_sentry.sh or python3 scripts/e2e.py.
- Common: line 18
Never type the user's Keychain or login password.
- Very specific: line 19
Never commit ~/.ironpet content, tokens, build/ or .build/.
≈ “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.
Files
AGENTS.md
Instructions for AI agents working in this repository: ironpet, a macOS desktop pet (Swift, AppKit and SwiftUI) that watches coding agents and chats with them. README.md is a short overview, the docs in web/content/docs/ (published on ironpet.ai) explain every feature and setting, SPEC.md how it is built, and CONTRIBUTING.md how to build and test it.
Workflows
| Task | Read first |
| A feature or a non-trivial fix | .cursor/skills/dev-feature/SKILL.md |
| Reviewing a diff, branch or PR | .cursor/skills/dev-code-review/SKILL.md |
| Opening a pull request | .cursor/skills/dev-open-pr/SKILL.md |
| Writing Swift | .agents/skills/swift/SKILL.md |
| Reviewing UI design | .agents/skills/apple-design/SKILL.md |
Ground rules
- Ask before running
./scripts/install.sh,./scripts/uninstall.sh,./scripts/configure_sentry.shorpython3 scripts/e2e.py. They replace the installed app, change~/.ironpetand agent hooks, and e2e takes over the keyboard and spends agent quota. - Never type the user's Keychain or login password; the user answers those prompts.
- Never commit
~/.ironpetcontent, tokens,build/or.build/.
Where code goes
A feature with no UI lands in IronPetCore (Sources/IronPetCore), the Foundation-only target. UI code, listeners and Mac adapters stay in Sources/IronPet, and the UI calls only IronPetAPI, never a store. Tests/IronPetCoreTests/ImportAllowListTests.swift fails when a core file imports AppKit, SwiftUI or another Mac framework. SPEC.md ("Two targets") has the details.
Screenshots in pull requests
gh cannot upload images, so don't ask the user to drag them in. Render previews from sample data (--render-previews), push them to the pr-screenshots branch under pr-<number>/, and link them from a Screenshots section in the PR body. pr-screenshots shares no history with main and is never merged. The commands are in .cursor/skills/dev-open-pr/SKILL.md › Screenshots.
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
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.

