ai-workflow AGENTS.md

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

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

Made for: Codex, OpenCode.

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. 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.01013 $0.01013
Opus 5 $0.00507 $0.00507
Sonnet 5 $0.00203 $0.00203
Haiku 4.5 $0.00101 $0.00101

Measured 2d ago against content hash b2ffd3a7d48d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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. 2d 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 (282 stars, last pushed 7mo ago), licensed MIT. It adds 1,013 tokens to every session, about $0.0051 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.