second-brain-os: Skill for Codex

.agents/skills/flow/SKILL.md

flow is a skill for Codex from the-sid-dani/second-brain-os. It costs 153 tokens per session (2,056 once invoked), scanned A, original, MIT.

A work-routing guide that chooses an appropriate sequence of planning and building steps, from handling a small change to clarifying a vague project. It can carry project context between sessions using files.

In plain words
What is it for?
Use it to triage requests, refine ideas through questions, turn agreed work into specifications and tickets, and guide implementation across sessions.
Why use it?
It prevents using a heavy process for a tiny task or starting implementation before the work is understood. It also makes long or unclear efforts easier to break into stages.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

This is the-sid-dani/second-brain-os's own configuration. It tells Codex how to work on second-brain-os 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-os configures →

Reuse

Borrowing it

Nothing to install: this file belongs to the-sid-dani/second-brain-os. 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/the-sid-dani/second-brain-os/main/.agents/skills/flow/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/the-sid-dani/second-brain-os

Made for: Codex.

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 flow

README.md
[![agentmods](https://agentmods.dev/badge/skills/the-sid-dani/second-brain-os/flow/github.svg)](https://agentmods.dev/skills/the-sid-dani/second-brain-os/flow)
Your own site
<a href="https://agentmods.dev/skills/the-sid-dani/second-brain-os/flow"><img src="https://agentmods.dev/badge/skills/the-sid-dani/second-brain-os/flow/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 flow

Your own site · 80×15
<a href="https://agentmods.dev/skills/the-sid-dani/second-brain-os/flow"><img src="https://agentmods.dev/badge/skills/the-sid-dani/second-brain-os/flow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 153 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,056 The whole file, excluding the scripts and references it only reads on demand.
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.00153 $0.02056
Opus 5.5 $0.00061 $0.00822
Sonnet 5.5 $0.00031 $0.00411
Haiku 4.5 $0.00015 $0.00206

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

Security

Grade A, and why

flow 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 7d 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/skills/flow/SKILL.md · 79 lines

How it starts

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

Flow

You don't remember every skill, so ask.

A flow is a path through the skills. Most paths run along one main flow, and a few on-ramps merge onto it. Everything else is standalone, or a vocabulary layer that runs underneath.

Every flow skill resolves the project and its paths from docs/agents/project-context.md; specs, tickets and maps live as files in the project folder. Resolve it first; each later skill reuses it, and a /handoff file carries it into the next session.

When invoked, read the situation, name the path in two or three lines (which skills, in what order, and why), and offer to start the first one. Don't run the whole chain unasked.

First: is it small?

If the change fits in this session and nothing about it is unclear (a typo, a one-line config change, a short email, a quick edit to an existing doc), just do it. No spec, no tickets. The flow is for work that needs thinking or spans sessions.

The main flow: idea → done

The route most work travels. You have an idea and want it built, whether it's an app feature, an annual plan, a curriculum, a set of docs or a program launch.

  1. Sharpen the idea by interview.
    • /grill-with-docs when the project should keep its terms and decisions: CONTEXT.md and ADRs in an app repo, glossary.md and decisions/ in a knowledge project (an annual plan, a curriculum, a program).
    • /grill-me when nothing should be recorded: a decision you're weighing, a draft plan, an idea. Both run the same /grilling primitive.
  2. Branch: can you settle every question in conversation? If a question needs something concrete to react to (a UI, a state model, a rough outline, a first draft of one section), detour through /prototype, bridged by /handoff in both directions:
    • /handoff out, then open a fresh session against that file,
    • /prototype to answer the question with something throwaway,
    • /handoff back what you learned, and reference it from the original idea thread.
  3. Branch: is this a multi-session build? Decide after grilling, not before. It's multi-session when building takes more than one sitting, or when other people contribute, review or sign off along the way.
    • Yes → /to-spec (the thread becomes spec.md in the project), then /to-tickets to split it into tracer-bullet tickets (tickets/NN-slug.md), each declaring its blocking edges on a **Blocked by:** line. Then build one ticket per session, clearing context between each one.
    • No → build it right here, in the same context window: /implement builds straight from the conversation, code or knowledge work.
  4. Build → /implement, which routes itself:
    • Code (something that runs): drives /tdd at the agreed seams, commits on the ticket's branch in the app repo, runs /code-review on the commit, and closes the ticket with evidence.
    • Knowledge work (a doc, page, deck, diagram, plan, message): hands the making to the skill that owns the medium, reviews it, and closes the ticket with evidence.
    • The whole spec at once: every code ticket on the frontier builds in parallel in its own worktree, merged onto one integration branch, with the written tickets done one at a time alongside. Use it when the tickets are solid and you'd rather review the result than each ticket.
    • Reach for /tdd on its own for one behaviour test-first with no spec, and /code-review on its own to review a branch against a fixed point.

Read the full file on GitHub · 79 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 79 lines · 153 tokens per session scan A d86a774284e9

Subscribe to this mod's changes

flow is a skill published in the GitHub repository the-sid-dani/second-brain-os (3 stars, last pushed 7d ago), licensed MIT. It adds 153 tokens to every session and 2,056 once invoked, about $0.0006 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-10-17.

Related

Other skills, from other repositories

peer-onboard

A procedure for bringing an outside lead or peer into a shared working setup, including their contact space, records, previous conversations, and ongoing session.

tonydzi/second-brain-starter-kit · 152 tokens

contrib-watch

Watch incoming feedback from outside engineers on your open-source repos: comments, reviews, issues, mentions. Use when you need to find who replied to your pull requests or issues, triage human versus bot responses, and answer within a day with evidence.

tonydzi/second-brain-starter-kit · 54 tokens

retro-lost

Run a retrospective for an abandoned agent session (untouched for over 24 hours, never closed with a retro): rebuild context cold from the transcript, list what was built, sort Keep/Drop/Try and file the durable parts. Use from a nightly routine or on demand. Triggers: /retro-lost, retro for an abandoned session.

tonydzi/second-brain-starter-kit · 74 tokens

issue-match

Measure a target repository's queue and find a live open issue the contribution would close, before opening a pull request there. Reports how many PRs are open, how many of the last N closed ones were actually merged, and which issue to attach to, because a cold PR into a dead queue is a wasted artifact. Triggers…

tonydzi/second-brain-starter-kit · 87 tokens

local-engineer-outreach

An engineer-outreach workflow that manages ongoing conversations with engineering contacts and moves them through planned next steps toward an invitation or call to action.

tonydzi/second-brain-starter-kit · 280 tokens

outbound-gate

Gate for any outbound message before it leaves: pull request or issue comment, DM, invite, post, email. Use before sending to check facts, tone, platform rules, registry status and AI-slop, and to block text that fails.

tonydzi/second-brain-starter-kit · 54 tokens