agent-stack-manager-cli
v0.1.6
Published
Unified local capability orchestration for skills, MCP servers, and rules.
Maintainers
Readme
agent-stack-manager-cli
agent-stack-manager-cli is a local CLI for managing skill, mcp, and rule resources as reusable bundles, then projecting them into project-level AI configuration for Claude and Cursor.
After installation, the command name is:
agentctlInstall
npm
npm i -g agent-stack-manager-clipnpm
pnpm add -g agent-stack-manager-cliThen verify:
agentctl --helpThe package is prepared for npm distribution and has been verified locally with:
pnpm typecheckpnpm testpnpm buildpnpm pack- fresh global install from the generated
.tgz
What It Supports
Current MVP scope:
- Resource types:
skill,mcp,rule - Install/projection targets:
Claude,Cursor - Scope:
project - Source types:
local,git - Install constraint: one bundle per target platform
Quick Start
1. Initialize a project
agentctl init2. Register a skill
agentctl add skill --local ./skills/summarize3. Register an MCP server
agentctl add mcp --local ./mcp/source.jsonagentctl add mcp supports both:
- standard MCP config files with a top-level
mcpServersobject, including.mcp.json/.cursor/mcp.json-style JSON - the legacy single-resource manifest shape with top-level
serverand optionalplatformConfig
When a standard MCP config file contains multiple servers, the CLI shows a checkbox prompt in interactive terminals so you can select one or more servers with space + Enter. In non-interactive environments it falls back to the existing text input flow.
4. Create a bundle
agentctl bundle create ai-coding-pack
agentctl bundle add ai-coding-pack summarize5. Install into Claude
agentctl install ai-coding-pack --target claude6. Inspect current state
agentctl status
agentctl list
agentctl diff --target claude
agentctl doctor --target claudeImplemented Commands
Available now:
agentctl initagentctl statusagentctl addagentctl removeagentctl bundle createagentctl bundle addagentctl bundle removeagentctl listagentctl install --dry-runagentctl installagentctl uninstallagentctl diffagentctl doctor
Not Included Yet
Not implemented in the current release:
user scope- registry-backed distribution
- multi-bundle per target
- advanced rule conflict inference
Local Release Check
Before publishing:
pnpm install
pnpm release:checkFor the full maintainer release workflow, see RELEASE.md.
The repository also includes GitHub Actions CI for regular validation on push and pull request.
This runs:
pnpm typecheckpnpm testpnpm buildpnpm pack
Local Package Trial
You can test the packed tarball before publishing:
pnpm packThen install the generated .tgz in a clean environment and run:
agentctl --help
agentctl init
agentctl statusThe current release check confirmed that the packed tarball only contains:
dist/README.mdLICENSEpackage.json
Development Docs
If you are contributing to the project or extending the CLI implementation, start with:
CHANGELOG.mdRELEASE.mdCLAUDE.mddocs/pre-build-rules-baseline.mddocs/schema-draft.mddocs/adapter-contract.mddocs/platform-mapping-claude-cursor.md
