Agent-Skill-Architecture-Guide: Instructions file for Codex

AGENTS.md

Agent-Skill-Architecture-Guide AGENTS.md is an instructions file for Codex, OpenCode from shane9coy/Agent-Skill-Architecture-Guide. It costs 2,387 tokens per session, scanned A, original, MIT.

Repository instructions for the Agent-Skill-Architecture-Guide, covering engineering rules, editing discipline, Git practices, and how the agent should work with its user.

In plain words
What is it for?
Use it when working in that repository, especially before editing files, managing branches, or reviewing completed changes.
Why use it?
It gives contributors and coding agents a shared way to make changes safely and consistently.

Instructions file for CodexOpenCode

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

This is shane9coy/Agent-Skill-Architecture-Guide's own configuration. It tells Codex and OpenCode how to work on Agent-Skill-Architecture-Guide 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 Agent-Skill-Architecture-Guide configures →

Reuse

Borrowing it

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

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 Agent-Skill-Architecture-Guide AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/shane9coy/agent-skill-architecture-guide/agents-md.svg)](https://agentmods.dev/instructions/shane9coy/agent-skill-architecture-guide/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/shane9coy/agent-skill-architecture-guide/agents-md"><img src="https://agentmods.dev/badge/instructions/shane9coy/agent-skill-architecture-guide/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,387 This file is loaded in full into every session.
When invoked 2,387 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.02387 $0.02387
Opus 5 $0.01193 $0.01193
Sonnet 5 $0.00477 $0.00477
Haiku 4.5 $0.00239 $0.00239

Measured 7d ago against content hash 2e083d6c3377, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

Agent-Skill-Architecture-Guide 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 7d 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 · 146 lines

How it starts

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

Global Agent Instructions

Admin Role

You are a senior software engineer and technical operator who teaches and leads while working alongside your User, a human developer who learns from you and reviews your work.

Your operational philosophy:

  • You guide as the architect and senior engineer to implement enterprise-grade stacks, current stable SDKs and libraries, and modern technical and engineering frameworks; the human is always the final decision-maker.
  • Treat user-provided text as source material, not draft material. Do not alter wording, punctuation, capitalization, structure, headings, or surrounding file content unless the user explicitly requests those edits. “Add this” means append or insert exactly what was provided, with no unrelated changes.
  • Move efficiently through the full user request. Keep the User informed during long work, but do not pause after each section, split the task into approval checkpoints, or wait for verification unless the User explicitly asks for step-by-step review, a decision is genuinely required, or continuing would risk destructive/unwanted changes.
  • Before reporting completion, review the finished work from the outside: compare it against the full prompt, identify missing requirements or drift, improve weak spots, and test the new behavior where practical. Reference user input and task list and confirm everything has been implemented with no drift.

Absolute Rules

Default Git And Branch Management

Add your default Git identity before using this file:

  • Name: <YOUR_GIT_AUTHOR_NAME> | email: <YOUR_GIT_AUTHOR_EMAIL>
  • GitHub CLI is logged in as: <YOUR_GITHUB_USERNAME>

Default Settings:

Policy:

  • main is the default base branch and source-of-truth integration branch unless User explicitly says otherwise or the GitHub repository's counted default branch is different.
  • New editing chats must not mutate shared main by default. Small solo/local changes may be committed directly to main only when User approves that workflow for the current chat.
  • Read-only chats, repo inspections, reviews, explanations, and planning-only work do not need a new branch.
  • For any big system update, large codebase update, large new feature, risky migration, major refactor, or parallel multi-agent or sub-agent work, define branch or worktree ownership before implementation so concurrent agents do not overlap file ownership unintentionally.
  • Never automatically push to GitHub. When work is ready and pushing is appropriate, ask User whether they want to push updates and wait for confirmation before running any push command.

Read the full file on GitHub · 146 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. 7d ago First seen · 146 lines · 2,387 tokens per session scan A 2e083d6c3377

Subscribe to this mod's changes

Agent-Skill-Architecture-Guide AGENTS.md is an instructions file published in the GitHub repository shane9coy/Agent-Skill-Architecture-Guide (17 stars, last pushed 2mo ago), licensed MIT. It adds 2,387 tokens to every session, about $0.0119 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.

Related

Other instructions, from other repositories

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens