Installs the full agentme XDR set for a repository through the published CLI, then removes only the
records that clearly do not fit the target project by passing explicit --exclude flags during
extraction. When the repository also needs speckit workflow artifacts, the skill adds that decision
separately instead of using presets to narrow the XDR set.
-
Build an ordered exclude list for the irrelevant XDRs selected in Phase 3.
-
Run full XDR extraction first, using --all, and append one --exclude flag per XDR:
npx -y agentme extract --output . --all --exclude <xdr-path> --exclude <xdr-path>
-
If the repository also needs speckit, run that extraction separately so the workflow decision
stays explicit:
npx -y agentme extract --output . --presets speckit
-
If the user wants a pinned dependency instead of one-off extraction, prefer:
pnpm add -D agentme
pnpm exec agentme extract --output . --all --exclude <xdr-path> --exclude <xdr-path>
pnpm exec agentme extract --output . --presets speckit
-
After extraction, verify that the expected XDR files now exist:
.xdrs/index.md, .xdrs/agentme/, AGENTS.md
-
If speckit was selected, verify that its workflow files now exist:
.github/agents/, .github/prompts/, .specify/, .vscode/settings.json
-
Also verify that each excluded XDR path is absent from the extracted output.
-
Report whether full XDR extraction ran, whether speckit was added, which XDRs were excluded
with --exclude, and the paths that were added or updated.
Input: "Set up agentme for this repo and keep the speckit workflow we already use"