agentleFS
nirholasnirholas/XActions/CLAUDE.md

XActions

CLAUDE.md566 starsChanged 9 months agoApache-2.0View on GitHub

Read AGENTS.md. It is the single source of truth for how to work in this repository, and it is kept current. This file adds only what is specific to Claude; it deliberately does not restate AGENTS.md, because the last time four files described the repository they drifted apart and an agent worked a whole session from the stale one. AGENTS.md answers, in this order: which lane to use (shell out to the xactions CLI, or load the MCP server), the…

The file

We split this CLAUDE.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:

    Add the MCP server:

    line 23

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.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
CLAUDE.md

XActions: instructions for Claude

Read AGENTS.md. It is the single source of truth for how to work in this repository, and it is kept current. This file adds only what is specific to Claude; it deliberately does not restate AGENTS.md, because the last time four files described the repository they drifted apart and an agent worked a whole session from the stale one.

AGENTS.md answers, in this order: which lane to use (shell out to the xactions CLI, or load the MCP server), the CLI lane and its output contract, the MCP lane, a table from common request to the exact file that answers it, the skills, the directory map and the three runtime contexts, and the mistakes that have actually cost people time here.

Claude Code specifics

Install the skills so they are available in every session:

xactions skills install --all --global   # writes ~/.claude/skills/<id>/
xactions skills install --all            # or ./.claude/skills/ in this project
xactions skills list                     # what is installed, and from where

Add the MCP server:

claude mcp add xactions -- npx -y xactions-mcp

Load only the tools the session needs. The full list is 152 tools and about 60 KB of JSON before you have read a single tweet:

claude mcp add xactions -- npx -y xactions-mcp --tools read,analytics

Hold every write for human approval before you let an agent near a real account:

XACTIONS_MCP_REQUIRE_APPROVAL=1 npx xactions-mcp

Writes then become drafts, released with xactions drafts approve <id> or the x_approve_draft tool. Independently of that gate, every write is charged against a rolling 24 hour per-account cap that survives a restart.

Claude Desktop

.mcpb is a bundle the user drags onto Settings > Extensions. It carries the server and its dependencies and prompts for the session cookie and the tool groups at install time, so nothing is typed into a config file. Built by node scripts/build-mcpb.mjs and attached to each release.

Everything else is in AGENTS.md.

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.