Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计提醒

session-memory会话内存

Agent Skill

session-memory 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,364

周安装

58

GitHub Stars

141

下载量

478
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:session-memory(会话内存)
来源仓库:https://github.com/romiluz13/cc10x
仓库路径:skills/session-memory
安装命令:
npx skills add https://github.com/romiluz13/cc10x --skill session-memory
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/romiluz13/cc10x --skill session-memory

简介

session-memory 用于查找、检索和筛选相关信息。

  • 适合在会话上下文中快速定位历史信息或参考材料。
  • 安装命令:npx skills add https://github.com/romiluz13/cc10x --skill session-memory
  • 适用于 Codex、Claude、Cursor、Gemini CLI,通过 GitHub 安装,建议确认本地存储权限。
  • 可能涉及临时文件或内存缓存,使用前请核实维护情况。

SKILL.md

Session Memory (MANDATORY)

Overview

CC10X memory is a small, stable, versioned Markdown index plus durable workflow artifacts. It exists to survive compaction, preserve decisions, and keep BUILD / DEBUG / REVIEW / PLAN aligned across sessions.

Memory is an index, not a transcript. Be brief. Distill decisions, learnings, references, and verification evidence into durable, reusable notes.

Reference Map

Keep this file as the control plane. Read only the reference you need:

  • references/memory-model-and-ownership.md for memory surfaces, ownership, promotion, and workflow markers
  • references/memory-operations.md for permission-free operations, router-only persistence, and targeted edit patterns
  • references/memory-file-contracts.md for required headings, stable anchors, templates, and auto-heal rules
  • references/context-budget-and-checkpointing.md for context-budget rules, warning signs, and checkpoint triggers

The Iron Law

EVERY WORKFLOW MUST:
1. LOAD memory at START and before key decisions
2. EMIT memory-worthy notes before finishing
3. LET the router/workflow finalizer persist markdown memory

If memory is skipped, the workflow becomes conversation-dependent. If memory is narrated instead of distilled, it bloats context and loses signal.

Load-Bearing Boundaries

  • Memory lives under .claude/cc10x/v10/.
  • The router loads and auto-heals memory files before routing or resume.
  • WRITE agents read memory, but do not edit .claude/cc10x/v10/*.md directly.
  • WRITE agents emit structured MEMORY_NOTES in their Router Contract.
  • READ-ONLY agents emit ### Memory Notes (For Workflow-Final Persistence).
  • The router-owned memory-finalize task is the only final writer of memory markdown files.
  • Workflow artifacts under .claude/cc10x/v10/workflows/{wf}.json remain the durable execution truth; markdown memory is the stable index.
  • Required headings and anchors are a contract. Do not invent new file layouts or marker schemes.
  • Router-owned markers such as [DEBUG-RESET: wf:{...}] and [cc10x-internal] memory_task_id are read and respected by agents; agents do not invent replacements.

Memory Surfaces

Use the right layer for the right kind of information:

  • activeContext.md: current focus, recent changes, decisions, learnings, references, blockers
  • patterns.md: reusable project standards, gotchas, conventions, and skill hints
  • progress.md: current workflow, tasks snapshot, completed items, verification evidence
  • docs/plans/* and docs/research/*: the detailed artifacts; memory points to them
  • .claude/cc10x/v10/workflows/{wf}.json and .events.jsonl: the durable orchestration truth

Read references/memory-model-and-ownership.md if you need the full ownership model or the promotion ladder.

Distillation Rule

Memory entries must be distilled, not narrated.

Preserve:

  • decisions with rationale
  • causal learnings
  • stable module boundaries and file paths
  • verification commands and exit truth
  • external artifact paths the next session will need

Strip:

  • decorative prose
  • step-by-step diary text
  • speculation that was never resolved
  • redundant retellings of the prompt
  • unstable line numbers unless they are the only durable locator available

Test:

If a fresh agent reading memory cannot reconstruct the current constraints and next move without re-reading the whole conversation, the memory is under-distilled.

What To Load

Always Load

At workflow start, continuation, or resume, read all three memory files:

.claude/cc10x/v10/activeContext.md
.claude/cc10x/v10/patterns.md
.claude/cc10x/v10/progress.md

Re-Read Before These Actions

ActionRe-readWhy
Architectural decisionpatterns.md + activeContext.md ## Decisionsavoid contradicting project standards
Choosing implementation approachpatterns.md + activeContext.mdalign with conventions and recent decisions
DebuggingactiveContext.md + patterns.md + progress.mdreuse prior attempts, gotchas, and evidence
Planning next stepsprogress.md + activeContext.mdavoid duplicate work and preserve order
Claiming completionprogress.md + current plan/design/research referencesverify that proof and scope still match
User says "continue"all three filesrestore the durable state, not the chat summary

File Selection Matrix

NeedRead
current focus / blockersactiveContext.md
prior decisions / rationaleactiveContext.md ## Decisions
learned gotchaspatterns.md
project conventionspatterns.md
what is done / remainingprogress.md
proof commands and exitsprogress.md ## Verification
detailed plan / researchactiveContext.md ## References then the referenced file

What To Persist

Emit only memory-worthy items:

  • decisions that change implementation direction
  • learnings that prevent repeating the same mistake
  • verification evidence with commands and exit truth
  • deferred non-blocking issues that should survive the session
  • plan, design, or research references the next workflow must follow
  • clarified user standards or conventions that should become durable project patterns

Do not persist:

  • whole diffs
  • verbose execution logs
  • celebratory narration
  • "looked correct" claims without evidence
  • duplicate notes that add no new constraint

Agent Output Contract

WRITE agents persist memory through the Router Contract:

MEMORY_NOTES:
  learnings: ["Key causal insight"]
  patterns: ["Reusable gotcha or convention"]
  verification: ["`npm test` -> exit 0"]
  deferred: ["Non-blocking follow-up or risk"]

Rules:

  • Keep each entry one line when possible.
  • Prefer stable nouns over temporary wording.
  • Put verification truth in verification, not in narrative prose.
  • Put non-blocking follow-up work in deferred, not in ad-hoc tasks.
  • If a complementary skill failed to load or a durable artifact was missing in a way that matters, note it in learnings or deferred.

READ-ONLY agents use their own ### Memory Notes (For Workflow-Final Persistence) section, but the router persists both shapes into the same final memory update.

Project Skill Hints

After loading memory, check patterns.md ## Project SKILL_HINTS.

  • Invoke listed skills after memory load when they are relevant and installed.
  • Treat missing skills as non-fatal; note the miss in memory-worthy output if it changed the workflow.
  • Do not invent or rewrite skill IDs from this skill.
  • Do not try to "maintain" ## Project SKILL_HINTS from a write agent by editing memory directly. If a new durable recommendation matters, surface it in planner output or memory notes for router-owned persistence.

Workflow Pattern

Start

  1. Read all three memory files.
  2. Read current plan, design, or research files from activeContext.md ## References only if the workflow needs them.
  3. Load approved project/domain skills from ## Project SKILL_HINTS after memory is loaded.
  4. If context is already getting heavy, apply references/context-budget-and-checkpointing.md.

During

  • Re-read memory before key decisions, not after the mistake.
  • Respect router-owned markers such as [DEBUG-RESET: wf:{...}].
  • Keep notes distilled enough to survive compaction.
  • Prefer durable artifacts and file paths over long conversational summaries.

End

  1. Distill decisions, learnings, verification, and deferred items into MEMORY_NOTES.
  2. Keep each note factual and reusable.
  3. Assume the router/workflow finalizer will persist the markdown files.
  4. Do not report the workflow as truly complete if the memory cycle is missing.

Context Budget And Checkpointing

Long sessions degrade before they fail loudly.

Use references/context-budget-and-checkpointing.md when:

  • debugging has gone through multiple failed attempts
  • planning/research is pulling in many large files
  • the session has already accumulated many tool calls
  • you notice vagueness, skipped protocol steps, or rising uncertainty

Checkpoint principle:

  • persist durable state into workflow artifacts, plans, research files, and memory notes
  • do not rely on the conversation transcript to carry load-bearing context

Red Flags

Stop and correct course if you catch yourself:

  • starting work without loading memory
  • making decisions without checking ## Decisions or project patterns
  • writing long diary-style memory notes
  • claiming you will "remember later"
  • editing .claude/cc10x/v10/*.md directly from a write agent
  • inventing new headings, markers, or memory file shapes
  • treating stale conversation context as better than durable memory

Rationalization Prevention

ExcuseReality
"Small task, no need"Small tasks still create decisions and evidence.
"I'll remember"You won't; compaction will win.
"The conversation already has it"Durable memory beats transcript lore.
"I'll just tweak the markdown directly"Router-owned persistence exists to keep memory coherent.
"The note can be verbose"Verbose notes burn context and hide the signal.

Verification Checklist

  • Memory loaded at workflow start
  • Relevant decisions/patterns checked before new decisions
  • Notes distilled into MEMORY_NOTES
  • Verification truth captured in memory-worthy form
  • No direct write-agent edits to .claude/cc10x/v10/*.md
  • Context-budget checkpointing considered if the session got heavy

Cannot check these boxes? The memory cycle is incomplete.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.96%
按下载量换算177

Claude

30.35%
按下载量换算145

Cursor

20.35%
按下载量换算97

Gemini CLI

9.46%
按下载量换算45

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills