Borrowing it
Nothing to install: this file belongs to coder/httpjail. 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/coder/httpjail/main/CLAUDE.mdgit clone --depth 1 https://github.com/coder/httpjailWrote 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/coder/httpjail/claude-md)<a href="https://agentmods.dev/instructions/coder/httpjail/claude-md"><img src="https://agentmods.dev/badge/instructions/coder/httpjail/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/coder/httpjail/claude-md"><img src="https://agentmods.dev/badge/instructions/coder/httpjail/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.02442 | $0.02442 |
| Opus 5 | $0.01221 | $0.01221 |
| Sonnet 5 | $0.00488 | $0.00488 |
| Haiku 4.5 | $0.00244 | $0.00244 |
Grade D, and why
httpjail CLAUDE.md scanned grade D with 3 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 today.
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.
sudo -E cargo test --test linux_integration Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf /tmp/httpjail-$BRANCH_NAME Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- Network tests should use `--connect-timeout 5 --max-time 8` for curl commands How it starts
The opening of the file, as written. The whole thing — 255 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent instructions
Performance
All proxying must be done on a streaming basis so that all types of requests are supported at minimal latency and a constant memory overhead.
Any time we need to read a specific number of bytes from the stream (e.g. to determine protocol), we must establish a timeout for the operation.
Timeouts must not preclude long-running connections such as GRPC or WebSocket.
Building
For faster builds during development and debugging, use the fast profile:
cargo build --profile fast
This profile inherits from release mode but uses lower optimization levels and disables LTO for significantly faster build times while still providing reasonable performance.
Testing
When writing tests, prefer pure rust solutions over shell script wrappers.
Important: Shell script based tests (.sh files) should NOT be committed to the repository. They are acceptable for transient testing during development (WIP), but all submitted tests must be written in Rust as either integration or unit tests. This ensures consistency, maintainability, and proper CI integration.
Test Philosophy: Write terse, minimal tests that cover the essential behavior. Avoid verbose test suites with many similar test cases. Each test should have a clear, specific purpose. Prefer 1-2 focused tests over 5-10 comprehensive tests. This keeps the test suite fast and maintainable.
Debugging Test Failures
Prefer logging over temporary scripts for debugging. Tests automatically have tracing enabled via ctor initialization in tests/common/logging.rs. To debug test failures:
- Run tests with
RUST_LOG=debug cargo testto see detailed logging - Add
tracing::debug!()ortracing::info!()statements rather thanprintln!or temporary test files - The logging setup uses
try_init()so it won't panic if already initialized
This approach ensures:
- Debugging information is available in CI logs
- No temporary files clutter the repository
- Debugging aids can be left in place without affecting normal test runs
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.
- today First seen · 255 lines · 2,442 tokens per session scan D 5512e6e51a7d
httpjail CLAUDE.md is an instructions file published in the GitHub repository coder/httpjail (961 stars, last pushed 4mo ago), licensed CC0-1.0. It adds 2,442 tokens to every session, about $0.0122 per session on Opus 5. A static security scan graded it D with 3 findings (asks for root, recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-11.
Other instructions, from other repositories
flow-like copilot-instructions.md
Copilot instructions for Rheosoph/flow-like, covering flow-like wasm node development — rust, project overview, build & test, architecture and pin types.
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.
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).
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.