Borrowing it
Nothing to install: this file belongs to patchorbit/domscribe. 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/patchorbit/domscribe/main/CLAUDE.mdgit clone --depth 1 https://github.com/patchorbit/domscribeWrote 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/patchorbit/domscribe/claude-md)<a href="https://agentmods.dev/instructions/patchorbit/domscribe/claude-md"><img src="https://agentmods.dev/badge/instructions/patchorbit/domscribe/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/patchorbit/domscribe/claude-md"><img src="https://agentmods.dev/badge/instructions/patchorbit/domscribe/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.01823 | $0.01823 |
| Opus 5.5 | $0.00729 | $0.00729 |
| Sonnet 5.5 | $0.00365 | $0.00365 |
| Haiku 4.5 | $0.00182 | $0.00182 |
Grade A, and why
domscribe 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 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.
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 — 153 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. Detailed conventions, testing patterns, and architecture decisions are in .claude/rules/.
What is Domscribe?
Domscribe is a pixel-to-code development tool that lets developers click elements in running web apps, captures runtime context (props, state, events), and maps them to exact source locations for handoff to coding agents via MCP.
How to Work on This Codebase
Read before writing. Understand the existing patterns in a package before adding code. Match the style of what's already there.
Core principles:
- Schema-first — Define Zod schemas, derive types with
z.infer<>. Never hand-write interfaces that duplicate schema shapes. - Named exports only — No default exports. Barrel
index.tsfiles define the public API. - Module boundaries are enforced — Check
tagsinproject.jsonbefore adding cross-package imports. If the boundary disallows it, rethink the design — don't just add a tag. - ESM with
.jsextensions — All imports use.jsextension (compiled output). Module system isnodenext. - Constructor DI — Dependencies injected via
private readonlyconstructor params. No service locators or global containers.
Testing:
- Unit tests mock dependencies. Use
vi.mock()andvi.fn(). Constructor DI makes this clean. - Don't spy on globals (
console, etc.) — test behavior, not log output. - Test-fixtures is the black-box layer — integration/e2e tests there have zero
@domscribe/*imports. They build real apps and validate outputs. - Relay is the exception — its unit tests use real services with temp directories (integration-style).
Don't over-engineer. Match the complexity of existing code. No premature abstractions, no speculative features, no redundant tests.
Commands
# Install dependencies (pnpm, NOT npm)
pnpm install
# Build, lint, and test all packages (excludes test-fixtures)
pnpm build:all
# Build only affected packages
pnpm build:affected
# Single package operations
nx build domscribe-core
nx test domscribe-core
nx lint domscribe-core
nx typecheck domscribe-core
# Run specific tests
nx test domscribe-core -- --testPathPattern=annotation
nx test domscribe-core -- -t "test name"
# Integration tests (test-fixtures package)
nx integration domscribe-test-fixtures
# E2E tests (requires Verdaccio + published packages)
nx e2e domscribe-test-fixtures
# Skip env vars: SKIP_SETUP=1, SKIP_PUBLISH=1, SKIP_INSTALL=1
# Local registry pipeline
pnpm release:local # build → version → sync-dist → publish to Verdaccio
pnpm pipeline:full # publish → install fixtures → integration + e2e
pnpm pipeline:e2e # publish → install fixtures → e2e only
# Verdaccio (local npm registry on port 4873)
npx verdaccio --config .verdaccio/config.yml --listen 4873
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 · 153 lines · 1,823 tokens per session scan A bc9def09dd3c
domscribe CLAUDE.md is an instructions file published in the GitHub repository patchorbit/domscribe (195 stars, last pushed 6d ago), licensed MIT. It adds 1,823 tokens to every session, about $0.0073 per session on Opus 5.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.
domscribe CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| domscribe CLAUDE.mdpatchorbit/domscribe | Instructions file | 195 | 6d ago | MIT | A | 1,823 | 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 | today | 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 |