@aavn/epost-kit
v0.0.2
Published
Distribution CLI for epost-agent-kit - multi-IDE agent framework
Downloads
23
Maintainers
Readme
epost-kit CLI
Distribution CLI for epost-agent-kit — installs and manages the multi-IDE AI agent framework across Claude Code, Cursor, and VS Code GitHub Copilot.
Version: 0.0.1 | Node: >= 18.0.0 | License: MIT
Installation
Prerequisites: Node.js >= 18, git
Note: GitHub CLI (gh) is required after install to use epost-kit install.
Recommended — npm (all platforms)
npm install -g @aavn/epost-kitAlternative — install scripts
macOS / Linux / WSL:
curl -fsSL https://raw.githubusercontent.com/Klara-copilot/epost-agent-kit-cli/master/install/install.sh | bashWindows (PowerShell):
irm https://raw.githubusercontent.com/Klara-copilot/epost-agent-kit-cli/master/install/install.ps1 | iexWindows (Command Prompt, fallback):
curl -fsSL https://raw.githubusercontent.com/Klara-copilot/epost-agent-kit-cli/master/install/install.cmd -o "%TEMP%\epost-kit-install.cmd" && "%TEMP%\epost-kit-install.cmd" && del "%TEMP%\epost-kit-install.cmd"For manual installation and troubleshooting, see install/README.md.
Quick Start
# Install full kit (interactive wizard)
epost-kit install
# Install non-interactively
epost-kit install --full # all features
epost-kit install --bundle web-frontend # web role
epost-kit install --skill discover # single skill
# Check status
epost-kit status
epost-kit doctor
# Diagnose routing
epost-kit trace "build a login page"Commands
Install
epost-kit install / epost-kit init
Interactive setup wizard — or non-interactive with flags.
epost-kit install # interactive (7-step wizard)
epost-kit install --full # full kit, no prompts
epost-kit install --bundle web-frontend # install a role bundle
epost-kit install --bundle ios-developer
epost-kit install --bundle android-developer
epost-kit install --bundle backend-api
epost-kit install --bundle designer
epost-kit install --bundle kit-author
epost-kit install --skill discover # single skill
epost-kit install --preview # show what will be created
epost-kit install --target cursor # target Cursor IDE
epost-kit install --target vscode # target VS Code Copilot
epost-kit install --fresh # wipe + reinstall
epost-kit install --source /path/to/kit # use local source (dev)Targets:
| Flag | Installs to | Format |
|------|-------------|--------|
| --target claude (default) | .claude/ | Claude Code agents |
| --target cursor | .cursor/ + .cursor/rules/ | Cursor agents + .mdc rules |
| --target vscode | .github/ | Copilot .agent.md + hooks.json |
Inspect
epost-kit status
Show current install — scope, enabled items, mode.
epost-kit status # human-readable summary
epost-kit status --json # machine-readableepost-kit list
List installed items.
epost-kit list skills
epost-kit list agents
epost-kit list hooksepost-kit show
Display configuration and routing.
epost-kit show routing # render routing table from CLAUDE.md
epost-kit show config # display .epost.json configDiagnose
epost-kit doctor
Preflight checks — git, node, tools, env, permissions.
epost-kit doctor # run all checks
epost-kit doctor --dir <path> # check a specific project directory
epost-kit doctor --fix # auto-fix issues
epost-kit doctor --report # detailed JSON reportepost-kit validate
Post-install structured validation (config, skills, routing, delegation, hooks).
epost-kit validate # structured pass/warn/fail per check
epost-kit validate --json # machine-readableepost-kit dry-run "<prompt>"
Simulate routing for a natural language prompt without running anything.
epost-kit dry-run "build a login page"
epost-kit dry-run "commit and push" --jsonepost-kit trace "<prompt>"
Verbose orchestration trace — shows intent classification, rule match, agent dispatch.
epost-kit trace "build a login page"
epost-kit trace "commit and push" --jsonepost-kit repair
Auto-fix validation failures by re-running the install engine.
epost-kit repair # check + prompt to fix
epost-kit repair --yes # fix without confirmation
epost-kit repair --json # machine-readable resultManage
epost-kit enable / epost-kit disable
Toggle individual skills or hooks without reinstalling.
epost-kit enable skill review
epost-kit disable skill discover
epost-kit enable hook knowledge-capture
epost-kit disable hook auto-captureepost-kit add / epost-kit remove
Add or remove individual skills/bundles from an existing install.
epost-kit add skill review
epost-kit remove bundle mobile
epost-kit add skill review --preview # dry-run
epost-kit add skill review --jsonepost-kit update
Re-install from existing metadata (profile + target preserved).
epost-kit update # reinstall current setup
epost-kit update --preview # show what would change
epost-kit update --source /path/to/epost_agent_kit # use local source
epost-kit update --jsonepost-kit upgrade
Check for and apply CLI and kit content updates.
epost-kit upgrade # check both CLI and kit content
epost-kit upgrade --check # report only, no install
epost-kit upgrade --json # machine-readable version statusepost-kit uninstall
Remove the installed kit, respecting file ownership.
epost-kit uninstall # interactive
epost-kit uninstall --keep-custom # keep user-modified files
epost-kit uninstall --force # remove everything
epost-kit uninstall --dry-run # preview what would be removed
epost-kit uninstall --jsonOther
epost-kit config
View and edit kit configuration.
epost-kit config show # print current config
epost-kit config get plan.engine # get a value
epost-kit config set plan.engine gemini # set a value
epost-kit config reset # restore defaults
epost-kit config ignore add <glob> # add ignore pattern
epost-kit config ignore remove <glob> # remove ignore patternepost-kit dev
Live-sync a local kit source (for kit authors).
epost-kit dev init # install from ../epost_agent_kit + start watcher
epost-kit dev update # one-shot update from local source
epost-kit dev stop # stop background watcherepost-kit convert
Convert Claude Code agent config to VS Code Copilot format.
epost-kit convert # convert installed .claude/ → .github/
epost-kit convert --dry-run # preview
epost-kit convert --profile web-fullstackepost-kit profile
Browse available developer profiles.
epost-kit profile list # list all profiles
epost-kit profile show web-fullstack # show profile detailsepost-kit lint / fix-refs / verify
Quality checks for kit package authors.
epost-kit lint # validate references
epost-kit fix-refs --apply # fix stale references
epost-kit verify --json # full audit, machine-readableGlobal Options
--verbose Enable debug logging
--yes Skip all prompts (CI mode)
--help Show command help
--version Show CLI versionConfiguration
Kit config is stored in <installDir>/.epost-kit.json. Edit via epost-kit config or directly:
{
"target": "claude",
"profile": "web-fullstack",
"plan": {
"engine": "gemini",
"dateFormat": "YYMMDD-HHmm"
}
}Environment variables:
| Variable | Purpose |
|----------|---------|
| EPOST_KIT_TARGET | Override IDE target |
| EPOST_KIT_PROFILE | Override profile |
| EPOST_KIT_REGISTRY | Override package registry URL |
| EPOST_RESEARCH_ENGINE | Override research engine (websearch | gemini | perplexity) |
API keys (stored in <installDir>/.env, never committed):
GEMINI_API_KEY— for Gemini research engine
Multi-IDE Support
| Feature | Claude Code | Cursor | VS Code Copilot |
|---------|:-----------:|:------:|:---------------:|
| Agents | ✓ .md | ✓ .md (5 fields) | ✓ .agent.md |
| Skills | ✓ | ✓ | ✓ |
| Hooks | ✓ (all events) | ✓ (settings.json) | ✓ (SessionStart, Stop) |
| Rules/Context | CLAUDE.md | CLAUDE.md + .cursor/rules/*.mdc | copilot-instructions.md |
| Agent handoffs | ✓ | ✗ | ✓ |
| Compatibility report | — | ✓ (warns on dropped fields) | ✓ (warns on dropped fields) |
Development
Local development setup for contributors working from a checkout of this CLI:
git clone <repo>
cd epost-agent-kit-cli
npm install && npm run build && npm link
npm test # run tests
npm run dev # watch mode
npm run typecheck # type check onlyUse local kit source during development:
epost-kit init --source /path/to/epost_agent_kit
# or
epost-kit dev initTroubleshooting
"GitHub authentication required"
gh auth login && gh auth tokenUpdate fails with combined profile name
Combined profiles (web-fullstack+web-ui-lib) are supported — update expands them automatically.
VS Code hooks not firing
VS Code only supports SessionStart and Stop hook events. Other events (UserPromptSubmit, PreToolUse, etc.) are Claude Code extensions and silently fail in VS Code — this is expected.
Debug mode
epost-kit --verbose <command>Architecture
src/
├── cli.ts # entry point, command registration
├── commands/ # thin orchestrators (init, update, config, dev…)
├── domains/
│ ├── config/ # config loading, merging, ignore patterns
│ ├── installation/ # target adapters (Claude, Cursor, VS Code)
│ ├── packages/ # package resolver, profile loader, YAML parser
│ ├── health-checks/ # doctor checks
│ └── validation/ # lint, fix-refs
├── services/ # file operations, template engine
├── shared/ # logger, file-system utils, constants
└── types/ # TypeScript interfacesKey design decisions:
- Adapter pattern for multi-IDE output (ClaudeAdapter / CursorAdapter / CopilotAdapter)
- Custom YAML parser — no
js-yamldependency - File ownership tracking via SHA256 checksums (
.epost-metadata.json) - Topological sort (Kahn's algorithm) for package dependency ordering
Last updated 2026-04-01
