Skip to content

Commit b6c23c7

Browse files
tonychang04claude
andauthored
fix(project create): don't stream the per-project skill install's clack UI (#52)
insta project create shells npx skills add for the stack skills (insta, neon-postgres, tigris, better-auth) with stdio='inherit' — dumping the same clone-spinner/banner noise we already removed from insta setup agent. Run it silent instead; the per-skill ✓/failed line is the clean output and still appears as each skill finishes (live progress). Also stops the child inheriting a piped stdin. Before: 'installing … via npx skills add …' + spinner spam per skill After: installing related agent skills (insta, neon-postgres, tigris, better-auth) … insta ✓ neon-postgres ✓ tigris ✓ better-auth ✓ 77/77 green. Claude-Session: https://claude.ai/code/session_01GMbAe5K1RfwaAcge5inX7P Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent c0bcd5f commit b6c23c7

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/ensure-skills.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,13 @@ export async function installSkills(deps: Deps): Promise<void> {
5656
const run = deps.run ?? defaultRunner
5757
const print = deps.print ?? ((s: string) => process.stdout.write(s + '\n'))
5858
try {
59-
print(' installing related agent skills (insta, neon-postgres, tigris, better-auth) via `npx skills add` …')
59+
print(' installing related agent skills (insta, neon-postgres, tigris, better-auth) …')
6060
for (const s of SKILLS) {
61-
const r = await run('npx', s.args, true) // streamed so the user sees download progress
61+
// Don't stream: the `skills` tool's clack UI (clone spinner, banners) is noise. Run it
62+
// silent (stdio 'ignore') and let the per-skill ✓/failed line below be the clean output —
63+
// it appears as each skill finishes, so there's still live progress. (Also avoids the
64+
// child inheriting a piped stdin.)
65+
const r = await run('npx', s.args)
6266
print(r.ok ? ` ${s.label} ✓` : ` ${s.label} failed — add manually: npx ${s.args.join(' ')}`)
6367
}
6468
const added = ensureGitignore(deps.cwd, SKILL_DIRS)

0 commit comments

Comments
 (0)