ai-instruction-standards

ai-instruction-standards is a skill for Claude Code, Codex from ValorVie/custom-skills. It costs 87 tokens per session (1,753 once invoked), scanned A, original, MIT.

A set of rules for writing AI instruction files such as CLAUDE.md and .cursorrules. It separates rules that apply everywhere from settings specific to one project.

In plain words
What is it for?
Use it to create or update instruction files for Claude Code, Cursor, Windsurf, Cline, and similar tools.
Why use it?
It helps keep instructions for coding assistants organized and consistent, so project rules are easier for both people and AI tools to follow.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for cline. Also seen: mentions CLAUDE.md; mentions Claude Code; built for cline.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **Language**: English | [繁體中文](../../../locales/zh-TW/skills/claude-code/ai-instruction-standards/SKILL.md).

Good fit Use it to create or update instruction files for Claude Code, Cursor, Windsurf, Cline, and similar tools.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ValorVie/custom-skills
agentmods
npx agentmods add skills/valorvie/custom-skills/ai-instruction-standards

Made for: Claude Code, Codex.

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-instruction-standards

README.md
[![agentmods](https://agentmods.dev/badge/skills/valorvie/custom-skills/ai-instruction-standards/github.svg)](https://agentmods.dev/skills/valorvie/custom-skills/ai-instruction-standards)
Your own site
<a href="https://agentmods.dev/skills/valorvie/custom-skills/ai-instruction-standards"><img src="https://agentmods.dev/badge/skills/valorvie/custom-skills/ai-instruction-standards/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-instruction-standards

Your own site · 80×15
<a href="https://agentmods.dev/skills/valorvie/custom-skills/ai-instruction-standards"><img src="https://agentmods.dev/badge/skills/valorvie/custom-skills/ai-instruction-standards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,753 The whole file, excluding the scripts and references it only reads on demand.
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.00087 $0.01753
Opus 5 $0.00044 $0.00877
Sonnet 5 $0.00017 $0.00351
Haiku 4.5 $0.00009 $0.00175

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

Security

Grade A, and why

ai-instruction-standards 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 9d 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.

upstream/uds/backup/skills/ai-instruction-standards/SKILL.md · 232 lines

How it starts

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

AI Instruction File Standards Guide

Language: English | 繁體中文

Version: 1.0.0 Last Updated: 2026-01-25 Applicability: Claude Code Skills


Core Standard: This skill implements AI Instruction File Standards. For comprehensive methodology documentation, refer to the core standard.

AI Skills Hierarchy | AI 技能層級

This skill is part of a three-layer AI collaboration system:

Layer Skill Question it Answers 回答的問題
Behavior (Immediate) /ai-collaboration "How should AI respond accurately?" 「AI 如何準確回應?」
Configuration (Session) /ai-instruction-standards (this) "What to write in CLAUDE.md?" 「CLAUDE.md 該寫什麼?」
Architecture (Long-term) /ai-friendly-architecture "How to structure code for AI?" 「如何讓專案對 AI 友善?」

Purpose

This skill helps create and maintain AI instruction files with proper separation between universal standards and project-specific configurations.

Quick Reference

Supported AI Tools

AI Tool Instruction File Format
Claude Code CLAUDE.md Markdown
Cursor .cursorrules Markdown
Windsurf .windsurfrules Markdown
Cline .clinerules Markdown
GitHub Copilot .github/copilot-instructions.md Markdown
OpenCode .opencode/instructions.md Markdown

Core Principle: Universal vs Project-Specific

Type Contains Example
Universal Generic rules "Run tests before committing"
Project-Specific Concrete commands "Run npm test before committing"

Recommended Layout

# [Project Name] - AI Instructions

## Universal Standards
<!-- Rules applicable to ANY project -->
- Commit message format
- Code review checklist
- Testing standards
- Anti-hallucination rules

---

## Project-Specific Configuration
<!-- Unique to THIS project -->

### Tech Stack
[Your technologies here]

### Quick Commands
[Your build/test/deploy commands]

### File Structure
[Your project structure]

Read the full file on GitHub · 232 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. 9d ago First seen · 232 lines · 87 tokens per session scan A efcdb0f0dbbe

Subscribe to this mod's changes

ai-instruction-standards is a skill published in the GitHub repository ValorVie/custom-skills (5 stars, last pushed 4d ago), licensed MIT. It adds 87 tokens to every session and 1,753 once invoked, about $0.0004 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-09-03.