Substak-MCP: Instructions file for Claude Code

CLAUDE.md

Substak-MCP CLAUDE.md is an instructions file for Claude Code from IgnazioDS/Substak-MCP. It costs 2,616 tokens per session, scanned A, a copy of Substak-MCP AGENTS.md, MIT.

Project instructions for working on the Substak-MCP repository, including its environment, commands, code checks, and communication rules.

In plain words
What is it for?
Activating the virtual environment, running Python tests and coverage, formatting with Black, checking types with mypy, and following the project’s documentation and interaction conventions.
Why use it?
They give an agent the repository-specific steps needed to run tests, format code, check types, and place files correctly.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the TodoWrite tool.

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

Reuse

Borrowing it

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

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 Substak-MCP CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ignaziods/substak-mcp/claude-md.svg)](https://agentmods.dev/instructions/ignaziods/substak-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/ignaziods/substak-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/ignaziods/substak-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,616 This file is loaded in full into every session.
When invoked 2,616 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 97% copy Near-identical to another mod 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.02616 $0.02616
Opus 5 $0.01308 $0.01308
Sonnet 5 $0.00523 $0.00523
Haiku 4.5 $0.00262 $0.00262

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

Security

Grade A, and why

Substak-MCP 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 8d 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.

Origin

This is a copy

97% identical to Substak-MCP AGENTS.md — 12 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

CLAUDE.md · 267 lines

How it starts

The opening of the file, as written. The whole thing — 267 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.

Quick Command Reference (Use These!)

# ALWAYS activate virtual environment first:
source venv/bin/activate

# Run tests (use python3!):
python3 -m pytest                           # Run all tests
python3 -m pytest tests/unit/test_foo.py -v # Run specific test
python3 -m pytest --cov=src --cov-report=term # Check coverage

# Code quality:
black src tests     # Format code
mypy src           # Type checking

# Common fixes:
# If "python: command not found" → use python3
# If "ModuleNotFoundError" → activate venv first
# If creating docs → put in docs/ not root!

Interaction

  • Any time you interact with me, you MUST address me as "Sir"

Starting a new project

Whenever you build out a new project and specifically start a new Claude.md - you should pick a name for yourself, and a name for me (something short a sweet). This is important

  • When picking names it should be really unhinged, and super fun. not necessarily code related. think 90s, monstertrucks, and something gen z would laugh at

Writing code

  • CRITICAL: NEVER USE --no-verify WHEN COMMITTING CODE
  • NEVER commit without running tests first
  • NEVER commit directly to main branch - use feature branches
  • We prefer simple, clean, maintainable solutions over clever or complex ones, even if the latter are more concise or performant. Readability and maintainability are primary concerns.
  • Make the smallest reasonable changes to get to the desired outcome. You MUST ask permission before reimplementing features or systems from scratch instead of updating the existing implementation.
  • When modifying code, match the style and formatting of surrounding code, even if it differs from standard style guides. Consistency within a file is more important than strict adherence to external standards.
  • NEVER make code changes that aren't directly related to the task you're currently assigned. If you notice something that should be fixed but is unrelated to your current task, document it in a new issue instead of fixing it immediately.
  • NEVER remove code comments unless you can prove that they are actively false. Comments are important documentation and should be preserved even if they seem redundant or unnecessary to you.
  • All code files should start with a brief 2 line comment explaining what the file does. Each line of the comment should start with the string "ABOUTME: " to make it easy to grep for.
  • When writing comments, avoid referring to temporal context about refactors or recent changes. Comments should be evergreen and describe the code as it is, not how it evolved or was recently changed.
  • NEVER implement a mock mode for testing or for any purpose. We always use real data and real APIs, never mock implementations.
  • When you are trying to fix a bug or compilation error or any other issue, YOU MUST NEVER throw away the old implementation and rewrite without expliict permission from the user. If you are going to do this, YOU MUST STOP and get explicit permission from the user.
  • NEVER name things as 'improved' or 'new' or 'enhanced', etc. Code naming should be evergreen. What is new today will be "old" someday.

Read the full file on GitHub · 267 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. 8d ago First seen · 267 lines · 2,616 tokens per session scan A caf2faf0a58d

Subscribe to this mod's changes

Substak-MCP CLAUDE.md is an instructions file published in the GitHub repository IgnazioDS/Substak-MCP (6 stars, last pushed 3mo ago), licensed MIT. It adds 2,616 tokens to every session, about $0.0131 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to Substak-MCP AGENTS.md, differing in 12 lines, and is treated as a copy.

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,153 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