awesome-loop-engineering AGENTS.md

awesome-loop-engineering AGENTS.md is an instructions file for Codex, OpenCode from ChaoYue0307/awesome-loop-engineering. It costs 611 tokens per session, scanned A, original, CC0-1.0.

Repository instructions for a collection about Loop Engineering, the design of recurring AI-agent work over time. They explain what resources belong, how to annotate them, and how agents should edit the repository.

In plain words
What is it for?
Use them when adding or reviewing resources, editing the English README, or following the repository's rules for scope, annotations, and changes.
Why use it?
They keep contributions focused on systems that repeatedly discover work, use context, verify results, retry, and preserve state.

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/chaoyue0307/awesome-loop-engineering/agents-md
Clone the repo
git clone --depth 1 https://github.com/ChaoYue0307/awesome-loop-engineering

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 awesome-loop-engineering AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/chaoyue0307/awesome-loop-engineering/agents-md.svg)](https://agentmods.dev/instructions/chaoyue0307/awesome-loop-engineering/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/chaoyue0307/awesome-loop-engineering/agents-md"><img src="https://agentmods.dev/badge/instructions/chaoyue0307/awesome-loop-engineering/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 611 This file is loaded in full into every session.
When invoked 611 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.00611 $0.00611
Opus 5 $0.00305 $0.00305
Sonnet 5 $0.00122 $0.00122
Haiku 4.5 $0.00061 $0.00061

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

Security

Grade A, and why

awesome-loop-engineering 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 4d 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 · 63 lines

How it starts

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

Repository Guidance For AI Agents

This repository curates resources for the new AI/coding-agent meaning of Loop Engineering.

Scope

Include resources that help readers design, run, verify, evaluate, or critique recurring AI-agent systems that sit above prompt, context, and harness engineering. A good entry should explain how a loop discovers work, delegates to agents, supplies context, bounds tools and permissions, verifies results, persists state, decides next actions, retries, or escalates.

Do not include unrelated uses of "loop":

  • software event loops;
  • UI/game loops;
  • control theory;
  • growth loops;
  • generic workflow automation;
  • non-AI feedback loops.

Editing Rules

  • Keep README.md as the canonical English source.
  • Preserve the four-layer framing when editing the intro, scope, or mental model: prompt, context, and harness engineering improve one run; Loop Engineering governs repeated agent work over time.
  • Keep annotations short, specific, and builder-oriented.
  • Prefer primary sources, official docs, papers, and implementation-heavy write-ups.
  • If a resource is generic agent, prompt, context, or harness content, include it only when the annotation clearly explains its loop-design relevance.
  • Update README.zh-CN.md only for translated overview content; do not let it drift into a separate resource list unless maintained.
  • When adding a new category, update README.md, CONTRIBUTING.md, PR templates, and issue templates together.
  • Do not add generated marketing copy or unsupported hype.

Commit Identity Rule

Never create commits with AI-assistant co-author trailers or any non-owner author/committer identity. All commits in this repository must be authored and committed as ChaoYue0307 <[email protected]>.

When committing from an AI agent, do not use plain git commit if the environment may append co-author trailers. Create commits with explicit identity instead:

git add <files>
PARENT="$(git rev-parse HEAD)"
TREE="$(git write-tree)"
NEW="$(GIT_AUTHOR_NAME='ChaoYue0307' GIT_AUTHOR_EMAIL='[email protected]' GIT_COMMITTER_NAME='ChaoYue0307' GIT_COMMITTER_EMAIL='[email protected]' git commit-tree "$TREE" -p "$PARENT" -m "Commit message")"
git update-ref refs/heads/main "$NEW" "$PARENT"

Read the full file on GitHub · 63 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. 4d ago First seen · 63 lines · 611 tokens per session scan A 274d416b5a52

Subscribe to this mod's changes

awesome-loop-engineering AGENTS.md is an instructions file published in the GitHub repository ChaoYue0307/awesome-loop-engineering (55 stars, last pushed 7d ago), licensed CC0-1.0. It adds 611 tokens to every session, about $0.0031 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.