Agent skill
nowledge-mem
Unified CLI for personal knowledge base. This skill should be used when users want to save memories, search past conversations, persist current sessions, or manage stored information. Triggers: 记忆, 知识库, 保存会话, 搜索记忆, recall, remember, save memory, search knowledge, persist session, nm命令.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/productivity/nowledge-mem
SKILL.md
Nowledge Mem
Unified CLI for Nowledge Mem knowledge base management.
Quick Reference
| Command | Description |
|---|---|
nm search "..." |
Search memories |
nm add "..." |
Add a new memory |
nm persist |
Save current session |
nm expand <id> |
View full thread |
nm update <id> |
Update memory |
nm delete <id> |
Delete memory |
nm labels |
List all labels |
nm diagnose |
Check connectivity |
Execution
Run all commands via uv run nm from the skill directory.
cd <skill-directory>
uv run nm <command> [options]
Core Workflows
Search Knowledge Base
# Basic search
uv run nm search "Python async patterns"
# Verbose with JSON output
uv run nm search "API design" --verbose --json
Add Memory
# Simple add
uv run nm add "Content to remember"
# With metadata
uv run nm add "Important config" --title "DB Config" --importance 0.8 --labels "config,db"
Persist Current Session
Set PROJECT_PATH to the actual project directory before running.
PROJECT_PATH=/path/to/project uv run nm persist
PROJECT_PATH=/path/to/project uv run nm persist --title "Feature implementation"
Expand Thread
uv run nm expand <thread_id>
Reference Documentation
For detailed parameters and options:
- Command parameters:
references/command_reference.md - Configuration:
references/configuration.md - Usage patterns:
references/usage_patterns.md - Troubleshooting:
references/troubleshooting.md
Trigger Keywords
| Language | Keywords |
|---|---|
| 中文 | 记忆, 知识库, 保存, 搜索, 记录, 存储, 会话, 持久化 |
| English | memory, knowledge, save, search, persist, recall, remember, session |
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?