ai-workflow: Instructions file for Codex

AGENTS.md

ai-workflow AGENTS.md is an instructions file for Codex, OpenCode from nicepkg/ai-workflow. It costs 1,013 tokens per session, scanned A, original, MIT.

A repository instruction file for nicepkg/ai-workflow, a collection of workflows and instructions for AI coding tools. It describes the project structure, language rules, and available workflow-building skills.

In plain words
What is it for?
It guides work on AGENTS.md files, workflow collections, documentation, and the project’s workflow-creator and skill-creator processes.
Why use it?
It gives coding agents a shared reference for how this repository is organized and how its files should be written and maintained.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions Claude Code; mentions AGENTS.md.

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is │ └── skills -> ../.claude/skills.

Reuse

Borrowing it

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

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 ai-workflow AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/nicepkg/ai-workflow/agents-md"><img src="https://agentmods.dev/badge/instructions/nicepkg/ai-workflow/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,013 This file is loaded in full into every session.
When invoked 1,013 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.01013 $0.01013
Opus 5.5 $0.00405 $0.00405
Sonnet 5.5 $0.00203 $0.00203
Haiku 4.5 $0.00101 $0.00101

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

Security

Grade A, and why

ai-workflow 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 1mo 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 · 126 lines

How it starts

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

AI Workflow Collection - AI Instructions

This is the master repository for curated Claude Code workflow collections.

Language Guidelines

IMPORTANT: All AGENTS.md files in this project MUST be written in English only. This ensures consistent AI behavior across different language contexts.

  • AGENTS.md - English only (AI instructions)
  • README.md - English (primary)
  • README_cn.md - Chinese translation (optional)

Project Structure

ai-workflow/
├── AGENTS.md              # This file (AI context)
├── README.md              # User documentation (update after creating workflows)
├── .claude/skills/        # Shared skills for this project
│   ├── workflow-creator/  # Create new workflows
│   └── skill-creator/     # Create new skills
├── workflows/
│   ├── content-creator-workflow/   # Example workflow
│   ├── marketing-pro-workflow/     # Example workflow
│   └── <new-workflow>/             # New workflows created here

Available Skills

workflow-creator

Trigger: "create workflow", "new workflow", "set up workflow", "build a xxx-workflow"

Creates complete workflow directories with:

  • Multi-AI tool support (.claude, .codex, .cursor, .opencode, .agents, .kilocode, .roo, .goose, .gemini, .agent, .github, skills, .factory, .windsurf)
  • Curated skills downloaded from GitHub
  • README.md (user documentation)
  • AGENTS.md (AI instructions)

skill-creator

Trigger: "create skill", "new skill", "build a skill"

Creates new skills following Anthropic's specification.

Workflow Creation Process

When user requests a new workflow:

  1. Create directory using workflow-creator/scripts/create_workflow.py (default target: workflows/)
  2. Select skills from workflow-creator/references/skill-sources.md
  3. Download skills using workflow-creator/scripts/download_skill.py
  4. Generate README.md for users
  5. Generate AGENTS.md for AI
  6. Update project README.md - Add new workflow to the list

Post-Creation Tasks

Read the full file on GitHub · 126 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. 1mo ago First seen · 126 lines · 1,013 tokens per session scan A b2ffd3a7d48d

Subscribe to this mod's changes

ai-workflow AGENTS.md is an instructions file published in the GitHub repository nicepkg/ai-workflow (288 stars, last pushed 9mo ago), licensed MIT. It adds 1,013 tokens to every session, about $0.0041 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

Other instructions, from other repositories