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 v1.0 — 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 automatically merges — new files are added and existing files are left untouched:
ℹ .github/ already exists — new files will be added, existing files kept.
✔ Merged successfully!
Existing files were preserved — only missing files addedYour customizations are safe
workflows/, custom rules, or personal prompt overrides are never overwritten by init. Use the update command to pull in the latest version when you're ready.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