From bb419b7aff9baf585e7ff40a4586d7579b1cc74a Mon Sep 17 00:00:00 2001 From: yaowenc2 Date: Tue, 17 Mar 2026 16:16:25 -0700 Subject: [PATCH] feat: auto-install find-skills during create and link Adds vercel-labs/skills find-skills to the post-install flow so users get skill discovery out of the box when scaffolding or linking a project. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/lib/skills.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/lib/skills.ts b/src/lib/skills.ts index a5b592d..2b7fde7 100644 --- a/src/lib/skills.ts +++ b/src/lib/skills.ts @@ -64,6 +64,18 @@ export async function installSkills(json: boolean): Promise { if (!json) clack.log.warn('Failed to install agent skills. You can run manually: npx skills add insforge/agent-skills -s insforge -s insforge-cli'); } + // Install find-skills from vercel-labs for skill discovery + try { + if (!json) clack.log.info('Installing find-skills...'); + await execAsync('npx skills add https://github.com/vercel-labs/skills --skill find-skills -y', { + cwd: process.cwd(), + timeout: 60_000, + }); + if (!json) clack.log.success('find-skills installed.'); + } catch { + if (!json) clack.log.warn('Failed to install find-skills. You can run manually: npx skills add https://github.com/vercel-labs/skills --skill find-skills'); + } + try { updateGitignore(); } catch {