Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

search-memory搜索记忆

Agent Skill

search-memory 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

12,230

周安装

520

GitHub Stars

71

下载量

4,285
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:search-memory(搜索记忆)
来源仓库:https://github.com/nowledge-co/community
仓库路径:skills/search-memory
安装命令:
npx skills add https://github.com/nowledge-co/community --skill search-memory
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/nowledge-co/community --skill search-memory

简介

搜索您的个人知识库,以显示过去的相关见解、决策和解决方案。

  • 当上下文表明先前的工作可以改善响应时,主动搜索持久的知识和对话历史
  • 区分内存搜索 ( nmem m search)用于存储的突破和线程搜索( nmem t 搜索) 获取准确的会话历史记录
  • 识别触发模式:用户对先前修复的引用、恢复的功能、调试相似性、基本原理请求以及需要历史背景的模糊结果
  • 支持通过可配置的限制和内容边界对线程化结果进行渐进式检查,以仅检索需要的内容

SKILL.md

Search Memory

When to Search (Autonomous Recognition)

Strong signals:

  • Continuity: Current topic connects to prior work
  • Pattern match: Problem resembles past solved issue
  • Decision context: "Why/how we chose X" implies documented rationale
  • Recurring theme: Topic discussed in past sessions
  • Implicit recall: "that approach", "like before"

Contextual signals:

  • Complex debugging (may match past root causes)
  • Architecture discussion (choices may be documented)
  • Domain-specific question (conventions likely stored)

Skip when:

  • Fundamentally new topic
  • Generic syntax questions
  • Fresh perspective explicitly requested

Tool Usage

Use nmem CLI with --json flag for programmatic search:

# Basic search
nmem --json m search "3-7 core concepts"

# With filters
nmem --json m search "API design" --importance 0.8

# With labels (multiple labels use AND logic)
nmem --json m search "authentication" -l backend -l security

# With time filter
nmem --json m search "meeting notes" -t week

If the runtime already knows the active project or agent lane, add --space "<space name>".

Query: Extract semantic core, preserve terminology, multi-language aware

Filters:

  • --importance MIN: Minimum importance score (0.0-1.0)
  • -l, --label LABEL: Filter by label (can specify multiple)
  • -t, --time RANGE: Time filter (today, week, month, year)
  • -n NUM: Limit number of results (default: 10)

JSON Response: Parse memories array, check score field for relevance

Use thread search when the user is really asking about a prior conversation, previous session, or exact discussion:

nmem --json t search "query" --limit 5

If a memory result includes source_thread or thread search finds the likely conversation, inspect it progressively instead of loading the whole thread at once:

nmem --json t show <thread_id> --limit 8 --offset 0 --content-limit 1200

Increase --offset only when more messages are actually needed.

Scores: 0.6-1.0 direct | 0.3-0.6 related | <0.3 skip

Examples:

# Search with importance filter
nmem --json m search "database optimization" --importance 0.7

# Search with multiple labels
nmem --json m search "React patterns" -l frontend -l react

# Search recent memories
nmem --json m search "bug fix" -t week -n 5

Response

Found: Synthesize, cite when helpful None: State clearly, suggest distilling if current discussion valuable

Troubleshooting

If nmem is not in PATH: pip install nmem-cli

For remote servers: run nmem config client set url https://... and nmem config client set api-key... once on this machine.

Run /status to check server connection.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.44%
按下载量换算1,561

Claude

30.87%
按下载量换算1,323

Cursor

21.2%
按下载量换算908

Gemini CLI

9.4%
按下载量换算403

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills