shelly-forge: Instructions file for Codex

AGENTS.md

shelly-forge AGENTS.md is an instructions file for Codex, OpenCode from mslavov/shelly-forge. It costs 1,244 tokens per session, scanned A, original, MIT.

Project instructions that define which framework and documentation files an agent must read before and after working.

In plain words
What is it for?
Guiding development work in the shelly-forge project and maintaining its documentation.
Why use it?
They give agents a consistent reading order and require related documentation to stay updated.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 shelly-forge AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/mslavov/shelly-forge/agents-md"><img src="https://agentmods.dev/badge/instructions/mslavov/shelly-forge/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,244 This file is loaded in full into every session.
When invoked 1,244 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.01244 $0.01244
Opus 5.5 $0.00498 $0.00498
Sonnet 5.5 $0.00249 $0.00249
Haiku 4.5 $0.00124 $0.00124

Measured today against content hash 395b2a4fc18d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

shelly-forge 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 today.

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 · 64 lines

How it starts

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

Agent contributor guide

This repository contains the Shelly Forge CLI, simulator, and device emulator. It is not a generated device project. Read README.md for user behavior and CONTRIBUTING.md for setup and release instructions. Use docs/design.html for the implementation design.

Source layout

Path Responsibility
src/cli.ts, src/commands/ CLI entry, command registration, arguments, and result formatting.
src/core/ Configuration, environment loading, paths, command context, errors, logging, and shared runtime limits.
src/build/ Type checking, bundling, artifact checks, and manifests.
src/device/ RPC, digest authentication, script operations, log streams, and discovery.
src/deploy/ Uploads, startup verification, cache metadata, and rollback artifacts.
src/dev/ File watching and serialized build/deploy cycles.
src/scaffold/ Project creation, starter files, and skill installation.
src/testing/ The public shelly-forge/testing simulator and shared script engine and device state.
src/emulator/ The shelly-forge/emulator server, RPC router, script manager, digest auth, log broadcaster, and mDNS publisher.
types/ Device library and Shelly API declarations.
schema/ JSON schema for solutions.config.json.
templates/default/ Files copied by init.
skills/ Bundled CLI and device-scripting instructions and references.
tests/ Vitest tests by area and shared helpers.
tests/e2e/ Built CLI scenarios against the local emulator, included in the regular suite.
tests/hardware/ Opt-in real-device scenarios, excluded from the regular suite.
scripts/, .github/workflows/ Version synchronization, release checks, package smoke test, and publishing.

src/version.ts reads the version from package.json. src/core/runtime-profile.ts owns shared device limits and unsupported APIs. Keep build checks, typings, simulator behavior, and skill references consistent when changing those rules.

Read the full file on GitHub · 64 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. today Changed · +31 lines · +857 tokens per session 395b2a4fc18d
  2. 2mo ago First seen · 33 lines · 387 tokens per session scan A d3e044c6909f

Subscribe to this mod's changes

shelly-forge AGENTS.md is an instructions file published in the GitHub repository mslavov/shelly-forge (21 stars, last pushed yesterday), licensed MIT. It adds 1,244 tokens to every session, about $0.0050 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

shelly-forge AGENTS.md compared with instructions from other repositories

shelly-forge AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
shelly-forge AGENTS.mdmslavov/shelly-forgeInstructions file21yesterdayMITA1,244Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,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