awesome-ai-native-cloudflare-app: Instructions file for Claude Code

CLAUDE.md

awesome-ai-native-cloudflare-app CLAUDE.md is an instructions file for Claude Code from vibegui/awesome-ai-native-cloudflare-app. It costs 1,918 tokens per session, scanned A, original, MIT.

A set of operating instructions for a self-improving Cloudflare Worker app. A Worker is a small program that runs on Cloudflare’s servers, and MCP is the connection used to expose the app’s metrics, goals, memory, tasks, and hypotheses.

In plain words
What is it for?
Use it when working on the app’s goals, metrics, memory, tasks, hypotheses, or code improvements, while following the assigned analyst, builder, or reviewer role.
Why use it?
It gives the coding agent a defined process for reading the app’s state, deciding what to improve, and recording changes with clear responsibilities. It also explains the one-time setup needed to connect to the app.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions subagents.

This is vibegui/awesome-ai-native-cloudflare-app's own configuration. It tells Claude Code how to work on awesome-ai-native-cloudflare-app 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 awesome-ai-native-cloudflare-app configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vibegui/awesome-ai-native-cloudflare-app. 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/vibegui/awesome-ai-native-cloudflare-app/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/vibegui/awesome-ai-native-cloudflare-app

Made for: Claude Code.

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 awesome-ai-native-cloudflare-app CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/vibegui/awesome-ai-native-cloudflare-app/claude-md/github.svg)](https://agentmods.dev/instructions/vibegui/awesome-ai-native-cloudflare-app/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/vibegui/awesome-ai-native-cloudflare-app/claude-md"><img src="https://agentmods.dev/badge/instructions/vibegui/awesome-ai-native-cloudflare-app/claude-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 awesome-ai-native-cloudflare-app CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/vibegui/awesome-ai-native-cloudflare-app/claude-md"><img src="https://agentmods.dev/badge/instructions/vibegui/awesome-ai-native-cloudflare-app/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,918 This file is loaded in full into every session.
When invoked 1,918 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.01918 $0.01918
Opus 5 $0.00959 $0.00959
Sonnet 5 $0.00384 $0.00384
Haiku 4.5 $0.00192 $0.00192

Measured 9d ago against content hash f2d273063fcc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

awesome-ai-native-cloudflare-app CLAUDE.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 9d 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.

CLAUDE.md · 133 lines

How it starts

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

Operating manual: this is a self-improving app

You (the coding agent) are this app's improvement engine. The deployed Worker exposes its metrics, goals, memory, tasks, rooms, and hypotheses over MCP — connected as the self server via .mcp.json. The human sets goals and approves consequences; you close the gap between metrics and goals by editing this codebase.

Setup (once per machine)

export APP_MCP_URL="https://<your-worker>.workers.dev/mcp"
export APP_MCP_TOKEN="<MCP_AUTH_TOKEN>"

The team

Three fixed hats. One session wears one hat, never two — switching hats mid-session is how an author ends up grading their own work. The human names the hat ("be the reviewer") or you take the first hat with work in the pull order below. Sign every write with your hat's handle. Rename them per project — proper names beat role labels once there's more than one agent — and the roles are the part to keep. Enforcement compares handles case-insensitively, so casing is style, not protocol.

  • analyst (senses → bets). Owns: metrics reading, observation memories, filing and ranking hypotheses. Never writes code. Done when every active goal has ≥1 proposed hypothesis with expected metric + delta. Escalates goal changes to the human. Frontier model, short sessions.
  • builder (bets → shipped code). Owns: claiming tasks, implementation, instrumentation, deploys. The only hat that edits src/. Never confirms hypotheses or closes its own review tasks. Done when check+tests are green, new surfaces are tracked, the task is in review, and the handoff is posted. Frontier for hard work, cheap tier for mechanical edits.
  • reviewer (assume it's broken). Owns: the review queue, adversarial diff reads, hypothesis verdicts — only the reviewer sets confirmed / refuted — and memory compaction. Never implements; never reviews own work (server-enforced on confirm). Verdicts go to #reviews with reasons; every rejection becomes a lesson. Always frontier — review is where tokens think.
  • ceo (recruits, budgets). Owns the token economy: weekly, read budget_status and reallocate with budget_set, rationale in #general. Recruits new hats into this file (role, goals, starter budget; a tool alone is never a reason to hire; cap the team). Never implements or issues verdicts. Escalates hires, goal changes, and real money to the human.

Read the full file on GitHub · 133 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. 9d ago First seen · 133 lines · 1,918 tokens per session scan A f2d273063fcc

Subscribe to this mod's changes

awesome-ai-native-cloudflare-app CLAUDE.md is an instructions file published in the GitHub repository vibegui/awesome-ai-native-cloudflare-app (2 stars, last pushed 1mo ago), licensed MIT. It adds 1,918 tokens to every session, about $0.0096 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-31.

Related

Other instructions, from other repositories