bedframe: Instructions file for Codex

AGENTS.md

bedframe AGENTS.md is an instructions file for Codex, OpenCode from nyaggah/bedframe. It costs 436 tokens per session, scanned A, original, MIT.

Repository instructions for Bedframe, an open-source framework with commands for creating, developing, building, packaging, versioning, and publishing projects. They identify the files that define its current public behaviour.

In plain words
What is it for?
Use them when creating or editing Bedframe projects, running its CLI commands, or checking the core project and manifest files.
Why use it?
They direct the agent to the project's source of truth and show which related files must stay aligned when a Bedframe project changes.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

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

Reuse

Borrowing it

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

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 bedframe AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/nyaggah/bedframe/agents-md"><img src="https://agentmods.dev/badge/instructions/nyaggah/bedframe/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 436 This file is loaded in full into every session.
When invoked 436 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.00436 $0.00436
Opus 5.5 $0.00174 $0.00174
Sonnet 5.5 $0.00087 $0.00087
Haiku 4.5 $0.00044 $0.00044

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

Security

Grade A, and why

bedframe 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 1mo 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 · 76 lines

What it actually says

Bedframe

This repository contains the Bedframe open source framework and the current OSS command and type surface.

Read first

When working in this repository, start with:

  1. README.md
  2. packages/skills/AGENTS.md
  3. packages/skills/bedframe/SKILL.md
  4. packages/cli/src/commands/*
  5. packages/core/src/lib/*

Current OSS Bedframe surface

The current public OSS Bedframe flow is centered on:

  • create-bedframe
  • bedframe make
  • bedframe dev
  • bedframe build
  • bedframe zip
  • bedframe version
  • bedframe publish

The code-level surface is centered on:

  • packages/core/src/lib/create-bedframe.ts
  • packages/core/src/lib/create-manifest.ts
  • packages/core/src/lib/types.ts

Source of truth

For user-facing behavior, use these as the source of truth:

  • README.md
  • packages/skills/bedframe/*
  • packages/cli/src/commands/*
  • packages/core/src/lib/*
  • packages/create-bedframe/src/index.ts

Bedframe project working set

When describing or editing a Bedframe project, keep these files aligned:

  • AGENTS.md
  • src/_config/bedframe.config.ts
  • src/manifests/*
  • src/pages/*
  • src/scripts/*
  • package.json
  • .github/workflows/mvp.yml

Skills

Project-level Bedframe skills live in:

  • .agents/skills/*

These skills should stay aligned with the current OSS docs and command surface. These skills should stay aligned with the current OSS command and code surface.

Current constraints

Do not document or depend on these as part of the current OSS Bedframe command surface:

  • bedframe sync
  • bedframe validate
  • .bedframe/* generated files
  • root-level bedframe.config.ts

The current Bedframe project config path is:

  • src/_config/bedframe.config.ts
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. 1mo ago First seen · 76 lines · 436 tokens per session scan A b112f10cb4a4

Subscribe to this mod's changes

bedframe AGENTS.md is an instructions file published in the GitHub repository nyaggah/bedframe (582 stars, last pushed 1mo ago), licensed MIT. It adds 436 tokens to every session, about $0.0017 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-30.

Related

Other instructions, from other repositories