Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/artblocks/artbot/agents-mdgit clone --depth 1 https://github.com/ArtBlocks/artbotWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.02561 | $0.02561 |
| Opus 5 | $0.01281 | $0.01281 |
| Sonnet 5 | $0.00512 | $0.00512 |
| Haiku 4.5 | $0.00256 | $0.00256 |
Grade A, and why
artbot 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ArtBot — Agent & Maintainer Guide
Canonical context for AI agents (Cursor, Claude Code, etc.) and human maintainers. Prefer this file over the README when they disagree; keep both in sync when you change behavior.
What this is
ArtBot is the Art Blocks Discord bot: project/token queries (#42 fidenza), OpenSea sales/listings feeds, mint announcements (Hasura webhook), optional Twitter sale posts, and scheduled trivia.
It is a single long-running Node process (Express HTTP + Discord.js + OpenSea stream). Hosted on Render.com (see comment in src/index.ts). There is no Dockerfile in-repo; deploy is yarn start with env vars set in the host.
Quick commands
corepack enable # Yarn 4 via packageManager field
yarn install # also runs postinstall → yarn codegen
yarn start # ts-node src/index.ts
yarn codegen # regenerate generated/graphql.ts from Hasura schema
yarn lint
yarn format
yarn lint-and-format
- Node: 20.x (see
.node-version,engines) - Package manager: Yarn 4.3.1 (
nodeLinker: node-modules) — do not switch to npm for day-to-day work generated/is gitignored — a fresh clone mustyarn installoryarn codegenbefore TypeScript works- Pre-commit (husky):
yarn codegen && yarn lint-and-format - Tests:
yarn testexists but there are no test files; CI does not run Jest - CI (
.github/workflows/build-check.yml): install → codegen →timeout 1m yarn startwithPRODUCTION_MODE=false(exit 124 = success)
Two production flags (critical)
These are independent. Mis-setting them is the most common ops footgun.
| Env var | Controls | Prod value | Local Discord testing |
|---|---|---|---|
ARTBOT_IS_PROD |
Which JSON configs load (channels.json / projectBots.json vs *_dev.json) |
true |
false (a-t test server channels) |
PRODUCTION_MODE |
Discord login, then OpenSea event handling / REST poll bot | true |
true if you want live Discord/OpenSea; CI uses false |
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.
- 2d ago First seen · 168 lines · 2,561 tokens per session scan A e5b0c35978dc
artbot AGENTS.md is an instructions file published in the GitHub repository ArtBlocks/artbot (44 stars, last pushed 6d ago), licensed MIT. It adds 2,561 tokens to every session, about $0.0128 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-08-30.
Other instructions, from other repositories
WhatsAppToDiscord AGENTS.md
Instructions for arespawn/WhatsAppToDiscord, covering agent notes (agents.md), project snapshot, fast start, where the source of truth lives and critical guardrails.
DiscordMCP CLAUDE.md
Instructions for Rastrian/DiscordMCP, covering discord mcp platform — claude project instructions, project identity, core framing, strict non-goals and product goal.
discord-mcp AGENTS.md
Instructions for sandraschi/discord-mcp, covering discord-mcp — agent guide, standards, key files and quick ref.
discord-mcp CLAUDE.md
Instructions for sandraschi/discord-mcp, covering discord-mcp — claude code guide, standards and key files.
gemini-discord AGENTS.md
Instructions for Yamato-main/gemini-discord, covering agent instructions, scope discipline, required workflow, quality gates and safety and privacy.
discoclaw CLAUDE.md
Instructions for DiscoClaw/discoclaw, covering discoclaw, safety, context loading (strict), identity and workspace file ownership.