agentleFS
moltbotmoltbot/moltbot/extensions/AGENTS.md

moltbot / extensions

AGENTS.md393k starsChanged 7 days agoMITView on GitHub

Bundled plugins. Same boundary as third-party plugins.

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

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    Never eager global registry seeding/import-time side effects for plugin availability.

    line 26

≈ “Common” is an estimate: at least 1 in 5 of the 36,368 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

Extensions Boundary

Bundled plugins. Same boundary as third-party plugins.

Public Contracts

  • Docs:
    • docs/plugins/building-plugins.md
    • docs/plugins/sdk-channel-plugins.md
    • docs/plugins/sdk-provider-plugins.md
    • docs/plugins/manifest.md
  • Definition files:
    • src/plugin-sdk/channel-contract.ts
  • SDK docs and definition files: SDK guide.

Boundary Rules

  • Production imports: openclaw/plugin-sdk/* + own local barrels (./api.ts, ./runtime-api.ts) only. Enforced by pnpm lint:extensions:no-src-outside-plugin-sdk and pnpm lint:extensions:no-relative-outside-package.
  • Accurate metadata in openclaw.plugin.json + package openclaw block: discovery/setup without executing plugin code.
  • Plugin runtime dependencies → owning plugin package. Runtime peer: declare/provide in plugin package.json; never move to root unless root/package dist owns import. Runtime never installs deps; repair points = install/update/doctor.
  • Package-ownership dependency assertions → generic contracts (package-manifest.contract.test.ts, extension-runtime-dependencies.contract.test.ts), not plugin e2e tests.
  • src/**, onboard.ts, other local helpers private unless intentionally promoted through api.ts. Core/core tests needing bundled plugin helper: import from api.ts, never deep-import extension internals.
  • Provider auth, onboarding, catalog selection, vendor-only product behavior: plugin-local. Never move to core merely because two providers look similar.
  • Provider transport compat (wrapStreamFn, buildReplayPolicy, normalizeToolSchemas, inspectToolSchemas, payload patches): reuse a named shared openclaw/plugin-sdk/* family helper, never raw option bags or inline policy knobs (examples: OpenAI-style Anthropic tool payload compat, Gemini schema cleanup, XAI compat patch). Second copy: extract one helper and migrate both call sites in same change.
  • Plugin work outliving originating caller/turn: active service-owned capability required. Never retain/extend caller-bound Gateway handles; revalidate service generation at effect boundary.
  • Never eager global registry seeding/import-time side effects for plugin availability. Manifest ownership + targeted activation (src/plugins/contracts/runtime-import-side-effects.contract.test.ts).
  • Core hot-path plugin-owned static data: lightweight top-level artifact (gateway-auth-api.ts, message-tool-api.ts, similarly narrow *-api.ts). Artifact + full plugin reuse same local helper; fast paths must not drift from runtime behavior.

Expanding The Boundary

  • Extension needing new seam: add/replace typed Plugin SDK subpath, never reach into core.
  • First-party plugins always release together with the host: support only the current host version. No older-host fallbacks, capability probes or legacy adapters for released hosts. Third-party SDK compatibility follows the SDK deprecation policy instead.
  • Intentional contract expansion: follow SDK guide.

Download now (ZIP)

Trending

Quiet since March.about the whole repository

Dec 2025: 0 mentionsJan 2026: 48 mentionsFeb 2026: 5 mentionsMar 2026: 1 mentionApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the moltbot/moltbot repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about moltbot/moltbot

The biggest 5 of 54 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 54

Talked about on GitHub, the web, Bluesky and Hacker News (54 times).

On GitHub · 32

27 more on GitHub

On the web · 14

9 more on the web

On Bluesky · 5

On Hacker News · 3

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.