[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ABKQ09M4QB29XJ0EDXXCFD":3,"skill-same:01M7ABKQ09M4QB29XJ0EDXXCFD":61},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7ABKQ09M4QB29XJ0EDXXCFD","agent-workspace-init",null,"Initialize or extend a tool-agnostic agent workspace at any repository depth. Discovers current layout state, asks which coding agents to configure from a known list, then bootstraps, adopts, migrates, extends clients, or adds a skill\u002Fagent\u002Frule\u002Ftool\u002Fdoc under .agents\u002F with thin client adapters. Use when creating AGENTS.md and .agents\u002F, migrating duplicated client folders, or adding artifacts without copying into .claude or .cursor.","karthikbedre\u002Fai-agent-engineering","karthikbedre","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F4627542?v=4","01M7ABK46TCDBMSM42Z4EDAE9S","01M7ABK47FT9VGHHG88PFR0Y5Q",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fkarthikbedre\u002Fai-agent-engineering\u002Fblob\u002Fmain\u002Fplugins\u002Fagent-workspace\u002Fskills\u002Fagent-workspace-init\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: agent-workspace-init\ndescription: Initialize or extend a tool-agnostic agent workspace at any repository depth. Discovers current layout state, asks which coding agents to configure from a known list, then bootstraps, adopts, migrates, extends clients, or adds a skill\u002Fagent\u002Frule\u002Ftool\u002Fdoc under .agents\u002F with thin client adapters. Use when creating AGENTS.md and .agents\u002F, migrating duplicated client folders, or adding artifacts without copying into .claude or .cursor.\n---\n\n# Agent workspace init\n\n## Goal\n\nMake a chosen directory a maintainable tool-agnostic agent workspace (or extend an existing one): one canonical `AGENTS.md` + `.agents\u002F` tree, thin client adapters, no duplicated skill\u002Fagent\u002Frule bodies under vendor folders.\n\n## Required reading\n\n1. [mapping.md](references\u002Fmapping.md)\n2. [clients.md](references\u002Fclients.md)\n3. [modes.md](references\u002Fmodes.md)\n4. [templates.md](references\u002Ftemplates.md)\n\n## Checkpoints before writes\n\n1. Resolve **workspace root** (user path or ask). Default: git top-level of the current working directory.\n2. Detect git top-level vs workspace root. If nested, note **DiscoveryRisk** for non-MCP adapters (see clients.md).\n3. Inventory: `AGENTS.md`, `.agents\u002F**`, `.claude\u002F**`, `.cursor\u002F**`, `.codex\u002F**`, and sibling workspace candidates under the git root. Also inventory **git-root** `.mcp.json`, `.cursor\u002Fmcp.json`, and `.codex\u002Fconfig.toml`.\n4. Classify state: `empty` | `guidance-only` | `partial` | `healthy` | `conflicted` ([modes.md](references\u002Fmodes.md)).\n5. Ask which clients to configure from the known catalog (multiselect). Default: `claude-code`, `cursor`, `codex`.\n6. Ask whether shared MCP JSON is wanted (`mcp.jsonShared`). MCP discovery files always land at the **git repository root**, even when the workspace root is nested.\n7. Select mode: `bootstrap` | `adopt` | `migrate` | `extend-clients` | `add-artifact`. Confirm with the user when migrating\u002Fadopting or when state is conflicted.\n8. Present a short file plan (create \u002F link \u002F move). Wait for confirmation before destructive moves.\n9. Apply changes. Write `.agents\u002Fworkspace.json` for selected clients and MCP flag. Create skills\u002Fagents\u002Frules adapters at the workspace root; create or update MCP discovery only under the git repository root.\n10. Copy or refresh `.agents\u002Ftools\u002Fverify-agent-workspace.sh` from this plugin’s `scripts\u002Fverify-agent-workspace.sh`.\n11. Run:\n\n```sh\nbash .agents\u002Ftools\u002Fverify-agent-workspace.sh .\n```\n\n(from the workspace root). Fix failures before finishing.\n12. Hand off: run skill `agent-workspace-audit` on the same path.\n\n## Must refuse\n\n- Writing skill, agent, or rule **bodies** into `.claude\u002F` or `.cursor\u002F` (symlinks and native settings only).\n- Symlinking settings files (for example `.claude\u002Fsettings.json`).\n- Placing `.mcp.json`, `.cursor\u002Fmcp.json`, or `.codex\u002Fconfig.toml` under a nested workspace root.\n- Claiming Windows symlink support.\n- Inventing undocumented Tier A adapters for Tier B\u002Fcustom clients.\n- Silent deletes during adopt\u002Fmigrate.\n\n## add-artifact\n\nAsk which kind: skill package, agent role (`.md` + `.toml` if `codex` selected), rule pair, tool script, or doc. Create only under `.agents\u002F`. Update contributing docs if a new category appears. Refuse if the name already exists unless the user asked to overwrite.\n\n## Done when\n\nVerify script passes for the selected clients, `workspace.json` matches the choice, DiscoveryRisk (if any) is reported, and the user is pointed at `agent-workspace-audit`.\n","# Agent workspace init\n\n## Goal\n\nMake a chosen directory a maintainable tool-agnostic agent workspace (or extend an existing one): one canonical `AGENTS.md` + `.agents\u002F` tree, thin client adapters, no duplicated skill\u002Fagent\u002Frule bodies under vendor folders.\n\n## Required reading\n\n1. [mapping.md](references\u002Fmapping.md)\n2. [clients.md](references\u002Fclients.md)\n3. [modes.md](references\u002Fmodes.md)\n4. [templates.md](references\u002Ftemplates.md)\n\n## Checkpoints before writes\n\n1. Resolve **workspace root** (user path or ask). Default: git top-level of the current working directory.\n2. Detect git top-level vs workspace root. If nested, note **DiscoveryRisk** for non-MCP adapters (see clients.md).\n3. Inventory: `AGENTS.md`, `.agents\u002F**`, `.claude\u002F**`, `.cursor\u002F**`, `.codex\u002F**`, and sibling workspace candidates under the git root. Also inventory **git-root** `.mcp.json`, `.cursor\u002Fmcp.json`, and `.codex\u002Fconfig.toml`.\n4. Classify state: `empty` | `guidance-only` | `partial` | `healthy` | `conflicted` ([modes.md](references\u002Fmodes.md)).\n5. Ask which clients to configure from the known catalog (multiselect). Default: `claude-code`, `cursor`, `codex`.\n6. Ask whether shared MCP JSON is wanted (`mcp.jsonShared`). MCP discovery files always land at the **git repository root**, even when the workspace root is nested.\n7. Select mode: `bootstrap` | `adopt` | `migrate` | `extend-clients` | `add-artifact`. Confirm with the user when migrating\u002Fadopting or when state is conflicted.\n8. Present a short file plan (create \u002F link \u002F move). Wait for confirmation before destructive moves.\n9. Apply changes. Write `.agents\u002Fworkspace.json` for selected clients and MCP flag. Create skills\u002Fagents\u002Frules adapters at the workspace root; create or update MCP discovery only under the git repository root.\n10. Copy or refresh `.agents\u002Ftools\u002Fverify-agent-workspace.sh` from this plugin’s `scripts\u002Fverify-agent-workspace.sh`.\n11. Run:\n\n```sh\nbash .agents\u002Ftools\u002Fverify-agent-workspace.sh .\n```\n\n(from the workspace root). Fix failures before finishing.\n12. Hand off: run skill `agent-workspace-audit` on the same path.\n\n## Must refuse\n\n- Writing skill, agent, or rule **bodies** into `.claude\u002F` or `.cursor\u002F` (symlinks and native settings only).\n- Symlinking settings files (for example `.claude\u002Fsettings.json`).\n- Placing `.mcp.json`, `.cursor\u002Fmcp.json`, or `.codex\u002Fconfig.toml` under a nested workspace root.\n- Claiming Windows symlink support.\n- Inventing undocumented Tier A adapters for Tier B\u002Fcustom clients.\n- Silent deletes during adopt\u002Fmigrate.\n\n## add-artifact\n\nAsk which kind: skill package, agent role (`.md` + `.toml` if `codex` selected), rule pair, tool script, or doc. Create only under `.agents\u002F`. Update contributing docs if a new category appears. Refuse if the name already exists unless the user asked to overwrite.\n\n## Done when\n\nVerify script passes for the selected clients, `workspace.json` matches the choice, DiscoveryRisk (if any) is reported, and the user is pointed at `agent-workspace-audit`.\n",{"name":5,"description":7},"main","8448c4b3db186438ca460729c64e69a9d749d0e1","plugins\u002Fagent-workspace\u002Fskills\u002Fagent-workspace-init","https:\u002F\u002Fgithub.com\u002Fkarthikbedre\u002Fai-agent-engineering","https:\u002F\u002Fgithub.com\u002Fkarthikbedre","2026-08-24 09:10:17",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add karthikbedre\u002Fai-agent-engineering --skill agent-workspace-init",{"tool":35,"command":36},"bunx","bunx skills add karthikbedre\u002Fai-agent-engineering --skill agent-workspace-init",{"tool":38,"command":39},"pnpm","pnpm dlx skills add karthikbedre\u002Fai-agent-engineering --skill agent-workspace-init","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkarthikbedre\u002Fai-agent-engineering\u002Fblob\u002Fmain\u002Fplugins\u002Fagent-workspace\u002Fskills\u002Fagent-workspace-init\u002FSKILL.md",true,[43,49,53,57],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"references\u002Fclients.md","REFERENCE","参考文档",1989,"https:\u002F\u002Fgithub.com\u002Fkarthikbedre\u002Fai-agent-engineering\u002Fblob\u002Fmain\u002Fplugins\u002Fagent-workspace\u002Fskills\u002Fagent-workspace-init\u002Freferences\u002Fclients.md",{"path":50,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fmapping.md",3370,"https:\u002F\u002Fgithub.com\u002Fkarthikbedre\u002Fai-agent-engineering\u002Fblob\u002Fmain\u002Fplugins\u002Fagent-workspace\u002Fskills\u002Fagent-workspace-init\u002Freferences\u002Fmapping.md",{"path":54,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fmodes.md",1570,"https:\u002F\u002Fgithub.com\u002Fkarthikbedre\u002Fai-agent-engineering\u002Fblob\u002Fmain\u002Fplugins\u002Fagent-workspace\u002Fskills\u002Fagent-workspace-init\u002Freferences\u002Fmodes.md",{"path":58,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Ftemplates.md",1370,"https:\u002F\u002Fgithub.com\u002Fkarthikbedre\u002Fai-agent-engineering\u002Fblob\u002Fmain\u002Fplugins\u002Fagent-workspace\u002Fskills\u002Fagent-workspace-init\u002Freferences\u002Ftemplates.md",[62,69,76,83],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M7ABKJGA6SQNPZTRJ4MGF9BX","agent-workspace-audit","Audit a tool-agnostic agent workspace at any repository depth. Verifies AGENTS.md, .agents\u002F layout, workspace.json clients, relative symlinks, Codex TOML role pairs, repo-root-only MCP discovery, and contributing docs. Use check, report, or fix-safe modes after init or when changing adapters. Does not bootstrap a new layout.","https:\u002F\u002Fgithub.com\u002Fkarthikbedre\u002Fai-agent-engineering\u002Fblob\u002Fmain\u002Fplugins\u002Fagent-workspace\u002Fskills\u002Fagent-workspace-audit\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M7ABKEBY2Z6HMEB7ZHE147HR","stateful-skill","Design new Agent Skills or convert existing linear skills into durable, interruptible workflows backed by authoritative external JSON state and bounded runtime context. Use when a skill must resume across sessions or context compaction, branch from explicit state, checkpoint multi-stage work, preserve key decisions for later judgment, recover safely after interruptions, or distinguish resumable and terminal states.","https:\u002F\u002Fgithub.com\u002Fkarthikbedre\u002Fai-agent-engineering\u002Fblob\u002Fmain\u002Fplugins\u002Fagent-skills-engineering\u002Fskills\u002Fstateful-skill\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M7ABKBQCFR49DMSNTZK1XSJD","sample-check","Fixture skill for the nested workspace example. Prints that the package workspace is reachable.","https:\u002F\u002Fgithub.com\u002Fkarthikbedre\u002Fai-agent-engineering\u002Fblob\u002Fmain\u002Fexamples\u002Fagent-workspace\u002Fnested-workspace\u002Fpackages\u002Fapp\u002F.agents\u002Fskills\u002Fsample-check\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M7ABK9CQJZNCJ5Z6T25MQM2P","movie-metadata-refresh","Refresh local movie metadata files and verify the catalog. Use when the repository's movie data needs normalization or its generated index must be rebuilt.","https:\u002F\u002Fgithub.com\u002Fkarthikbedre\u002Fai-agent-engineering\u002Fblob\u002Fmain\u002Fexamples\u002Fagent-skills-engineering\u002Fstateful-skill\u002Fmovie-metadata-refresh\u002Fstarting-repository\u002F.agents\u002Fskills\u002Fmovie-metadata-refresh\u002FSKILL.md",[],[]]