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

rememberremember 搜索

Agent Skill

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

总安装

480

周安装

20

GitHub Stars

450

下载量

160
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/ag-grid/ag-charts --skill remember

简介

remember 保存分支上下文或提炼对话精华至项目知识库长期复用。

  • 支持按分支意图、通用规则或两者结合方式组织记忆条目。
  • 自动识别 .rulesync/ 路径生成结构化学习材料供后续调用参考。
  • 操作前应确认目标存储区域具备写入权限且容量充足。
  • 推荐采用简洁表述避免冗余信息干扰未来检索效果。remember 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Remember

Usage — /remember

Save branch-scoped context (.context/) or project-scoped learnings (.rulesync/).

STEP 1: Choose Memory Type

Ask the user:

What would you like to remember?

  1. Branch — save context for this branch (intent, patterns, gaps)
  2. Project — extract learnings from this conversation into rules/skills
  3. Both — do branch first, then project

Use AskUserQuestion. Then follow the corresponding path(s) below.


Branch Memory Path

Save or update context for the current branch. Keep it concise — only preserve information useful for future sessions.

STEP B1: Determine Context File Path

Run the co-located script to resolve paths and load any existing context. Use the skill base directory from the header above:

bash "<skill-base-directory>/context-path.sh" --ensure-dir

Parse the structured output:

  • BRANCH= — current branch name
  • SLUG= — filename slug
  • CONTEXT_FILE= — full path to context file
  • STATUS=found|not_found — whether context exists
  • Content after ---CONTENT--- — existing context file contents (if found)

STEP B2: Check for Existing Context

If the context file already exists, read its current contents from the script output. When updating, prune resolved items and transient issues.

STEP B3: Gather Context Information

Ask the user what to save. Keep responses brief.

For new context: What's the branch intent? Any patterns worth remembering?

For updates: What changed? Any gaps resolved? New patterns discovered?

STEP B4: Write Context File

Use this minimal template:

---
branch: {branch-name}
updated: {ISO-date}
---

# {branch-name}

## Intent

{1-2 sentences: what this branch accomplishes}

## Patterns

{Only include if there are reusable code patterns}

## Gaps

{Only persistent gaps — architectural decisions, known limitations}

## References

{Links to ticket, relevant docs}

STEP B5: Confirm Save

Saved: {context-file-path}

What to Keep vs Prune

KEEP (future-relevant):

  • High-level intent (stable goal of the branch)
  • Reusable patterns (code you'll copy again)
  • Persistent gaps (architectural decisions pending, known limitations)
  • Reference links (ticket, design docs)

PRUNE (transient):

  • Temporary test failures
  • Build/environment issues
  • Implementation gaps now resolved
  • Debugging notes and scratch work
  • Session-specific troubleshooting
  • Resolved gaps (remove the checkbox, just delete)

Principles

  • Brevity over completeness — if in doubt, leave it out
  • Future self test — will this help in a new session next week?
  • No resolved items — once fixed, remove it entirely
  • Patterns must be reusable — don't document one-off code

Project Memory Path

Extract decisions, patterns, and learnings from the current conversation and persist them as agentic memory.

When to Use

  • After resolving a non-obvious issue with a specific approach
  • When discovering a pattern that should be reused
  • When user corrects agent behaviour or preferences
  • After clarifying how existing rules should be interpreted

STEP P1: Memory Extraction

Review the conversation to identify:

  1. Decisions — Specific choices made (e.g., "use X approach instead of Y")
  2. Corrections — Mistakes caught and how to avoid them
  3. Patterns — Reusable approaches that worked well
  4. Preferences — User/project preferences revealed
  5. Clarifications — Ambiguous rules made concrete

For each candidate, extract:

  • The core learning (1-2 sentences)
  • Context where it applies
  • Why it matters

STEP P2: Classification

Determine the best location for each memory:

TypeLocationWhen
Domain rule.rulesync/rules/{domain}.mdTopic-specific guidance
Command enhancement.rulesync/commands/{cmd}.mdWorkflow-specific
Skill updateexternal/prompts/skills/{skill}/Skill-scoped learning
New rule file.rulesync/rules/{new}.mdDistinct topic, 3+ guidelines

Constraints:

  • Never target .claude/ directly.claude/ is a synced output directory; the source of truth is .rulesync/. Always propose paths under .rulesync/rules/, .rulesync/commands/, etc. Never propose .claude/rules/ or .claude/commands/.
  • Never update root files directlyCLAUDE.md, AGENTS.md, and files with root: true frontmatter are managed separately. If a memory belongs there, recommend creating/updating a non-root rule that gets referenced instead.
  • Prefer existing files — only create new files when the topic is clearly distinct and has sufficient content.

STEP P3: Interactive Presentation

For each memory candidate, present to user:

Memory N of M

Learning: [The extracted insight]

Recommended location: path/to/file.md → Section Name

Options:

  1. Add to recommended location
  2. Add to different location (specify)
  3. Rephrase the learning
  4. Skip this memory

Use AskUserQuestion with these options. Wait for user response before proceeding.

STEP P4: Execution

For approved memories:

  1. Read the target file to understand current structure
  2. Locate the appropriate section (or create if needed)
  3. Format the memory to match file conventions:

- Rules: Use - bullet points, match existing tone - Commands: Integrate into relevant phase/section

  1. Write the update using Edit tool
  2. Confirm the change to user

STEP P5: Output

After processing all memories, summarise:

## Memory Update Summary

Added: N memories
Skipped: M memories
Files modified:
- path/to/file1.md (section updated)
- path/to/file2.md (new section added)

Project Memory Constraints

  • Never target .claude/ directly.claude/ is a synced output; the source of truth is .rulesync/. Always write to .rulesync/rules/, .rulesync/commands/, etc.
  • Never update root files — Do not modify CLAUDE.md, AGENTS.md, or any file with root: true in frontmatter. These are managed separately. Instead, create or update a non-root rule file that can be referenced.
  • Keep memories atomic — one concept per update
  • Match the writing style of the target file
  • If unsure about location, ask user rather than guess
  • Memories should be actionable, not just observations

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.39%
按下载量换算55

Claude

27.3%
按下载量换算44

Cursor

20.3%
按下载量换算32

Gemini CLI

10.09%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills