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.

Install it, pinned
mdr add tuo-lei/vibe-replay/packages/provider-opencode/AGENTS.md@git:20261005.73c7dc2

Pins 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

The exact contents, by fingerprint
mdr add tuo-lei/vibe-replay/packages/provider-opencode/AGENTS.md@sha256:596e375dbb6f5584

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_d46as3f33xiz6u2v.svg)](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.

versioncommittedcommitsizeaudit
git:20261005.73c7dc2 latest2026-10-05 73c7dc2 4,300 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from tuo-lei/vibe-replay

project-instructions Cursor rule
tuo-lei/vibe-replay · .cursor/rules/project-instructions.mdc · Where vibe-replay's project instructions live
git:20260830.aea00fb · audit A · 39 stars
AGENTS.md AGENTS.md file
tuo-lei/vibe-replay · AGENTS.md
git:20261104.3a9aac0 · audit B · 39 stars
CLAUDE.md CLAUDE.md file
tuo-lei/vibe-replay · CLAUDE.md
git:20260830.aea00fb · audit A · 39 stars
AGENTS.md@packages/cli AGENTS.md file
tuo-lei/vibe-replay · packages/cli/AGENTS.md
git:20261104.3a9aac0 · audit A · 39 stars
CLAUDE.md@packages/cli CLAUDE.md file
tuo-lei/vibe-replay · packages/cli/CLAUDE.md
git:20261104.3a9aac0 · audit B · 39 stars
AGENTS.md@packages/provider-codex AGENTS.md file
tuo-lei/vibe-replay · packages/provider-codex/AGENTS.md
git:20261025.de9206a · audit A · 39 stars
CLAUDE.md@packages/provider-codex CLAUDE.md file
tuo-lei/vibe-replay · packages/provider-codex/CLAUDE.md
git:20261004.1defc9b · audit B · 39 stars
AGENTS.md@packages/provider-cursor AGENTS.md file
tuo-lei/vibe-replay · packages/provider-cursor/AGENTS.md
git:20261016.ce7e2f6 · audit A · 39 stars
CLAUDE.md@packages/provider-cursor CLAUDE.md file
tuo-lei/vibe-replay · packages/provider-cursor/CLAUDE.md
git:20261012.c98446a · audit B · 39 stars
AGENTS.md@packages/provider-grok-bot AGENTS.md file
tuo-lei/vibe-replay · packages/provider-grok-bot/AGENTS.md
git:20261004.125ef90 · audit A · 39 stars
CLAUDE.md@packages/provider-grok-bot CLAUDE.md file
tuo-lei/vibe-replay · packages/provider-grok-bot/CLAUDE.md
git:20260904.fc93b6e · audit B · 39 stars
AGENTS.md@packages/provider-muse AGENTS.md file
tuo-lei/vibe-replay · packages/provider-muse/AGENTS.md
git:20261013.2956c51 · audit A · 39 stars

Every file in tuo-lei/vibe-replay

Browse by kind, by grade A, or by owner.