nestweaver: Instructions file for Claude Code

CLAUDE.md

nestweaver CLAUDE.md is an instructions file for Claude Code from Kehl-io/nestweaver. It costs 14,825 tokens per session, scanned A, original, MIT.

Project instructions for NestWeaver, a Rust workspace containing a daemon, supporting services, and a macOS app. They document how to build, test, format, and lint the project.

In plain words
What is it for?
Use them when developing NestWeaver, especially when building the workspace, testing one crate, checking formatting, running Clippy, or working with its daemon and macOS app.
Why use it?
They prevent common test and feature-selection mistakes in a multi-package Rust repository, also called a workspace. They provide the required commands and project-specific operating rules.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

This is Kehl-io/nestweaver's own configuration. It tells Claude Code how to work on nestweaver itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything nestweaver configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is # --out-dir ../../crates/nestweaver-web/frontend/src/wasm.

Reuse

Borrowing it

Nothing to install: this file belongs to Kehl-io/nestweaver. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Kehl-io/nestweaver/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/Kehl-io/nestweaver

Made for: Claude Code.

Wrote 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.

agentmods badge for nestweaver CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/kehl-io/nestweaver/claude-md/github.svg)](https://agentmods.dev/instructions/kehl-io/nestweaver/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/kehl-io/nestweaver/claude-md"><img src="https://agentmods.dev/badge/instructions/kehl-io/nestweaver/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.

agentmods 80×15 button for nestweaver CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/kehl-io/nestweaver/claude-md"><img src="https://agentmods.dev/badge/instructions/kehl-io/nestweaver/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14,825 This file is loaded in full into every session.
When invoked 14,825 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.14825 $0.14825
Opus 5.5 $0.05930 $0.05930
Sonnet 5.5 $0.02965 $0.02965
Haiku 4.5 $0.01482 $0.01482

Measured yesterday against content hash 57df7ebf3bde, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nestweaver 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 yesterday.

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.

CLAUDE.md · 641 lines

How it starts

The opening of the file, as written. The whole thing — 641 lines — stays where its author put it; the contents beside it link to each section on GitHub.

NestWeaver

Build & Test

cargo build                                                 # build all crates
cargo build --release                                       # release binary
cargo test                                                  # run all tests
just test-crate nestweaver-schema                           # test one crate — NOT `cargo test -p`
cargo clippy --workspace --all-targets -- -D warnings       # lint (zero warnings)
cargo fmt --all -- --check                                  # format check
cargo fmt --all                                             # format in place

Use just test-crate, never a bare cargo test -p <crate>. -p resolves features for that package alone, while a workspace run unifies them across dependents. Affected crates therefore run fewer tests under -p and still report ok. Measured on 5e9e0f0, bare -p / --all-features / --workspace:

crate -p --all-features --workspace
nestweaver-daemon 238 264 264
nestweaver-mcp 154 180 180

The recipe starts from every feature the package declares (read from cargo metadata), not a per-crate list, because every feature unification can activate on a package is one of that package's own features — so that set is a superset and can never cover less. Guessing the list is unreliable: --features embed looks right and leaves nestweaver-mcp at 154, since what it actually needs is daemon.

Off macOS the recipe passes every feature except those enabling metal (nestweaver-embed, the root nestweaver and nestweaver-daemon have one), because metal pulls objc2 and does not compile on Linux. It also leaves out the CI-only ci-direct-tests.

Switching between -p and --workspace also re-resolves features, which re-fingerprints the build and forces a full lbug C++ rebuild. Pick one shape per working tree and keep it.

A clean clone links with no extra linker flags. Only one copy of zstd is in the binary: liblbug.a vendors it, and Rust code reaches that copy through nestweaver_store::zstd rather than the zstd crate. Do not add a zstd dependency back — that reintroduces zstd-sys, a second complete copy, and the duplicate-symbol link failure that -Wl,--allow-multiple-definition used to suppress.

Read the full file on GitHub · 641 lines

Changes

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.

  1. yesterday Changed · +2 lines · +33 tokens per session 57df7ebf3bde
  2. 5d ago Changed · +1 lines · +19 tokens per session 4b54e5ae4552
  3. 6d ago Changed · +1 lines · +26 tokens per session 7a55cb440a23
  4. 7d ago Changed · +3 lines · +25 tokens per session b8481f9612ae
  5. 13d ago Changed · +8 lines · +114 tokens per session e1e3d666266d
  6. 14d ago Changed · +18 tokens per session 148d8179fbf4
  7. 15d ago Changed · +10 lines · +108 tokens per session 0624333302ea
  8. 16d ago Changed · +8 lines · +108 tokens per session b8095336c9d1
  9. 19d ago Changed · +8 lines · +604 tokens per session 38961e07a42c
  10. 20d ago First seen · 600 lines · 13,770 tokens per session scan A df62fd819a4c

Subscribe to this mod's changes

nestweaver CLAUDE.md is an instructions file published in the GitHub repository Kehl-io/nestweaver (12 stars, last pushed yesterday), licensed MIT. It adds 14,825 tokens to every session, about $0.0593 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.

Related

nestweaver CLAUDE.md compared with instructions from other repositories

nestweaver CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nestweaver CLAUDE.mdKehl-io/nestweaverInstructions file12yesterdayMITA14,825Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot