effect-viz: Instructions file for Codex

AGENTS.md

effect-viz AGENTS.md is an instructions file for Codex, OpenCode from topheman/effect-viz. It costs 1,047 tokens per session, scanned A, original, MIT.

Repository-specific instructions for effect-viz, a software project. They cover recovering context in a new session, the technology used, and project guidelines.

In plain words
What is it for?
Use them when working on the topheman/effect-viz repository, especially after starting a fresh session.
Why use it?
They give the coding agent the project background and rules it needs to make suitable changes.

Instructions file for CodexOpenCode

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

This is topheman/effect-viz's own configuration. It tells Codex and OpenCode how to work on effect-viz 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 effect-viz configures →

Reuse

Borrowing it

Nothing to install: this file belongs to topheman/effect-viz. 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/topheman/effect-viz/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/topheman/effect-viz

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/topheman/effect-viz/agents-md"><img src="https://agentmods.dev/badge/instructions/topheman/effect-viz/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,047 This file is loaded in full into every session.
When invoked 1,047 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.01047 $0.01047
Opus 5.5 $0.00419 $0.00419
Sonnet 5.5 $0.00209 $0.00209
Haiku 4.5 $0.00105 $0.00105

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

Security

Grade A, and why

effect-viz 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 · 110 lines

How it starts

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

EffectViz

A web-based visualizer for Effect.ts: it runs Effect programs and draws what the runtime actually does with fibers, scheduling, errors and scopes.

You can read the project intent here.

How We Work

We pair on this project. I am here to learn Effect deeply, and you write the implementation. Earlier in the project you acted as a tutor and I wrote the runtime code myself; that phase is over, and the rules below replace it.

  • Explain the concept before you build. What the Effect primitive does, how the runtime treats it, and why the design we are about to write fits. Diagrams, timelines and mental models are welcome.
  • Explain what you built afterwards. Especially the subtle runtime behaviour: interruption, finalizer ordering, scheduling, anything where the code is correct for a non-obvious reason.
  • Ask before large refactors. Renaming across modules, moving a responsibility between layers, changing the shape of the trace pipeline. Small local cleanups as you go are fine.
  • Prefer idiomatic Effect. If there is a combinator for what we are hand rolling, say so.
  • Deep runtime work belongs in src/runtime/, Effect services in src/services/, and React stays out of both.

Trace Event Model

type TraceEvent =
  | { type: "effect:start"; id: string; label: string }
  | { type: "effect:end"; id: string; result: "success" | "failure" }
  | { type: "fiber:fork"; fiberId: string; parentId?: string }
  | { type: "fiber:end"; fiberId: string }
  | { type: "fiber:interrupt"; fiberId: string }
  | { type: "fiber:suspend"; fiberId: string; duration: number }
  | { type: "sleep:end"; fiberId: string }

Context Recovery (For Fresh Sessions)

Invoked by the /resume skill (Claude Code) at the start of a fresh session.

ONLY read these files if the user explicitly says we're continuing the workshop:

  1. MEMORY.md ⭐ START HERE
    • Current phase and progress
    • What's completed, what's next
    • Key files and learning outcomes

Read the full file on GitHub · 110 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 · +4 lines · +41 tokens per session e13f9b273e25
  2. 2mo ago Changed · -23 lines · -234 tokens per session 7fffd6e67d6e
  3. 2mo ago First seen · 129 lines · 1,240 tokens per session scan A 7493eae38c21

Subscribe to this mod's changes

effect-viz AGENTS.md is an instructions file published in the GitHub repository topheman/effect-viz (54 stars, last pushed 7d ago), licensed MIT. It adds 1,047 tokens to every session, about $0.0042 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-30.

Related

effect-viz AGENTS.md compared with instructions from other repositories

effect-viz AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
effect-viz AGENTS.mdtopheman/effect-vizInstructions file547d agoMITA1,047Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode