loopy: Instructions file for Codex

AGENTS.md

loopy AGENTS.md is an instructions file for Codex, OpenCode from Forward-Future/loopy. It costs 2,320 tokens per session, scanned A, original, MIT.

Repository instructions for the Loopy project, which contains a public loop catalogue and an installable agent skill. They explain how to edit loops, protect special forms, handle authenticated voting, and deploy changes.

In plain words
What is it for?
Use them when adding or editing loops, changing the catalogue website or Loopy skill, publishing reviewed records, handling votes, or deploying the project.
Why use it?
They reduce the risk of changing the wrong part of the project or publishing catalogue data in the code repository. They also document rules for keeping deployed names and shared history intact.

Instructions file for CodexOpenCode

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

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

About the project

Loopy is a library and website of repeatable workflows that help AI agents learn from results and take the next useful step. It is for people and agents designing, finding, adapting, running, and reviewing structured agent workflows. Its catalogue add-ons provide an optional guided skill for working with the published loop collection.

Forward-Future/loopy · 3,227 stars · on GitHub · signals.forwardfuture.ai

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/forward-future/loopy/agents-md"><img src="https://agentmods.dev/badge/instructions/forward-future/loopy/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,320 This file is loaded in full into every session.
When invoked 2,320 The same file — it is already loaded in full.
Security scan A 1 finding. 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.02320 $0.02320
Opus 5.5 $0.00928 $0.00928
Sonnet 5.5 $0.00464 $0.00464
Haiku 4.5 $0.00232 $0.00232

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

Security

Grade A, and why

loopy AGENTS.md scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sS "https://here.now/api/v1/publishes/{slug}/data/suggestions?limit=50" \
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.

Loopy Repository Operating Rules

This repository holds two separate but related parts:

  • Loop Library website — the public catalog (site shell, database, and rendering). All website code lives under loop-library/ (loop-library/site/, loop-library/worker/, loop-library/scripts/, loop-library/audits/).
  • Loopy skill — the installable agent skill in skills/loopy/, with the compatibility alias in skills/loop-library/.

The operating rules below govern the Loop Library website unless they call out the skill explicitly. Live URLs that contain /loop-library/ and the loop-library-forms Worker name are deployed identifiers and do not change with this repository layout.

Adding or editing loops

  • The production catalog database is the source of truth for public loops. The current Git tree holds application code and the content-free site shell. Do not commit published loop records, bootstrap data, generated loop pages, catalogs, feeds, sitemaps, or offline catalog fallbacks. Legacy public records remain in pre-migration Git history intentionally; do not rewrite shared history as part of routine catalog work.

  • Publish a reviewed loop from a JSON file outside the repository with:

    LOOP_PUBLISH_TOKEN=... \
      npm --prefix loop-library/worker run loop:publish -- /path/to/loop.json
    

    Use loop-library/worker/examples/loop.json as the record template. The command validates the complete record before writing it, and the Worker records every revision.

  • Every loop must have a stable slug, unique number, search title and description, contributor attribution, published and modified dates, practical context, verification criteria, category, keywords, and valid related-loop slugs.

  • Do not hand-edit the homepage, detail pages, catalogs, feed, sitemap, or Loopy skill content when publishing a database record. The Worker renders those public surfaces from the same record. New loops use the shared social card unless a reviewed HTTPS socialImageUrl is supplied.

  • Keep bootstrap and backup exports outside the repository with owner-only permissions. The one-time bootstrap command requires an explicit private file path; routine recovery exports use npm --prefix loop-library/worker run loops:export. Restore an export only into a fresh empty catalog with npm --prefix loop-library/worker run loops:restore; never overwrite a live catalog.

  • Changes to the site shell, Worker, schema, or renderers still go through GitHub. Run the full repository checks before committing those code changes:

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. 2mo ago First seen · 202 lines · 2,320 tokens per session scan A 0a3a463498d1

Subscribe to this mod's changes

loopy AGENTS.md is an instructions file published in the GitHub repository Forward-Future/loopy (3,227 stars, last pushed 1mo ago), licensed MIT. It adds 2,320 tokens to every session, about $0.0093 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

loopy AGENTS.md compared with instructions from other repositories

loopy AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
loopy AGENTS.mdForward-Future/loopyInstructions file3.2k1mo agoMITA2,320Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode