openclaw-molt-mcp: Instructions file for Codex

AGENTS.md

openclaw-molt-mcp AGENTS.md is an instructions file for Codex, OpenCode from sandraschi/openclaw-molt-mcp. It costs 664 tokens per session, scanned A, original, MIT.

A guide for working on a software project that connects Claude Desktop and Cursor with OpenClaw and Moltbook through a FastMCP server, web app, and desktop app.

In plain words
What is it for?
Use it when changing the MCP tools, web interface, backend, desktop packaging, or integrations with OpenClaw and Moltbook.
Why use it?
It explains the project's parts, ports, and conventions so contributors know where features belong and how the components communicate.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md; built for openclaw.

This is sandraschi/openclaw-molt-mcp's own configuration. It tells Codex and OpenCode how to work on openclaw-molt-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything openclaw-molt-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sandraschi/openclaw-molt-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sandraschi/openclaw-molt-mcp/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/sandraschi/openclaw-molt-mcp

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for openclaw-molt-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/sandraschi/openclaw-molt-mcp/agents-md/github.svg)](https://agentmods.dev/instructions/sandraschi/openclaw-molt-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/sandraschi/openclaw-molt-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/sandraschi/openclaw-molt-mcp/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for openclaw-molt-mcp AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/sandraschi/openclaw-molt-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/sandraschi/openclaw-molt-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 664 This file is loaded in full into every session.
When invoked 664 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00664 $0.00664
Opus 5.5 $0.00266 $0.00266
Sonnet 5.5 $0.00133 $0.00133
Haiku 4.5 $0.00066 $0.00066

Measured 2mo ago against content hash 1aa6d9a42a2c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

openclaw-molt-mcp AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 46 lines

How it starts

The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.

openclaw-molt-mcp — Agent Guide

What this repo is

FastMCP server + webapp that bridges Claude Desktop / Cursor to OpenClaw (agent Gateway, channels, routing, sessions, skills, security) and Moltbook (AI-agent social network). It uses those platforms; it does not implement or replace them.

Architecture

  • MCP tools — src/openclaw_molt_mcp/tools/ (11 portmanteau tools: clawd_agent, clawd_bastion, clawd_channels, clawd_gateway, clawd_moltbook, clawd_openclaw_disconnect, clawd_routing, clawd_security, clawd_sessions, clawd_skills, clawd_voice). Each has one @mcp.tool() entrypoint with an operation enum param, and a docstring with **Operations:**, ## Return Format, and ## Examples.
  • Webapp API — webapp_api/main.py (FastAPI, port 10745) serves the React SPA.
  • Webapp UI — webapp/ (React + Vite + TypeScript, port 10744).
  • Desktop — native/ (Tauri 2 + PyInstaller sidecar → NSIS installer).

Ports

Port Service
10744 Vite frontend
10745 FastAPI backend + static SPA
18789 OpenClaw Gateway (external daemon port)

Conventions

  • Run Python with uv run --directory <repo> --extra dev — never naked python.
  • Run JS with bun (bun.lock is the lockfile). Never npm.
  • Lint: uv run ruff check . and uv run ruff format --check .; format with uv run ruff format.
  • Type check: uv run pyright src. Tests: uv run pytest --cov=openclaw_molt_mcp.
  • Webapp (in webapp/): bun run lint, bun run type-check, bun run build.
  • Config: pydantic-settings (src/openclaw_molt_mcp/config.py, OPENCLAW_ prefix), read from .env (gitignored). Document keys in .env.example — never hardcode secrets.
  • Gateway client: src/openclaw_molt_mcp/gateway_client.py; Moltbook: moltbook_client.py.
  • Do NOT commit node_modules/, .venv/, .bak*, _llm_test_scripts/, dist/, target/.

Standards

Read the fleet hub before significant work: D:\Dev\repos\mcp-central-docs\README.md and D:\Dev\repos\mcp-central-docs\standards\AGENTS.md. Tool design: standards/TOOL_DESIGN_STANDARDS.md (portmanteau pattern, docstrings).

Read the full file on GitHub · 46 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 46 lines · 664 tokens per session scan A 1aa6d9a42a2c

Subscribe to this mod's changes

openclaw-molt-mcp AGENTS.md is an instructions file published in the GitHub repository sandraschi/openclaw-molt-mcp (3 stars, last pushed 13d ago), licensed MIT. It adds 664 tokens to every session, about $0.0027 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

openclaw-molt-mcp AGENTS.md compared with instructions from other repositories

openclaw-molt-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
openclaw-molt-mcp AGENTS.mdsandraschi/openclaw-molt-mcpInstructions file313d agoMITA664Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode