[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DE661PCNDK2767ZAG2F9DM":3,"skill-same:01M6DE661PCNDK2767ZAG2F9DM":71},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":6,"ownerHtmlUrl":54,"ownerBlogUrl":6,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M6DE661PCNDK2767ZAG2F9DM","awm-cli",null,"Use when the user asks to manage MCP servers, skills, or workspace configs for AI coding tools (Claude Code, Cursor, Codex, Copilot CLI, Gemini CLI, Windsurf, GitHub Copilot) using the awm CLI. Triggers on requests to register MCPs, add MCPs\u002Fskills to a project, import configs, or check registry health.","joehom0416\u002Fawm-cli","joehom0416","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1757960?v=4","01M6DE6458515P5G18F9B93CPK","joehom","01M6DE648VTSV0VFH64WV7ME0R",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjoehom0416\u002Fawm-cli\u002Fblob\u002Fmaster\u002Fskills\u002Fawm-cli\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"cli","awm cli","check","MCP","triggers","project","windsurf","manage","ai coding","use","cursor","gemini","workspace","health","registry","code","copilot","github copilot","codex","github","2026-11-10 10:12:30",false,"---\nname: awm-cli\ndescription: Use when the user asks to manage MCP servers, skills, or workspace configs for AI coding tools (Claude Code, Cursor, Codex, Copilot CLI, Gemini CLI, Windsurf, GitHub Copilot) using the awm CLI. Triggers on requests to register MCPs, add MCPs\u002Fskills to a project, import configs, or check registry health.\n---\n\n# AWM — Agent Workspace Manager CLI\n\n## Overview\n\nAWM is a local-first CLI that keeps a central registry of MCP servers and skills at `~\u002F.agent-workspace\u002Fregistry\u002F`, then writes the correct config files into projects for supported AI tools.\n\n**Core pattern:** Register once → add to workspace → auto-applied to all tools.\n\n```\nawm init                           # create .awm.json in project root\nawm mcp add                        # pick MCPs from registry → apply to all tools\nawm skill add                      # pick skills from registry → apply to all tools\n```\n\n---\n\n## RULES — Follow These Before Running Any Command\n\n**ALWAYS ask before acting. Never assume.**\n\n1. **Check existing state first** — Run `awm status` if `.awm.json` exists, and `awm mcp list -g` \u002F `awm skill list -g` to see what's in the registry. Do not recreate things that already exist.\n\n2. **Only add what the user explicitly requested** — If the user says \"add fetch and memory\", add ONLY fetch and memory. Do not add other MCPs or skills, even if they exist in the registry.\n\n3. **Confirm the plan before running** — Before executing any sequence of commands, show the user what you are about to do:\n   ```\n   I will run:\n     awm init                  (creates .awm.json, you pick tools)\n     awm mcp add               (you pick: fetch, memory)\n   Proceed?\n   ```\n\n4. **Run `awm init` only once per project** — It creates `.awm.json`. If it already exists, use `awm status` instead.\n\n5. **`mcp add` and `skill add` auto-apply** — After selection, MCPs and skills are immediately written to all tool config files in the project.\n\n---\n\n## Quick Reference\n\n### Workspace commands\n\n| Command | What it does |\n|---------|-------------|\n| `awm init` | Interactive: pick tools → create `.awm.json` in cwd |\n| `awm status` | Show current project tools, MCPs, skills, lastSync |\n| `awm doctor` | Validate registry + `.awm.json` health |\n\n### MCP commands\n\n| Command | What it does |\n|---------|-------------|\n| `awm mcp register [id]` | Interactive prompt → save MCP to global registry |\n| `awm mcp unregister \u003Cid>` | Remove MCP from global registry |\n| `awm mcp import` | Scan cwd tool config files → register found MCPs |\n| `awm mcp add` | Checkbox from registry → add to `.awm.json` + apply to tools |\n| `awm mcp delete \u003Cid>` | Remove MCP from `.awm.json` + re-apply tools |\n| `awm mcp list` | List MCPs in current workspace |\n| `awm mcp list -g` | List all MCPs in global registry |\n| `awm mcp show \u003Cid>` | Print full MCP definition |\n\n### Skill commands\n\n| Command | What it does |\n|---------|-------------|\n| `awm skill register \u003Cname> --from \u003Cpath>` | Copy dir\u002Ffile into global registry |\n| `awm skill unregister \u003Cname>` | Remove skill from global registry |\n| `awm skill import` | Scan `.claude\u002Fskills\u002F`, `.agents\u002Fskills\u002F` → register found skills |\n| `awm skill add` | Checkbox from registry → add to `.awm.json` + apply to tools |\n| `awm skill delete \u003Cname>` | Remove skill from `.awm.json` |\n| `awm skill list` | List skills in current workspace |\n| `awm skill list -g` | List all skills in global registry |\n| `awm skill show \u003Cname>` | Print SKILL.md |\n\n### Other commands\n\n| Command | What it does |\n|---------|-------------|\n| `awm tool list` | List known tool IDs |\n| `awm tool show \u003Cid>` | Print tool definition JSON |\n| `awm setup [--force]` | Re-seed default MCPs and skills into registry |\n\n---\n\n## Common Workflows\n\n### Set up a new project\n\n```bash\n# 1. Check registry state\nawm mcp list -g\nawm skill list -g\n\n# 2. Initialize workspace (interactive: pick tools)\nawm init\n\n# 3. Add ONLY the MCPs the user requested\nawm mcp add        # checkbox → select fetch, memory (if user asked)\n\n# 4. Add ONLY the skills the user requested\nawm skill add      # checkbox → select awm-cli (if user asked)\n\n# 5. Verify\nawm status\ncat .awm.json\n```\n\n### Register a new MCP from a file\n\nTo register an MCP defined in a JSON file, use `mcp register` interactively, or import existing tool configs:\n\n```bash\nawm mcp import     # scans .mcp.json, .cursor\u002Fmcp.json, .gemini\u002Fsettings.json, etc.\n```\n\n### Register a skill\n\n```bash\n# From a directory (must contain SKILL.md)\nawm skill register clean-arch --from .\u002Fskills\u002Fclean-arch\u002F\n\n# From a single markdown file\nawm skill register tdd --from .\u002FTDD.md\n```\n\n---\n\n## Workspace Config — `.awm.json`\n\nCreated by `awm init` at the project root:\n\n```json\n{\n  \"tools\": [\"claude-code\", \"cursor\", \"windsurf\"],\n  \"mcps\": [\"fetch\", \"memory\"],\n  \"skills\": [\"awm-cli\"],\n  \"lastSync\": \"2026-03-08T12:00:00Z\"\n}\n```\n\n- **`tools`** — which AI tools to write configs for in this project\n- **`mcps`** — MCP IDs from the global registry active in this project\n- **`skills`** — skill names from the global registry active in this project\n- **`lastSync`** — timestamp of last `mcp add` or `skill add` apply\n\n---\n\n## Apply Output by Tool\n\n| Tool | MCP file | Format | Skills |\n|------|----------|--------|--------|\n| `claude-code` | `.mcp.json` | JSON | `.claude\u002Fskills\u002F\u003Cname>\u002F` |\n| `codex` | `.codex\u002Fconfig.toml` | TOML | — |\n| `cursor` | `.cursor\u002Fmcp.json` | JSON | — |\n| `gemini-cli` | `.gemini\u002Fsettings.json` | JSON | — |\n| `github-copilot` | `.vscode\u002Fmcp.json` | JSON (`servers`) | — |\n| `windsurf` | — | — | — |\n| `copilot-cli` | — | — | — |\n\nNotes:\n- **claude-code** is the only tool that supports skills.\n- **Merge-safe writes** — `mcp add` only touches the MCP root key. All other keys in tool config files are preserved.\n- **Env passthrough** — `${env:VAR}` values are written verbatim; the target tool resolves them at runtime.\n\n---\n\n## Default MCPs (pre-installed)\n\n| ID | Command | Notes |\n|----|---------|-------|\n| `github` | `npx -y @modelcontextprotocol\u002Fserver-github` | Needs `GITHUB_TOKEN` env var |\n| `filesystem` | `npx -y @modelcontextprotocol\u002Fserver-filesystem` | Local file access |\n| `memory` | `npx -y @modelcontextprotocol\u002Fserver-memory` | Persistent knowledge graph |\n| `fetch` | `uvx mcp-server-fetch` | Web fetching (requires `uv`) |\n\n---\n\n## Environment Variable Override\n\n```bash\nAWM_REGISTRY=\u002Fpath\u002Fto\u002Fregistry awm mcp list -g\n```\n\nDefault registry: `~\u002F.agent-workspace\u002Fregistry\u002F`\n","# AWM — Agent Workspace Manager CLI\n\n## Overview\n\nAWM is a local-first CLI that keeps a central registry of MCP servers and skills at `~\u002F.agent-workspace\u002Fregistry\u002F`, then writes the correct config files into projects for supported AI tools.\n\n**Core pattern:** Register once → add to workspace → auto-applied to all tools.\n\n```\nawm init                           # create .awm.json in project root\nawm mcp add                        # pick MCPs from registry → apply to all tools\nawm skill add                      # pick skills from registry → apply to all tools\n```\n\n---\n\n## RULES — Follow These Before Running Any Command\n\n**ALWAYS ask before acting. Never assume.**\n\n1. **Check existing state first** — Run `awm status` if `.awm.json` exists, and `awm mcp list -g` \u002F `awm skill list -g` to see what's in the registry. Do not recreate things that already exist.\n\n2. **Only add what the user explicitly requested** — If the user says \"add fetch and memory\", add ONLY fetch and memory. Do not add other MCPs or skills, even if they exist in the registry.\n\n3. **Confirm the plan before running** — Before executing any sequence of commands, show the user what you are about to do:\n   ```\n   I will run:\n     awm init                  (creates .awm.json, you pick tools)\n     awm mcp add               (you pick: fetch, memory)\n   Proceed?\n   ```\n\n4. **Run `awm init` only once per project** — It creates `.awm.json`. If it already exists, use `awm status` instead.\n\n5. **`mcp add` and `skill add` auto-apply** — After selection, MCPs and skills are immediately written to all tool config files in the project.\n\n---\n\n## Quick Reference\n\n### Workspace commands\n\n| Command | What it does |\n|---------|-------------|\n| `awm init` | Interactive: pick tools → create `.awm.json` in cwd |\n| `awm status` | Show current project tools, MCPs, skills, lastSync |\n| `awm doctor` | Validate registry + `.awm.json` health |\n\n### MCP commands\n\n| Command | What it does |\n|---------|-------------|\n| `awm mcp register [id]` | Interactive prompt → save MCP to global registry |\n| `awm mcp unregister \u003Cid>` | Remove MCP from global registry |\n| `awm mcp import` | Scan cwd tool config files → register found MCPs |\n| `awm mcp add` | Checkbox from registry → add to `.awm.json` + apply to tools |\n| `awm mcp delete \u003Cid>` | Remove MCP from `.awm.json` + re-apply tools |\n| `awm mcp list` | List MCPs in current workspace |\n| `awm mcp list -g` | List all MCPs in global registry |\n| `awm mcp show \u003Cid>` | Print full MCP definition |\n\n### Skill commands\n\n| Command | What it does |\n|---------|-------------|\n| `awm skill register \u003Cname> --from \u003Cpath>` | Copy dir\u002Ffile into global registry |\n| `awm skill unregister \u003Cname>` | Remove skill from global registry |\n| `awm skill import` | Scan `.claude\u002Fskills\u002F`, `.agents\u002Fskills\u002F` → register found skills |\n| `awm skill add` | Checkbox from registry → add to `.awm.json` + apply to tools |\n| `awm skill delete \u003Cname>` | Remove skill from `.awm.json` |\n| `awm skill list` | List skills in current workspace |\n| `awm skill list -g` | List all skills in global registry |\n| `awm skill show \u003Cname>` | Print SKILL.md |\n\n### Other commands\n\n| Command | What it does |\n|---------|-------------|\n| `awm tool list` | List known tool IDs |\n| `awm tool show \u003Cid>` | Print tool definition JSON |\n| `awm setup [--force]` | Re-seed default MCPs and skills into registry |\n\n---\n\n## Common Workflows\n\n### Set up a new project\n\n```bash\n# 1. Check registry state\nawm mcp list -g\nawm skill list -g\n\n# 2. Initialize workspace (interactive: pick tools)\nawm init\n\n# 3. Add ONLY the MCPs the user requested\nawm mcp add        # checkbox → select fetch, memory (if user asked)\n\n# 4. Add ONLY the skills the user requested\nawm skill add      # checkbox → select awm-cli (if user asked)\n\n# 5. Verify\nawm status\ncat .awm.json\n```\n\n### Register a new MCP from a file\n\nTo register an MCP defined in a JSON file, use `mcp register` interactively, or import existing tool configs:\n\n```bash\nawm mcp import     # scans .mcp.json, .cursor\u002Fmcp.json, .gemini\u002Fsettings.json, etc.\n```\n\n### Register a skill\n\n```bash\n# From a directory (must contain SKILL.md)\nawm skill register clean-arch --from .\u002Fskills\u002Fclean-arch\u002F\n\n# From a single markdown file\nawm skill register tdd --from .\u002FTDD.md\n```\n\n---\n\n## Workspace Config — `.awm.json`\n\nCreated by `awm init` at the project root:\n\n```json\n{\n  \"tools\": [\"claude-code\", \"cursor\", \"windsurf\"],\n  \"mcps\": [\"fetch\", \"memory\"],\n  \"skills\": [\"awm-cli\"],\n  \"lastSync\": \"2026-03-08T12:00:00Z\"\n}\n```\n\n- **`tools`** — which AI tools to write configs for in this project\n- **`mcps`** — MCP IDs from the global registry active in this project\n- **`skills`** — skill names from the global registry active in this project\n- **`lastSync`** — timestamp of last `mcp add` or `skill add` apply\n\n---\n\n## Apply Output by Tool\n\n| Tool | MCP file | Format | Skills |\n|------|----------|--------|--------|\n| `claude-code` | `.mcp.json` | JSON | `.claude\u002Fskills\u002F\u003Cname>\u002F` |\n| `codex` | `.codex\u002Fconfig.toml` | TOML | — |\n| `cursor` | `.cursor\u002Fmcp.json` | JSON | — |\n| `gemini-cli` | `.gemini\u002Fsettings.json` | JSON | — |\n| `github-copilot` | `.vscode\u002Fmcp.json` | JSON (`servers`) | — |\n| `windsurf` | — | — | — |\n| `copilot-cli` | — | — | — |\n\nNotes:\n- **claude-code** is the only tool that supports skills.\n- **Merge-safe writes** — `mcp add` only touches the MCP root key. All other keys in tool config files are preserved.\n- **Env passthrough** — `${env:VAR}` values are written verbatim; the target tool resolves them at runtime.\n\n---\n\n## Default MCPs (pre-installed)\n\n| ID | Command | Notes |\n|----|---------|-------|\n| `github` | `npx -y @modelcontextprotocol\u002Fserver-github` | Needs `GITHUB_TOKEN` env var |\n| `filesystem` | `npx -y @modelcontextprotocol\u002Fserver-filesystem` | Local file access |\n| `memory` | `npx -y @modelcontextprotocol\u002Fserver-memory` | Persistent knowledge graph |\n| `fetch` | `uvx mcp-server-fetch` | Web fetching (requires `uv`) |\n\n---\n\n## Environment Variable Override\n\n```bash\nAWM_REGISTRY=\u002Fpath\u002Fto\u002Fregistry awm mcp list -g\n```\n\nDefault registry: `~\u002F.agent-workspace\u002Fregistry\u002F`\n",{"name":5,"description":7},"master","5eaa4963e4659c0855041cdbb06b12d6561680c7","skills\u002Fawm-cli",0,"https:\u002F\u002Fgithub.com\u002Fjoehom0416\u002Fawm-cli","https:\u002F\u002Fgithub.com\u002Fjoehom0416","💻 Full-Stack Developer & Software Architect  \r\n⚡ C# | React | Angular  \r\n🚀 Building Micro-SaaS solutions. ","2026-03-12 22:54:06",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add joehom0416\u002Fawm-cli --skill awm-cli",{"tool":63,"command":64},"bunx","bunx skills add joehom0416\u002Fawm-cli --skill awm-cli",{"tool":66,"command":67},"pnpm","pnpm dlx skills add joehom0416\u002Fawm-cli --skill awm-cli","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjoehom0416\u002Fawm-cli\u002Fblob\u002Fmaster\u002Fskills\u002Fawm-cli\u002FSKILL.md",true,[],[72,84],{"skillNo":73,"name":74,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":81,"publishedAt":44},"01M6DE6BP2FDHXH886HR7P49MS","test-skill","https:\u002F\u002Fgithub.com\u002Fjoehom0416\u002Fawm-cli\u002Fblob\u002Fmaster\u002Ftest-fixtures\u002Ftest-skill\u002FSKILL.md",[77,80],{"categoryNo":78,"categoryName":79,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[82,83],"Test Skill","test",{"skillNo":85,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":89,"publishedAt":44},"01M6DE68K4JKEWVPD4HG6XYT8D","https:\u002F\u002Fgithub.com\u002Fjoehom0416\u002Fawm-cli\u002Fblob\u002Fmaster\u002Fsrc\u002Fdefaults\u002Fskills\u002Fawm-cli\u002FSKILL.md",[88],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[24,25,33,27,35,43,28,29,30,31,32,42,34,26,36,37,38,39,40,41]]