memory

GitHub

管理 OpenSquilla 持久化记忆,包括读取、更新和删除用户配置文件及长期笔记。

src/opensquilla/skills/bundled/memory/SKILL.md opensquilla/opensquilla

触发场景

用户要求记住或回忆信息 用户要求忘记或更新记忆

安装

npx skills add opensquilla/opensquilla --skill memory -g -y
更多选项

非标准路径

npx skills add https://github.com/opensquilla/opensquilla/tree/main/src/opensquilla/skills/bundled/memory -g -y

不安装直接使用

npx skills use opensquilla/opensquilla@memory

指定 Agent (Claude Code)

npx skills add opensquilla/opensquilla --skill memory -a claude-code -g -y

安装 repo 全部 skill

npx skills add opensquilla/opensquilla --all -g -y

预览 repo 内 skill

npx skills add opensquilla/opensquilla --list

SKILL.md

Frontmatter
{
    "name": "memory",
    "always": false,
    "metadata": {
        "opensquilla": {
            "requires_tools": [
                "memory_search",
                "memory_get"
            ]
        }
    },
    "triggers": [
        "remember",
        "recall",
        "forget"
    ],
    "provenance": {
        "origin": "opensquilla-original",
        "license": "Apache-2.0",
        "upstream_url": "",
        "maintained_by": "OpenSquilla"
    },
    "description": "Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory\/**\/*.md.",
    "description_zh": "当用户要求记住、回忆、忘记、更新、搜索或查看OpenSquilla的持久记忆时使用,包括USER.md中的档案事实以及MEMORY.md或memory\/**\/*.md中的长期笔记。"
}

OpenSquilla Memory

Use only tools that are visible in the current tool list. This skill explains OpenSquilla's memory source files; it does not make hidden tools available.

Source Files

  • USER.md: stable user profile fields such as name, preferred address, pronouns, timezone, and durable profile notes. Edit it with visible filesystem tools, not memory_save.
  • MEMORY.md: curated long-term non-profile facts, preferences, decisions, and constraints.
  • memory/YYYY-MM-DD.md and memory/**/*.md: daily, session, or named memory notes.
  • turns/**/*.md: private auto-captured turn state. These files are for audit/future processing and are not indexed or returned by ordinary memory_search.

The Markdown files are the source of truth. The memory index/database is derived from curated MEMORY.md and memory/**/*.md files only.

Recall

  • Use injected USER.md first for current user identity/profile questions.
  • Use memory_search for historical or non-profile recall that is not already in injected context.
  • Use memory_get after search when exact lines or more context are needed.

Remember Or Update

  • If the user specifies a memory path, use that exact path if it is a valid memory source file.
  • For profile facts, edit USER.md with visible filesystem tools.
  • For daily or session notes, write to memory/YYYY-MM-DD.md or another appropriate memory/**/*.md source.
  • For curated long-term facts in MEMORY.md, read the current file first and write the full updated content. If memory_save is available, use mode='replace' for MEMORY.md; do not append to it.
  • If memory_save is available, use it only for MEMORY.md or memory/**/*.md, never for USER.md.
  • If memory_save is not available but filesystem tools are visible, edit or create the same source files directly.

Forget Or Correct

  • Search first, then read the relevant file/lines before removing anything.
  • If memory_delete is available, use it only when the user wants to delete a whole memory source file.
  • To remove or correct one fact, edit the source file directly when filesystem tools are visible.
  • If no write or delete tool is available, report the exact path and lines that should be changed instead of claiming the memory was updated.

Boundaries

  • Do not store ordinary deliverables such as reports, JSON outputs, or result files in memory source files.
  • Do not save secrets, tokens, private keys, or full credential contents.
  • Only confirm memory was updated after the write or delete succeeds.

版本历史

  • f662be3 当前 2026-07-31 11:48
  • 7f72a32 2026-07-05 18:38

同 Skill 集合

src/opensquilla/skills/bundled/advanced-dubbing-studio/SKILL.md
src/opensquilla/skills/bundled/ai-video-script/SKILL.md
src/opensquilla/skills/bundled/audio-cog/SKILL.md
src/opensquilla/skills/bundled/awesome-webpage-image-download/SKILL.md
src/opensquilla/skills/bundled/awesome-webpage-research/SKILL.md
src/opensquilla/skills/bundled/AwesomeWebpageMetaSkill/SKILL.md
src/opensquilla/skills/bundled/cron/SKILL.md
src/opensquilla/skills/bundled/docx/SKILL.md
src/opensquilla/skills/bundled/filesystem/SKILL.md
src/opensquilla/skills/bundled/git-diff/SKILL.md
src/opensquilla/skills/bundled/github/SKILL.md
src/opensquilla/skills/bundled/history-explorer/SKILL.md
src/opensquilla/skills/bundled/html-coder/SKILL.md
src/opensquilla/skills/bundled/html-to-pdf/SKILL.md
src/opensquilla/skills/bundled/http-fetch/SKILL.md
src/opensquilla/skills/bundled/latex-compile/SKILL.md
src/opensquilla/skills/bundled/music-and-singing-studio/SKILL.md
src/opensquilla/skills/bundled/nano-banana-pro-openrouter/SKILL.md
src/opensquilla/skills/bundled/nano-banana-pro/SKILL.md
src/opensquilla/skills/bundled/nano-pdf/SKILL.md
src/opensquilla/skills/bundled/openrouter-video-generator/SKILL.md
src/opensquilla/skills/bundled/paper-abstract-author/SKILL.md
src/opensquilla/skills/bundled/paper-citation-planner/SKILL.md
src/opensquilla/skills/bundled/paper-experiment-stub/SKILL.md
src/opensquilla/skills/bundled/paper-outline-author/SKILL.md
src/opensquilla/skills/bundled/paper-preference-planner/SKILL.md
src/opensquilla/skills/bundled/paper-refbib-stub/SKILL.md
src/opensquilla/skills/bundled/paper-revision-author/SKILL.md
src/opensquilla/skills/bundled/paper-section-author/SKILL.md
src/opensquilla/skills/bundled/paper-source-curator/SKILL.md
src/opensquilla/skills/bundled/pptx/SKILL.md
src/opensquilla/skills/bundled/seedance-2-prompt/SKILL.md
src/opensquilla/skills/bundled/skill-creator-linter/SKILL.md
src/opensquilla/skills/bundled/skill-creator-proposals/SKILL.md
src/opensquilla/skills/bundled/skill-creator-smoke-test/SKILL.md
src/opensquilla/skills/bundled/srt-from-script/SKILL.md
src/opensquilla/skills/bundled/stack-trace-generic-probe/SKILL.md
src/opensquilla/skills/bundled/stack-trace-go-probe/SKILL.md
src/opensquilla/skills/bundled/stack-trace-js-probe/SKILL.md
src/opensquilla/skills/bundled/stack-trace-python-probe/SKILL.md
src/opensquilla/skills/bundled/stack-trace-rust-probe/SKILL.md
src/opensquilla/skills/bundled/subtitle-burner/SKILL.md
src/opensquilla/skills/bundled/swe-bench/SKILL.md
src/opensquilla/skills/bundled/text-file-read/SKILL.md
src/opensquilla/skills/bundled/title-card-image/SKILL.md
src/opensquilla/skills/bundled/video-merger/SKILL.md
src/opensquilla/skills/bundled/video-still-animator/SKILL.md
src/opensquilla/skills/bundled/voice-clone-lab/SKILL.md
src/opensquilla/skills/bundled/voice-conversion-studio/SKILL.md

元信息

文件数
0
版本
186b3c1
Hash
473ad0fe
收录时间
2026-07-05 18:38

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-04 01:23
浙ICP备14020137号-1 $访客地图$