Agent Skill
2/7/2026

ai-feedback-reporter

CRITICAL - Before ANY file write, audit loaded skills for violations. Auto-report via feedback command.

H
hoangnguyen0403
227GitHub Stars
1Views
npx skills add HoangNguyen0403/agent-skills-standard

SKILL.md

Nameai-feedback-reporter
DescriptionCRITICAL - Before ANY file write, audit loaded skills for violations. Auto-report via feedback command.

Agent Skills Standard

NPM Version License: MIT GitHub Stars

The portable SDLC standards layer for AI coding agents. Sync once, then work in your own runtime.

Current release: v2.4.6 — living BRD/PRD/SRS baseline + PR/MR metadata reviewer consolidation.

259 ready-to-use coding standards for Cursor, Claude Code, GitHub Copilot, Gemini, Windsurf, Trae, Kiro, Roo and more — synced, versioned, and optimized to use 85% fewer tokens than traditional prompt engineering.

npx agent-skills-standard@latest init
npx agent-skills-standard@latest sync
# Done. Your AI now has portable team standards and SDLC workflows.

If ags -V still shows an old version after reinstalling, check your PATH order. ~/Library/pnpm must come before ~/Library/pnpm/bin, then run hash -r and verify with ags -V again.


The Problem

Every team has coding standards. But AI agents don't know them.

You end up repeating the same instructions: "Use OnPush change detection", "Always wrap errors with context", "No business logic in handlers". And every time, you face the same trade-off:

  • Too many rules = AI forgets them, wastes tokens, gets confused
  • Too few rules = AI writes generic code that doesn't match your standards
  • Copy-paste .cursorrules = out of date in a week, doesn't scale to teams

The Solution

Agent Skills Standard turns your engineering rules into modular, version-controlled skills that any AI agent can load on demand.

Without SkillsWith Skills
3,600+ token architect prompt in every chat~500 token skill, loaded only when relevant
Rules drift across team members' promptsSingle source of truth, synced via CLI
Works in one AI tool, copy-paste to othersWorks in Cursor, Claude, Copilot, Gemini, Windsurf, Trae, Kiro, Roo
AI scans all rules every time (slow, lossy)Hierarchical lookup: ~25 lines scanned per edit

Not Another Agent Runtime

Agent Skills Standard does not force you into a new daily command system. ags is for setup, sync, validation, MCP wiring, and updates. After sync, your AI tool receives native assets:

  • Claude/Roo/OpenCode commands
  • Codex/Cursor/Trae skills
  • Gemini TOML commands
  • Copilot prompts
  • Antigravity/Kiro workflow files
  • MCP tools for runtime enforcement

You keep the files in your repo, customize them with .skillsrc and custom_overrides, and run workflows inside the agent you already use.

How It Works

You run: npx agent-skills-standard sync

What your AI gets:

1. AGENTS.md (router ~20 lines)
   "Editing *.ts? Check typescript/_INDEX.md"

2. typescript/_INDEX.md (trigger table)
   File Match:  typescript-language  *.ts, *.tsx, tsconfig.json
   Keyword:     typescript-security  validate, sanitize, auth

3. typescript-language/SKILL.md (loaded on demand)
   The actual rules — only when needed.

The AI loads only the skills that match the file being edited and the task at hand. No wasted tokens. No forgotten rules.


Architecture & Token Economy

This project follows a Zero-Trust architectural model inspired by Rust Token Killer (RTK). Instead of injecting all rules into every prompt (which can cost 5,000+ tokens and cause "prompt loss"), we use a hierarchical loading system.

Detailed documentation is available in ARCHITECTURE.md, covering:

  • Hierarchical Resolution: Router Table (AGENTS.md) -> Category Index (_INDEX.md) -> Skill (SKILL.md).
  • Integration Taxonomy: Multi-agent bridge support for Cursor, Claude, Copilot, Windsurf, Trae, Roo, etc.
  • High-Density Design: All skills must be < 100 lines and optimized for token economy.

Quick Start

1. Initialize

Detects your tech stack and creates a .skillsrc config:

npx agent-skills-standard@latest init

2. Sync

Downloads skills into your AI agent's folders and generates the index:

npx agent-skills-standard@latest sync

3. Code

Your AI agent now reads AGENTS.md automatically. Skills activate based on what file you're editing and what you ask for.

Works instantly with Cursor, Claude Code, GitHub Copilot, Gemini CLI, Windsurf, Trae, Kiro, and Roo. No plugin or extension needed — the CLI generates each agent's native format.

4. (Optional) Enable runtime enforcement via the MCP server

The CLI distributes skills to disk. The companion MCP server serves them to your AI agent at runtime as explicit tool calls — closing the gap where agents read AGENTS.md but forget to load matched SKILL.md files (especially in sub-agents).

Consent model — you choose the scope

init and sync ask once whether to enable MCP and at what scope. Three choices, recommended in bold:

ScopeWhat gets writtenTouches $HOME?
project (recommended)./mcp-config-snippets/*.json + project-scoped runtime configs (./.mcp.json, ./.cursor/mcp.json, etc.)❌ No
userAll of project + user-home configs (~/.cursor/mcp.json, ~/.gemini/settings.json)⚠️ Yes — sync prompts before each user-scope write
snippets-onlyOnly ./mcp-config-snippets/*.json — never edits any runtime config❌ No
disabledNothing MCP-related❌ No

The CLI never reads or modifies user-home files unless you explicitly choose user scope AND confirm each write. All decisions are recorded in .skillsrc so you're not re-prompted on every sync.

Manage MCP integration with the mcp subcommand

ags mcp status                 # Show enabled, scope, and per-agent install state
ags mcp enable                 # Turn on (uses configured scope)
ags mcp disable                # Turn off (existing entries kept; use uninstall to clean)
ags mcp scope project          # Change scope: project | user | snippets-only | disabled
ags mcp install                # One-shot install at the configured scope
ags mcp uninstall --from=all   # Remove our entry from project + user configs
ags mcp snippets               # Regenerate ./mcp-config-snippets/ without touching configs

Or edit .skillsrc directly:

mcp:
  enabled: true
  scope: project # project | user | snippets-only | disabled
  prompted: true # set to false to be re-asked next sync

Manual install (if you prefer)

Add to your runtime's MCP config:

{
  "mcpServers": {
    "agent-skills-standard": {
      "command": "npx",
      "args": ["-y", "agent-skills-standard-mcp"],
    },
  },
}

Now any sub-agent in any runtime can call load_skills_for_files, audit_session_compliance, etc. Works in Claude Code, Cursor, Antigravity, Kiro, Continue, Gemini CLI — anywhere MCP is supported. Full setup: mcp/README.md.

CLI vs MCP — paired layers, not alternatives

LayerToolRuns whenPurpose
Distributionagent-skills-standard (CLI)Manually, before AI sessionFetches & writes SKILL.md files; generates AGENTS.md + _INDEX.md
Runtime / Enforcementagent-skills-standard-mcp (MCP)Auto-launched by the AI runtimeServes matched SKILL.md to live agents on demand; provides audit log

Use both when you want enforcement receipts: the CLI installs the rules, the MCP makes sure agents load them.


SDLC Workflow Spine

The registry now ships a compact lifecycle that agents can run natively after sync:

StageSynced WorkflowOutput
Routesdlcnext workflow and blockers
Brainstormbrainstorm-featureproduct-brief.md
Planplan-featurePRD, decisions, task slices
Designdesign-solutionarchitecture, contracts, ADR
Readinessimplementation-readinessgo/no-go before code
Buildimplement-feature / dev-fiximplementation handoff
Reviewreview-ticketmulti-lens PR/ticket verdict
Verifyverify-work / verify-bugwalkthrough.md evidence
Securitypentest / security-testhacker report, PoC, SAST logs

Session Telemetry

The registry now includes the common-telemetry skill and a companion MCP tool get_session_cost(). At the end of every workflow, the agent can now report accurate token usage and cost estimation.

See SDLC Workflow Quick Reference.

Default SDLC Support

ags init includes framework skills plus shared SDLC support categories when the registry provides them:

SurfaceHow It Syncs
quality-engineeringIncluded as a skill category for BA review, Jira traceability, QA standards, browser/mobile verification, and Zephyr coverage
specialistsConverted directly into native sub-agent files for Jira analysis, codebase scouting, architecture/security review, AC verification, test gaps, PR metadata, Zephyr/Confluence lookup, PR comments, integration tests, and TC creation

External tasking MCPs such as Jira, Azure DevOps, and Zephyr are integration points, not required dependencies. Workflows should use them when already connected, but every workflow must still work from local tickets, specs, and evidence files so teams can customize their own automation stack.

See also Learning From agentic-ai and the Optional MCP Integration Guide.

259 Skills Across 20+ Frameworks

Every skill is audited for token efficiency (averaging ~500 tokens) and tested with automated evals.

StackKey SkillsVersionSkills
Common PatternsBest Practices, Security, TDD, Error Handlingv2.0.836
FlutterBLoC, Riverpod, Architecture, Concurrencyv1.7.122
ReactHooks, Performance, State Managementv1.3.58
React NativeArchitecture, Navigation, Performancev1.4.413
Next.jsApp Router, Server Components, Caching, ISRv1.4.418
AngularSignals, Components, RxJS, SSRv1.4.215
NestJSArchitecture, Security, BullMQv1.4.421
TypeScriptType Safety, Security, Toolingv1.3.34
JavaScriptES2024+, Patterns, Toolingv1.3.43
Go (Golang)Clean Arch, Concurrencyv1.3.411
Spring BootArchitecture, Security, JPAv1.3.310
AndroidCompose, Navigation 3, Edge-to-Edge, AGP 9v1.4.126
iOSSwiftUI, Arch, Persistencev1.4.515
SwiftConcurrency, Memoryv1.3.58
KotlinCoroutines, Languagev1.3.34
JavaRecords, Virtual Threadsv1.3.35
PHPPHP 8.4+, Error Handlingv1.3.57
LaravelEloquent, Clean Archv1.3.410
DartNull Safety, Sealed Classesv1.3.53
DatabasePostgreSQL, MongoDB, Redisv1.3.43
Quality EngineerBA, TDD, Zephyr, Test Genv1.5.07
SpecialistsJira, Review, QA, ADO, Zephyr, Confluencev1.1.216

Full skill list with token metrics: Skills Directory | Benchmark Report | Public Proof


Configuration

The .skillsrc file controls what gets synced:

registry: https://github.com/HoangNguyen0403/agent-skills-standard
agents: [cursor, copilot, claude, gemini]
# Standard registry skills
skills:
  flutter:
    ref: flutter-v1.6.3
    exclude: ["getx-navigation"] # Don't use GetX? Exclude it.
    custom_overrides: ["bloc-state"] # Protect your local modifications.
  react:
    ref: react-v1.3.3
  golang:
    ref: golang-v1.3.2
  common:
    ref: common-v2.0.3

# Local custom standalone skills
custom_skills:
  - path: "./.skills/my-custom-rule.md"
    triggers: ["*.ts", "keyword"]

Skills are package-aware: if your Flutter project uses BLoC but not GetX, just exclude the GetX skills. The AI only sees what's relevant to your stack. The custom_skills feature allows you to index your own .md files directly into AGENTS.md and _INDEX.md, ensuring your project-specific rules are always visible to the AI.

Workflow Selection

workflows:
  - sdlc
  - brainstorm-feature
  - plan-feature
  - design-solution
  - implement-feature
  - verify-work
  - pentest
  - security-test
  - deploy-release
  - publish-notes
  - retro-learn

Workflows sync to the native surface for each selected agent. Keep .agents/workflows as the canonical source in this registry; Codex receives generated workflow skills under .codex/skills/<workflow>/SKILL.md.


How AI Agents Find Skills

Every AI agent follows the same hierarchical lookup — no agent-specific setup needed:

AGENTS.md (compact router, ~20 lines)
   |
   |  "Editing *.go? Read golang/_INDEX.md"
   v
_INDEX.md (per-category trigger table)
   |
   |  File Match:  golang-database     internal/adapter/repository/**
   |  Keyword:     golang-security     encrypt, auth, validate
   v
SKILL.md (loaded on demand, ~500 tokens)
   |
   |  The actual engineering rules
   v
Your AI writes code that follows your standards.

File Match = auto-checked when you edit a matching file. Keyword Match = checked only when your prompt mentions the concept.

This means editing a .ts file loads 6 relevant skills instead of 27 — no confusion, no token waste.


Walkthrough — NestJS backend feature

Picture a developer in Cursor or Claude Code asking:

"Add a POST /orders endpoint that validates the body and returns 201."

Here's what happens with the MCP, step by step.

1. Agent identifies the file it will touch

src/orders/orders.controller.ts

2. Agent calls the MCP — BEFORE writing any code

// Tool call from the agent
{
  "name": "load_skills_for_files",
  "arguments": { "files": ["src/orders/orders.controller.ts"] },
}

3. The MCP returns 11 skills — direct + composite

matched-by                                   skill
──────────────────────────────────────────  ─────────────────────────────────────
file:**/*.ts                                 typescript/typescript-language
file:**/*.controller.ts                      nestjs/nestjs-api-standards
file:**/*.controller.ts                      nestjs/nestjs-controllers-services
file:**/*.controller.ts                      nestjs/nestjs-file-uploads
file:**/*.controller.ts                      nestjs/nestjs-real-time
file:**/*.controller.ts                      nestjs/nestjs-transport
composite via typescript/typescript-language common/common-best-practices
composite via nestjs/nestjs-api-standards    common/common-api-design
composite via nestjs/nestjs-file-uploads     common/common-security-standards
composite via nestjs/nestjs-real-time        common/common-performance-engineering
composite via nestjs/nestjs-transport        common/common-system-design

4. The agent now has these team rules in context

From skillRule the agent now follows
typescript-languageStrict typing, unknown over any, satisfies operator
nestjs-controllers-servicesControllers stay thin; logic lives in services
nestjs-api-standardsDTOs with class-validator, consistent error envelopes
nestjs-transport@HttpCode(201), ParseUUIDPipe, response shape
common-best-practicesFunctions < 30 lines, guard clauses, intention-revealing names
common-api-designStatus codes, pagination, idempotency, OpenAPI conventions
common-security-standardsAuthn/authz, input sanitization, secret handling
common-system-designModule boundaries, coupling rules
common-performance-engineeringAsync patterns, N+1 query checks

5. The agent writes the code AND calls the audit before claiming done

{ "name": "audit_session_compliance" }
# Session compliance
Skills loaded: 11
- common/common-api-design
- common/common-best-practices
- common/common-performance-engineering
- common/common-security-standards
- common/common-system-design
- nestjs/nestjs-api-standards
- nestjs/nestjs-controllers-services
- nestjs/nestjs-file-uploads
- nestjs/nestjs-real-time
- nestjs/nestjs-transport
- typescript/typescript-language

What the same scenario looks like WITHOUT the MCP

The agent reads AGENTS.md (maybe), walks the router (maybe), reads the matched _INDEX.md (maybe), and reads matched SKILL.md files (often skipped — especially in sub-agents that don't inherit CLAUDE.md). Result:

With MCPWithout MCP
typescript-language rules✅ Loaded⚠️ Sometimes
nestjs-* framework rules✅ All 5 loaded⚠️ One or two if lucky
common-best-practices (function size, naming, guard clauses)✅ Loaded via composite❌ Almost never
common-api-design (status codes, pagination)✅ Loaded via composite❌ Almost never
common-security-standards (input validation, auth)✅ Loaded via composite❌ Almost never
Provable audit log of what informed the codeaudit_session_compliance❌ None
Behavior in sub-agents (tdd-implementer, architecture-guard, etc.)✅ Same as orchestrator❌ Worse — sub-agents inherit nothing

That's the reason the MCP exists: the rules automatically reach the working context every time, in every runtime, including sub-agents.

🤖 Sub-Agents & Specialists

Agent Skills Standard supports Specialist Sub-Agents. These are focused personas (for example @specialist-tdd-implementer, @specialist-architecture-guard, @specialist-ac-verifier) that you can delegate specific parts of your workflow to.

  • Strict Budget: Specialists have one role, bounded tool/file usage, structured output, and no nested sub-agent spawning.
  • Context Hygiene: By delegating to a sub-agent, the "noise" of granular implementation stays out of your main chat context.
  • Unified Sync: Specialists sync to native agent folders such as .claude/agents, .codex/agents, .cursor/agents, .gemini/agents, and .github/copilot-agents.

Security & Trust

Skills are text files, not code. They cannot execute commands, access your filesystem, or make network requests. Here's the full picture:

What Skills Are

  • Pure Markdown/JSON — no binaries, no scripts, no executable code
  • Sandboxed — skills run inside the AI's context window, not as OS processes
  • Open source — every skill is auditable on GitHub before you use it

What the CLI Does

  • Downloads text only — fetches Markdown and JSON from the public registry
  • No telemetry — zero data collection, no analytics, no background daemons
  • No code or project data leaves your machine — feedback is only sent if you explicitly run ags feedback

How Skills Stay Safe

  • Prompt injection scanning — every skill description is sanitized against known injection patterns (e.g., "ignore previous instructions") at index-generation time
  • Automated eval testing — most skills include evals.json datasets that verify AI adherence to constraints via regression tests
  • Zero-Trust protocol — the generated AGENTS.md enforces a mandatory audit: the AI must declare which skills it loaded before writing code, preventing silent rule-skipping
  • Continuous benchmarking — skills are periodically tested against adversarial prompts to identify logic gaps and instruction drift
  • Vibe Security Scan — review and pentest workflows include a compact lens for the 20 common AI-generated security bugs, including IDOR, SSRF, traversal, weak JWTs, upload abuse, and slopsquatting

FAQ

<details> <summary><b>Does this work with Cursor, Claude Code, Copilot, Gemini?</b></summary> <br> Yes — all of them, plus Windsurf, Trae, Kiro, Roo, and Antigravity. The CLI generates each agent's native format automatically. No plugin needed. </details> <details> <summary><b>How is this different from .cursorrules or system prompts?</b></summary> <br> <code>.cursorrules</code> and system prompts are static — one big file that the AI reads every time, wasting context. Agent Skills Standard uses <b>hierarchical on-demand loading</b>: the AI only reads the specific skills relevant to what you're editing right now. This saves ~86% of tokens and scales to 237+ skills without performance loss. </details> <details> <summary><b>Will it overwrite my custom rules?</b></summary> <br> No. Use <code>custom_overrides</code> in your <code>.skillsrc</code> to protect any files you've customized locally. The CLI will skip them during sync. </details> <details> <summary><b>How do I add my own skills?</b></summary> <br> Create a <code>SKILL.md</code> file in your agent's skills directory (e.g., <code>.cursor/skills/my-custom/SKILL.md</code>). It will be automatically included in the index on the next sync. For contributing to the public registry, see below. </details> <details> <summary><b>What about token costs?</b></summary> <br> Each skill averages ~500 tokens (vs ~3,600 for a typical architect prompt). The hierarchical index adds only ~25 lines of scanning overhead per edit. Teams report <b>86% reduction</b> in prompt-related token usage. </details>

Contributing

  1. Propose: Open an issue with your skill idea.
  2. Build: Fork the repo, add your skill to skills/<category>/, include evals.json.
  3. PR: CI validates format, token count, and injection safety before merge.

See ARCHITECTURE.md for design details and CLI Architecture for service internals.


License & Credits

📜 Benchmark History

VersionDateSkillsAvg TokensSavings (%)Report
v2.4.22026-05-1924754085%Report
v2.4.12026-05-1824754085%Report
v2.4.02026-05-1424654085%Report
v2.3.02026-05-1324654085%Report
v2.2.22026-05-0924953985%Report
v2.2.02026-04-2224253885%Report
v2.1.22026-04-1123751686%Report
v2.1.12026-04-1123751686%Report
v2.1.02026-04-0423752686%Report
v2.0.12026-03-3023852786%Report
v2.0.02026-03-2523552386%Report
Skills Info
Original Name:ai-feedback-reporterAuthor:hoangnguyen0403