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

mementomemento 搜索

Agent Skill

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

总安装

238

周安装

10

GitHub Stars

公开资料未说明

下载量

83
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/jancbeck/dotfiles --skill memento

简介

memento 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务场景快速定位候选结果。
  • 可结合来源仓库和原始 README 继续核验具体用法。
  • 安装命令:npx skills add https://github.com/jancbeck/dotfiles --skill memento
  • 注意:安装前建议确认权限范围、维护状态及是否触发联网或文件操作。

SKILL.md

Memento

Usage: /memento [--project PATH] [--user PATH]

Analyze this conversation to extract actionable memory updates for CLAUDE.md and SKILL.md files.

Step 0: Resolve Paths

Default paths:

  • Project Memory: ./CLAUDE.md
  • User Memory: ~/.claude/CLAUDE.md

Override via arguments:

  • --project PATH - custom project memory location
  • --user PATH - custom user memory location

Override via config (persistent): Check ~/.claude/CLAUDE.md for a ## Memento Config section:

## Memento Config
- PROJECT_PATH: ./docs/CLAUDE.md
- USER_PATH: ~/custom/CLAUDE.md

Priority: Arguments > Config > Defaults

Store resolved paths as $PROJECT_PATH and $USER_PATH for use in subsequent steps.

Step 1: Analyze the Session

Review the conversation for:

  • Mistakes I made - wrong assumptions, incorrect commands, things that failed
  • Corrections the user made - "no", "actually", "I meant", "not that"
  • Preferences expressed - how the user likes things done (explicit or implicit)
  • Project conventions discovered - file structure, tooling, patterns in THIS codebase
  • Reusable learnings - insights that apply across all projects
  • Improvements for Skills used

Step 2: Categorize Suggestions

What counts as ACTIONABLE:

  • Changes how Claude behaves in future sessions
  • Specific enough to apply ("use pnpm not npm" vs "check package manager")
  • Would have prevented a mistake made in this session

What is NOT actionable (skip these):

  • Observations or reflections ("this was a good session")
  • Meta-advice ("run retro after meaningful sessions")
  • Vague principles ("be more careful")
  • Things already known or obvious

Where suggestions go:

**Project Skills/Agents (.claude/skills/*/SKILL.md, .claude/agents/*.md)** - PREFER when:

  • Learning is about how a specific skill or agent should behave
  • Correction relates to a skill that was used in this session
  • Convention improves a specific workflow (biographing, citation, etc.)

Project Memory ($PROJECT_PATH) - Use when:

  • Convention is project-wide but not skill-specific
  • Architecture or file structure pattern
  • General project guidance that doesn't fit a skill

User Memory ($USER_PATH) - Use when:

  • Preference applies across ALL projects
  • It's about how the user likes to work generally
  • It's a Claude Code tip that's universally useful

Step 3: Check for Duplicates

Before suggesting, read:

  • Both CLAUDE.md files
  • Any skill files (.claude/skills/*/SKILL.md) relevant to the session
  • Any agent files (.claude/agents/*.md) that were used

Never suggest something already present in these files.

Step 4: Present Suggestions (or say "nothing meaningful")

If you have ZERO actionable suggestions, just say:

"No actionable suggestions from this session. The conversation was straightforward or learnings were already captured."

If you DO have suggestions, use AskUserQuestion with multiSelect.

IMPORTANT: Show ALL relevant categories in the same AskUserQuestion call.

The questions array can include (only include categories with suggestions):

  1. Skills/Agents question (if any skill or agent improvements)
  2. Project Memory question (if any project-wide suggestions)
  3. User Memory question (if any universal suggestions)

Example structure:

{
  "questions": [
    {
      "header": "Skills/Agents",
      "question": "Which improvements should I add to skill/agent files?",
      "multiSelect": true,
      "options": [
        {"label": "biographing: [suggestion]", "description": "..."},
        {"label": "gardener: [suggestion]", "description": "..."}
      ]
    },
    {
      "header": "Project Memory",
      "question": "Which insights should I add to $PROJECT_PATH?",
      "multiSelect": true,
      "options": [...]
    },
    {
      "header": "User Memory",
      "question": "Which insights should I add to $USER_PATH?",
      "multiSelect": true,
      "options": [...]
    }
  ]
}

For Skills/Agents, prefix each option label with the target file (e.g., "biographing:...").

Rules:

  • Max 4 suggestions per category
  • Each suggestion must be 1-2 lines, specific, actionable
  • User can select none, some, or all from each category

Step 5: Apply Selected Suggestions

For each selected suggestion:

  1. Read the target file (CLAUDE.md or skill/agent file)
  2. Find appropriate section (create if needed)
  3. Append the suggestion using Edit tool

For skill/agent files: Add to an existing relevant section, or create a new section if appropriate (e.g., "## Constraints", "## Tips", "## Common Mistakes").

Output Format

✅ Added to .claude/skills/biographing/SKILL.md:
- [suggestion]

✅ Added to $PROJECT_PATH:
- [suggestion]

✅ Added to $USER_PATH:
- [suggestion]

Or if nothing was added:

No changes made.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.74%
按下载量换算30

Claude

28.36%
按下载量换算24

Cursor

18.79%
按下载量换算16

Gemini CLI

9%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills