aiwg AGENTS.md

aiwg AGENTS.md is an instructions file for Codex, OpenCode from jmagly/aiwg. It costs 242 tokens per session, scanned A, original, MIT.

Agent instructions for AIWG, a framework for discovering and using skills, agents, rules, and commands across an installation. They define which context files to read and where deployed artifacts live.

In plain words
What is it for?
Reading workspace and framework context, checking project configuration, browsing AIWG resources, and locating provider-specific agent files.
Why use it?
They ensure the agent loads project guidance in the right order and can find the framework's available resources.

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/jmagly/aiwg/agents-md
Clone the repo
git clone --depth 1 https://github.com/jmagly/aiwg

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/jmagly/aiwg/agents-md.svg)](https://agentmods.dev/instructions/jmagly/aiwg/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/jmagly/aiwg/agents-md"><img src="https://agentmods.dev/badge/instructions/jmagly/aiwg/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 242 This file is loaded in full into every session.
When invoked 242 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.00242 $0.00242
Opus 5 $0.00121 $0.00121
Sonnet 5 $0.00048 $0.00048
Haiku 4.5 $0.00024 $0.00024

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

Security

Grade A, and why

aiwg 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 30 lines

What it actually says

AGENTS.md

Provider workspace bootstrap

Read and follow WORKSPACE.md first. Then read AIWG.md for AIWG discovery, quickrefs, and framework routing.

These are explicit reading instructions. Plain Markdown links are not claimed to auto-load.

Framework Context

See AIWG.md for the full AIWG framework context (active frameworks, addons, agents, behaviors, rules). Tracker and delivery source of truth: .aiwg/aiwg.config.

Deployed artifacts live under your provider's native directory (for example .codex/agents/, .warp/agents/, .github/agents/). Use aiwg discover "<intent>" and aiwg show <type> <name> to browse skills, agents, rules, and commands across the installation.


See AGENTS.override.md for operator-authored additions.

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 · 30 lines · 242 tokens per session scan A 9a7a375b6450

Subscribe to this mod's changes

aiwg AGENTS.md is an instructions file published in the GitHub repository jmagly/aiwg (208 stars, last pushed yesterday), licensed MIT. It adds 242 tokens to every session, about $0.0012 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.