durable-memory

持久化记忆(Durable Memory):存储在 Aikito 工作区中的 Git 版本化内存,作为独立于任何 Agent 的内置记忆。用于搜索、检索或持久化跨项目和项目范围内的持久知识、历史决策、用户偏好或已验证的架构约束。

仓库最近推送
GitHub Stars
131
Forks
0
Issues / PRs
0

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "durable-memory":https://skillpi.com/zh/skills/deepskill-b8a0dcc6aa6ee9938015292339d7533ec31f1bdb40ca078ae90114b3804b6a5b。安装前核对上游来源和版本:https://github.com/lsaint/aikito。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

持久化记忆(Durable Memory):存储在 Aikito 工作区中的 Git 版本化内存,作为独立于任何 Agent 的内置记忆。用于搜索、检索或持久化跨项目和项目范围内的持久知识、历史决策、用户偏好或已验证的架构约束。

0 下载

介绍来源: third_party · lsaint · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: durable-memory
description: Git-versioned memory stored in the Aikito workspace, separate from any Agent's built-in memory. Use to search, retrieve, or persist cross-project and project-scoped durable knowledge, historical decisions, user preferences, or verified architecture constraints.

Durable Memory

This bundled skill is a system-managed snapshot of the installed Aikito package. Do not customize it in place; put additional memory policy in global or project instructions.

Objective

Reduce redundant investigation and repeated pitfalls using a minimal, trustworthy, and searchable memory store.

Memory is a decision-support layer, not a transcript or activity log. Optimize for future decision value rather than completeness, and prefer omission over low-confidence memory.

Decide autonomously when to retrieve, follow related knowledge, or persist. This skill is not a rigid step-by-step procedure: never read or write merely for compliance, and exercise restraint when value is uncertain.

Scope & Single Source of Truth

Resolve <workspace> with aikito path workspace. All memory lives there under Git:

  • Global Memory — <workspace>/memory/: cross-project experience, user preferences, general engineering patterns. Always available.
  • Project Memory — <workspace>/projects/<project-name>/memory/: project-specific constraints, historical architecture decisions, project-unique debugging lessons. Usually reached through the .agents/memory/ runtime entry in registered projects.

Each scope stores atomic notes under notes/. These files are the complete source of truth; no separate index is required. .agents/memory/ is only a runtime entry point and keeps no independent copy; all memory operations act directly on the canonical notes above.

Decision Principles

Retrieve proactively when historical knowledge could materially affect judgment (familiar modules, recurring issues, user preferences, architecture constraints, past decisions). Read only what is relevant to the current task; never load all memories by default.

Knowledge is usually worth persisting when it is likely to matter again, changes future judgment, and is not trivial to recover from the current environment. Prefer verified knowledge; explicit user decisions and preferences are authoritative for their own scope.

Do NOT record:

  • Temporary debugging outputs, transient task progress, or modified file lists.
  • Unverified hypotheses or rapidly shifting guesses.
  • Facts easily readable from current codebase inspection.
  • Passwords, tokens, API keys, or other sensitive credentials.

Persist at natural work milestones when knowledge stabilizes — neither waiting for explicit user task termination nor writing files on every response.

Retrieval

Search the relevant global or project notes/ directory directly with filenames, headings, body text, or wikilinks, and follow related links only when necessary. Prefer one targeted search over reading every note. When memory conflicts with current code, tests, or configuration, ground decisions in current code facts and update the stale memory.

Ownership & Persistence

Write cross-project knowledge to global memory and project-dependent knowledge to project memory. When scope is genuinely ambiguous, do not persist until the ambiguity is resolved. An unregistered project is never a reason to put project-specific knowledge in global memory.

If worthwhile project-specific knowledge has nowhere to go because project memory is unavailable, ask whether to register the project; after confirmation use the aikito skill and aikito init project to create the canonical scope and runtime links, then write the note. Never register a project just to store global memory, and otherwise do not prompt merely because a project is unregistered.

Formatting & Organization

  • Prefer one durable, independently reusable concept per note.
  • A note may use category frontmatter for optional display grouping; missing category never makes a note invalid.
  • Use stable lowercase kebab-case note names (filename stems) of at most 50 characters (e.g., payment-idempotency).
  • In project memory, omit the project name as a filename prefix unless it prevents a real ambiguity within that project.
  • Use titles that state the durable idea clearly and stay recognizable in search results or wikilinks; explain scope, rationale, and actionable guidance in the body.
  • Reference other notes with Obsidian-style wikilinks: [[note-name]] or [[note-name|Display Text]].

When duplication is plausible, check related notes first and prefer updating or consolidating existing knowledge over adding another note. Correct obsolete content directly and repair related links as needed; Git history replaces in-note changelogs.

Retirement

Memory stays trustworthy only if invalidated knowledge leaves it. A note has outlived its value when it is no longer accurate, useful, distinctive, or costly to re-derive. Judge this opportunistically whenever you substantially rely on or modify a note; do not sweep the whole store looking for work.

Prefer the least destructive remedy that restores accuracy: rewrite when the topic still matters, merge when notes overlap, delete only when the topic itself stopped being worth remembering. Act autonomously when retirement is clear; ask only when the note may still encode a valid user preference, decision, or context you cannot verify.

A retired note leaves nothing pointing at it: remove it with aikito rm memory, repair inbound [[wikilinks]], and keep no tombstones or deprecation stubs.

Commit & Version Control

When memory changes, stage only the note files and wikilink repairs that change requires, then create one narrowly scoped, reviewable local Git commit in <workspace>.

版本历史

  1. v1.64.2 GitHub ↗
    原版更新说明

    ### Changed - Enhanced `aikito show instructions` with a structured project table reporting Mode (`overlay`/`direct`), Public repository instructions, Private user instructions, and link status, along with multi-layer instruction output when viewing overlay projects. - Enhanced `aikito diff mcp` and `aikito diff subagent` to accept flexible arguments including slash format (`agent/server`, `agent/name`), bare server/subagent names, or omitted arguments to view diffs at agent or resource level without requiring strict separate positional arguments. - Enhanced `aikito diff project` to support `<project>/<skill>` and `<project>/<skill>/<file>` path notation. ### Fixed - Preserved project instruction overlay status when Git-tracked target file does not yet exist and refined table rendering. - Stripped trailing slashes and rejected conflicting arguments in `aikito diff`.

  2. v1.64.1 GitHub ↗
    原版更新说明

    ### Fixed - Allowed safe takeover of unmanaged instructions and subagents during synchronization when target content is equivalent, with unified safety backup under `~/.aikito/backups/sync_<timestamp>/`. - Refused and skipped stdio MCP definitions during adoption with guidance to prevent blocking downstream synchronization. - Fixed global instruction line count calculation in `aikito status` to read `global/AGENTS.md`. - Added `aikito doctor` Overlay Guidance diagnostics (`INV-AG-04`) and safe `--fix` recovery for `global/AGENTS.md`.

  3. v1.64.0 GitHub ↗
    原版更新说明

    ### Added - Added personal instruction overlay mode (`.agents/AGENTS.md`) when a project repository already tracks team instructions in `AGENTS.md`. - Added automatic Git `info/exclude` registration for `.agents/AGENTS.md`, `.agents/memory`, and link-mode skills (`.agents/skills/<name>`) to prevent repository status pollution. - Added managed global guidance block (`<!-- aikito:managed-block:overlay-instructions -->`) in `<workspace>/global/AGENTS.md` for AI agent discovery of project overlay instructions. - Added graceful skipping (`status="WARN"`, `rule_id="INV-TR-21"`) when a selected project skill collides with a Git-tracked team skill in the repository. - Added `aikito doctor` diagnostics for Claude Code version (< 2.1.277), outdated default `claude-code.toml`, missing Git exclude entries (with `--fix`), git typechange, and duplicate team instruction paragraphs. ### Changed - Updated bundled Claude Code template `project_instruction_path` to `"AGENTS.md"`, automatically migrating and unlinking legacy `.claude/CLAUDE.md` links.

  4. v1.63.1 GitHub ↗
    原版更新说明

    ### Fixed - Backed up local differences to `.local/sync-join/` before adopting remote workspaces on initial synchronization. ### Changed - Condensed and updated architecture documentation for remote store boundaries and workspace layouts. - Clarified durable memory documentation source-of-truth precedence over redundant sweeping.

  5. v1.63.0 GitHub ↗
    原版更新说明

    ### Added - Added support for Pi built-in MCP configuration and synchronization. ### Fixed - Sanitized OAuth client secrets and properly merged server overrides during multi-agent adopt. - Filtered Pi stdio MCPs during workspace adopt while preserving existing OAuth configurations. - Suppressed repeated remote log output during synchronization.

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 提供跨项目知识持久化与检索能力,有效减少重复调查和决策失误
  • 面向开发者高频刚需场景,具备工程实用性和长期价值
触发精准90/100

亮点

  • 触发描述清晰完整,关键词覆盖全面,边界明确
结构规范95/100

亮点

  • 结构清晰,逻辑连贯,包含完整的行为准则和格式化规范
  • frontmatter 完整,文档长度适中
执行可靠90/100

亮点

  • 工具来源明确,参数定义准确,覆盖关键异常场景
  • 不可逆操作有确认与修复机制,执行流程稳健
证据可验 (前四项均值)90/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

  • 账号、密钥或授权

    使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。

    主文档提及 · 第 40 行

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。