Borrowing it
Nothing to install: this file belongs to lensapp/lens-sandbox. 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/lensapp/lens-sandbox/main/CLAUDE.mdgit clone --depth 1 https://github.com/lensapp/lens-sandboxWrote 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/lensapp/lens-sandbox/claude-md)<a href="https://agentmods.dev/instructions/lensapp/lens-sandbox/claude-md"><img src="https://agentmods.dev/badge/instructions/lensapp/lens-sandbox/claude-md.svg" alt="Measured on agentmods" 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.09111 | $0.09111 |
| Opus 5 | $0.04555 | $0.04555 |
| Sonnet 5 | $0.01822 | $0.01822 |
| Haiku 4.5 | $0.00911 | $0.00911 |
Grade C, and why
lens-sandbox CLAUDE.md scanned grade C 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 3d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
make clean rm -rf bin/ + cargo clean (coverage artifacts live inside target/) How it starts
The opening of the file, as written. The whole thing — 276 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Product Vision
LNS is a local desktop app for running AI agents, commands, OCI images, and other untrusted workloads inside a microVM. Tagline: "The sandbox you'll actually leave running." One-liner: "Run AI agents, commands, and OCI images locally. Control access into and out of the sandbox."
- Start here:
docs/README.md— the first-party user documentation index. - Product language: the Product Vision above and
docs/are the source of truth for terminology and framing; keep naming consistent with them.docs/is user-facing documentation only — no internal sales/marketing material lives in this repo. - Concepts: approvals drive policy authoring; a per-run decisions file (
~/.lns/runs/<RUN>/decisions.yaml, akind: mixindocument created empty with the run; a destination no rule decides is asked about) holds the network rules, andlns sandbox savewrites a run out as a document to keep;Vzon macOS /KVMon Linux is the only runtime; real secrets stay outside the workload. - Target format:
docs/sandbox-spec.mdis the normative specification for thelns.run/v1document format and the decisions behind it. The code does not implement all of it — see Transitional mode before you touch a document-format surface. - Sibling product: Lens Agents is the centrally managed counterpart for IT teams. Same policy model.
Before proposing new features or architecture, consider whether they preserve the core principles: a sandbox you don't turn off, disposable, never leaky (a run's state never escapes the sandbox; stopped runs persist until removed, and one prune sweeps them all away), no system dependencies (the user runs one binary; no apt/brew preflight, no privileged installer), policy you run into, not write, the working directory only roots relative paths, real secrets stay outside the workload. A small user-launched background service (the tray-resident lns-service, started by lns service start and stoppable via the tray Quit menu or lns service stop) is part of "a sandbox you don't turn off" — not a daemon in the apt/launchd sense.
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.
- 3d ago Changed · +40 lines · +1,460 tokens per session 0d658d40c064
- 4d ago Changed · -1 lines · -87 tokens per session 71d35d4d3aef
- 8d ago First seen · 237 lines · 7,738 tokens per session scan C 252ff57224f2
lens-sandbox CLAUDE.md is an instructions file published in the GitHub repository lensapp/lens-sandbox (10 stars, last pushed today), licensed Apache-2.0. It adds 9,111 tokens to every session, about $0.0456 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.