second-brain-starter-kit: Instructions file for Codex

AGENTS.md

second-brain-starter-kit AGENTS.md is an instructions file for Codex, OpenCode from tonydzi/second-brain-starter-kit. It costs 1,104 tokens per session, scanned A, original, MIT.

A repository-specific AGENTS.md instruction file for working in the second-brain-starter-kit project. AGENTS.md files tell coding agents how a repository is organized, what it contains, and how to verify changes.

In plain words
What is it for?
It is for guiding contributions to a portable Claude Code second-brain setup containing skills, CRM templates, engines, documentation, and sample data.
Why use it?
It gives an agent unfamiliar with the project the background, file layout, conventions, and verification rules needed to work safely in the repository.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

This is tonydzi/second-brain-starter-kit's own configuration. It tells Codex and OpenCode how to work on second-brain-starter-kit 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 second-brain-starter-kit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tonydzi/second-brain-starter-kit. 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/tonydzi/second-brain-starter-kit/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/tonydzi/second-brain-starter-kit

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 second-brain-starter-kit AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/tonydzi/second-brain-starter-kit/agents-md/github.svg)](https://agentmods.dev/instructions/tonydzi/second-brain-starter-kit/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/tonydzi/second-brain-starter-kit/agents-md"><img src="https://agentmods.dev/badge/instructions/tonydzi/second-brain-starter-kit/agents-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 second-brain-starter-kit AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/tonydzi/second-brain-starter-kit/agents-md"><img src="https://agentmods.dev/badge/instructions/tonydzi/second-brain-starter-kit/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,104 This file is loaded in full into every session.
When invoked 1,104 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.01104 $0.01104
Opus 5.5 $0.00442 $0.00442
Sonnet 5.5 $0.00221 $0.00221
Haiku 4.5 $0.00110 $0.00110

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

Security

Grade A, and why

second-brain-starter-kit 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 1mo 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 · 83 lines

How it starts

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

AGENTS.md — working in this repo

Written for AI coding agents, and equally readable by a human contributor. Short on purpose. Русская сводка — в конце.

What this repo is

A working "Claude Code as a second brain + working assistant" setup, stripped of personal data and cut down to a portable core: the method, not the data. 100 skills, a CRM engine with sample data, vault templates, engine passports, and the seed message that starts the first session.

The primary reader is someone else's agent, bootstrapping a system for its own operator. That shapes everything below: instructions must survive being executed by a model that has never seen this repo, on a machine you know nothing about.

Layout

  • SEED.md — the first message a user pastes into Claude Code. Everything starts here.
  • BOOTSTRAP-CLAUDE.md — instructions to the installing agent.
  • CLAUDE-EXTERNAL.md — the working principles that become the user's own CLAUDE.md.
  • skills/ — 100 skill commands, mapped in skills/INDEX.md.
  • crm-template/ — markdown "card = file" CRM plus the scoring engine and demo data.
  • engines/ — the published engines; engines/PASSPORTS.md is their catalogue.
  • templates/, docs/ — note templates, onboarding, and what is/isn't shared.
  • HANDOVER.md — entry point if the reader already runs a fleet of agents.

How to verify a change

The one command that exercises real logic end to end, offline:

cd crm-template/reference
python demo.py     # scores the shipped sample, prints bands, queue, and an agreement check

Read what it prints before you "fix" it: the priority column is expected not to reproduce exactly, because the export deliberately does not carry three signals that live in the message store. That gap is documented, not a bug — a PR that makes the numbers agree by changing the model is going the wrong way.

If you changed a skill or a doc, verification is different: paste the before/after of the concrete file, per docs/HOW-TO-CONTRIBUTE.md. Abstract "this could be improved" is nearly impossible to judge and will come back as a question.

Read the full file on GitHub · 83 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. 1mo ago Changed e356b0602607
  2. 1mo ago First seen · 83 lines · 1,104 tokens per session scan A 9c9dc74e90b3

Subscribe to this mod's changes

second-brain-starter-kit AGENTS.md is an instructions file published in the GitHub repository tonydzi/second-brain-starter-kit (9 stars, last pushed today), licensed MIT. It adds 1,104 tokens to every session, about $0.0044 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-08-31.

Related

Other instructions, from other repositories

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 · 9,649 tokens

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,257 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, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 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,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,159 tokens