context-memory-keeper

Manages persistent memory. Used to read the current context or archive completed/obsolete tasks. Storage is structured as long-term principles (rules) and a short-term workbench (tasks).

Last repository push
GitHub Stars
116
Forks
3
Issues / PRs
0

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "context-memory-keeper" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-a144dca6a29653a7bff2b549868cf748e7e408249362714d103aec5c758a4051. Verify the upstream source and version against https://github.com/xzwwwwww/Enhanced-mathmodel-Codex-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Manages persistent memory. Used to read the current context or archive completed/obsolete tasks. Storage is structured as long-term principles (rules) and a short-term workbench (tasks).

0 Downloads

Introduction source: third_party · xzwwwwww · 0.0.1 Reference

SkillPi interpretation

Tasks
Manages persistent memory. Invoke to read active context or archive old tasks. Structure: Long-term Principles (Rules) + Short-term Workbench (Tasks).
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "context-memory-keeper"
description: "Manages persistent memory. Invoke to read active context or archive old tasks. Structure: Long-term Principles (Rules) + Short-term Workbench (Tasks)."

Context Memory Keeper

Description

此 Skill 维护双层记忆结构,旨在解决模型上下文遗忘问题,同时保持上下文窗口的整洁。

Files Structure

  1. memoryskill.md (Active Memory):
    • 长期准则: 用户偏好、角色设定、全局约束 (Read-Only mostly)。
    • 短期工作台: 当前任务状态、变量、正在进行的步骤、外部文献/数据索引 (Read-Write frequently)。
  2. memory_archive.md (Archive):
    • 历史记录、已完成的任务详情 (Write-Only mostly)。

When to Invoke

  • Read: 每次开始复杂任务前,或感到上下文模糊时,读取 memoryskill.md。
  • Update:
    • 获得新指令或完成小步骤 -> 更新 memoryskill.md 的“短期工作台”。
    • 用户修改全局规则 -> 更新 memoryskill.md 的“长期准则”。
  • Archive (Cleanup):
    • 当“短期工作台”内容过长或阶段性任务结束 -> 将旧内容剪切到 memory_archive.md,并在 memoryskill.md 中仅保留关键结论。

Compression Policy (Auto-Cleanup)

  • 触发条件: 当 memoryskill.md 超过 100 行 时,必须执行压缩。
  • 保留原则:
    1. User Imperatives: 用户强烈要求的命令、偏好、红线(High Priority)。
    2. Project Skeleton: 项目核心框架、关键路径、当前阶段里程碑(Medium Priority)。
    3. Active Blockers: 正在阻碍当前任务的问题(High Priority)。
  • 丢弃/归档原则:
    1. Details: 已完成任务的执行细节 -> 移至 memory_archive.md。
    2. Logs: 过程性的成功/失败日志 -> 移至 memory_archive.md 或直接删除。
    3. Expired Context: 已失效的临时变量或不再相关的上下文 -> 直接删除。

Usage Tips

  • 保持 memoryskill.md 轻量(建议 < 100 行),以便随时快速读取。
  • 归档是手动触发的动作(由模型决定何时剪切粘贴)。

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value72/100

Highlights

  • 有效解决模型上下文遗忘问题
  • 双层记忆结构设计合理
  • 对复杂任务场景有实际价值
Trigger Precision85/100

Highlights

  • 触发场景描述完整清晰
  • 覆盖读取、更新、归档三种核心操作
  • When to Invoke 指导性强
Structure and Standards88/100

Highlights

  • 文档结构完整规范
  • 有具体示例和量化标准
  • frontmatter 完整
Execution Reliability75/100

Areas to improve

  • 缺少操作确认机制 Reported severity: Minor

    归档操作涉及数据迁移,建议增加确认提示

    Recommendation: 在执行归档操作前增加用户确认步骤,避免误操作

Highlights

  • 压缩策略具体可行
  • 三层保留原则清晰
  • 文件操作来源明确
Evidence Verifiability (mean of the first four)80/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

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

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.