boxento: Instructions file for Codex

AGENTS.md

boxento AGENTS.md is an instructions file for Codex, OpenCode from sushaantu/boxento. It costs 1,882 tokens per session, scanned A, original, MIT.

A repository guide for building and reviewing Boxento dashboard widgets, with the widget source files and layout behaviour as the reference.

In plain words
What is it for?
Use it when creating, updating, or reviewing React widgets and their settings, shells, headers, and dashboard frames.
Why use it?
It prevents widget changes from breaking the different layouts used as a widget grows from a small glance view into a full app view.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/sushaantu/boxento/agents-md"><img src="https://agentmods.dev/badge/instructions/sushaantu/boxento/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,882 This file is loaded in full into every session.
When invoked 1,882 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.01882 $0.01882
Opus 5.5 $0.00753 $0.00753
Sonnet 5.5 $0.00376 $0.00376
Haiku 4.5 $0.00188 $0.00188

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

Security

Grade A, and why

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

AGENTS.md · 196 lines

How it starts

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

AI Agent Instructions

When you provide instructions in addition to technical stuff, also include product manager ready instructions.

Boxento Widget UX Contract

Use this file as the source of truth when creating, updating, or reviewing Boxento widgets.

Source Of Truth In Code

Read these files before making widget UX decisions:

  • docs/WIDGET_DEVELOPMENT.md
  • src/components/widgets/common/WidgetShell.tsx
  • src/components/widgets/common/WidgetSettingsDialog.tsx
  • src/components/widgets/common/widgetHeaderStyles.ts
  • src/components/dashboard/DashboardWidgetFrame.tsx
  • src/components/widgets/index.ts

Use these widgets as implementation anchors for size-spectrum behavior:

  • src/components/widgets/TodoWidget/index.tsx
  • src/components/widgets/NotesWidget/index.tsx
  • src/components/widgets/WeatherWidget/index.tsx
  • src/components/widgets/QuickLinksWidget/index.tsx
  • src/components/widgets/RSSWidget/index.tsx

Core Principle

Design every widget as a size spectrum, not a single squeezed layout:

  1. 1x1 glance state
  2. compact widget state
  3. standard widget state
  4. panel state
  5. app state

As the widget gets larger, reveal more workflow, context, and controls. Do not simply scale the same crowded UI up or down.

Shell Rules

  • Prefer WidgetShell for new or heavily refactored widgets.
  • Keep the root layout aligned with Boxento's flex model: widget-container, flex, h-full, flex-col.
  • Keep the content area resilient to resizing with min-h-0, flex-1, and deliberate overflow behavior.
  • Use contentClassName on WidgetShell to adjust density by size instead of creating a second shell system.
  • Keep the header visually integrated with content. Do not add a bottom border or separator line under the header.
  • Keep the settings entry point in the header unless the widget is tiny or fully app-sized and the app layout already has a clearer control surface.

Header Rules

  • Hide the outer header in tiny mode.
  • Prefer hiding the outer header in app mode when the app surface has its own title, toolbar, tabs, or filters.
  • Use compact header spacing only when the widget is short or dense enough that the default header would crowd the content.
  • Use a clear, short title that matches the widget's user value.
  • Keep header actions minimal. The settings button is standard; add other actions only when they are truly primary.
  • In one-column, tiny, or short-row sizes, do not show clipped titles such as Weat.... Hide the outer header and expose settings through a size-appropriate overlay/control when the standard header cannot fit.

Read the full file on GitHub · 196 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 · 196 lines · 1,882 tokens per session scan A 089eacde9a90

Subscribe to this mod's changes

boxento AGENTS.md is an instructions file published in the GitHub repository sushaantu/boxento (154 stars, last pushed 29d ago), licensed MIT. It adds 1,882 tokens to every session, about $0.0075 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-09-01.

Related

boxento AGENTS.md compared with instructions from other repositories

boxento AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
boxento AGENTS.mdsushaantu/boxentoInstructions file15429d agoMITA1,882Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode