Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/ensure-skills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,13 @@ export async function installSkills(deps: Deps): Promise<void> {
const run = deps.run ?? defaultRunner
const print = deps.print ?? ((s: string) => process.stdout.write(s + '\n'))
try {
print(' installing related agent skills (insta, neon-postgres, tigris, better-auth) via `npx skills add` …')
print(' installing related agent skills (insta, neon-postgres, tigris, better-auth) …')
for (const s of SKILLS) {
const r = await run('npx', s.args, true) // streamed so the user sees download progress
// Don't stream: the `skills` tool's clack UI (clone spinner, banners) is noise. Run it
// silent (stdio 'ignore') and let the per-skill ✓/failed line below be the clean output —
// it appears as each skill finishes, so there's still live progress. (Also avoids the
// child inheriting a piped stdin.)
const r = await run('npx', s.args)
print(r.ok ? ` ${s.label} ✓` : ` ${s.label} failed — add manually: npx ${s.args.join(' ')}`)
}
const added = ensureGitignore(deps.cwd, SKILL_DIRS)
Expand Down
Loading