agent-skills-standard 2.0.1 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +77 -108
- package/dist/index.js +540 -62
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,149 +1,118 @@
|
|
|
1
|
-
# Agent Skills Standard CLI
|
|
1
|
+
# Agent Skills Standard CLI
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/agent-skills-standard)
|
|
4
4
|
[](https://github.com/HoangNguyen0403/agent-skills-standard/blob/main/LICENSE)
|
|
5
5
|
|
|
6
|
-
**
|
|
6
|
+
**Sync 237 AI coding standards to any project in one command.** Works with Cursor, Claude Code, GitHub Copilot, Gemini, Windsurf, Trae, Kiro, and Roo.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
## 📌 Table of Contents
|
|
13
|
-
|
|
14
|
-
- [💡 What does this tool do?](#-what-does-this-tool-do)
|
|
15
|
-
- [🛠 The Solution: Digital DNA for AI](#-the-solution-digital-dna-for-ai)
|
|
16
|
-
- [🚀 Installation & Quick Start](#-installation--quick-start)
|
|
17
|
-
- [⚙️ Configuration (`.skillsrc`)](#️-configuration-skillsrc)
|
|
18
|
-
- [🔒 Privacy & Security](#-privacy--security)
|
|
19
|
-
- [❓ FAQ & Links](#-faq--links)
|
|
8
|
+
```bash
|
|
9
|
+
npx agent-skills-standard@latest init # detect your stack
|
|
10
|
+
npx agent-skills-standard@latest sync # install skills
|
|
11
|
+
```
|
|
20
12
|
|
|
21
13
|
---
|
|
22
14
|
|
|
23
|
-
##
|
|
24
|
-
|
|
25
|
-
If the **Agent Skills Standard** is the "instruction manual" for your AI, this CLI is the **delivery engine** that brings those instructions to your project.
|
|
15
|
+
## What It Does
|
|
26
16
|
|
|
27
|
-
|
|
17
|
+
The CLI takes engineering standards from the [Agent Skills Standard registry](https://github.com/HoangNguyen0403/agent-skills-standard) and installs them into your AI agent's native format:
|
|
28
18
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
| **🚀 Builders** | No more copy-pasting `.cursorrules`. One command syncs your entire AI workspace. |
|
|
32
|
-
| **🛡️ Architects** | Push global engineering standards to every developer's IDE automatically. |
|
|
33
|
-
| **📈 Organizations** | Standardize AI behavior across your company. Ensure every agent "knows" your stack. |
|
|
34
|
-
|
|
35
|
-
### 🔄 CLI Sync Workflow
|
|
36
|
-
|
|
37
|
-
```mermaid
|
|
38
|
-
graph LR
|
|
39
|
-
A[Developers] -- run ags sync --> B[CLI Engine]
|
|
40
|
-
B -- fetch --> C[Cloud Registry]
|
|
41
|
-
C -- deploy --> D[Local IDE Settings]
|
|
42
|
-
D -- power-up --> E[Expert AI Coding]
|
|
19
|
+
```bash
|
|
20
|
+
npx agent-skills-standard sync
|
|
43
21
|
|
|
44
|
-
|
|
22
|
+
- Updated .cursor/skills/ (Cursor)
|
|
23
|
+
- Updated .claude/skills/ (Claude Code)
|
|
24
|
+
- Updated .github/skills/ (Copilot)
|
|
25
|
+
- Generated _INDEX.md for 8 categories.
|
|
26
|
+
- AGENTS.md router index updated.
|
|
45
27
|
```
|
|
46
28
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
## 🛠 The Solution: Digital DNA for AI
|
|
50
|
-
|
|
51
|
-
Modern AI coding agents are powerful, but giant rule files consume **30% - 50% of the AI's memory**, making it less effective. Agent Skills Standard solves this by treating prompt instructions as **versioned dependencies**.
|
|
52
|
-
|
|
53
|
-
- **🎯 Smart Loading**: We use a "Search-on-Demand" pattern. The AI only looks at detailed examples when it specifically needs them, saving its memory for your actual code.
|
|
54
|
-
- **🚀 High-Density Language**: We use a specialized "Compressed Syntax" that is **40% more efficient** than normal English. This means the AI understands more while using fewer resources.
|
|
55
|
-
- **🔁 One-Click Sync**: A single command ensures your AI tool stays up-to-date with your team's latest standards.
|
|
56
|
-
|
|
57
|
-
> [!IMPORTANT]
|
|
58
|
-
> **Context is Currency**: By reducing instruction overhead by **88%**, you free up your AI's memory and budget for complex logic and large codebases.
|
|
29
|
+
The result: your AI agent reads `AGENTS.md`, follows the router to the right category, and loads only the skills that match what you're editing.
|
|
59
30
|
|
|
60
31
|
---
|
|
61
32
|
|
|
62
|
-
##
|
|
63
|
-
|
|
64
|
-
You can run the tool instantly without installing, or install it globally for convenience:
|
|
65
|
-
|
|
66
|
-
```bash
|
|
67
|
-
# Use instantly (Recommended)
|
|
68
|
-
npx agent-skills-standard@latest init
|
|
69
|
-
npx agent-skills-standard@latest sync
|
|
70
|
-
|
|
71
|
-
# Or install globally
|
|
72
|
-
npm install -g agent-skills-standard
|
|
73
|
-
ags sync
|
|
74
|
-
```
|
|
33
|
+
## Commands
|
|
75
34
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
35
|
+
| Command | What it does |
|
|
36
|
+
| :--------- | :--------------------------------------------------------------------------------------------- |
|
|
37
|
+
| `init` | Detects your tech stack (Flutter, React, Go, etc.) and creates a `.skillsrc` config |
|
|
38
|
+
| `sync` | Fetches skills from the registry, writes to agent folders, generates `_INDEX.md` + `AGENTS.md` |
|
|
39
|
+
| `validate` | Checks your custom skills against format and token standards |
|
|
40
|
+
| `feedback` | Submits improvement suggestions to the registry |
|
|
41
|
+
| `upgrade` | Updates the CLI to the latest version |
|
|
82
42
|
|
|
83
43
|
---
|
|
84
44
|
|
|
85
|
-
##
|
|
45
|
+
## Configuration
|
|
86
46
|
|
|
87
|
-
The `.skillsrc` file
|
|
47
|
+
The `.skillsrc` file controls everything:
|
|
88
48
|
|
|
89
49
|
```yaml
|
|
90
50
|
registry: https://github.com/HoangNguyen0403/agent-skills-standard
|
|
91
|
-
agents: [cursor, copilot]
|
|
51
|
+
agents: [cursor, copilot, claude]
|
|
92
52
|
skills:
|
|
93
|
-
|
|
94
|
-
ref:
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
# 🔒 Protect local modifications from being overwritten
|
|
102
|
-
custom_overrides: ['bloc-state-management']
|
|
103
|
-
# 🤖 Optional: Sync workflows to .agent/workflows/
|
|
104
|
-
workflows: true
|
|
53
|
+
react:
|
|
54
|
+
ref: react-v1.3.1
|
|
55
|
+
golang:
|
|
56
|
+
ref: golang-v1.3.1
|
|
57
|
+
exclude: ['golang-tooling'] # skip skills you don't need
|
|
58
|
+
common:
|
|
59
|
+
ref: common-v2.0.1
|
|
60
|
+
custom_overrides: ['common-tdd'] # protect your local edits
|
|
105
61
|
```
|
|
106
62
|
|
|
107
63
|
---
|
|
108
64
|
|
|
109
|
-
##
|
|
65
|
+
## What Gets Generated
|
|
66
|
+
|
|
67
|
+
After `sync`, your project contains:
|
|
110
68
|
|
|
111
|
-
|
|
69
|
+
```bash
|
|
70
|
+
project/
|
|
71
|
+
AGENTS.md # Router table (~20 lines)
|
|
72
|
+
.cursor/skills/
|
|
73
|
+
golang/_INDEX.md # Trigger table for Go skills
|
|
74
|
+
golang/golang-language/SKILL.md # The actual skill
|
|
75
|
+
golang/golang-testing/SKILL.md
|
|
76
|
+
react/_INDEX.md # Trigger table for React skills
|
|
77
|
+
react/react-hooks/SKILL.md
|
|
78
|
+
...
|
|
79
|
+
```
|
|
112
80
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
81
|
+
**`AGENTS.md`** maps file extensions to category indexes.
|
|
82
|
+
**`_INDEX.md`** has two sections: **File Match** (auto-check against your file) and **Keyword Match** (activates when you mention a concept).
|
|
83
|
+
**`SKILL.md`** is the skill itself — loaded on demand, averaging ~500 tokens.
|
|
116
84
|
|
|
117
85
|
---
|
|
118
86
|
|
|
119
|
-
##
|
|
120
|
-
|
|
121
|
-
<details>
|
|
122
|
-
<summary><b>Do I need to install this globally?</b></summary>
|
|
123
|
-
<br>
|
|
124
|
-
We recommend using <code>npx agent-skills-standard sync</code> to always use the latest version without global installation.
|
|
125
|
-
</details>
|
|
87
|
+
## Privacy & Security
|
|
126
88
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
</details>
|
|
89
|
+
- **Text only** — the CLI downloads Markdown and JSON files, never binaries or scripts
|
|
90
|
+
- **No telemetry** — zero data collection, no background processes
|
|
91
|
+
- **Transparent** — fetches from the [public registry](https://github.com/HoangNguyen0403/agent-skills-standard), nothing hidden
|
|
92
|
+
- **Override protection** — `custom_overrides` prevents the CLI from touching your local modifications
|
|
132
93
|
|
|
133
|
-
|
|
94
|
+
---
|
|
134
95
|
|
|
135
|
-
|
|
96
|
+
## Links
|
|
136
97
|
|
|
137
|
-
-
|
|
138
|
-
-
|
|
139
|
-
-
|
|
140
|
-
- **Issues**: [Report a bug](https://github.com/HoangNguyen0403/agent-skills-standard/issues)
|
|
98
|
+
- [Registry & Skills](https://github.com/HoangNguyen0403/agent-skills-standard)
|
|
99
|
+
- [Architecture](./ARCHITECTURE.md)
|
|
100
|
+
- [Report an Issue](https://github.com/HoangNguyen0403/agent-skills-standard/issues)
|
|
141
101
|
|
|
142
102
|
### 📜 Benchmark History
|
|
143
103
|
|
|
144
|
-
| Version | Date
|
|
145
|
-
|
|
|
146
|
-
| v2.0
|
|
147
|
-
| v2.0.
|
|
148
|
-
|
|
|
149
|
-
| v1.10.
|
|
104
|
+
| Version | Date | Skills | Avg Tokens | Savings (%) | Report |
|
|
105
|
+
| --- | --- | --- | --- | --- | --- |
|
|
106
|
+
| v2.1.0 | 2026-04-04 | 237 | 526 | 86% | [Report](benchmarks/archive/v2.1.0.md) |
|
|
107
|
+
| v2.0.1 | 2026-03-30 | 238 | 527 | 86% | [Report](benchmarks/archive/v2.0.1.md) |
|
|
108
|
+
| v2.0.0 | 2026-03-25 | 235 | 523 | 86% | [Report](benchmarks/archive/v2.0.0.md) |
|
|
109
|
+
| v1.10.3 | 2026-03-21 | 234 | 505 | 86% | [Report](benchmarks/archive/v1.10.3.md) |
|
|
110
|
+
| v1.10.1 | 2026-03-16 | 229 | 428 | 88% | [Report](benchmarks/archive/v1.10.1.md) |
|
|
111
|
+
| v1.10.0 | 2026-03-16 | 229 | 434 | 88% | [Report](benchmarks/archive/v1.10.0.md) |
|
|
112
|
+
| v1.9.3 | 2026-03-15 | 229 | 460 | 87% | [Report](benchmarks/archive/v1.9.3.md) |
|
|
113
|
+
| v1.9.2 | 2026-03-07 | 228 | 458 | 87% | [Report](benchmarks/archive/v1.9.2.md) |
|
|
114
|
+
| v1.9.1 | 2026-03-07 | 228 | 458 | 87% | [Report](benchmarks/archive/v1.9.1.md) |
|
|
115
|
+
| v1.9.0 | 2026-03-05 | 228 | 457 | 88% | [Report](benchmarks/archive/v1.9.0.md) |
|
|
116
|
+
| v1.8.0 | 2026-03-02 | 228 | 443 | 88% | [Report](benchmarks/archive/v1.8.0.md) |
|
|
117
|
+
| v1.7.3 | 2026-02-25 | 222 | 418 | 89% | [Report](benchmarks/archive/v1.7.3.md) |
|
|
118
|
+
| v1.7.2 | 2026-02-25 | 220 | 413 | 89% | [Report](benchmarks/archive/v1.7.2.md) |
|