OpenClaw-Bot: Instructions file for Codex

AGENTS.md

OpenClaw-Bot AGENTS.md is an instructions file for Codex, OpenCode from djblack1209-coder/OpenClaw-Bot. It costs 978 tokens per session, scanned A, original, Apache-2.0.

Project-specific instructions for developing the OpenClaw Bot repository. They describe which files handle the Python backend, React and TypeScript desktop app, operations, security, and collaboration, along with rules for verification and production-side actions.

In plain words
What is it for?
Use them as repository guidance when planning or modifying OpenClaw Bot components, checking project documentation, validating changes, or handling deployment, messaging, accounts, and payments.
Why use it?
They help an agent choose the correct part of a multi-component project and avoid changing unrelated work or triggering real-world side effects without permission. The input does not describe a standalone coding feature.

Instructions file for CodexOpenCode

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

This is djblack1209-coder/OpenClaw-Bot's own configuration. It tells Codex and OpenCode how to work on OpenClaw-Bot 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-Bot configures →

Reuse

Borrowing it

Nothing to install: this file belongs to djblack1209-coder/OpenClaw-Bot. 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/djblack1209-coder/OpenClaw-Bot/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/djblack1209-coder/OpenClaw-Bot

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-Bot AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/djblack1209-coder/openclaw-bot/agents-md/github.svg)](https://agentmods.dev/instructions/djblack1209-coder/openclaw-bot/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/djblack1209-coder/openclaw-bot/agents-md"><img src="https://agentmods.dev/badge/instructions/djblack1209-coder/openclaw-bot/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-Bot AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/djblack1209-coder/openclaw-bot/agents-md"><img src="https://agentmods.dev/badge/instructions/djblack1209-coder/openclaw-bot/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 978 This file is loaded in full into every session.
When invoked 978 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.00978 $0.00978
Opus 5 $0.00489 $0.00489
Sonnet 5 $0.00196 $0.00196
Haiku 4.5 $0.00098 $0.00098

Measured today against content hash c379e91cae85, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-13, from the pricing page.

Security

Grade A, and why

OpenClaw-Bot 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 today.

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 · 31 lines

What it actually says

OpenEverything / OpenClaw Bot 项目约定

本仓库包括本机 Gateway、ClawBot、Intel 调度与 Tauri 管理端,以及独立服务的运维材料。交付必须对应用户要求的那条业务路径。

按任务选择入口

  • 项目用途与环境:README.md;模块归属不明确时看 docs/001-project-map.md,跨模块设计看 docs/004-architecture.md
  • Python 后端:packages/clawbot/multi_main.pypackages/clawbot/src/ 和相关 tests/;LLM 路由先定位 src/llm_routing_config.py 与实际调用方。
  • 桌面端:apps/openclaw-manager-src/,React / TypeScript 在 src/,原生命令在 src-tauri/。涉及前后端接口时同步契约、鉴权与调用方。
  • 运行诊断、启动或部署:docs/current/current-baseline.mddocs/005-quickstart.md;跨服务器操作再查 VPS-Config 当前资产归属和运行合同。
  • 安全、账户、消息或交易边界:docs/014-security.md 与对应业务源码。
  • ChatGPT 规划、只读连接或恢复:docs/current/chatgpt-collaboration.md 与已安装的 codex-with-chatgpt 技能。普通本地修改无需启动网页规划环节。

非显然的约束

  • apps/openclaw/ 中的人设、技能和运行材料用于 Bot;其局部指令不扩展为整个仓库的开发人设。第三方源码与子模块遵守各自局部说明及固定版本。
  • 本地源码目录、vendor 包和实际 Gateway 安装版本分别核实。使用当前 npm runtime lock、Python 平台哈希锁及 Cargo.lock,不以 latest 覆盖正在运行的环境。
  • 保留用户及并行任务的未提交工作。修改前核对当前文件与 Git 差异,编辑限于本次目标;不为“清理”回退其他任务的内容。
  • 本地文档、隔离测试和静态构建可自主连续完成。docker compose upnpm run tauri:devmake tauri-build、LaunchAgent 安装和调度器启动会影响实际运行状态,按任务授权及相应恢复约束执行。
  • 通知、社媒发布、账户修改、真实交易和收费模型调用保留现有业务闸门。验证优先使用隔离数据与替代传输;没有相应授权时,不发送真实消息或触发账户/费用副作用。
  • 配置优化和代码验证不授予生产发布权限。生产写入仍需新鲜前态、可恢复备份、原子幂等应用、失败回滚和真实业务验证。
  • 不输出或提交 .env、token、会话、浏览器资料、交易凭据、私有连接地址及运行数据。

验证与完成

  • 仅文档 / 指令:git diff --check;文档结构或入口变化时运行 make docs-check。文档留在现有 docs/ 布局;新增根级说明仅使用 AGENTS.md
  • Python:使用 packages/clawbot/.venv312/bin/python(存在时),从 packages/clawbot/ 对受影响测试运行 python -m pytest <相关测试路径>;缺环境时按 quickstart 的平台锁设置隔离环境。
  • 桌面前端:在 apps/openclaw-manager-src/ 运行相关现有测试、npm run lintnpm run build;Rust 改动在 src-tauri/ 选择相关 cargo test --locked <过滤器>cargo check --locked。界面交付检查实际受影响流程。
  • 依赖、安装或发布范围使用 Makefile 的对应锁文件、供应链、clean-install 与 CI 检查;普通编辑不默认执行 make ci-local、重装或启动服务。
  • 完成用户要求的实现、相关验证与必要修复后交付。运行结果分别报告本机 Gateway、ClawBot、自然调度产物和独立远端服务;health 成功不代表消息已投递、计费正确或整体运行验收通过。
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. today First seen · 31 lines · 978 tokens per session scan A c379e91cae85

Subscribe to this mod's changes

OpenClaw-Bot AGENTS.md is an instructions file published in the GitHub repository djblack1209-coder/OpenClaw-Bot (5 stars, last pushed today), licensed Apache-2.0. It adds 978 tokens to every session, about $0.0049 per session on Opus 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-09-13.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,126 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens