slivingdoc: Instructions file for Codex

AGENTS.md

slivingdoc AGENTS.md is an instructions file for Codex, OpenCode from baalimago/slivingdoc. It costs 8,373 tokens per session, scanned A, original, MIT.

Project instructions for slivingdoc, a shared note service that stores UTF-8 text notes in S3-compatible object storage. It describes the service’s architecture, commands, and data states.

In plain words
What is it for?
It is for understanding slivingdoc’s startup wiring, command-line and MCP interfaces, note pull and commit flows, and internal storage model.
Why use it?
It gives coding agents the project context needed to make changes without breaking how notes are stored, merged, or accessed.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 slivingdoc AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/baalimago/slivingdoc/agents-md"><img src="https://agentmods.dev/badge/instructions/baalimago/slivingdoc/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8,373 This file is loaded in full into every session.
When invoked 8,373 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.08373 $0.08373
Opus 5.5 $0.03349 $0.03349
Sonnet 5.5 $0.01675 $0.01675
Haiku 4.5 $0.00837 $0.00837

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

Security

Grade A, and why

slivingdoc 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 9d 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 · 630 lines

How it starts

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

AGENTS.md — slivingdoc

Architecture docs

architecture/ holds one doc per command and subsystem: an overview, the product contract, pull, commit, conflicts, checkpoints, the notebook, the Git engine, the workspace, storage, the S3 store, hosted storage mode, login and storage selection, the CLI, the terminal presentation, the MCP server, configuration, errors, logging, security, guarantees, testing, build, releasing, running, and recorded decisions. Start at architecture/README.md: it indexes every doc with a one-line summary and suggests a reading order per task. Open the doc for your concern before scanning the code; it lists the files and symbols to read.

Keep them true. The docs are only useful if an agent can trust them without re-checking the code:

  • A change that alters behavior, a flow, a file's role, a public name, a flag, an error code, an invariant, or a rule described in an architecture doc updates that doc in the same commit.
  • A new command or subsystem gets a new architecture/<concern>.md in the same shape (intro with "Read this when", Key files, Flow, Behavior, Gotchas, Related) and a line in architecture/README.md. A removed or renamed file or symbol is removed or renamed in every doc that cites it.
  • Code comments cite a doc by path (architecture/commit.md), never by section number or line.
  • Cite files and symbols, never line numbers. Describe only what the code does; plans go in worklogs or issues.
  • If you find a doc that disagrees with the code, the code wins: fix the doc in your change, or say so if you cannot.

Architecture

slivingdoc is a standalone MCP server that gives many agents one shared directory of UTF-8 text notes, stored durably in S3-compatible object storage or, when SLIVINGDOC_TOKEN is set or slivingdoc login stored an account login, in a space of the slivingdoc hosted storage API (architecture/hosted-mode.md, architecture/login.md). It uses Git data structures and merge behavior internally but never invokes a Git executable and never exposes a Git repository. The contract is split by concern under architecture/. Three states shape every operation. L is the caller-controlled visible directory. P is the server-owned private state (repository, baseline, locks). R is the accepted remote state indexed by the stored object current.

Read the full file on GitHub · 630 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. 9d ago Changed · +4 lines · +66 tokens per session d52cbc2b8386
  2. 14d ago Changed · +46 lines · +706 tokens per session b11797d11be0
  3. 1mo ago Changed · +1 lines · +37 tokens per session d876d7f60d5a
  4. 1mo ago Changed · +11 lines · +130 tokens per session c6611ce21c4b
  5. 1mo ago Changed · +6 lines · +148 tokens per session 4ee3963044fc
  6. 1mo ago Changed · +43 lines · +625 tokens per session 17ccac1dbc17
  7. 1mo ago Changed · +49 lines · +675 tokens per session 8966b2475aa9
  8. 1mo ago Changed · +10 lines · +175 tokens per session 22ac9cc7fbad
  9. 1mo ago Changed · -45 lines · -230 tokens per session 4f21f7b1af62
  10. 1mo ago First seen · 505 lines · 6,041 tokens per session scan A 53294658ac32

Subscribe to this mod's changes

slivingdoc AGENTS.md is an instructions file published in the GitHub repository baalimago/slivingdoc (7 stars, last pushed 10d ago), licensed MIT. It adds 8,373 tokens to every session, about $0.0335 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

slivingdoc AGENTS.md compared with instructions from other repositories

slivingdoc AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
slivingdoc AGENTS.mdbaalimago/slivingdocInstructions file710d agoMITA8,373Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,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