You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: support non-interactive link command via --agents, --skills, --mode flags
Allow the link command to run fully non-interactively by passing CLI flags
that skip the interactive @clack/prompts, enabling scripted and AI agent usage.
Global mode skips the agent multiselect when --agents is provided. Project mode
skips all three prompts (skills, mode, agents) when the corresponding flags are
provided. Includes validation for unknown skills and invalid mode values.
link --project: read .skill-lock.json → [--skills or select skills] → [--mode or select copy/symlink] → [--agents or select agents] → group by projectPath → copy/link to CWD
An interactive multiselect prompt lets you pick which agents to link. Only agents with local directories are pre-selected. Your selection is remembered for next time.
106
107
108
+
When `--agents` is provided, the agent selection prompt is skipped entirely — useful for scripting and AI agent automation:
109
+
110
+
```bash
111
+
# Non-interactive: link all skills to specific agents
112
+
skills-manager link --agents cursor opencode
113
+
```
114
+
107
115
**Symlink model:**
108
116
109
117
```
@@ -119,6 +127,12 @@ When using `--project` (or `-p`), you'll go through three interactive prompts:
119
127
2.**Copy or symlink** — copy files (default, recommended) or create absolute symlinks
120
128
3.**Select agents** — choose which agents to set up project-level skills for
121
129
130
+
All three prompts can be skipped by providing `--skills`, `--mode`, and `--agents` on the command line:
131
+
132
+
```bash
133
+
# Fully non-interactive project link
134
+
skills-manager link --project --agents cursor claude-code --skills my-skill --mode copy
0 commit comments