当前位置: 首页 > Skill >

My Custom Skill

My Custom Skill

My Custom Skill

无限有序的记忆,补充代理内置记忆,支持无限分类存储。

1.0.0 2026.11.26 379
获取Skill文件查看使用说明
作 者:陈知 许可证: 更新时间:2026.11.26
本文目录展开

Memory 🧠

Superpowered memory that never forgets.

Your agent has basic built-in memory. This skill adds infinite, perfectly organized memory for everything else — parallel and complementary, never conflicting.

How It Works

Built-in Agent Memory          This Skill (~/memory/)
┌─────────────────────┐        ┌─────────────────────────────┐
│ MEMORY.md           │        │ Infinite categorized storage │
│ memory/ (daily logs)│   +    │ Any structure you want       │
│ Basic recall        │        │ Perfect organization         │
└─────────────────────┘        └─────────────────────────────┘
         ↓                                  ↓
   Agent basics                    Everything else
   (works automatically)           (scales infinitely)

Not a replacement. Your agent's built-in memory keeps working. This adds a parallel system for unlimited, organized storage.

Setup

On first use, read setup.md to configure the memory system with the user. Key decisions:

  1. What categories do they need?
  2. Should we sync anything from built-in memory?
  3. How do they want to find things?

When to Use

User needs organized long-term storage beyond basic agent memory: detailed project histories, extensive contact networks, decision logs, domain knowledge, collections, or any structured data that grows over time.

Architecture

Memory lives in ~/memory/ — a dedicated folder separate from built-in agent memory.

~/memory/
├── config.md              # System configuration
├── INDEX.md               # What's stored, where to find it
│
├── [user-defined]/        # Categories the user needs
│   ├── INDEX.md           # Category overview
│   └── {items}.md         # Individual entries
│
└── sync/                  # Optional: synced from built-in memory
    └── ...

The user defines the categories. Common examples:

  • projects/ — detailed project context
  • people/ — contact network with full context
  • decisions/ — reasoning behind choices
  • knowledge/ — domain expertise, reference material
  • collections/ — books, recipes, anything they collect

See memory-template.md for all templates.

Quick Reference

Topic File
First-time setup setup.md
All templates memory-template.md
Organization patterns patterns.md
Problems & fixes troubleshooting.md

Core Rules

1. Separate from Built-In Memory

This system lives in ~/memory/. Never modify:

  • Agent's MEMORY.md (workspace root)
  • Agent's memory/ folder (if it exists in workspace)

Parallel, not replacement. Both systems work together.

2. User Defines Structure

During setup, ask what they want to store. Create categories based on their needs:

They say... Create
"I have many projects" ~/memory/projects/
"I meet lots of people" ~/memory/people/
"I want to track decisions" ~/memory/decisions/
"I'm learning [topic]" ~/memory/knowledge/[topic]/
"I collect [things]" ~/memory/collections/[things]/

No preset structure. Build what they need.

3. Every Category Has an Index

Each folder gets an INDEX.md that lists contents:

# Projects Index

| Name | Status | Updated | File |
|------|--------|---------|------|
| Alpha | Active | 2026-02 | alpha.md |
| Beta | Paused | 2026-01 | beta.md |

Total: 2 active, 5 archived

Indices stay small (<100 entries). When full, split into subcategories.

4. Write Immediately

When user shares important information:

  1. Write to appropriate file in ~/memory/
  2. Update the category INDEX.md
  3. Then respond

Don't wait. Don't batch. Write immediately.

5. Search Then Navigate

To find information:

  1. Ask first: "Is this in ~/memory/ or built-in memory?"
  2. Search: grep or semantic search in ~/memory/
  3. Navigate: INDEX.md → category → specific file
# Quick search
grep -r "keyword" ~/memory/

# Navigate
cat ~/memory/INDEX.md           # What categories exist?
cat ~/memory/projects/INDEX.md  # What projects?
cat ~/memory/projects/alpha.md  # Specific project

6. Sync from Built-In (Optional)

If user wants certain info copied from built-in memory:

~/memory/sync/
├── preferences.md    # Synced from built-in
└── decisions.md      # Synced from built-in

Sync is one-way: Built-in → this system. Never modify built-in.

7. Scale by Splitting

When a category grows large:

  • INDEX.md > 100 entries → split into subcategories
  • Create sub-INDEX.md for each subcategory
  • Root INDEX.md points to subcategories
~/memory/projects/
├── INDEX.md           # "See active/, archived/"
├── active/
│   ├── INDEX.md       # 30 active projects
│   └── ...
└── archived/
    ├── INDEX.md       # 200 archived projects
    └── ...

What to Store Here (vs Built-In)

Store HERE (~/memory/) Keep in BUILT-IN
Detailed project histories Current project status
Full contact profiles Key contacts quick-ref
All decision reasoning Recent decisions
Domain knowledge bases Quick facts
Collections, inventories —
Anything that grows large Summaries

Rule: Built-in for quick context. Here for depth and scale.

Finding Things

For Small Memory (<50 files)

# Grep is fast enough
grep -r "keyword" ~/memory/

For Large Memory (50+ files)

Navigate via indices:

1. ~/memory/INDEX.md → find category
2. ~/memory/{category}/INDEX.md → find item
3. ~/memory/{category}/{item}.md → read details

For Huge Memory (500+ files)

Use semantic search if available, or hierarchical indices:

~/memory/projects/INDEX.md → "web projects in web/"
~/memory/projects/web/INDEX.md → "alpha project"
~/memory/projects/web/alpha.md → details

Maintenance

Weekly (5 min)

  • Update INDEX.md files if entries added
  • Archive completed/inactive items

Monthly (15 min)

  • Review category sizes
  • Split large categories
  • Remove outdated entries

When Memory is Slow

  • Check INDEX.md sizes (keep <100 lines)
  • Split big categories into subcategories
  • Archive old content

Common Traps

  • Modifying built-in memory → Never touch agent's MEMORY.md or workspace memory/. This system is parallel.

  • No indices → Without INDEX.md, finding things requires searching all files. Always maintain indices.

  • One giant category → 500 items in one folder is slow. Split into subcategories.

  • Syncing everything → Don't copy all built-in memory. Only sync what needs organization here.

  • Waiting to write → Write immediately when user shares info. Don't batch.

Security & Privacy

Data location:

  • All data in ~/memory/ on user's machine
  • No external services required
  • No network requests

This skill does NOT:

  • Access built-in agent memory (only reads if syncing)
  • Send data anywhere
  • Store credentials (never store secrets in memory)

Related Skills

Install with clawhub install <slug> if user confirms:

  • decide - Decision tracking patterns
  • escalate - When to involve humans
  • learn - Adaptive learning

Feedback

  • If useful: clawhub star memory
  • Stay updated: clawhub sync

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,016
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,004
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,002
PHP集成RabbitMQ实现消息队列的完整步骤

使用 php-amqplib 库,通过建立连接、声明交换机与队列并绑定,即可在 PHP 中实现消息的发送与消费。

2026.05.24 1,001
Apache开启.htaccess及使用方法详解

本文介绍如何在本地Apache环境中启用.htaccess文件,主要涉及修改httpd.conf中的AllowOverride参数。同时详细解析.htaccess的多种实用功能,包括自定义错误页面、目录密码保护、IP访问限制、URL自动转向、默认首页设置以及防止图片盗链等配置方法,并分析了使用.htaccess对服务器性能和安全性的潜在影响。

2026.05.09 1,001
Linux内核提权风险待核实,先查版本与补丁

CVE-2026-78901在摘要中被称为Linux内核ext4本地提权漏洞,CVSS评分7.8,但上游正文暂未核实。本文提供通用只读排查命令,帮运维和开发者核对当前运行内核、发行版补丁及升级生效状态。

2026.12.02 1,000
Skill 文件
  • SKILL.md
    • Memory 🧠
    • How It Works
    • Setup
    • When to Use
    • Architecture
    • Quick Reference
    • Core Rules
      • 1. Separate from Built-In Memory
      • 2. User Defines Structure
      • 3. Every Category Has an Index
      • 4. Write Immediately
      • 5. Search Then Navigate
      • 6. Sync from Built-In (Optional)
      • 7. Scale by Splitting
    • What to Store Here (vs Built-In)
    • Finding Things
      • For Small Memory (<50 files)
      • For Large Memory (50+ files)
      • For Huge Memory (500+ files)
    • Maintenance
      • Weekly (5 min)
      • Monthly (15 min)
      • When Memory is Slow
    • Common Traps
    • Security & Privacy
    • Related Skills
    • Feedback
  • 项目或源文件

相关 Skill

更多
service-qa-coach service-qa-coach Review support quality for chat, email, phone, social DM, or marketplace service teams. Use when a team needs a QA scorecard, failure-mode analysis, coaching plan, calibration checklist, or service-improvement brief without live ticketing, CRM, or contact-center system access.
高中数学作业批改助手 高中数学作业批改助手 >图片识别 直接读取学生手写作答照片,识别公式、符号、步骤 🧮 自动推导 根据题目自动生成参考答案和评分细则,无需教师预设 📊 逐步给分 每个关键步骤独立评分,体现过程分 📝 结构化报告 输出含识别内容、参考答案、逐步评分、改进建议的完整报告 🗂 批量批改 支持一次性批改多道题,最终汇总得分表
Vibration Analysis Vibration Analysis 分析来自CMS趋势、RMS/峰值、频谱及SCADA报警的风机传动链(主轴、齿轮箱、发电机)振动数据。
Traditional Bone Tool Making Basics Traditional Bone Tool Making Basics Use when you need custom, durable, repairable tools like awls, needles, scrapers, harpoons, or fishing hooks made from local animal bones or antlers and comm...
音频混音工具 音频混音工具 名称:Sound Mixing Tool(标识 sound-mixing-tool) 短简介(≤60字):音乐/音效响度精确对齐 + 融合混音工作流:用 ffmpeg 两段式 loudnorm 把多组素材 LUFS 偏差压到 <0.10,再最小干预融合、导出可进引擎的独立分轨。 标签/关键词:音频混音 响度匹配 LUFS ffmpeg 游戏音频 音效设计 Wwise FMOD 分轨导出 后期处理 触发词:混音 · 响度匹配 · LUFS 对齐 · MIX 版本 · 音乐音效分轨 · 融合 · 不打架 · 不能盖住 适用场景 :游戏音频集成、影视短视频配乐、播客后期