Add npx Skills support for AI coding agents#44
Conversation
- Create nowledge-mem-npx-skills directory with Vercel add-skill format - Add search-memory skill for semantic knowledge base search - Add save-thread skill for persisting coding sessions - Add distill-memory skill for capturing breakthrough moments - Update main README with npx installation instructions - Support for Claude Code, Cursor, OpenCode, Codex, and 20+ agents Install via: npx add-skill nowledge-co/community/nowledge-mem-npx-skills
📝 WalkthroughWalkthroughAdds documentation and release notes for the Nowledge Mem NPX skills package: a README npx install snippet, a v0.1.0 CHANGELOG, and new SKILL.md docs for search-memory, save-thread, and distill-memory describing prerequisites, usage, flags, and examples. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~15 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
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 |
The add-skill package has been renamed to skills. Updated all documentation to use `npx skills add` instead of `npx add-skill`.
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@nowledge-mem-npx-skills/README.md`:
- Line 5: Replace the old badge link target
"(https://github.com/vercel-labs/add-skill)" in the README badge markdown
"[](...)" with the
renamed skills repo URL "(https://github.com/vercel/skills)" so the badge points
to the correct project for the `npx skills add` CLI.
|
|
||
| > Install Nowledge Mem skills on any supported AI coding agent using `npx skills add`. | ||
|
|
||
| [](https://github.com/vercel-labs/add-skill) |
There was a problem hiding this comment.
Update badge link to the renamed skills repo.
The badge still links to the old vercel-labs/add-skill repository, which conflicts with the renamed CLI (npx skills add). Please update the target to the correct skills project URL to avoid confusion.
🔧 Suggested doc fix
-[](https://github.com/vercel-labs/add-skill)
+[](https://github.com/vercel-labs/skills)📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| [](https://github.com/vercel-labs/add-skill) | |
| [](https://github.com/vercel-labs/skills) |
🤖 Prompt for AI Agents
In `@nowledge-mem-npx-skills/README.md` at line 5, Replace the old badge link
target "(https://github.com/vercel-labs/add-skill)" in the README badge markdown
"[](...)" with the
renamed skills repo URL "(https://github.com/vercel/skills)" so the badge points
to the correct project for the `npx skills add` CLI.
Some tools require skill names to match their directory names. Changed: - nowledge-mem-search → search-memory - nowledge-mem-save → save-thread - nowledge-mem-distill → distill-memory
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
This PR is being reviewed by Cursor Bugbot
Details
You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
|
|
||
| # Save for specific project path | ||
| nmem t save --from claude-code -p /path/to/project | ||
| ``` |
There was a problem hiding this comment.
Save-thread hardcodes Claude source
Medium Severity
The save-thread skill always uses nmem t save --from claude-code and Claude-specific paths/IDs, so installations on other agents run the wrong source. In non-Claude environments, save-thread can miss the active session or import unrelated data, which breaks the advertised cross-agent behavior of this package.
Additional Locations (1)
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@nowledge-mem-npx-skills/skills/save-thread/SKILL.md`:
- Around line 87-92: The fenced code block in SKILL.md containing the "Thread
saved" snippet is missing a language tag; update that block to use a language
tag of text (e.g., change ``` to ```text) so markdownlint stops flagging
it—locate the fenced block with the lines "✓ Thread saved", "Summary:
{summary}", "Messages: {count}", "Thread ID: claude-code-{session_id}" and add
the text language marker.
| ``` | ||
| ✓ Thread saved | ||
| Summary: {summary} | ||
| Messages: {count} | ||
| Thread ID: claude-code-{session_id} | ||
| ``` |
There was a problem hiding this comment.
Add a language tag to the fenced block.
Markdownlint flags this code fence without a language. Use text for the response snippet.
🔧 Suggested change
-```
+```text
✓ Thread saved
Summary: {summary}
Messages: {count}
Thread ID: claude-code-{session_id}
</details>
<!-- suggestion_start -->
<details>
<summary>📝 Committable suggestion</summary>
> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
```suggestion
🧰 Tools
🪛 markdownlint-cli2 (0.20.0)
[warning] 87-87: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
🤖 Prompt for AI Agents
In `@nowledge-mem-npx-skills/skills/save-thread/SKILL.md` around lines 87 - 92,
The fenced code block in SKILL.md containing the "Thread saved" snippet is
missing a language tag; update that block to use a language tag of text (e.g.,
change ``` to ```text) so markdownlint stops flagging it—locate the fenced block
with the lines "✓ Thread saved", "Summary: {summary}", "Messages: {count}",
"Thread ID: claude-code-{session_id}" and add the text language marker.


Summary
Introduces Nowledge Mem npx Skills, enabling installation of persistent memory capabilities on any supported AI coding agent (Claude Code, Cursor, OpenCode, Codex, and 20+ others) via the
npx add-skillCLI.Changes
nowledge-mem-npx-skills/) with three core skills:Implementation Details
add-skillCLINotes
http://localhost:14242https://claude.ai/code/session_014V4r6Hpbp625jXkkCTDyJm
Summary by CodeRabbit
Documentation
Changelog
New Features
Note
Low Risk
Documentation-only additions plus new markdown skill definitions; no runtime code paths or security-sensitive logic changes.
Overview
Adds npx Skills distribution for Nowledge Mem, enabling installation into supported AI coding agents via
npx skills addalongside the existing Claude Code plugin path.Introduces a new
nowledge-mem-npx-skills/docs package (README + changelog) plus three skill specifications—search-memory,save-thread, anddistill-memory—documenting activation rules, prerequisites (nmemCLI + local server), and usage examples.Written by Cursor Bugbot for commit 1d47c22. This will update automatically on new commits. Configure here.