Problem
The package ships three agent skills, but users must leave the context-tree CLI and run separate npx skills add commands to install them:
npx skills add first-tree-ai/context-tree --list
npx skills add first-tree-ai/context-tree --skill context-tree-read
This adds avoidable friction during initial onboarding. A user who already has the CLI should be able to install the recommended Context Tree skills with one command.
Proposal
Add an explicit CLI command such as:
context-tree skills install
The implementation may delegate to the Agent Skills CLI, for example by spawning npx skills add first-tree-ai/context-tree with the required non-interactive arguments. It does not need to reimplement skill discovery or installation.
Suggested behavior:
- Install the recommended bundled set (
context-tree-init, context-tree-read, and context-tree-write) by default.
- Complete without interactive skill selection so the command works in scripts and agent workflows.
- Optionally accept one or more
--skill <name> arguments for selective installation.
- Forward child-process output and return a non-zero exit code when installation fails.
- Print a clear summary of the installed skills and destination.
- Avoid shell command construction; spawn the executable with an argument array.
Acceptance criteria
Example user flow
npm install --global @first-tree-ai/context-tree
context-tree skills install
After the package is available, the second line should be the only command needed to land the bundled skills in the supported agent environment.
Problem
The package ships three agent skills, but users must leave the
context-treeCLI and run separatenpx skills addcommands to install them:This adds avoidable friction during initial onboarding. A user who already has the CLI should be able to install the recommended Context Tree skills with one command.
Proposal
Add an explicit CLI command such as:
The implementation may delegate to the Agent Skills CLI, for example by spawning
npx skills add first-tree-ai/context-treewith the required non-interactive arguments. It does not need to reimplement skill discovery or installation.Suggested behavior:
context-tree-init,context-tree-read, andcontext-tree-write) by default.--skill <name>arguments for selective installation.Acceptance criteria
context-treecommand.--helpand the README document the one-command onboarding path.Example user flow
After the package is available, the second line should be the only command needed to land the bundled skills in the supported agent environment.