shannot: Instructions file for Claude Code

CLAUDE.md

shannot CLAUDE.md is an instructions file for Claude Code from corv89/shannot. It costs 950 tokens per session, scanned A, original, Apache-2.0.

A set of project instructions for AI coding agents working on Shannot, a sandboxed system-administration tool that runs scripts in a restricted environment.

In plain words
What is it for?
It is for running sandboxed scripts, managing approval sessions and remote targets, setting up integrations, and contributing to the Python codebase.
Why use it?
It gives agents the project’s commands, layout, setup rules, and development constraints so they can work in the right way.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

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

Reuse

Borrowing it

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

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 shannot CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/corv89/shannot/claude-md"><img src="https://agentmods.dev/badge/instructions/corv89/shannot/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 950 This file is loaded in full into every session.
When invoked 950 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.00950 $0.00950
Opus 5.5 $0.00380 $0.00380
Sonnet 5.5 $0.00190 $0.00190
Haiku 4.5 $0.00095 $0.00095

Measured 2mo ago against content hash 04d0401aa157, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

shannot 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 2mo 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 · 121 lines

How it starts

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

Guidelines for AI Agents (Claude & Others)

Quick reference for AI agents working with the Shannot codebase. For detailed architecture and contribution guidelines, see CONTRIBUTING.md.

Project Overview

Shannot is a sandboxed system administration tool for LLM agents using PyPy sandbox architecture with syscall-level virtualization.

Key Facts:

  • Python 3.11+ host code, Python 3.6 sandboxed code
  • Zero runtime dependencies (stdlib only)
  • Test directory is test/ (not tests/)

CLI Commands

# Core workflow
shannot run SCRIPT              # Execute Python script in sandbox
shannot approve [SESSION]       # Interactive approval TUI
shannot status                  # Check runtime and pending sessions

# Setup (interactive menu or subcommands)
shannot setup                   # Interactive setup menu
shannot setup runtime           # Install PyPy 3.6 stdlib
shannot setup remote add NAME   # Add SSH remote target
shannot setup remote list       # List configured remotes
shannot setup remote test NAME  # Test SSH connection
shannot setup mcp install       # Install MCP integration

Key Options: --target NAME, --dry-run, --color/--no-color

Development Commands

# Environment
make install                # Install runtime dependencies
make install-dev            # Install with dev dependencies + hooks

# Testing
make test                   # Run all tests
make test-unit              # Skip integration tests
make test-integration       # Integration tests only (requires PyPy)
make test-coverage          # Run with coverage

# Code Quality
make lint                   # Lint with Ruff
make format                 # Format with Ruff
make type-check             # Type check with Basedpyright

# Documentation
make docs                   # Build MkDocs (output to site/)
make docs-serve             # Serve at http://127.0.0.1:8000

# Building
make clean                  # Clean build artifacts
make build                  # Build wheel + sdist
make build-binary           # Build Nuitka binary (Linux)

Read the full file on GitHub · 121 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. 2mo ago First seen · 121 lines · 950 tokens per session scan A 04d0401aa157

Subscribe to this mod's changes

shannot CLAUDE.md is an instructions file published in the GitHub repository corv89/shannot (26 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 950 tokens to every session, about $0.0038 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-09-01.

Related

shannot CLAUDE.md compared with instructions from other repositories

shannot CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
shannot CLAUDE.mdcorv89/shannotInstructions file266mo agoApache-2.0A950Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode