py-launch-blueprint AGENTS.md

py-launch-blueprint AGENTS.md is an instructions file for Codex, OpenCode from smorinlabs/py-launch-blueprint. It costs 3,740 tokens per session, scanned A, original, MIT.

Repository instructions for a Python project, covering required tools, setup commands, testing checks, and review safeguards before commits or pull requests.

In plain words
What is it for?
Use them to set up the project with its required tools, run the canonical checks, configure hooks, scan for secrets, and follow the merge guard.
Why use it?
They give coding agents one agreed workflow for preparing the environment and verifying changes before they are shared.

Instructions file for CodexOpenCode

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/smorinlabs/py-launch-blueprint/agents-md
Clone the repo
git clone --depth 1 https://github.com/smorinlabs/py-launch-blueprint

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 py-launch-blueprint AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/smorinlabs/py-launch-blueprint/agents-md.svg)](https://agentmods.dev/instructions/smorinlabs/py-launch-blueprint/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/smorinlabs/py-launch-blueprint/agents-md"><img src="https://agentmods.dev/badge/instructions/smorinlabs/py-launch-blueprint/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,740 This file is loaded in full into every session.
When invoked 3,740 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.03740 $0.03740
Opus 5 $0.01870 $0.01870
Sonnet 5 $0.00748 $0.00748
Haiku 4.5 $0.00374 $0.00374

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

Security

Grade A, and why

py-launch-blueprint 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.

AGENTS.md · 280 lines

How it starts

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

AGENTS.md

Canonical guidance for ALL coding agents (Claude Code, Cursor, Codex, Windsurf, Aider, etc.) — this is the single file to edit. CLAUDE.md imports it verbatim (@AGENTS.md); Cursor, Windsurf, and Codex read this file natively. For human-contributor flow see .github/CONTRIBUTING.md.

Required tools

  • Python 3.12+ (per requires-python = ">=3.12"; see ITM-033).
  • uv — Python dependency + venv management.
  • bun — commitlint runtime (per ADR-04).
  • lefthook — hook manager (per ADR-01).
  • gitleaks — secret scanner (per ADR-02).

Setup is two levels, in order (both idempotent):

make bootstrap   # Level 1 — base toolchain (just + uv); bare machines only
just setup       # Level 2 — everything else (run every fresh clone/container/session)

just setup syncs the dev env (uv sync --group dev --extra web), wires lefthook git hooks, and installs the hook toolchain (bun + bun install, gitleaks, taplo, yamlfmt). It starts by running the Makefile's make check gate and fails with a pointer to make bootstrap if the base toolchain is missing — so running it "too early" is safe. The hook wiring is REQUIRED before any commit/push work: without it none of the hooks below fire. Fresh clones, containers, and remote agent sessions start without it — run just setup as part of environment setup, every session. (The underlying scripts/install-*.sh installers remain available individually.)

Canonical commands

Task Command
Sync dev env uv sync --group dev --extra web (PEP 735 — not pip install '.[dev]')
All checks just check
Run tests pytest (default excludes slow/live markers per ITM-046; full: pytest -m ""; parallel: add -n auto)
Run one test pytest tests/test_file.py::test_name
Lint uv run ruff check .
Format just format or uv run ruff format src/py_launch_blueprint/
Format check uv run ruff format --check .
Typecheck uv run --extra web ty check src/py_launch_blueprint/ (ITM-026 / ADR-03; --extra web so web/ imports resolve)
Dependency CVE audit just audit (WL-014; same pipeline as the weekly CI workflow)
Web tests / dev server just test-web / just serve (FastAPI, web extra)
Secret scan scripts/check-gitleaks.sh --staged or --range
Build uv build (uv_build backend per ADR-06)

Read the full file on GitHub · 280 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 · 280 lines · 3,740 tokens per session scan A bbe6c49dacf5

Subscribe to this mod's changes

py-launch-blueprint AGENTS.md is an instructions file published in the GitHub repository smorinlabs/py-launch-blueprint (24 stars, last pushed 3d ago), licensed MIT. It adds 3,740 tokens to every session, about $0.0187 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.