feat(connect): print 'npx skills add' hint after successful wire#709
Conversation
PR #677 shipped 5 MCP-only adapters (Warp, Cline, Continue, Zed, Droid) but didn't ship native skill installs, which left ~600 LOC of per-agent file-tree manipulation on the table. Turns out the vercel-labs/skills CLI already covers 4 of the 5 (warp, cline, continue, droid) plus 45+ other agents, reading SKILL.md files from any git repo and installing to the calling agent's native directory. This wires that path into the agentmemory UX without taking a new runtime dep: - `summarize()` in `src/cli/connect/index.ts` prints a one-line next-step pointing users at `npx skills add rohitg00/agentmemory -y` after any successful or already-wired adapter run. No subprocess spawn — keeps `connect` deterministic + offline-capable; the install is opt-in. - README "Other agents" section gets a "Native skills via `npx skills add`" subsection explaining the two-step pattern (`connect` for MCP, `skills add` for skill autoload) and listing the 50+ supported agents. - README install snippet bumps from one-line `connect` to the two-line flow so first-run users see both paths immediately. Tracked via #708. Closes the audit angle for #703 / #704 / #705 / #707 — see those issues' closing comments. #706 (Zed) remains open since the skills CLI keyword list doesn't include Zed yet.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe PR enhances the user onboarding flow by adding native skills installation guidance. After successful agent wiring, the CLI now prompts users to install agentmemory's 8 native skills via the Vercel ChangesNative Skills Installation Guidance
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Actionable comments posted: 0 |
* chore(release): v0.9.23 Bumps version across 9 files + adds CHANGELOG entry summarizing the 18 commits since v0.9.22. Highlights: - GitHub Copilot CLI first-class support (#534) — plugin + hooks + MCP with LSP-style Content-Length framing on the standalone stdio transport. - Five new MCP adapters: Warp, Cline, Continue, Zed, Droid (#677); ADAPTERS count 11 → 17. - Three silent DX bugs fixed: graph extraction never fired on session end (#666 / #698), status reported zero memories (#666), consolidation defaulted off even with an LLM provider configured (#612 / #696). - Nine telemetry hooks switched to fire-and-forget so they don't block Claude Code's next-prompt boundary (#573 / #688). - Hook project field now sends repo basename instead of full filesystem path so auto-injected context isn't silently filtered out (#474 / #687). - Local-LLM docs: Ollama / LM Studio / vLLM section added (#671 / #697). Version-bump files: package.json, plugin/.claude-plugin/plugin.json, plugin/plugin.json, plugin/.codex-plugin/plugin.json, packages/mcp/package.json, src/version.ts, src/types.ts, src/functions/export-import.ts, test/export-import.test.ts. * chore(release): add #701 + #709 to v0.9.23 CHANGELOG
Summary
Close the loop on the native-surface audit in #708. The
skillsCLI (vercel-labs) covers 4 of the 5 agents from #677 (warp, cline, continue, droid) plus 45+ others — wiring that path into the agentmemory UX saves ~600 LOC of would-be per-agent adapter code and tracks new agents automatically as the upstream keyword list grows.Changes
src/cli/connect/index.ts—summarize()prints a one-linenpx skills add rohitg00/agentmemory -ynext-step after any successful or already-wired adapter run. No subprocess spawn — keepsconnectoffline-capable and deterministic.README.md— install snippet bumped from a one-lineconnectto the two-line flow. Adds "Native skills vianpx skills add(50+ agents)" subsection under "Other agents" explaining the two-step pattern (connectwrites MCP config,skills addinstalls native skills).Tested
npx skills add rohitg00/agentmemory --listagainst the public repo enumerates all 8 skills correctly.Test plan
npm run buildcleannpx vitest run test/cli-connect.test.ts— 22/22 passagentmemory connect codex --dry-runshows the new hint line after the existing "Restart any wired agent" outro.Refs #708. Closes the documentation gap from the 5 agents in #677 (#703, #704, #705, #707 closed-as-redundant). #706 (Zed) stays open — not in the skills CLI keyword list yet.
Summary by CodeRabbit
Documentation
New Features