vibeframe AGENTS.md

A set of repository instructions for coding agents working on VibeFrame, a command-line video-generation project. It describes the code layout, available commands, and rules for agent workflows.

In plain words
What is it for?
It helps agents understand where the CLI, video-editing core, AI-provider integrations, MCP server, user interface, and web app live, plus which commands install, build, test, and check the code.
Why use it?
It gives an agent the project context needed to work consistently in a TypeScript monorepo, which is a repository containing multiple related packages and applications.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/vericontext/vibeframe/agents-md
Clone the repo
git clone --depth 1 https://github.com/vericontext/vibeframe

Made for: Codex, OpenCode.

Per session 2,340 This file is loaded in full into every session.
When invoked 2,340 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.02340 $0.02340
Opus 5 $0.01170 $0.01170
Sonnet 5 $0.00468 $0.00468
Haiku 4.5 $0.00234 $0.00234

Measured 2d ago against content hash c0172275c0b7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

vibeframe 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 2d 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 · 202 lines

How it starts

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

AGENTS.md

VibeFrame is a frontier-video-generation layer for coding agents: CLI-first, MCP-ready. It generates video assets on the user's own provider keys (Seedance, Runway, Veo, Kling) behind dry runs and a hard --max-cost ceiling, delegates scene composition to upstream Hyperframes, and builds the generation, cost, and review layer around it.

Repository Shape

Monorepo: Turborepo + pnpm workspaces. ESM. TypeScript strict mode.

Packages:

  • packages/cli - CLI, built-in agent mode, command implementations.
  • packages/core - Timeline/project primitives and FFmpeg-oriented editing model.
  • packages/ai-providers - Provider registry and provider implementations.
  • packages/mcp-server - MCP wrapper around the CLI, bundled with esbuild.
  • packages/ui - Shared React components.
  • apps/web - Next.js public site.

Architecture:

CLI (Commander.js + Agent) -> Engine (Project state) -> Core (Zustand + FFmpeg) -> AI Providers

Commands

pnpm install && pnpm build    # Setup
pnpm test                     # Run all tests
pnpm lint                     # Lint (0 errors policy)
pnpm -F @vibeframe/cli test   # Single package

Use vibe schema --list and vibe schema <command> as the source of truth for CLI command availability and parameters.

CLI Shape

Canonical user-facing workflows:

  • Project video flow: init, plan, build, preview, render (edit beats with storyboard, poll async work with status)
  • One-shot media: generate, edit, inspect, audio, remix
  • Automation: run, agent, schema, context, guide
  • Setup & hosts: setup, doctor, host
  • Lower-level operations: scene, design, timeline, detect, batch, media, assemble

Do not introduce docs, examples, or agent instructions that use removed namespaces such as vibe ai, vibe project, vibe export, or vibe pipeline.

Agent Workflow Rules

When invoking VibeFrame commands from an agent context:

  • Treat your host's agent loop (Claude Code, Codex, Cursor, or another coding-agent host) as the outer loop for long-running video work. VibeFrame should provide video-specific commands, JSON reports, cost gates, deterministic repair, render inspection, and nextActions/fixOwner recovery contracts, not a competing primary agent loop.
  • Prefer --json for structured output.
  • Run --dry-run before paid or mutating operations when the command supports it.
  • When a review report includes nextActions, prefer it over inventing commands: run only safeToAutoRun:true actions automatically, ask before requiresConfirmation:true, and treat retryWith as the compatibility fallback.
  • Use vibe schema <command> before constructing non-trivial arguments.
  • Confirm with the user before high/very-high cost operations such as generate video, edit fill-gaps, and provider-backed remix workflows.
  • Use --stdin for complex option payloads instead of fragile shell quoting.

Read the full file on GitHub · 202 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. 2d ago First seen · 202 lines · 2,340 tokens per session scan A c0172275c0b7

Subscribe to this mod's changes

vibeframe AGENTS.md is an instructions file published in the GitHub repository vericontext/vibeframe (165 stars, last pushed 1mo ago), licensed MIT. It adds 2,340 tokens to every session, about $0.0117 per session on Opus 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.