AGENTS.md@packages/provider-opencodeA
AGENTS.md@packages/provider-opencode from tuo-lei/vibe-replay is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add tuo-lei/vibe-replay/packages/provider-opencode/AGENTS.md@git:20261005.73c7dc2Pins git:20261005.73c7dc2 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- tuo-lei/vibe-replay
- Path
packages/provider-opencode/AGENTS.md- Versions recorded
- 1
- Latest version
- git:20261005.73c7dc2, committed Oct 5, 2026
- Size
- 4,300 bytes
- Repository stars
- 39
- License
- MIT
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# OpenCode provider Sessions live in a SQLite DB at `~/.local/share/opencode/opencode.db` (`%LOCALAPPDATA%\\opencode` on Windows, `OPENCODE_DATA` env var wins). Tables: `session`/`message`/`part`; role/user and tool payloads are JSON in `message.data`/`part.data`. Discovery writes `<dbPath>#session:<id>` marker paths. Parse is SQLite-backed (`parseSessionFromDb`), so background scan uses a lightweight path from discovery-computed stats (`buildLightweightOpencodeScanResult` in `scanner.ts`) to avoid opening the DB per session. Synthetic user messages carrying a `compaction` part are compaction events even when they also carry text; discovery must exclude that text from prompt counts and `firstPrompt`, matching the parser's early compaction branch. Text parts flagged `synthetic: true` are model-feeding artifacts — parser and discovery keep them out of prompts. `sql.js` named-param binds need their `:`-prefix in the key — this provider uses positional `?` params instead. The `session.cost` column (populated only by some opencode versions) feeds `reportedCostUsd` when positive, with a fallback to summing per-message `cost`. `task` tool parts spawn child sessions (`session.parent_id`, …
Read the whole file at its exact version.
How to install
mdr add tuo-lei/vibe-replay/packages/provider-opencode/AGENTS.md@sha256:596e375dbb6f5584The line at the top of this page pins the label git:20261005.73c7dc2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_d46as3f33xiz6u2v)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 5, 2026.
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (4300 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
tuo-lei/vibe-replay · 39 stars · license MIT · pushed 2026-11-04 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_d46as3f33xiz6u2v GET https://markdownregistry.com/api/v1/resolve?ref=tuo-lei/vibe-replay/packages/provider-opencode/AGENTS.md GET https://markdownregistry.com/api/v1/blob/596e375dbb6f5584b3bf9e2bc35b4eb083828f399e7dbb81b5420cf2a73131bd
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.