agentleFS
tommy-muckstacktommy-muckstack/myman/AGENTS.md

myman

AGENTS.md3 starsChanged 4 months agoApache-2.0View on GitHub

This file is for coding agents (Claude Code, Cursor, Codex, Grok Bot, and others) working in this repository. If you want to use My Man as a tool rather than change it, start with the README agent section or llms.txt. CI runs the Swift build and tests on macOS for every pull request, and the Linux suite whenever Linux files change.

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

The file

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

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

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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
  1. Very specific:

    Keep Mac and Linux in step.

    line 38
  2. Very specific:

    Commit regenerated bundles together with the source change, or check-bundle fails.

    line 39
  3. Common:

    Never commit anyone's Brain export, recordings, screenshots, transcripts, credentials, or private paths.

    line 40
  4. Distinctive:

    Follow the house rules in CONTRIBUTING.md (design tokens, panel sizing, audio, privacy).

    line 41

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

AGENTS.md

This file is for coding agents (Claude Code, Cursor, Codex, Grok Bot, and others) working in this repository. If you want to use My Man as a tool rather than change it, start with the README agent section or llms.txt.

What lives where

  • src/ is the Swift macOS app (SwiftPM, macOS 14.2+). Agent actions are handled in src/Core/AgentActions.swift.
  • integrations/brain/ is the Node companion: the myman CLI (app-cli.mjs), the read-only Brain MCP server (server.mjs), and the app MCP server (app-server.mjs). actions.json is the one catalog of app actions and their schemas. Bundles in src/Resources/BrainCompanion/ are generated from it.
  • integrations/linux/ is the Linux companion for agents (X11, Hyprland/Omarchy, Sway). It exposes the same MCP tool names as the Mac.
  • skills/myman-brain/SKILL.md is the skill agents load. plugin.json and mcp.json make the repository an Agent Plugin.
  • docs/ has the references. Start with docs/agent-cli.md and docs/agent-cli-parity.md.

Checks to run

# Mac app (needs Xcode / Swift on macOS)
swift build
swift build -c release --arch arm64 --arch x86_64
swift test

# Brain companion and CLI
npm ci --ignore-scripts --prefix integrations/brain
npm test --prefix integrations/brain
npm run bundle --prefix integrations/brain        # after editing companion sources
npm run check-bundle --prefix integrations/brain

# Linux companion
cd integrations/linux && npm ci --ignore-scripts && npm run bundle && npm run check-bundle
xvfb-run -a -s "-screen 0 1280x800x24" npm test

CI runs the Swift build and tests on macOS for every pull request, and the Linux suite whenever Linux files change.

Rules

  • One focused change per pull request. Say what changed and how you verified it, with a screenshot or short recording for anything visible.
  • Never weaken permissions. Agent grants start off and only the person turns them on. Do not add a way for an agent to grant itself access, and do not change existing grant behavior. The one person-only exception is myman agents grant (integrations/brain/agent-access.mjs): a local CLI command, never a catalog action or MCP tool, that refuses agent environments and non-TTY use, has no bypass flag, and needs a typed confirmation. Do not loosen those checks or expose it elsewhere.
  • Keep Mac and Linux in step. A new action goes in actions.json, gets the same name and schema on both platforms, and returns a structured unsupported error where a platform can't do it yet. Update docs/agent-cli-parity.md.
  • Commit regenerated bundles together with the source change, or check-bundle fails.
  • Never commit anyone's Brain export, recordings, screenshots, transcripts, credentials, or private paths. Use synthetic fixtures.
  • Follow the house rules in CONTRIBUTING.md (design tokens, panel sizing, audio, privacy). FluidAudio stays pinned.
  • Agent-surface changes follow the marketplace release policy. Releases are maintainer-only.

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.