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.
npx agentmods add instructions/lamantinai/mayak/agents-mdgit clone --depth 1 https://github.com/LamantinAI/mayakWrote 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.
[](https://agentmods.dev/instructions/lamantinai/mayak/agents-md)<a href="https://agentmods.dev/instructions/lamantinai/mayak/agents-md"><img src="https://agentmods.dev/badge/instructions/lamantinai/mayak/agents-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.04238 | $0.04238 |
| Opus 5 | $0.02119 | $0.02119 |
| Sonnet 5 | $0.00848 | $0.00848 |
| Haiku 4.5 | $0.00424 | $0.00424 |
Grade A, and why
mayak 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 today.
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.
Copies of this mod
1 near-identical copy found in the catalogue:
- mayak CLAUDE.md — 100% identical, 6 lines differ
How it starts
The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
The shared Mayak agent rules, rendered for Codex.
Generated from docs/agent_rules.md via scripts/sync_agent_docs.py. Do not edit this file manually.
Quick Start
- Copy the
reference_taskvertical. It is the one worked example and it exists to be copied — eleven files plus three wiring edits;.agents/skills/add-verticalcarries the order and the removal list for when your own vertical replaces it. A project that has replaced it edits this line and nothing else: the wrapper's Quick Start is generated from these bullets. - If
.envis missing:make init-project. Nothing else creates it, and the app does not start without it. Idempotent — it never overwrites an existing.env. make quality-gatesbefore committing. When the diff touched persistence, endpoints or wiring,make test-e2etoo — the gates run none of your queries.- Reach for
uv run python scripts/query_ai_context.py bootstrapwhen you need the wiring map, andworkset diffwhen you already have local edits — not as a ritual.
Running the service needs one more decision: the shipped .env points at PostgreSQL with
placeholder credentials, so make run-local fails until either a database is up
(docker compose -f docker-compose.yml -f docker-compose.postgres.yml up -d db) or the
project declares it needs none (POSTGRES_ENABLED=false in .env).
Common Commands
# Validation
make ai-autofix # Auto-format + fix lint + CBM
make quality-gates # The validation suite — run it before committing
make security-scan # bandit security scan over project/
make ci-local # Everything CI runs, locally: gates, both Postgres modes, security, audit, e2e
# Testing
make test # Unit + integration (skip functional)
make test-all # All tests including functional
make test-e2e # Functional tests only (Docker)
# Refresh generated artifacts
make refresh-ai-context # Regenerate AI context maps
make refresh-agent-docs # Regenerate CLAUDE.md and AGENTS.md
make refresh-project-map # Regenerate docs/project_map.md
make refresh-generated-docs # All of the above, in dependency order
# Reading a running service
make format-trace # Render a local NDJSON file: ARGS="<logfile>"
make logs # Render the container's semantic log as a trace tree
make logs-raw # Dump the container's raw NDJSON under logs/
# Run
make smoke # Docker-based health check
make migrate # Apply pending Alembic migrations
make run-local # Migrate, then start the app locally (needs a reachable PostgreSQL unless POSTGRES_ENABLED=false)
# Scaffolding
make autogenerate-migration # Alembic migration: MSG="description"
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.
- today Changed · +106 tokens per session 7c73cef73366
- 4d ago First seen · 128 lines · 4,132 tokens per session scan A df32f6f99652
mayak AGENTS.md is an instructions file published in the GitHub repository LamantinAI/mayak (5 stars, last pushed 2d ago), licensed MIT. It adds 4,238 tokens to every session, about $0.0212 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.
Other instructions, from other repositories
cookiecutter-mlops-package AGENTS.md
Instructions for fmind/cookiecutter-mlops-package, covering agents.md, project overview, setup & core commands, definition of done and conventions & idioms.
geolens CLAUDE.md
Claude Code instructions for geolens-io/geolens: This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
substack-gateway-oss CLAUDE.md
Claude Code instructions for jakub-k-slys/substack-gateway-oss, covering claude.md, commands, install dependencies (dev included, all workspace members), run the server (dev mode with reload) and lint.
dev-challenge CLAUDE.md
Claude Code instructions for micheltlutz/dev-challenge, covering claude.md, the one rule to internalise, slash commands, subagents and skills.
deckforge CLAUDE.md
Instructions for Whatsonyourmind/deckforge, covering deckforge, tech stack, project structure, key commands and local development.
ILLIP AGENTS.md
Instructions for Yashwanth-pilli/ILLIP, covering illip ai - agent framework documentation, agents, 1. planner agent, 2. builder agent and 3. reviewer agent.