agentleFS
MaururuTakumiMaururuTakumi/openclaw-claude-agmsg-delegate/AGENTS.md

openclaw-claude-agmsg-delegate

AGENTS.md0 starsChanged 5 months agoMITView on GitHub

This repository is an OpenClaw typed tool plugin plus three OpenClaw Skills. Its non-negotiable contract is paid Claude.ai subscription only, with no Anthropic API key, cloud-provider, custom endpoint, or credential fallback. 1. Read README.md, SECURITY.md, SKILL.md, and vendor/UPSTREAM.md. 2. Use a supported Node runtime: 22.22.3+, 24.15+, or 25.9+. On Homebrew Macs, prefer /opt/homebrew/opt/node@22/bin before another Node on PATH. 3. Run npm ci, then npm run check. 4. Do not install into OpenClaw or run a real Fable/Sonnet job until the…

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

The file

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

11 rules. About 2 are common, 3 are distinctive, and 6 are very specific to this project.

  • ≈2

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

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

    Read README.md, SECURITY.md, SKILL.md, and vendor/UPSTREAM.md.

    line 9
  2. Very specific:

    Use a supported Node runtime: 22.22.3+, 24.15+, or 25.9+.

    line 10
  3. Very specific:

    Run npm ci, then npm run check.

    line 12
  4. Common:

    Do not install into OpenClaw or run a real Fable/Sonnet job until the tests, plugin validation, and repository secret scan pass.

    line 13
  5. Very specific:

    Never add ANTHROPIC_API_KEY, CLAUDE_CODE_OAUTH_TOKEN, a custom base URL, Bedrock, Vertex, Foundry, Mantle, or another provider fallback.

    line 18
  6. Very specific:

    Never use openclaw agent --local to test this plugin.

    line 20
  7. Very specific:

    Never add --workspace-write.

    line 23
  8. Common:

    Do not pass project paths, routing ids, executable paths, credentials, or write controls as model/tool-call parameters.

    line 25
  9. Distinctive:

    Do not read or print broad OpenClaw configuration, environment values, agmsg databases, or team files.

    line 28
  10. Distinctive:

    Never print monetary or token-usage metadata.

    line 30
  11. Distinctive:

    Before calling the implementation complete:

    line 44

≈ “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 repository is an OpenClaw typed tool plugin plus three OpenClaw Skills. Its non-negotiable contract is paid Claude.ai subscription only, with no Anthropic API key, cloud-provider, custom endpoint, or credential fallback.

Start here

  1. Read README.md, SECURITY.md, SKILL.md, and vendor/UPSTREAM.md.
  2. Use a supported Node runtime: 22.22.3+, 24.15+, or 25.9+. On Homebrew Macs, prefer /opt/homebrew/opt/node@22/bin before another Node on PATH.
  3. Run npm ci, then npm run check.
  4. Do not install into OpenClaw or run a real Fable/Sonnet job until the tests, plugin validation, and repository secret scan pass.

Safety boundaries

  • Never add ANTHROPIC_API_KEY, CLAUDE_CODE_OAUTH_TOKEN, a custom base URL, Bedrock, Vertex, Foundry, Mantle, or another provider fallback.
  • Never use openclaw agent --local to test this plugin. The deterministic test surface is openclaw gateway call tools.invoke, which does not invoke the OpenClaw orchestration model.
  • Never add --workspace-write. The initial public contract is advisory read-only and exposes only Read,Glob,Grep over a filtered Git-tracked snapshot.
  • Do not pass project paths, routing ids, executable paths, credentials, or write controls as model/tool-call parameters. They belong only in strict plugin config.
  • Do not read or print broad OpenClaw configuration, environment values, agmsg databases, or team files. Use official OpenClaw and agmsg CLI/scripts.
  • Never print monetary or token-usage metadata. Structured fields and result text containing numeric cost/token counters must discard the result.
  • The wrapper SHA-256 is a release contract. Updating vendor/delegate_claude.py requires reviewing the upstream diff, updating attribution and the pinned hash, and adding regression coverage.

First-time agmsg setup

install.sh never runs npx agmsg, joins a team, creates an identity, or changes delivery mode. If official scripts or a team are missing, stop and ask the user for explicit approval. Do not guess a team or edit agmsg state.

Verification gates

Before calling the implementation complete:

  • npm test
  • npm run plugin:validate
  • npm run security:scan
  • openclaw plugins inspect claude-agmsg-delegate --runtime --json
  • openclaw gateway call skills.status shows eligible fable, sonnet, and claude-agmsg-delegate Skills
  • openclaw gateway call tools.invoke with tool arg dryRun: true
  • one bounded real subscription job, followed by collection of the same job id until terminal, and one repeated idempotent collect
  • result proves billing_mode=subscription, auth_method=claude.ai, api_provider=firstParty, paid subscription_type, expected model family, workspace_grounded=true, and non-empty safe files_read
  • no --deliver, channel message, deploy, install, or push during runtime tests

GitHub publication is allowed only after these gates pass. Use a public repo, verify a fresh clone, and keep generated dist/, openclaw.plugin.json, and the package lock in sync.

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.