diff --git a/docs/README.skills.md b/docs/README.skills.md index 2e7e1853bf..822752e019 100644 --- a/docs/README.skills.md +++ b/docs/README.skills.md @@ -41,6 +41,7 @@ See [CONTRIBUTING.md](../CONTRIBUTING.md#adding-skills) for guidelines on how to | [agent-skill-stack](../skills/agent-skill-stack/SKILL.md)
`gh skills install github/awesome-copilot agent-skill-stack` | Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a multi-step workflow, asks which Skills fit a project, needs an installed-Skill audit or conflict check, has low Skill recall, wants indirect helpers such as humanizers or compliance checks, or wants a project-specific Skill Stack with controlled installation. Search local Skills, registries, GitHub, and OpenCLI; compare adoption, verified fit, safety, and overlap. Do not use for locating one known or common Skill; use the generic find-skills workflow. | `agents/openai.yaml`
`references/discovery-ranking.md`
`references/local-index-and-profiles.md`
`references/security-installation.md`
`references/workflow-model.md`
`scripts/inventory_skills.py`
`scripts/project_profile.py`
`scripts/render_stack_card.py`
`scripts/skill_index.py`
`scripts/stage_install.py` | | [agent-supply-chain](../skills/agent-supply-chain/SKILL.md)
`gh skills install github/awesome-copilot agent-supply-chain` | Verify supply chain integrity for AI agent plugins, tools, and dependencies. Use this skill when:
- Generating SHA-256 integrity manifests for agent plugins or tool packages
- Verifying that installed plugins match their published manifests
- Detecting tampered, modified, or untracked files in agent tool directories
- Auditing dependency pinning and version policies for agent components
- Building provenance chains for agent plugin promotion (dev → staging → production)
- Any request like "verify plugin integrity", "generate manifest", "check supply chain", or "sign this plugin" | None | | [agentic-eval](../skills/agentic-eval/SKILL.md)
`gh skills install github/awesome-copilot agentic-eval` | Patterns and techniques for evaluating and improving AI agent outputs. Use this skill when:
- Implementing self-critique and reflection loops
- Building evaluator-optimizer pipelines for quality-critical generation
- Creating test-driven code refinement workflows
- Designing rubric-based or LLM-as-judge evaluation systems
- Adding iterative improvement to agent outputs (code, reports, analysis)
- Measuring and improving agent response quality | None | +| [ai-extension-manager](../skills/ai-extension-manager/SKILL.md)
`gh skills install github/awesome-copilot ai-extension-manager` | Use this skill when the user wants to download, install, manage, or synchronize AI agent skills, plugins, MCP configs, or rules across multiple AI coding tools (Claude Code, Codex, Gemini CLI, Cursor, VS Code Copilot, DSH). Trigger for prompts like sync my skills across agents, import this GitHub skill, install this skill everywhere, check for config conflicts, or back up my agent setup. Provides a local-first central library with SHA-256 three-way sync, per-target backups, and conflict detection that never overwrites changes without consent. | None | | [ai-prompt-engineering-safety-review](../skills/ai-prompt-engineering-safety-review/SKILL.md)
`gh skills install github/awesome-copilot ai-prompt-engineering-safety-review` | Comprehensive AI prompt engineering safety review and improvement prompt. Analyzes prompts for safety, bias, security vulnerabilities, and effectiveness while providing detailed improvement recommendations with extensive frameworks, testing methodologies, and educational content. | None | | [ai-ready](../skills/ai-ready/SKILL.md)
`gh skills install github/awesome-copilot ai-ready` | Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR review patterns and creates files customized to your stack. USE THIS SKILL when the user asks to "make this repo ai-ready", "set up AI config", or "prepare this repo for AI contributions". | None | | [anti-ui-slop](../skills/anti-ui-slop/SKILL.md)
`gh skills install github/awesome-copilot anti-ui-slop` | Stop coding agents from shipping generic UI. Use UIZZE's 800,000+ real web and iOS screens to build product-specific interfaces, define a design contract, cover required states, and run a hard finish gate. Use when designing, implementing, redesigning, critiquing, or pre-ship reviewing a web or iOS interface in Codex, Claude Code, Cursor, Copilot, or another coding agent. Trigger with "anti-ui-slop", "stop UI slop", "ground this UI in real screens", or "run the UI finish gate". | `CHECKSUMS.sha256`
`LICENSE`
`MANIFEST.json`
`MODIFICATIONS.md`
`NOTICE`
`agents/openai.yaml`
`reference/audit.md`
`reference/distill.md`
`reference/ios.md`
`reference/new-work.md`
`reference/operate.md`
`reference/polish.md`
`references/uizze-reference-policy.md` | diff --git a/skills/ai-extension-manager/SKILL.md b/skills/ai-extension-manager/SKILL.md new file mode 100644 index 0000000000..1c569cbf36 --- /dev/null +++ b/skills/ai-extension-manager/SKILL.md @@ -0,0 +1,67 @@ +--- +name: ai-extension-manager +description: 'Use this skill when the user wants to download, install, manage, or synchronize AI agent skills, plugins, MCP configs, or rules across multiple AI coding tools (Claude Code, Codex, Gemini CLI, Cursor, VS Code Copilot, DSH). Trigger for prompts like sync my skills across agents, import this GitHub skill, install this skill everywhere, check for config conflicts, or back up my agent setup. Provides a local-first central library with SHA-256 three-way sync, per-target backups, and conflict detection that never overwrites changes without consent.' +license: MIT +compatibility: 'Cross-platform (Windows, macOS, Linux). Requires Python 3.9+; git optional. Install the CLI with pip install ai-extension-manager.' +metadata: + version: "1.0.19" + source: "https://github.com/Jack91124/ai-extension-manager" +--- + +# AI Extension Manager + +One central library for your AI agent skills, plugins, MCP configs, and rules — with hash-based two-way sync across six coding agents. It never silently overwrites your changes. + +## When to use + +- The user asks to download a skill or plugin from GitHub and install it into one or more AI tools. +- The user wants to sync skills, rules, or MCP configs across Claude Code, Codex, Gemini CLI, Cursor, VS Code Copilot, and DSH. +- The user wants to scan installed resources, import them into a central library, and report version conflicts. +- The user wants backups, restores, or version history for their agent configuration. + +## Prerequisites + +Install the CLI (Python 3.9+): + +```bash +pip install ai-extension-manager +aem --version +``` + +If the user prefers not to install anything, clone https://github.com/Jack91124/ai-extension-manager and run the scripts in `scripts/` directly with Python. + +## Core workflow + +1. **Initialize a central library** (one-time): `aem init` — creates `~/.ai-extension-manager` with `library/`, `metadata/`, `backups/`, `conflicts/`, and `logs/`. Use `--home ` to place it elsewhere. +2. **Detect a resource**: `aem detect --url ` or `aem detect --path ` — classifies the source as skill, plugin, MCP, or rules. A URL alone cannot determine type; clone and inspect before deciding. +3. **Import**: `aem import --source --type skill` — copies into the central library with a SHA-256 manifest and version snapshot. Add `--allow-risk` / `--allow-secrets` only after user approval. +4. **Scan agents**: `aem scan` — detects which of the six tools are installed and where their skills/plugins live. +5. **Distribute**: `aem sync --direction distribute --agent claude --resource ` (or `--all` for every compatible tool). Default mode is copy; use `--mode link` only when platform compatibility is verified. +6. **Reverse import**: `aem sync --direction import --agent codex --all` — brings locally edited skills back into the library as a new version. +7. **Verify**: `aem verify --all` — confirms each target still matches the library hash. + +## Two-way sync states + +Sync uses SHA-256 hashes, version records, last-sync status, mtime, and diffs — never last-modified-time alone: + +- **A**: only the library changed → safe to distribute. +- **B**: only the target changed → safe to import as a new version. +- **C**: both changed → conflict; exit code 2. Default action is **do nothing**. +- **D**: target file deleted → conflict; require explicit choice. +- **E**: target directory missing → report, do not guess. + +Conflict resolution: `aem compare --resource --diff`, then `aem sync --direction distribute --on-conflict library|target|overwrite|new-version`. Default never overwrites. See `aem doctor` for environment and mirror-rewrite warnings. + +## Safety rules + +- Never overwrite an existing file without an explicit conflict decision. +- Never write API keys or secrets into the shared library; secrets are redacted to environment-variable placeholders. +- Back up before every modify; restore with `aem backup restore --backup-id `. +- High-risk install scripts and git `url..insteadOf` mirror rewrites require user confirmation. +- Operations that fail conflict checks exit 2 so automation never mistakes them for success. + +## Reference + +- Full docs: https://jack91124.github.io/ai-extension-manager/ +- Source & releases: https://github.com/Jack91124/ai-extension-manager +- JSON result contract: `aem.result/v1` (stable schema field on every `--json` output).