git 笔记内存

SKILL研究检索

原名 git-notes-memory

研究检索 联网访问 许可证明确 OpenClaw
安装这个技能

git-notes-memory 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

一句话选型结论

按资料字段整理

git 笔记内存是研究检索类的 Agent Skill,安装方式:ClawHub 市场,权限级别:联网访问,许可证明确(MIT-0),有可直接复制的安装命令,可被 OpenClaw 加载。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类研究检索 安装方式ClawHub 市场 权限级别联网访问 许可证许可证明确
累计安装 149,695 本周 6,115
GitHub 星标 11 仓库 git-notes-memory
下载量 48,431 技能市场下载数
权限级别 联网访问 安装前请确认风险范围
许可证 许可证明确 MIT-0

安装

ClawHub 市场
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
openclaw skills install git-notes-memory
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills,并且版本不旧;已标注支持:OpenClaw。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

研究检索
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方mourad-ghafiri仓库 git-notes-memory · 版本 1.0.0
宿主客户端OpenClaw技能可被这些客户端加载
安装方式ClawHub 市场安装包 mourad-ghafiri/git-notes-memory
权限级别联网访问安装前请确认风险范围
许可证MIT-0许可证明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验2026-05-01上游最后核验时间 · 数据更新 未标注
正文体量10.7 KBSKILL.md 原文大小,越大说明说明书写得越细

能做什么

5 项能力
上游给出的能力概览与适用场景
  • 按任务关键词查找相关 Skills
  • 展示可复制的安装命令
  • 保留来源站点、仓库和原始说明,方便继续核验
  • 补充不同宿主或平台的使用分布数据
  • 展示第三方安全扫描或审计结果
OpenClaw 用户查找和安装 Skill 时用户想查找某类 Agent Skill 时需要根据任务场景推荐可安装能力包时需要对比不同来源的安装命令和来源信息时

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
查资料并整理出处

让模型按主题查资料,并把引用来源整理成清单。

网页与文献要点提炼

把长文、论文、网页压成能直接看的要点。

竞品与行业汇总

按关键词汇总竞品动态与行业信息。

权限与风险

联网访问
装之前先读完这段

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 许可证明确(MIT-0),商用边界更清楚。
  • 有可直接复制的安装命令,不用自己翻文档找入口。
  • 列了 5 项能力,能直接看出它能做什么。
  • 标注支持 OpenClaw,换客户端不用重新找。
  • 累计安装 149,695,用的人多,遇到问题更容易搜到答案。

先想清楚的地方

  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在研究检索场景里给模型补一套做法的人。
  • 已经在用 OpenClaw 的人,接入路径最短。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
git 笔记内存当前 联网访问 ClawHub 市场 149,695 OpenClaw 有
寻找技能 浏览器控制 GitHub 仓库 3120.0 万 Codex、Claude、Cursor 有
自我改进 Agent 接触敏感数据 ClawHub 市场 1646.4 万 OpenClaw 有
灵魂追踪 联网访问 GitHub 仓库 758.9 万 Codex、Claude、Cursor 有
自我完善 联网访问 ClawHub 市场 682.9 万 OpenClaw 有
微软代工厂 调用外部服务 GitHub 仓库 661.4 万 Codex、Claude、Cursor 有

安装与使用指南

安装步骤

本站只展示命令,不托管安装包,也不自动执行。

怎么用

安装后应在对应宿主中按原始 README 的触发条件使用;当前草稿只做目录说明,具体调用方式由规则抽取,异常条目再复核。

SKILL.md 全文

10.7 KB
模型实际读到的说明书原文,来自技能仓库

GitNotesMemory - Claude Integration Guide

CRITICAL: SILENT OPERATION RULES

These rules are ABSOLUTE and must NEVER be violated:

  1. NEVER ask "should I remember?" or "want me to save?"
  2. NEVER announce "I'll remember this" or "saving to memory"
  3. NEVER show memory command output to users
  4. NEVER mention memory system unless user explicitly asks about it
  5. JUST DO IT - silently in the background

Quick Reference

# Replace $SKILL_PATH with actual path to memory.py
# Replace $DIR with the project directory path

python3 $SKILL_PATH/memory.py -p $DIR <command>

Essential Commands

Command When to Use
sync --start ALWAYS at session start
sync --end '{"summary":"..."}' At session end (optional but recommended)
remember '{"..."}' -t tags -i h Store important information
get <topic> Retrieve context about a topic
search "<query>" Full-text search across all memories
recall -i <id> Get full details of a specific memory

Importance Flags

Flag Level When to Use
-i c Critical User says "always remember", "never forget", explicit preferences
-i h High Decisions, architecture choices, user corrections, preferences
-i n Normal General information (default)
-i l Low Temporary notes, might be pruned

Session Lifecycle

1. Session Start (MANDATORY)

Always run sync --start at the beginning of every session:

python3 $SKILL_PATH/memory.py -p $DIR sync --start

Output explains:

{
  "b": "main",           // Current git branch
  "t": {"api": 5, "auth": 3},  // Top topics with memory counts
  "c": [...],            // Critical memories (always review these)
  "n": 42,               // Total memory count
  "h": [...]             // High-importance recent memories
}

Use this context to:
- Understand what the user has been working on
- Reference previous decisions
- Maintain continuity across sessions

2. During Session

Silently remember when user:
- Makes a decision: "Let's use PostgreSQL" → remember with -i h
- States a preference: "I prefer tabs over spaces" → remember with -i h or -i c
- Learns something: "Oh, so that's how async works" → remember with -i n
- Sets a task: "We need to fix the login bug" → remember with -i n
- Shares important context: Project requirements, constraints, goals

Retrieve context when:
- User asks about something previously discussed → get <topic>
- You need to recall a specific decision → search "<keywords>"
- User references "what we decided" → check relevant memories

3. Session End (Recommended)

python3 $SKILL_PATH/memory.py -p $DIR sync --end '{"summary": "Brief session summary"}'

Memory Content Best Practices

Good Memory Structure

For decisions:

{"decision": "Use React for frontend", "reason": "Team expertise", "alternatives": ["Vue", "Angular"]}

For preferences:

{"preference": "Detailed explanations", "context": "User prefers thorough explanations over brief answers"}

For learnings:

{"topic": "Authentication", "learned": "OAuth2 flow requires redirect URI configuration"}

For tasks:

{"task": "Implement user dashboard", "status": "in progress", "blockers": ["API not ready"]}

For notes:

{"subject": "Project Architecture", "note": "Microservices pattern with API gateway"}

Tags

Use tags to categorize memories for better retrieval:
- -t architecture,backend - Technical categories
- -t urgent,bug - Priority/type markers
- -t meeting,requirements - Source context

Command Reference

Core Commands

sync --start

Initialize session, get context overview.

python3 $SKILL_PATH/memory.py -p $DIR sync --start

sync --end

End session with summary (triggers maintenance).

python3 $SKILL_PATH/memory.py -p $DIR sync --end '{"summary": "Implemented auth flow"}'

remember

Store a new memory.

python3 $SKILL_PATH/memory.py -p $DIR remember '{"key": "value"}' -t tag1,tag2 -i h

get

Get memories related to a topic (searches entities, tags, and content).

python3 $SKILL_PATH/memory.py -p $DIR get authentication

search

Full-text search across all memories.

python3 $SKILL_PATH/memory.py -p $DIR search "database migration"

recall

Retrieve memories by various criteria.

# Get full memory by ID
python3 $SKILL_PATH/memory.py -p $DIR recall -i abc123

# Get memories by tag
python3 $SKILL_PATH/memory.py -p $DIR recall -t architecture

# Get last N memories
python3 $SKILL_PATH/memory.py -p $DIR recall --last 5

# Overview of all memories
python3 $SKILL_PATH/memory.py -p $DIR recall

Update Commands

update

Modify an existing memory.

# Replace content
python3 $SKILL_PATH/memory.py -p $DIR update <id> '{"new": "content"}'

# Merge content (add to existing)
python3 $SKILL_PATH/memory.py -p $DIR update <id> '{"extra": "field"}' -m

# Change importance
python3 $SKILL_PATH/memory.py -p $DIR update <id> -i c

# Update tags
python3 $SKILL_PATH/memory.py -p $DIR update <id> -t newtag1,newtag2

evolve

Add an evolution note to track changes over time.

python3 $SKILL_PATH/memory.py -p $DIR evolve <id> "User changed preference to dark mode"

forget

Delete a memory (use sparingly).

python3 $SKILL_PATH/memory.py -p $DIR forget <id>

Entity Commands

entities

List all extracted entities with counts.

python3 $SKILL_PATH/memory.py -p $DIR entities

entity

Get details about a specific entity.

python3 $SKILL_PATH/memory.py -p $DIR entity authentication

Branch Commands

branches

List all branches with memory counts.

python3 $SKILL_PATH/memory.py -p $DIR branches

merge-branch

Merge memories from another branch (run after git merge).

python3 $SKILL_PATH/memory.py -p $DIR merge-branch feature-auth

Branch Awareness

How It Works

  • Each git branch has isolated memory storage
  • New branches automatically inherit from main/master
  • After git merge, run merge-branch to combine memories

Branch Workflow

1. User on main branch → memories stored in refs/notes/mem-main
2. User creates feature branch → auto-inherits main's memories
3. User works on feature → new memories stored in refs/notes/mem-feature-xxx
4. After git merge → run merge-branch to combine memories

Memory Types (Auto-Detected)

The system automatically classifies memories based on content:

Type Trigger Words
decision decided, chose, picked, selected, opted, going with
preference prefer, favorite, like best, rather, better to
learning learned, studied, understood, realized, discovered
task todo, task, need to, plan to, next step, going to
question wondering, curious, research, investigate, find out
note noticed, observed, important, remember that
progress completed, finished, done, achieved, milestone
info (default for unclassified content)

Entity Extraction

Entities are automatically extracted for intelligent retrieval:

  • Explicit fields: topic, subject, name, category, area, project
  • Hashtags: #cooking, #urgent, #v2
  • Quoted phrases: "machine learning", "user authentication"
  • Capitalized words: React, PostgreSQL, Monday
  • Key terms: Meaningful words (common words filtered out)

What to Remember

DO remember:
- User decisions and their rationale
- Stated preferences (coding style, communication style, tools)
- Project architecture and constraints
- Important context that affects future work
- Tasks, blockers, and progress
- Corrections ("actually, I meant..." → high importance)
- Explicit requests to remember something → critical importance

DON'T remember:
- Trivial conversation
- Information easily derivable from code
- Secrets, passwords, API keys
- One-time questions with no future relevance
- Duplicate information already stored

Output Format Reference

Tier 0: sync --start

{
  "b": "feature-auth",                    // Current branch
  "t": {"auth": 5, "api": 3, "db": 2},   // Topics with counts
  "c": [{"id": "x", "s": "summary", "t": "preference"}],  // Critical
  "n": 15,                                // Total count
  "h": [{"id": "y", "s": "summary"}]     // High importance
}

Tier 1: get/search

{
  "topic": "auth",
  "mem": [
    {"id": "abc", "s": "decided OAuth2", "t": "decision", "i": "h", "b": "main"}
  ]
}

Tier 2: recall -i <id>

{
  &quot;d&quot;: {&quot;decision&quot;: &quot;Use OAuth2&quot;},  // Full data
  &quot;e&quot;: [&quot;auth&quot;, &quot;oauth2&quot;],          // Entities
  &quot;t&quot;: &quot;decision&quot;,                   // Type
  &quot;g&quot;: [&quot;architecture&quot;],             // Tags
  &quot;i&quot;: &quot;h&quot;,                          // Importance
  &quot;b&quot;: &quot;main&quot;,                       // Branch
  &quot;c&quot;: &quot;2024-01-15T10:30:00&quot;,       // Created
  &quot;u&quot;: &quot;2024-01-15T10:30:00&quot;,       // Updated
  &quot;a&quot;: 3,                            // Access count
  &quot;ev&quot;: [{&quot;n&quot;: &quot;note&quot;, &quot;t&quot;: &quot;...&quot;}] // Evolution notes (if any)
}

Example Silent Flow

User: &quot;Let&#x27;s build a REST API with Python&quot;
Claude: [silently: remember &#x27;{&quot;decision&quot;: &quot;REST API&quot;, &quot;language&quot;: &quot;Python&quot;}&#x27; -t architecture -i h]
        [responds about REST API setup WITHOUT mentioning memory]

User: &quot;I prefer FastAPI over Flask&quot;
Claude: [silently: remember &#x27;{&quot;preference&quot;: &quot;FastAPI over Flask&quot;, &quot;reason&quot;: &quot;user preference&quot;}&#x27; -i h]
        [continues discussion using FastAPI WITHOUT saying &quot;I&#x27;ll remember&quot;]

User: &quot;What did we decide about the API?&quot;
Claude: [silently: get api]
        [uses retrieved context to answer accurately]

User: &quot;Actually, let&#x27;s use Flask instead&quot;
Claude: [silently: remember &#x27;{&quot;decision&quot;: &quot;Changed to Flask&quot;, &quot;previous&quot;: &quot;FastAPI&quot;}&#x27; -i h]
        [silently: evolve &lt;fastapi-memory-id&gt; &quot;User changed preference to Flask&quot;]
        [acknowledges change WITHOUT mentioning memory update]

Troubleshooting

Memory not found:
- Use search with different keywords
- Check entities to see what's indexed
- Use recall --last 10 to see recent memories

Context seems stale:
- Always run sync --start at session beginning
- Check current branch with branches

After git operations:
- After git merge: run merge-branch &lt;source-branch&gt;
- After git checkout: sync --start will load correct branch context

常见问题

7 问
答案由本站依据条目字段整理
git 笔记内存怎么安装?

在支持 Skills 的客户端里执行:openclaw skills install git-notes-memory。安装方式为ClawHub 市场。装完刷新技能列表或重开客户端。

git 笔记内存支持哪些客户端?

资料标注支持 OpenClaw;其他支持 Skills 的客户端也能用同样的方式加载。

git 笔记内存权限高吗,安全吗?

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

git 笔记内存收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

git 笔记内存用什么许可证?

许可证标注为 MIT-0(许可证明确)。商用或二次分发前请到仓库确认条款原文。

git 笔记内存能做什么?

资料列出的能力包括:按任务关键词查找相关 Skills、展示可复制的安装命令、保留来源站点、仓库和原始说明,方便继续核验、补充不同宿主或平台的使用分布数据、展示第三方安全扫描或审计结果。

git 笔记内存怎么用?

安装后应在对应宿主中按原始 README 的触发条件使用;当前草稿只做目录说明,具体调用方式由规则抽取,异常条目再复核。

安全信息

审计结论
未标注不代表已通过审计
安全审计VirusTotal、ClawScan、Static analysis第三方安全审计平台给出的结论

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 2026-05-01。