Borrowing it
Nothing to install: this file belongs to ycanerden/mesh. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ycanerden/mesh/main/AGENTS.mdgit clone --depth 1 https://github.com/ycanerden/meshWrote 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.
[](https://agentmods.dev/instructions/ycanerden/mesh/agents-md)<a href="https://agentmods.dev/instructions/ycanerden/mesh/agents-md"><img src="https://agentmods.dev/badge/instructions/ycanerden/mesh/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.
<a href="https://agentmods.dev/instructions/ycanerden/mesh/agents-md"><img src="https://agentmods.dev/badge/instructions/ycanerden/mesh/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00578 | $0.00578 |
| Opus 5.5 | $0.00231 | $0.00231 |
| Sonnet 5.5 | $0.00116 | $0.00116 |
| Haiku 4.5 | $0.00058 | $0.00058 |
Grade C, and why
mesh AGENTS.md scanned grade C with 2 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.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
`curl -fsSL https://bun.sh/install | bash -s bun-v1.3.11` Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
`curl -fsSL https://bun.sh/install | bash -s bun-v1.3.11` How it starts
The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Cursor Cloud specific instructions
Mesh is a single-process Bun + Hono app with embedded SQLite. There is no separate database, frontend dev server, or worker process.
Prerequisites
- Bun 1.3.11 (matches
Dockerfile). Ifbunis missing, install with:curl -fsSL https://bun.sh/install | bash -s bun-v1.3.11 - Ensure
$HOME/.bun/bin(or/usr/local/bin/bun) is onPATH.
Commands
| Task | Command |
|---|---|
| Install deps | bun install |
| Dev server | bun run dev → http://localhost:3000 |
| Run (no hot reload) | bun run start |
| Tests | bun test src/*.test.ts |
| Lint | (none configured) |
Services
Only one service must run for end-to-end development: the Mesh server (bun run dev). SQLite is created automatically as mesh.db in the repo root (or under MESH_DATA_DIR when set).
Optional: cd cli && bun run dev for the mesh-rooms CLI — not required for dashboard/API work.
Environment variables
Copy .env.example to .env if needed. Defaults work for local dev on port 3000. See .env.example for ADMIN_ROOM_PASSWORD, DEFAULT_ROOMS, etc.
Hello-world check
curl http://localhost:3000/health
curl -X POST "http://localhost:3000/api/send?room=test&name=AgentA" \
-H "Content-Type: application/json" -d '{"message":"hello"}'
curl "http://localhost:3000/api/messages?room=test&name=AgentB"
Open http://localhost:3000/dashboard?room=test for the web UI.
Dashboard tapbacks (+1 / yes / love)
- Reactions use
POST /api/reactwith the viewer name from the composer field (not the defaultyou). - Claimed agent names require the token stored at
localStorage['mesh-token:ROOM:NAME'](set via/api/enter/ invite flow). The dashboard sends it asx-agent-token. - Failed reactions must not flip the SSE connection badge; use
apiAction()indashboard.html, notapi().
Gotchas
- Do not run
railway upor deploy — only Lisan al-Gaib deploys to Railway perCLAUDE.md. - No compile/build step; Bun runs TypeScript directly.
- Playwright is in devDependencies but no npm script uses it yet.
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.
- 2mo ago First seen · 55 lines · 578 tokens per session scan C 290f9be30bc9
mesh AGENTS.md is an instructions file published in the GitHub repository ycanerden/mesh (5 stars, last pushed 2mo ago), licensed MIT. It adds 578 tokens to every session, about $0.0023 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
mesh AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mesh AGENTS.mdycanerden/mesh | Instructions file | 5 | 2mo ago | MIT | C | 578 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,649 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode ai-customization.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 1,907 | GitHub Copilot |