Complete reference for the @ntdev204/copilot-kit CLI.
Package
@ntdev204/copilot-kit
Version
1.2.5
Node.js
≥ 22
copilot-kit initScaffolds the complete .github/ configuration directory into the current working directory.
npx @ntdev204/copilot-kit initnpm install -g @ntdev204/copilot-kit
copilot-kit initNo .github/ exists
Downloads tarball from main branch, extracts to .github/
.github/ already exists
Prompts: ? Overwrite existing .github/? (y/N)
User confirms overwrite
Replaces entire .github/ directory with latest content
User declines
Exits without changes
No args / unknown command
Prints usage help
Network error
Exits with error message, no files modified
Always-latest content
init always gets the newest skills, rules, and prompts — no npm update needed for content changes.copilot-kit updateChecks whether your local .github/ is behind the latest release. If a new version is available, shows the current → latest version and asks for confirmation before overwriting.
npx @ntdev204/copilot-kit update.github/ not found
Exits with error — run init first
Already up-to-date
Prints current version and exits without downloading
New version available
Shows current version → latest version, prompts (y/N)
User confirms
Wipes old .github/, downloads and extracts latest
User declines
Exits without changes
GitHub API unreachable
Exits with error — cannot determine if update is needed
ℹ Current : v1.2.2
ℹ Latest : v1.2.3 ← new version available
? Update .github/ to the latest version? (y/N) y
✔ .github/ updated successfully!
From v1.2.2 → v1.2.3Version tracking
update compares the installed npm package version against the latest GitHub release tag. No extra files are written to your project.copilot-kit statusDisplays the installation health of .github/, lists each expected component with item counts, and compares the installed version against the latest GitHub release.
npx @ntdev204/copilot-kit status| Section | What it checks |
|---|---|
| Installation | .github/ directory presence and path |
| Components | copilot-instructions.md, skills/, rules/, prompts/, agent/, scripts/ |
| Version | Installed npm package version vs. latest GitHub release tag |
| Verdict | Green (up-to-date) / Yellow (update available) / Red (missing components) |
| Code | Meaning |
|---|---|
0 | Success |
1 | Error (network failure, file system error, unknown command) |