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

memory-manager内存管理器

Agent Skill

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

总安装

885

周安装

38

GitHub Stars

23

下载量

310
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/camoa/claude-skills --skill memory-manager

简介

memory-manager 维护项目状态文件和任务目录的整洁性。

  • 自动加载当前进度并扫描文件结构,支持阶段性总结与状态更新。
  • 可在任务完成后或定期触发,帮助保持项目上下文一致性。
  • 操作涉及文件读写,建议在版本控制下使用以避免意外覆盖。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Memory Manager

Maintain clean and organized project memory.

Activation

Activate when:

  • After completing any phase activity (research, design, implementation)
  • After task completion
  • When project state seems inconsistent
  • Periodic maintenance requested
  • "Clean up project files" or "Update project state"

Workflow

1. Load Current State

Use Read on {project_path}/project_state.md

Extract:

  • Current phase
  • Last updated date
  • Current focus
  • Progress summary

2. Scan Project Files

v3.0.0 Folder Structure Support:

Use Bash with ls -d to inventory task directories:

# List task directories (not .md files)
ls -d {project_path}/implementation_process/in_progress/*/ 2>/dev/null
ls -d {project_path}/implementation_process/completed/*/ 2>/dev/null

For each task directory found, check for:

  • task.md (main tracker) - required
  • research.md (Phase 1 content) - optional
  • architecture.md (Phase 2 content) - optional
  • implementation.md (Phase 3 content) - optional

Also scan architecture folder:

{project_path}/architecture/*.md

Count:

  • Component architectures (architecture/*.md)
  • In-progress tasks (directories in in_progress/)
  • Completed tasks (directories in completed/)

Backward Compatibility:

If *.md files found (not directories), warn:

⚠️  Old v2.x format detected: {count} single-file tasks

Run `/drupal-dev-framework:migrate-tasks` to upgrade to v3.0.0 folder structure.

3. Detect Inconsistencies

Check for issues:

IssueDetectionFix
Empty filesFile size = 0Ask to delete or populate
Orphaned tasksTask in wrong folderMove to correct location
Stale stateproject_state.md outdatedUpdate current focus
Missing filesReferenced but not foundCreate or update reference

4. Update project_state.md

Use Edit to update:

# {Project Name}

**Updated:** {today's date}
**Phase:** {detected phase}
**Status:** {current status}
**Path:** {project_path}

## Overview
{Keep existing or update based on recent work}

## Progress
- Phase 1 (Research): {Complete/In Progress} - {count} research files
- Phase 2 (Architecture): {Complete/In Progress} - {count} component files
- Phase 3 (Implementation): {X}/{Y} tasks complete

## Current Focus
{What's actively being worked on}

## Key Decisions
| Date | Decision | Rationale |
|------|----------|-----------|
{add new decisions, keep old ones}

## Next Steps
1. {Immediate next action}
2. {Following action}

5. Organize Files

If files are misplaced, use Bash to move:

v3.0.0 Folder Structure:

# Move completed task directory from in_progress
mv "{project_path}/implementation_process/in_progress/{task_name}/" \
   "{project_path}/implementation_process/completed/{task_name}/"

v2.x Single Files (backward compatibility):

# Move completed task file from in_progress
mv "{project_path}/implementation_process/in_progress/{task_name}.md" \
   "{project_path}/implementation_process/completed/{task_name}.md"

6. Clean Up

Ask before deleting anything:

Found {count} empty/orphaned files:
- {file 1}
- {file 2}

Delete these? (yes/no/review each)

7. Update Project Registry

Update the registry at ~/.claude/drupal-dev-framework/active_projects.json:

  1. Read the registry file
  2. Find this project by path
  3. Update:

- lastAccessed: today's date - status: "active" or "archived" if all tasks complete

  1. Write the updated registry

If project not in registry, offer to add it:

This project is not in the registry.
Add it for easier access next time? (yes/no)

8. Report

Show summary:

Memory cleanup complete:

Files scanned: {count}
Issues found: {count}
Issues fixed: {count}

Current state:
- Phase: {phase}
- Architecture files: {count}
- Tasks in progress: {count}
- Tasks completed: {count}

project_state.md updated.
Registry updated.

Lean Memory Principles

Follow these rules:

  • One source of truth - don't duplicate information
  • Summarize, don't copy - reference external files
  • Archive, don't delete - move to completed/, not trash
  • Update in place - no versioned copies (main.md, not main_v2.md)

Stop Points

STOP and wait for user:

  • Before deleting any files
  • Before major reorganization
  • After presenting cleanup summary

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.81%
按下载量换算114

Claude

29.08%
按下载量换算90

Cursor

18.97%
按下载量换算59

Gemini CLI

10.25%
按下载量换算32

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills