Substak-MCP AGENTS.md

Substak-MCP AGENTS.md is an instructions file for Codex, OpenCode from IgnazioDS/Substak-MCP. It costs 2,616 tokens per session, scanned A, original, MIT.

Repository instructions for Substak-MCP, a project that includes Python code, tests, a virtual environment, and documentation.

In plain words
What is it for?
Use them before coding or testing to activate the project's environment, run its Python tests, check types and formatting, and place new documentation in the docs directory.
Why use it?
They provide the required setup and quality checks, reducing errors caused by using the wrong Python command, environment, or file location.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: names the TodoWrite tool; mentions AGENTS.md; mentions Codex.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/ignaziods/substak-mcp/agents-md
Clone the repo
git clone --depth 1 https://github.com/IgnazioDS/Substak-MCP

Made for: Codex, OpenCode.

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 AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ignaziods/substak-mcp/agents-md.svg)](https://agentmods.dev/instructions/ignaziods/substak-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/ignaziods/substak-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/ignaziods/substak-mcp/agents-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. 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.02616 $0.02616
Opus 5 $0.01308 $0.01308
Sonnet 5 $0.00523 $0.00523
Haiku 4.5 $0.00262 $0.00262

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

Security

Grade A, and why

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

Copies of this mod

1 near-identical copy found in the catalogue:

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

AGENTS.md

This file provides guidance to Codex (Codex.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 AGENTS.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. 5d ago First seen · 267 lines · 2,616 tokens per session scan A b6a3a283e1db

Subscribe to this mod's changes

Substak-MCP AGENTS.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. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.