Install copilot-kit in your project using npx or as a global CLI tool.
No installation required. Run directly from npm:
npx @ntdev204/copilot-kit initThis downloads and runs the latest version every time. Ideal for one-time use or when you want to always use the newest release.
Install once, use anywhere:
npm install -g @ntdev204/copilot-kit
copilot-kit initRunning init downloads and extracts the following into your project's root:
| Path | Contents |
|---|---|
.github/copilot-instructions.md | AGF v3.2 — the core governance brain |
.github/skills/ | 45 domain skill files loaded on-demand |
.github/rules/ | 11 governance rule files |
.github/prompts/ | 8 reusable prompt templates |
.github/agent/ | 12 agent mode definitions |
.github/scripts/ | Validation & automation scripts |
.github/ARCHITECTURE.md | System architecture overview |
.github/CODEBASE.md | Codebase conventions & map |
If a .github/ directory already exists, init prompts before overwriting:
? Overwrite existing .github/? (y/N)Alternatively, use the update command to safely check for a newer version and upgrade only if needed:
npx @ntdev204/copilot-kit updateBackup your customizations
.github/ rules or workflows, back them up before running init again. The tool overwrites the entire directory.npx: command not found
Ensure Node.js ≥ 22 is installed. Run node --version to check.
Network / download errors
The CLI fetches from api.github.com. Check your internet connection and any corporate firewall or proxy settings.
Copilot doesn't seem to use the new rules
Reload VS Code after init (Ctrl+Shift+P → "Developer: Reload Window"). Copilot picks up .github/copilot-instructions.md automatically.
Next step