agentbrew 0.1.0 → 0.2.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/LICENSE CHANGED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Filip Ivanishchev
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,11 +1,31 @@
1
1
  # agentbrew
2
2
 
3
- One source of truth for AI coding agent config. Sync skills, MCP servers, rules, and commands across **42 agents** — Claude Code, Cursor, Windsurf, Augment, Codex, Gemini CLI, Copilot, OpenCode, Kiro, Amp, Trae, Junie, Continue, Warp, and more.
3
+ [![npm version](https://img.shields.io/npm/v/agentbrew.svg)](https://www.npmjs.com/package/agentbrew)
4
+ [![license](https://img.shields.io/npm/l/agentbrew.svg)](LICENSE)
5
+
6
+ One config, every agent. Sync skills, MCP servers, rules, and commands across **42 AI coding agents** — Claude Code, Cursor, Windsurf, Augment, Codex, Gemini CLI, Copilot, OpenCode, Kiro, Amp, Trae, Junie, Continue, Warp, and more.
7
+
8
+ ```bash
9
+ npx agentbrew init
10
+ ```
11
+
12
+ ## Installation
13
+
14
+ **One-liner** (no install needed):
4
15
 
5
16
  ```bash
6
17
  npx agentbrew init
7
18
  ```
8
19
 
20
+ **Global install** (faster repeated usage):
21
+
22
+ ```bash
23
+ npm install -g agentbrew
24
+ agentbrew init
25
+ ```
26
+
27
+ Package: [npmjs.com/package/agentbrew](https://www.npmjs.com/package/agentbrew)
28
+
9
29
  ## The Problem
10
30
 
11
31
  Every AI coding agent wants its own config — `CLAUDE.md`, Cursor rules, Windsurf workflows, MCP server JSON, slash commands. When you use 2–4 agents (most developers do), keeping them in sync is manual, error-prone, and nobody's job. Config drifts silently.
@@ -13,13 +33,13 @@ Every AI coding agent wants its own config — `CLAUDE.md`, Cursor rules, Windsu
13
33
  ## What AgentBrew Does
14
34
 
15
35
  1. **Detects** your installed agents and discovers existing config
16
- 2. **Syncs** MCP servers, rules, and commands to every agent in its native format
36
+ 2. **Syncs** MCP servers, rules, commands, and skills to every agent in its native format
17
37
  3. **Repairs** drift automatically — a LaunchAgent checks every 30 minutes, with macOS notifications
18
- 4. **Catalogs** 51 curated skills, 11 MCP servers, 4 rule sets — install with one command
38
+ 4. **Catalogs** 67 curated skills, 11 MCP servers, 4 rule sets — install with one command
19
39
  5. **Sources** any GitHub repo or local folder as a skill source
20
- 6. **Dashboards** — web GUI and full-screen TUI for visual management
21
-
22
- No other tool combines sync + drift repair + catalog + dashboard + sources in one CLI.
40
+ 6. **Dashboards** — web GUI (with catalog detail panels) and full-screen TUI
41
+ 7. **Portable** — export your entire config as a YAML/JSON bundle, import on another machine
42
+ 8. **Observable** stats command shows sync history, drift breakdown, and health sparklines
23
43
 
24
44
  ## Quick Start
25
45
 
@@ -48,14 +68,19 @@ agentbrew check [--no-fix] [--ci] Detect drift, broken symlinks, skill valid
48
68
  agentbrew doctor Alias for check
49
69
  agentbrew fix Force re-sync everything (all 6 modules)
50
70
  agentbrew diff Preview what sync would change (all 6 modules)
71
+ agentbrew publish <skill> [--dry-run] Validate, package, and publish a skill to registries
72
+ agentbrew package <skill> [--dry-run] Wrap a skill into an npm-publishable package (Agent Skills standard)
51
73
  agentbrew update Pull latest from all sources, re-sync
52
74
  agentbrew log [-n N] View sync and drift history
53
75
  agentbrew backup Snapshot current state
54
76
  agentbrew rollback Revert to last snapshot
77
+ agentbrew stats Show sync history, drift, agents, MCP servers, and health
78
+ agentbrew export [-o file] [--json] Export config as portable YAML/JSON bundle
79
+ agentbrew import --bundle <file> Import from an export bundle (--replace to overwrite, --dry-run to preview)
55
80
  agentbrew discover Scan for unknown agents
56
81
  agentbrew lock Generate lock file with SHA pins
57
82
  agentbrew lock --verify Verify lock file integrity
58
- agentbrew gui [-p PORT] [--no-open] Web dashboard with live health, sync, and fix (localhost:3141)
83
+ agentbrew gui [-p PORT] [--no-open] Web dashboard with health, sync, fix, and catalog browser (localhost:3141)
59
84
  agentbrew dashboard Alias for gui
60
85
  agentbrew tui Full-screen terminal dashboard
61
86
  ```
@@ -97,7 +122,7 @@ agentbrew remove-source <url> Stop tracking a source
97
122
  ### MCP Servers
98
123
 
99
124
  ```
100
- agentbrew mcp list Show registered servers
125
+ agentbrew mcp list [--json] Show registered servers
101
126
  agentbrew mcp add <name> -c <cmd> [-a args...] [-e KEY=VAL...]
102
127
  agentbrew mcp remove <name> Remove from state + all agents
103
128
  agentbrew mcp sync Deploy to all agents
@@ -167,8 +192,8 @@ agentbrew auto-sync status Show auto-repair status
167
192
  ### Skills
168
193
 
169
194
  ```
170
- agentbrew skill List all skills grouped by source
171
- agentbrew skill <name> Show full info: metadata, capabilities, security, content
195
+ agentbrew skill [--json] List all skills grouped by source
196
+ agentbrew skill <name> [--json] Show full info: metadata, capabilities, security, content
172
197
  agentbrew capabilities <skill> List capabilities for a skill
173
198
  agentbrew capabilities enable <skill> <cap> Enable a capability
174
199
  agentbrew capabilities disable <skill> <cap> Disable a capability
@@ -256,7 +281,7 @@ Gemini CLI, Copilot, Trae, Trae CN, Junie, Continue, Warp, Antigravity, Qwen Cod
256
281
 
257
282
  ## Catalog
258
283
 
259
- 51 skills, 11 MCP servers, 4 rule sets — curated from [Vercel](https://github.com/vercel-labs/skills), [Anthropic](https://github.com/anthropics/skills), [obra/superpowers](https://github.com/obra/superpowers), [Supabase](https://github.com/supabase/agent-skills), [Trail of Bits](https://github.com/trailofbits/skills), [actionbook](https://github.com/actionbook/actionbook), [tasks.md](https://github.com/tasksmd/tasks.md), and more. ★ = installed with `--recommended`.
284
+ 67 skills, 11 MCP servers, 4 rule sets — curated from [Vercel](https://github.com/vercel-labs/skills), [Anthropic](https://github.com/anthropics/skills), [obra/superpowers](https://github.com/obra/superpowers), [Supabase](https://github.com/supabase/agent-skills), [Trail of Bits](https://github.com/trailofbits/skills), [actionbook](https://github.com/actionbook/actionbook), [tasks.md](https://github.com/tasksmd/tasks.md), and more. ★ = installed with `--recommended`.
260
285
 
261
286
  **Skills**
262
287
 
@@ -265,6 +290,7 @@ Gemini CLI, Copilot, Trae, Trae CN, Junie, Continue, Warp, Antigravity, Qwen Cod
265
290
  | ★ Recommended (15) | find-skills, debug, plan, commit, review, taste, react-best-practices, web-design-guidelines, frontend-design, mcp-builder, skill-creator, next-task, agent-browser, project-audit, refactor |
266
291
  | Strong (20) | pr, pr-fix, pr-comments, composition-patterns, fix-styles, screenshot, actionbook, doc-check, rfc, rfc-iterate, rfc-review, jira, jira-task, github-actions-debugging, cursor-bg, research-url, markdown-for-gdoc, webapp-testing, shadcn, next-best-practices |
267
292
  | Specialized (16) | postgres-best-practices, playwright-best-practices, react-native-guidelines, remotion-best-practices, sync-agent-config, subagent-driven-development, executing-plans, search, static-analysis, supply-chain-risk-auditor, property-based-testing, security-best-practices, better-auth-best-practices, dotfiles-development, dotfiles-new-module, dotfiles-doctor-debug |
293
+ | Orchestration (16) | bosun, pipeline-ops, rescue-pipeline, inspect-and-heal-pipelines, orchestrator-researcher, orchestrator-alternatives-analyst, orchestrator-manager, orchestrator-developer, orchestrator-qa-engineer, orchestrator-reviewer, orchestrator-user, orchestrator-pipeline-runner, orchestrator-agent-improver, orchestrator-growth-hacker, orchestrator-indie-hacker, orchestrator-strategist |
268
294
 
269
295
  **MCP Servers**: context7 ★, playwright ★, tasks-mcp ★, github, filesystem, sentry, postgres, brave-search, notion, sequential-thinking, memory
270
296
 
@@ -286,12 +312,10 @@ All state lives in `~/.config/agentbrew/state.yaml` — detected agents, registe
286
312
 
287
313
  See [TASKS.md](TASKS.md) for the prioritized backlog.
288
314
 
289
- **Completed**: Web dashboard (GUI + TUI), tasks.md integration, auto-sync on all mutations, drift pre-fix reporting, macOS repair notifications, online catalog, team config, browsable web catalog, usage analytics, parallel sync, JSONC/TOML config support, GitHub Actions / CI integration, AgentAdapter pattern, pure diff/IO separation, MCP server sharing, skill patch system, per-project manifests, multi-registry search, structured error handling, security risk scoring, lock file with SHA pinning, per-project MCP configs, auth for remote MCP servers, format conversion for commands, automated agent discovery, feature flags / skill capabilities, skill preview / render
315
+ **Completed**: Agent Skills packaging (`package` command for npm-publishable skill packages), skill marketplace (`publish` command with mdskills.ai + GitHub targets), config export/import (`export` / `import --bundle`), `stats` command with sparkline charts, GUI catalog detail panel with SKILL.md rendering + MCP server detail, web dashboard (GUI + TUI) with catalog browser + install/remove, tasks.md integration, auto-sync on all mutations, drift pre-fix reporting, macOS repair notifications, online catalog, team config, browsable web catalog, usage analytics, parallel sync, JSONC/TOML config support, GitHub Actions / CI integration, AgentAdapter pattern, pure diff/IO separation, MCP server sharing, skill patch system, per-project manifests, multi-registry search, structured error handling, security risk scoring, lock file with SHA pinning, per-project MCP configs, auth for remote MCP servers, format conversion for commands, automated agent discovery, feature flags / skill capabilities, skill preview / render, JSON output flag for CLI commands, self-upgrade command
290
316
 
291
317
  See [docs/COMPETITION.md](docs/COMPETITION.md) for competitive analysis vs MCPM, vsync, mdskills.ai.
292
318
 
293
- > **Note**: The npm package is `agentbrew` (with hyphen). The CLI command is `agentbrew` (no hyphen) for ergonomics. Both `agentbrew` and `agentbrew` work as commands.
294
-
295
319
  ## Contributing
296
320
 
297
321
  Want to add a skill, MCP server, or rule to the catalog? See [CONTRIBUTING.md](CONTRIBUTING.md).
@@ -301,7 +325,7 @@ Want to add a skill, MCP server, or rule to the catalog? See [CONTRIBUTING.md](C
301
325
  ```bash
302
326
  npm install
303
327
  npm run dev -- status # run CLI in dev mode
304
- npm test # vitest (69 test files, 1260 tests)
328
+ npm test # vitest (78 test files, 1516 tests)
305
329
  npm publish --access public # publish to npm
306
330
  npm run generate:catalog-html # build browsable catalog → docs/catalog/
307
331
  npm run typecheck # tsc --noEmit
package/dist/agents.yaml CHANGED
@@ -0,0 +1,173 @@
1
+ # Agent definitions — loaded at runtime by agents.ts
2
+ # Adding a new agent is a YAML edit, no code change or rebuild needed.
3
+ #
4
+ # Fields:
5
+ # name (required): agent identifier
6
+ # skillsDir (required): path to skills directory (~ expanded at runtime)
7
+ # mcpConfig: path to MCP server config file
8
+ # mcpKey: JSON key for servers object (default: "mcpServers")
9
+ # mcpFormat: config file format — json (default), yaml, toml
10
+ # mcpConfigVscodeExt: { extensionId, filename } — computed via vscodeExtConfigPath
11
+ # rulesFile: path to shared rules file
12
+ # commandsDir: path to commands directory
13
+ # agentsDir: path to agents directory
14
+ # commandTransform: transform key — "cursor" or "windsurf"
15
+
16
+ - name: claude-code
17
+ skillsDir: ~/.claude/skills
18
+ mcpConfig: ~/.claude.json
19
+ rulesFile: ~/.claude/CLAUDE.md
20
+ commandsDir: ~/.claude/commands
21
+ agentsDir: ~/.claude/agents
22
+
23
+ - name: cursor
24
+ skillsDir: ~/.cursor/skills
25
+ mcpConfig: ~/.cursor/mcp.json
26
+ commandsDir: ~/.cursor/commands
27
+ commandTransform: cursor
28
+
29
+ - name: windsurf
30
+ skillsDir: ~/.codeium/windsurf/skills
31
+ mcpConfig: ~/.codeium/mcp_config.json
32
+ rulesFile: ~/.codeium/windsurf/memories/global_rules.md
33
+ commandsDir: ~/.codeium/windsurf/global_workflows
34
+ commandTransform: windsurf
35
+
36
+ - name: augment
37
+ skillsDir: ~/.augment/skills
38
+ rulesFile: ~/.augment/guidelines.md
39
+
40
+ - name: codex
41
+ skillsDir: ~/.codex/skills
42
+ mcpConfig: ~/.codex/config.toml
43
+ mcpFormat: toml
44
+ rulesFile: ~/.codex/AGENTS.md
45
+
46
+ - name: gemini-cli
47
+ skillsDir: ~/.gemini/skills
48
+ commandsDir: ~/.gemini/commands
49
+ commandTransform: gemini
50
+ commandFileExt: .toml
51
+
52
+ - name: copilot
53
+ skillsDir: ~/.copilot/skills
54
+
55
+ - name: opencode
56
+ skillsDir: ~/.config/opencode/skills
57
+ mcpConfig: ~/.config/opencode/opencode.json
58
+ mcpKey: mcp
59
+ commandsDir: ~/.config/opencode/commands
60
+
61
+ - name: kiro
62
+ skillsDir: ~/.kiro/skills
63
+ mcpConfig: ~/.kiro/settings/mcp.json
64
+
65
+ - name: amp
66
+ skillsDir: ~/.config/amp/skills
67
+ mcpConfig: ~/.config/amp/settings.json
68
+ mcpKey: amp.mcpServers
69
+
70
+ - name: goose
71
+ skillsDir: ~/.config/goose/skills
72
+ mcpConfig: ~/.config/goose/config.yaml
73
+ mcpKey: extensions
74
+ mcpFormat: yaml
75
+
76
+ - name: cline
77
+ skillsDir: ~/.cline/skills
78
+ mcpConfigVscodeExt:
79
+ extensionId: saoudrizwan.claude-dev
80
+ filename: cline_mcp_settings.json
81
+
82
+ - name: roo-code
83
+ skillsDir: ~/.roo/skills
84
+ mcpConfigVscodeExt:
85
+ extensionId: rooveterinaryinc.roo-cline
86
+ filename: cline_mcp_settings.json
87
+
88
+ - name: trae
89
+ skillsDir: ~/.trae/skills
90
+
91
+ - name: junie
92
+ skillsDir: ~/.junie/skills
93
+
94
+ - name: continue
95
+ skillsDir: ~/.continue/skills
96
+
97
+ - name: warp
98
+ skillsDir: ~/.agents/skills
99
+
100
+ - name: antigravity
101
+ skillsDir: ~/.gemini/antigravity/skills
102
+
103
+ - name: qwen-code
104
+ skillsDir: ~/.qwen/skills
105
+
106
+ - name: openhands
107
+ skillsDir: ~/.openhands/skills
108
+
109
+ - name: kilo
110
+ skillsDir: ~/.kilocode/skills
111
+
112
+ - name: droid
113
+ skillsDir: ~/.factory/skills
114
+
115
+ - name: openclaw
116
+ skillsDir: ~/.openclaw/skills
117
+
118
+ - name: pi
119
+ skillsDir: ~/.pi/agent/skills
120
+
121
+ - name: crush
122
+ skillsDir: ~/.config/crush/skills
123
+
124
+ - name: kode
125
+ skillsDir: ~/.kode/skills
126
+
127
+ - name: qoder
128
+ skillsDir: ~/.qoder/skills
129
+
130
+ - name: zencoder
131
+ skillsDir: ~/.zencoder/skills
132
+
133
+ - name: cortex
134
+ skillsDir: ~/.snowflake/cortex/skills
135
+
136
+ - name: mistral-vibe
137
+ skillsDir: ~/.vibe/skills
138
+
139
+ - name: mux
140
+ skillsDir: ~/.mux/skills
141
+
142
+ - name: codebuddy
143
+ skillsDir: ~/.codebuddy/skills
144
+
145
+ - name: kimi-cli
146
+ skillsDir: ~/.config/agents/skills
147
+
148
+ - name: replit
149
+ skillsDir: ~/.config/agents/skills
150
+
151
+ - name: universal
152
+ skillsDir: ~/.config/agents/skills
153
+
154
+ - name: command-code
155
+ skillsDir: ~/.commandcode/skills
156
+
157
+ - name: iflow-cli
158
+ skillsDir: ~/.iflow/skills
159
+
160
+ - name: mcpjam
161
+ skillsDir: ~/.mcpjam/skills
162
+
163
+ - name: trae-cn
164
+ skillsDir: ~/.trae-cn/skills
165
+
166
+ - name: neovate
167
+ skillsDir: ~/.neovate/skills
168
+
169
+ - name: pochi
170
+ skillsDir: ~/.pochi/skills
171
+
172
+ - name: adal
173
+ skillsDir: ~/.adal/skills