vibe-codr: Instructions file for Codex

AGENTS.md

vibe-codr AGENTS.md is an instructions file for Codex, OpenCode from robzilla1738/vibe-codr. It costs 16,272 tokens per session, scanned A, original, MIT.

Repository instructions for vibe-codr, a TypeScript and Bun monorepo for desktop and terminal AI coding interfaces. A monorepo is one repository containing multiple related packages.

In plain words
What is it for?
Use them when changing vibe-codr packages, tools, configuration, providers, engine behavior, or terminal and desktop interfaces.
Why use it?
They explain the project structure, technology choices, and boundaries between its core engine and user interfaces.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions subagents; positional $N argument.

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

Reuse

Borrowing it

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

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 vibe-codr AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/robzilla1738/vibe-codr/agents-md"><img src="https://agentmods.dev/badge/instructions/robzilla1738/vibe-codr/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16,272 This file is loaded in full into every session.
When invoked 16,272 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.16272 $0.16272
Opus 5.5 $0.06509 $0.06509
Sonnet 5.5 $0.03254 $0.03254
Haiku 4.5 $0.01627 $0.01627

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

Security

Grade A, and why

vibe-codr 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 2mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 798 lines

How it starts

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

AGENTS.md — vibe-codr

A model-agnostic coding workspace with desktop and terminal interfaces. TypeScript + Bun monorepo. AGENTS.md is the canonical project memory; CLAUDE.md exists as the Claude Code bridge and points back here.

Stack & layout

  • Runtime: Bun (workspaces + Turbo). Models: Vercel AI SDK v7.
  • Hard core/TUI boundary: the engine emits a typed UIEvent stream and accepts EngineCommands; no UI type leaks into core, so the engine is fully testable headless.
Package Owns
@vibe/shared Contracts: UIEvent, Message/Part, ToolDefinition, EngineSnapshot, errors, logger
@vibe/config Zod config schema, file discovery + deep-merge, auth resolution
@vibe/providers ProviderRegistry, resolveModel, CatalogService (models.dev + /v1/models)
@vibe/tools Built-in tools (read/edit/bash/grep/repo_map/git_*/…) + the AI-SDK tool() adapter; the file-write lock is an exclusive-ownership claim registry (createFileLock) so parallel subagents can't clobber one file. Web search is keyless and fans out across DuckDuckGo + Bing (search-engines.ts), then dedupes by canonical URL + quality-ranks the merge (searchcore.ts); TinyFish is an optional booster. Search HTML parsers must keep result/snippet association local to each result row so malformed skipped rows cannot shift later snippets. webfetch extracts PDFs (pdftext.ts, zero-dep) + optional Readability, backed by a cache-through store (fetch-cache.ts). OS sandbox (sandbox.ts, opt-in): a pure Seatbelt(macOS)/bwrap(Linux) policy every command spawn (bash, jobs, and core's exec/verify) routes through — the permission engine stays the policy brain, the sandbox is the kernel backstop
@vibe/core Agent loop (Session.run), Engine, slash commands, checkpoints, context-window tracking, plus three pillars: (1) long-term memory — injected project/global notes (memory.ts), a save_memory write-path (memory-store.ts), and hybrid recall — BM25 (bm25.ts) fused with optional semantic search (embeddings.ts + vector-store.ts over bun:sqlite + semantic-memory.ts) and session recall via RRF (memory-search.ts), behind MemoryService; (2) orchestration — a tree-global AIMD limiter (limiter.ts), the default-ON task-DAG scheduler (orchestrator.ts + orchestration/orchestrator-runner.ts: structured handoffs, read_report, model tiers, executable verify, worktree isolation, ensemble, journal resume), continuation + background spawns (continue_subagent/check_task over a bounded-LRU orchestration/child-registry.ts; detach:true), schema-validated child output (orchestration/structured-output.ts — deterministic local JSON-Schema validation with outputSchema enforced on the inline, worktree, AND ensemble/hard paths: validated JSON or an honest failure, never silently dropped; a continue_subagent that coerced a child to plan mode restores its registry-remembered original mode when continued in execute), and a typed coordination blackboard (blackboard.ts); (2b) build intelligence (build/ — deterministic recon → RepoProfile, run_check parsing, the green-gate, green checkpoints, stub scan, gitops/worktrees, browser verify); (2c) diagnostics — the diagnose() seam behind a composite of the in-process TS fast path and a multi-language lsp/ client (stdio JSON-RPC, lazy per-language spawn, deadline-bounded, advisory-only); (3) MCP (mcp.ts) — stdio + Streamable-HTTP/SSE transports, tools, resources (read_mcp_resource), prompts (get_mcp_prompt) — both network-flagged so permission rules govern them — ${VAR}/${VAR:-default} expansion over connect-time config, OAuth 2.1 (mcp-oauth.ts), and auto-reconnect + tools//resources//prompts/list_changed live re-registration; (4) production — crash handlers + redacted crash log (crash.ts), a keyless update check (update-check.ts)
@vibe/plugins HookBus, slash-command + skill runtimes (SkillRegistry: progressive disclosure, disable-model-invocation / user-invocable frontmatter), PluginHost; declarative shell/HTTP hooks are layered on via core/config-hooks.ts from the config hooks block
@vibe/tui OpenTUI app + headless/REPL renderers, themes, tool icons, spinner
@vibe/macos-bridge Runtime-validated NDJSON stdio host for desktop shells: in-process Engine, same EngineCommand/UIEvent contracts as the TUI. Run bun run macos-bridge; compile with bun run build:macos-bridge → dist/vibecodr-engine-host
@vibe/cli bin/vibecodr entrypoint (argv, config, headless -p vs TUI); the VERSION sentinel (version.ts, stamped at release) and vibe upgrade channel detection (upgrade.ts). Release tooling (binary + npm-bundle builds, version stamping) lives in scripts/release/
apps/desktop Electron presentation shell, IPC, renderer, Git/diff/terminal panels, Sessions workspace, and desktop packaging. It consumes the engine only through the NDJSON host.
apps/desktop/mobile Expo remote-control client for the authenticated desktop relay; shared engine behavior stays protocol-driven.
apps/desktop/relay Private-LAN/Tailnet or public-WSS handoff relay launched and owned by the desktop main process.

Read the full file on GitHub · 798 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. 2mo ago First seen · 798 lines · 16,272 tokens per session scan A 4d87e9ee7335

Subscribe to this mod's changes

vibe-codr AGENTS.md is an instructions file published in the GitHub repository robzilla1738/vibe-codr (2 stars, last pushed 3mo ago), licensed MIT. It adds 16,272 tokens to every session, about $0.0651 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

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,750 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens