wg-skills: Instructions file for Codex

AGENTS.md

wg-skills AGENTS.md is an instructions file for Codex, OpenCode from jiushiwon/wg-skills. It costs 7,597 tokens per session, scanned A, original, Apache-2.0.

A repository-wide instruction file for an Agents Skills collection. These skills are reusable instructions that AI coding assistants can load for specific engineering tasks.

In plain words
What is it for?
It guides work on real software projects such as shops, admin systems, apps, content platforms, and large services, including how skills are organized and maintained.
Why use it?
It keeps project logic, structure, workflows, and standards consistent across different AI assistants and human maintainers.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 wg-skills AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jiushiwon/wg-skills/agents-md"><img src="https://agentmods.dev/badge/instructions/jiushiwon/wg-skills/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7,597 This file is loaded in full into every session.
When invoked 7,597 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.07597 $0.07597
Opus 5 $0.03798 $0.03798
Sonnet 5 $0.01519 $0.01519
Haiku 4.5 $0.00760 $0.00760

Measured 3d ago against content hash 48fe0027ab22, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

wg-skills 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 3d 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 · 478 lines

How it starts

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

wg-skills 仓库规范(Agents Skills 主控文档)

本文件是 wg-skills 仓库的主控规范文档,所有项目级逻辑、结构、流程、规范均沉淀于此。

  • Claude 用户:Claude Code 通过 CLAUDE.md 间接引用本文件
  • Codex / Workbuddy / OpenCode / VS Code / Kimi 等其他智能体:直接读取 AGENTS.md
  • 人类维护者:直接阅读本文

任何对本仓库的修改都必须先更新本文件,再同步到具体 skill 目录与根 README。


一、仓库定位

本仓库是一套 Agents Skills 集合(智能体技能集合),不绑定任何一家厂商、不依赖任何私有协议。

每个子目录对应一个独立 skill(技能),技能通过 SKILL.md 定义触发条件、审查维度与输出格式。任何支持 Skill / Agent 协议的智能体都可以加载并使用本仓库的技能

1.1 核心理念

将"古法编程"容纳到 AI 体系之中。

AI 时代的编程不是"取代程序员",而是把传统工程中重复、规范、体系化的部分抽出来,沉淀成可被 AI 调用的技能,让人类专注于业务决策与架构判断。

维度 古法编程 本仓库技能体系
写一个 CRUD 接口 查文档、写代码、写测试、写文档(半天) 一句话触发技能(5 分钟)
搭一套后端骨架 选型、写配置、写中间件、写鉴权、写重启脚本(1-2 天) 触发 xxx-init-skill(10 分钟)
学一门新语言 买书、查文档、写 demo(1-2 周) 触发"一天学会 xxx 体系"技能(半天)
多人协作 各自风格、风格不统一 技能强制规范(生成即遵守)
项目迭代 重构历史债、文档落后 技能可平滑升级,文档同步

1.2 适用场景

本仓库的技能不是"演示玩具",而是面向真实的工程项目

场景 1:具体业务项目
  • 🛒 商城系统:商品、订单、支付、库存、优惠券
  • 📋 后台管理系统:用户、权限、组织、数据看板、表单工作流
  • 📱 App / 小程序:uniapp 一套代码多端发布
  • 💬 社区 / 内容平台:帖子、评论、点赞、关注
  • 🎓 在线教育:课程、章节、播放进度、考试
场景 2:大型平台项目

需要大量中间件与多插件部署:

  • 📨 消息中心:Kafka / Redis Stream / RabbitMQ 接入
  • 🔍 搜索引擎:Elasticsearch 集成
  • 缓存层:Redis Cluster / 多级缓存策略
  • 📊 监控告警:Prometheus / Grafana / 链路追踪
  • 🔐 统一认证:OAuth2 / SSO / JWT 多端
  • 🗄️ 分库分表:ShardingSphere / MyCAT
  • 📦 对象存储:MinIO / OSS / S3 兼容

对应技能:super-deploy-skills/(部署套件,含数据库 / 运行时 / 服务器 / Nginx / Docker / 原生部署 6 大子技能,含 redis / kafka / mongodb / mysql / postgres / go / java / python / nodejs 等中间件安装)。

场景 3:学习各种语言规范

针对小白、追求更高效的 Vibecoding

  • 一天学会 Java 体系 → 触发 java-backend-skill / springboot-init-skill
  • 🐍 一天学会 Python 体系 → 触发 python-backend-skill / fastapi-init-skill
  • 🐹 一天学会 Go 体系 → 触发 go-backend-skill
  • 🟢 一天学会 Node.js 体系 → 触发 nodejs-backend-skill
  • 🎨 一天学会 Vue 体系 → 触发 vue-base-skill / vue-generate-skill
  • 📱 一天学会 uni-app 体系 → 触发 uniapp-base-skill 及其 21 个子技能

Read the full file on GitHub · 478 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. 3d ago Changed · +103 lines · +1,671 tokens per session 48fe0027ab22
  2. 5d ago Changed · +2 lines · +46 tokens per session cbdb25e9ee16
  3. 9d ago First seen · 373 lines · 5,880 tokens per session scan A 3c60e3ccc269

Subscribe to this mod's changes

wg-skills AGENTS.md is an instructions file published in the GitHub repository jiushiwon/wg-skills (97 stars, last pushed 2d ago), licensed Apache-2.0. It adds 7,597 tokens to every session, about $0.0380 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

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

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,153 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

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

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

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,737 tokens