Borrowing it
Nothing to install: this file belongs to khromov/codebay. 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/khromov/codebay/main/CLAUDE.mdgit clone --depth 1 https://github.com/khromov/codebayWrote 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/khromov/codebay/claude-md)<a href="https://agentmods.dev/instructions/khromov/codebay/claude-md"><img src="https://agentmods.dev/badge/instructions/khromov/codebay/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.
<a href="https://agentmods.dev/instructions/khromov/codebay/claude-md"><img src="https://agentmods.dev/badge/instructions/khromov/codebay/claude-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.09507 | $0.09507 |
| Opus 5.5 | $0.03803 | $0.03803 |
| Sonnet 5.5 | $0.01901 | $0.01901 |
| Haiku 4.5 | $0.00951 | $0.00951 |
Grade A, and why
codebay CLAUDE.md scanned grade A with 1 finding 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 1mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
**Bridge / attention** (`src/lib/bridge.server.ts`): an in-memory, UI-only signal each container can raise — `done` (Claude finished) or `waiting` (Claude needs input) — to pulse its IDE tab. The injected Claude hooks `c How it starts
The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
What this is
A web UI for spinning up isolated devcontainer instances from any local folder or Git repo URL, each exposing a browser-based VS Code (code-server). Pick a source → the app copies the folder (or clones the repo), injects code-server into its devcontainer.json, runs devcontainer up, and publishes the editor on a unique host port.
Runtime & commands
This runs on Bun only (Node.js is not supported). The app is built on Mochi, an SSR Svelte 5 framework with islands-based selective hydration, installed from npm as mochi-framework.
bun run dev # dev server (MODE=development, project-local DATA_DIR, no browser launch)
bun run start # runs src/index.ts directly (no separate build step needed)
bun run build # mochi-framework build → .mochi/
bun run typecheck # svelte-check (with a custom warning-ignore flag) + tsc --noEmit; run after any TS/Svelte change
bun test # all tests
bun test src/index.isolated.test.ts # single file
bun test -t "renders Hello world" # single test by name
bun run checks # format + eslint + typecheck + tests — run this after every change (see below)
bun run clean # remove .mochi build output
bun run lint # prettier --check + eslint (read-only; `checks` runs format instead of prettier --check, but the same eslint)
bun run gen:chimes # re-render attention chimes to public/sounds/ WAVs (after editing scripts/gen-chimes.ts)
bun run prod # build + serve the production bundle
bun run verify:package # pack the tarball, install + boot it elsewhere (see npm packaging below)
Always run bun run checks after implementing a change (it runs format, then eslint, then typecheck, then test) and fix anything it surfaces before considering the work done.
Docker availability & testing strategy. The automated suite (bun test / bun run checks) is fully self-contained — even docker.isolated.test.ts stubs dockerode via globalThis.__codebayDocker, so no Docker daemon is required and the checks always run even where no daemon exists. Only end-to-end verification of the instance lifecycle — actually creating an instance, devcontainer up, the boot/health flow — needs a live daemon. Before attempting any such live verification, probe with docker info (or docker context inspect): if it's unavailable, don't try to boot instances — say so and fall back to the unit/isolated tests, which cover the orchestration logic against stubs. When Docker is running, live-boot verification becomes an option on top of the suite. The repo's own .devcontainer/ runs a nested daemon (docker-in-docker) rather than mounting the host's socket, because instances booted from inside it publish into that container's network namespace — the only place the proxy and the health probes look.
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.
- 1mo ago Changed · +4 lines · +985 tokens per session e020ef0bf3c2
- 1mo ago Changed · +41 tokens per session f472c437508a
- 1mo ago Changed · +12 lines · +1,895 tokens per session fc8aac328765
- 2mo ago First seen · 115 lines · 6,586 tokens per session scan A 52074844a29d
codebay CLAUDE.md is an instructions file published in the GitHub repository khromov/codebay (13 stars, last pushed 8d ago), licensed MIT. It adds 9,507 tokens to every session, about $0.0380 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
codebay CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codebay CLAUDE.mdkhromov/codebay | Instructions file | 13 | 8d ago | MIT | A | 9,507 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |