Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/tensorlakeai/tensorlake/claude-mdgit clone --depth 1 https://github.com/tensorlakeai/tensorlakeWrote 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/tensorlakeai/tensorlake/claude-md)<a href="https://agentmods.dev/instructions/tensorlakeai/tensorlake/claude-md"><img src="https://agentmods.dev/badge/instructions/tensorlakeai/tensorlake/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 | $0.02118 | $0.02118 |
| Opus 5 | $0.01059 | $0.01059 |
| Sonnet 5 | $0.00424 | $0.00424 |
| Haiku 4.5 | $0.00212 | $0.00212 |
Grade C, and why
tensorlake CLAUDE.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 4d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- Commands run as `tl-user` by default. Builder-image checks that start `dockerd` must run as root, e.g. `sudo -n <script>`. Unrestricted tool accessmediumExcessive agency
A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.
2. **Sandbox SDK** (`src/tensorlake/sandbox`) - Client for creating Sandboxes where users can run arbitrary code, copy files, install packages and etc. How it starts
The opening of the file, as written. The whole thing — 181 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.
Project Overview
TensorLake SDK — a Python SDK for document ingestion (DocumentAI) and serverless agentic applications. Users define applications using decorator-based APIs and deploy them to TensorLake Cloud or run locally.
Common Commands
# Install dependencies and build
make build
# Format code (Black + isort)
make fmt
# Check formatting without modifying
make check
# Run all tests (requires TENSORLAKE_API_URL env var)
make test
# Run a specific test suite
cd tests && ./run_tests.sh --applications
cd tests && ./run_tests.sh --function-executor
cd tests && ./run_tests.sh --document-ai
cd tests && ./run_tests.sh --cli
# Run a single test file
cd tests && poetry run python path/to/test_file.py
# Regenerate gRPC stubs from .proto files
make build_proto
Manual Cloud Sandbox Validations
For validations that must run inside the real Tensorlake builder image, use a throwaway Python virtualenv with the published tensorlake package. Do this for live environment checks, not normal repo tests.
Key points:
- Install from PyPI in a fresh venv:
python3 -m venv /tmp/tl-validate-venv && /tmp/tl-validate-venv/bin/python -m pip install -q --upgrade pip tensorlake. - Read the token from
~/.config/tensorlake/credentials.toml, but never print it. The published SDK readsTENSORLAKE_API_KEY;TENSORLAKE_PATis not enough for sandbox creation. - Read
organizationandprojectfrom.tensorlake/config.tomland pass them explicitly toSandboxClient.for_cloud(...). Relying only on environment variables can produce missing scope headers. - Create the throwaway sandbox from
tensorlake/rootfs-builder, run validation commands, and always delete it withclient.delete(sandbox_id)in afinallyblock. - Commands run as
tl-userby default. Builder-image checks that startdockerdmust run as root, e.g.sudo -n <script>.
Minimal pattern:
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.
- 4d ago First seen · 181 lines · 2,118 tokens per session scan C c4f244199445
tensorlake CLAUDE.md is an instructions file published in the GitHub repository tensorlakeai/tensorlake (996 stars, last pushed today), licensed Apache-2.0. It adds 2,118 tokens to every session, about $0.0106 per session on Opus 5. A static security scan graded it C with 2 findings (asks for root, unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
AReaL AGENTS.md
AGENTS.md instructions for areal-project/AReaL, covering agents.md -- areal agent operations guide, quick reference, environment, tests and cli docs.
AReaL CLAUDE.md
Claude Code instructions for areal-project/AReaL, covering claude.md - areal, what: project overview, why: purpose, how: core commands and check environment.
agentos CLAUDE.md
Claude Code instructions for rivet-dev/agentos, covering agentos, boundaries, security model, sqlite schema ownership and runtime and registry.
agent-safehouse AGENTS.md
AGENTS.md instructions for eugene1g/agent-safehouse, covering agent safehouse: llm quick reference, what this project is, fast working rules, core commands and generate policy only (prints temp policy path).
agent-sandbox AGENTS.md
AGENTS.md instructions for kubernetes-sigs/agent-sandbox, covering agents.md, project summary, repository layout, agent skills and build, test, lint.
agent-sandbox copilot-instructions.md
Copilot instructions for kubernetes-sigs/agent-sandbox: Project Context & Architecture: Refer to AGENTS.md for full project background, module layout, toolchain versions, and core conventions.