Better-Fullstack AGENTS.md

Repository guidance for a Bun-based full-stack project, including documentation rules, web-interface guidance, and references for monorepo structure and configuration ownership.

In plain words
What is it for?
Use it when doing documentation work, adding a library or tool, changing shared package structure, or working on the web UI and its lifecycle commands.
Why use it?
It directs an agent to the right source of project knowledge and prevents broad or inconsistent changes across packages.

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/marve10s/better-fullstack/agents-md
Clone the repo
git clone --depth 1 https://github.com/Marve10s/Better-Fullstack

Made for: Codex, OpenCode.

Per session 1,062 This file is loaded in full into every session.
When invoked 1,062 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.01062 $0.01062
Opus 5 $0.00531 $0.00531
Sonnet 5 $0.00212 $0.00212
Haiku 4.5 $0.00106 $0.00106

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

Security

Grade A, and why

Better-Fullstack 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 · 48 lines

How it starts

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

This file provides the small set of project-wide instructions agents should read before working in Better-Fullstack. Keep detailed, area-specific guidance in docs/guidelines/ instead of growing this file with task notes.

For documentation work or when the right source of project knowledge is unclear, read docs/README.md. It defines document authority, lifecycle, and routing. Use CONTEXT.md for the current domain language and docs/next-updates-roadmap.md for product priority.

Guidelines

Do not bulk-read docs/guidelines/. Open a guideline when the request matches its topic. One exception is mandatory, not optional: adding any new library, tool, or category to any ecosystem requires reading docs/guidelines/adding-new-tool-options/ first.

See docs/guidelines/ for deeper reference on these topics:

  • README.md - folder purpose, usage rules, and quick index for all guideline files
  • architecture-and-ownership.md - monorepo package ownership and where changes belong
  • stack-graph-and-config-authority.md - graph authority, Role Binding ownership, flat projections, and graph-safe mutations
  • lifecycle-commands-and-mcp.md - create/add/update/check semantics, plan/apply safety, baselines, and CLI/MCP parity
  • generated-artifacts-and-sync.md - generated-file producers, authoritative inputs, and safe regeneration in dirty worktrees
  • telemetry-privacy-and-internal-tools.md - telemetry allowlists, ingest privacy, aggregate access, and fail-closed internal tools
  • public-docs-i18n-and-seo.md - public content authority, translation fallback, schema-derived references, and agent/SEO surfaces
  • stack-options-and-compatibility.md - schema source of truth, canonical option metadata, aliases, and compatibility rules
  • generator-change-playbook.md - how option changes flow through templates, snapshots, CLI output, and web previews
  • web-builder-and-url-state.md - stack builder state, URL parsing, lazy-route constraints, and preview wiring
  • testing-release-and-upstream.md - targeted verification commands, release guard expectations, and upstream backport workflow
  • preview-publishing-security.md - PR preview threat model, trusted artifact boundary, environment setup, and workflow guard
  • scripted-cli-runs.md - safe non-interactive CLI usage, prompt-avoidance flags, and matrix-testing caveats
  • production-package-testing.md - how to use the testing/ workspace for published npm-package validation cycles
  • template-output-and-validation.md - template conditional logic, generated output validation, sync test discipline, and framework-specific constraints
  • remotion-video-style.md - default visual style, color system, motion rules, and branding for Remotion videos in this project
  • design-reading-guide.md - ordered index of design-related markdown (agent skills + BF video style), precedence when sources conflict, and commands to verify coverage
  • scaffbench-benchmark.md - ScaffBench protocol, execution, validation, and publication rules
  • adding-new-tool-options/ - read this subfolder when adding any new library, tool, or category to any ecosystem (TypeScript, Rust, Go, Python). Covers every file that must be touched, with worked examples, template handler reference, test patterns, and routing edge cases (Convex skips, self-backend, frontend array detection, processor ordering)

Read the full file on GitHub · 48 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 · 48 lines · 1,062 tokens per session scan A aa0e436e602d

Subscribe to this mod's changes

Better-Fullstack AGENTS.md is an instructions file published in the GitHub repository Marve10s/Better-Fullstack (726 stars, last pushed 3d ago), licensed MIT. It adds 1,062 tokens to every session, about $0.0053 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.