awesome-amp-code: Instructions file for Codex

AGENTS.md

awesome-amp-code AGENTS.md is an instructions file for Codex, OpenCode from lfglabs-dev/awesome-amp-code. It costs 385 tokens per session, scanned A, original, CC0-1.0.

Repository-specific instructions for contributing to the awesome-amp-cli project, including its commands, file layout, writing rules, and contribution process.

In plain words
What is it for?
Running Markdown lint and link checks, using the required Node.js version, editing the main documentation files, adding project links, creating branches, and preparing pull requests.
Why use it?
They give an coding agent the project’s local rules so changes can be checked consistently and fit the repository’s expected style.

Instructions file for CodexOpenCode

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

This is lfglabs-dev/awesome-amp-code's own configuration. It tells Codex and OpenCode how to work on awesome-amp-code 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 awesome-amp-code configures →

Reuse

Borrowing it

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

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-amp-code AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/lfglabs-dev/awesome-amp-code/agents-md"><img src="https://agentmods.dev/badge/instructions/lfglabs-dev/awesome-amp-code/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 385 This file is loaded in full into every session.
When invoked 385 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.00385 $0.00385
Opus 5.5 $0.00154 $0.00154
Sonnet 5.5 $0.00077 $0.00077
Haiku 4.5 $0.00038 $0.00038

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

Security

Grade A, and why

awesome-amp-code 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 · 31 lines

What it actually says

Agent Guidelines for awesome-amp-cli Repository

Build, Lint & Test Commands

  • Lint readme: npx awesome-lint readme.md
  • Link check: awesome_bot --allow-redirect --white-list https://github.com/lfglabs-dev/awesome-amp-code,https://example.com readme.md
  • Node.js version: Use v21.6.0 (as specified in .tool-versions)

Code Style Guidelines

  • Markdown Format: Follow standard Markdown formatting for documentation
  • List Items: Add items at the bottom of existing lists
  • Item Format: - [item name](https link) - Description beginning with capital, ending in period.
  • Commits: Always create a new branch for proposed changes
  • PR Process: Check spelling and grammar before submitting
  • Code of Conduct: All contributions must adhere to the Code of Conduct

Project Structure

  • Documentation is the primary focus of this repository
  • Main content is in amp_cli_docs.md and readme.md
  • CI pipeline uses awesome-lint and awesome_bot to validate content

When /builtwith followed by a link is included in a prompt, you will add the link to the "Projects & Tools" section of the README.md file under the appropriate subcategory (Documentation & Guides, Development Tools, Applications Built with Amp, or Browser & Misc). If there is a numbered list of urls, create subagents to complete the tasks.

When /faq followed by a link is included in a prompt, you will add the link to the @docs/amp_faq.md file in between --- and --- Place it above the last question. The update the Last Modified date

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 · 31 lines · 385 tokens per session scan A 93f73aeb0947

Subscribe to this mod's changes

awesome-amp-code AGENTS.md is an instructions file published in the GitHub repository lfglabs-dev/awesome-amp-code (79 stars, last pushed 9mo ago), licensed CC0-1.0. It adds 385 tokens to every session, about $0.0015 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

awesome-amp-code AGENTS.md compared with instructions from other repositories

awesome-amp-code AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
awesome-amp-code AGENTS.mdlfglabs-dev/awesome-amp-codeInstructions file799mo agoCC0-1.0A385Codex, OpenCode
awesome-ai-conventions copilot-instructions.mdGuilhermeAlbert/awesome-ai-conventionsInstructions file391mo agononeA85GitHub Copilot
awesome-ai-rules copilot-instructions.mdshumatsumonobu/awesome-ai-rulesInstructions file13mo agoMITA236GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode