puck-scout: Instructions file for Claude Code

CLAUDE.md

puck-scout CLAUDE.md is an instructions file for Claude Code from puck-security/puck-scout. It costs 1,649 tokens per session, scanned A, original, MIT.

A set of instructions for Puck Scout, an open-source security tool that investigates computers during incident response and threat hunting. It connects an AI coding client to a read-only endpoint agent through an MCP server, a standard way for AI tools to use external services.

In plain words
What is it for?
It guides work on Puck’s Rust endpoint agent, Go MCP server, and YAML-and-Markdown investigation playbooks.
Why use it?
It gives the coding client the project’s architecture, repository layout, and development conventions, while documenting how the security components fit together.

Instructions file for Claude Code

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

This is puck-security/puck-scout's own configuration. It tells Claude Code how to work on puck-scout 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 puck-scout configures →

Reuse

Borrowing it

Nothing to install: this file belongs to puck-security/puck-scout. 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/puck-security/puck-scout/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/puck-security/puck-scout

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 puck-scout CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/puck-security/puck-scout/claude-md.svg)](https://agentmods.dev/instructions/puck-security/puck-scout/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/puck-security/puck-scout/claude-md"><img src="https://agentmods.dev/badge/instructions/puck-security/puck-scout/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,649 This file is loaded in full into every session.
When invoked 1,649 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.01649 $0.01649
Opus 5 $0.00825 $0.00825
Sonnet 5 $0.00330 $0.00330
Haiku 4.5 $0.00165 $0.00165

Measured 6d ago against content hash fc614fb4f812, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

puck-scout 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 6d 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.

CLAUDE.md · 78 lines

How it starts

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

CLAUDE.md — Puck Scout

1. What Puck Is

Puck is an open-source autonomous endpoint investigation tool for security teams. It is an MCP (Model Context Protocol) server that enables Claude Code, Cursor, or any MCP client to perform autonomous, schema-free, read-only investigation of endpoint state during incident response and threat hunting. An IR engineer gets an alert, opens their MCP client, types a natural-language question ("investigate eng-laptop-47 and give me the blast radius"), and Puck autonomously runs read-only commands on the target endpoint, reasons about findings, pivots to related endpoints, and returns a narrative answer with containment recommendations.

Puck has three open-source components: (1) a Rust endpoint agent — a thin, memory-safe, read-only command executor that runs on customer endpoints; (2) a Go MCP server — the routing, orchestration, audit, and cost-control layer between MCP clients and endpoint agents; and (3) a skills library — investigation playbooks as YAML + markdown files that provide Claude with the reasoning context to execute investigations well. Key architectural properties: the agent is strictly read-only (cannot modify endpoint state), investigations are schema-free (commands are generated by AI reasoning at query time, not pre-indexed), the system is MCP-native (no proprietary UI/API), inference is BYO (users bring their own Claude/Bedrock/OpenAI keys), and fan-out to multiple endpoints happens in parallel.

2. Architectural Invariants

These are load-bearing constraints. If you are about to do something that violates any of these, stop immediately and flag the violation instead of proceeding.

  1. Read-only agent: The endpoint agent MUST NOT call any file-write, process-termination, or system-modification syscall. This is the core trust story. No exceptions, no "admin mode," no flags that disable it.
  2. No persistent state in the agent: The endpoint agent has no database, no cache, no local state beyond ephemeral command execution. It receives a command, executes it, returns the result, and forgets.
  3. Bounded commands: Every command executed by the endpoint agent must have an explicit scope limit and a timeout. No unbounded recursion, no open-ended streaming, no commands that run indefinitely.
  4. Audit-before-execute: The MCP server MUST log every command sent to every endpoint agent before execution. The audit log is the ground truth for what Puck did to a customer's fleet.
  5. No inference keys in repo or logs: API keys for Claude/Bedrock/OpenAI are never committed to the repository and never written to audit logs or application logs. Ever.
  6. Agent network isolation: The endpoint agent MUST NOT call any external network service other than the configured MCP server. No DNS lookups to third parties, no telemetry, no update checks.
  7. Skills are YAML, not code: Investigation logic lives in skill YAML files, not in Go code in the MCP server. The MCP server loads and interprets skills at runtime. Skills are the source of truth for investigation behavior.
  8. Untrusted driving LLM: The MCP client is untrusted. No safety property may depend on the LLM behaving well — it may be weak, hostile, or prompt-injected by content read off an investigated endpoint. Every boundary that prevents harm lives in Go/Rust code, gated by command grammar (policy/policy.toml) or operation type. Skill prose is advice; only the agent + MCP server are safety boundaries. The practical test: if a malicious LLM ignored a rule, could harm occur? If yes, the rule belongs in code, not in a skill.
  9. Modular and expandable: Every component is designed for independent development, testing, and extension. Interfaces are explicit. Dependencies flow one direction. Adding a new command, skill, or integration should not require modifying unrelated code.

Read the full file on GitHub · 78 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. 6d ago First seen · 78 lines · 1,649 tokens per session scan A fc614fb4f812

Subscribe to this mod's changes

puck-scout CLAUDE.md is an instructions file published in the GitHub repository puck-security/puck-scout (23 stars, last pushed 2mo ago), licensed MIT. It adds 1,649 tokens to every session, about $0.0082 per session on Opus 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

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.

vercel/next.js · 7,296 tokens

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.

openai/codex · 5,182 tokens

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

microsoft/vscode · 6,785 tokens

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

microsoft/vscode · 5,001 tokens

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.

langchain-ai/langchain · 4,469 tokens

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.

github/spec-kit · 7,104 tokens