← 返回 Skills 市场
74
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install memory-secretatry
功能描述
提供智能记忆管理、重复任务检测、成功案例提取、工作模式分析和智能提醒生成的助手工具。
安全使用建议
This package looks like a local memory-analysis tool, but there are several red flags you should resolve before installing or running it:
- Missing files: src/__init__.py imports modules (smart_adaptive, daily_check, pilot_check) that are not present in the manifest, and tests reference many scripts and a memory/ directory that are not packaged. Ask the author for the full package or a corrected manifest.
- Read vs write mismatch: SKILL.md says it won't modify memory files, yet the code creates a secretary data directory and writes JSON/SQLite files inside memory/. If you want read-only analysis, insist the author document exactly what files are created and where.
- Workspace paths: the default workspace_root is /home/admin/openclaw/workspace; explicitly pass a workspace_root you control when constructing MemorySecretaryLite to avoid accidental reads/writes outside your intended area.
- Safety steps before running: (1) Inspect all src/*.py for network calls or subprocess.exec usage (none were obvious in the truncated code, but check the full files). (2) Run the package in an isolated environment (container or VM) and with a backup of your real memory/ directory. (3) Prefer running with a temporary test workspace that contains representative memory/ files. (4) Run the provided tests locally and review failures — many tests expect files that are missing, which could indicate incomplete packaging or hidden runtime assumptions.
If the author can supply the missing modules and explain the on-disk writes (and update SKILL.md to accurately reflect them), the package would be more coherent; until then treat it as incomplete and proceed with caution.
功能分析
Type: OpenClaw Skill
Name: memory-secretatry
Version: 1.0.0
The 'Memory Secretary' skill is a legitimate utility designed to manage and optimize agent memory files within the OpenClaw workspace. The core logic in 'src/memory_secretary_lite.py' uses standard Python libraries to perform file integrity checks, similarity analysis via difflib, and pattern recognition using regular expressions. No evidence of data exfiltration, unauthorized network access, or malicious code execution was found. While the bundle references some missing modules (e.g., smart_adaptive.py) and contains a minor typo in the metadata slug, the provided code is functional, well-documented, and strictly follows its stated purpose of local memory management.
能力评估
Purpose & Capability
The skill claims to be a lightweight, local memory-management tool and the provided core file (memory_secretary_lite.py) implements filesystem-only analysis functions which align with the description. However, the package/manifest is inconsistent: src/__init__.py imports modules (smart_adaptive, daily_check, pilot_check) that are not present in the file list; README/SKILL.md mention config/ and scripts/ directories and additional source files that are missing; tests expect many scripts under a scripts/ folder that are not included. These gaps suggest an incomplete or mismatched package rather than a clean, single-purpose component.
Instruction Scope
SKILL.md instructs only read-only analysis of 'memory/' and explicitly states it will not modify memory files, but the implementation creates a secretary_data_dir under memory/ and writes files (reports, JSON, SQLite DB filenames are referenced), which is a modification of the workspace. There's also a mismatch in paths: install instructions say to unzip into ~/.openclaw/skills/ but the code defaults workspace_root to '/home/admin/openclaw/workspace'—if the wrong workspace is used the skill may attempt to read or write unexpected filesystem locations. The runtime instructions are otherwise local-only (no network endpoints), but the file-write behavior contradicts the 'read-only' claim.
Install Mechanism
No install spec is provided (manual unzip / copy as described), so nothing arbitrary is downloaded at install time. The risk surface comes from the provided Python code itself rather than an external installer. That reduces supply-chain risk, but you should still inspect the included source files before running.
Credentials
The skill declares no required environment variables or credentials and the visible code uses only local filesystem and standard-library modules (sqlite3, hashlib, difflib, etc.), which is proportionate to its stated purpose. One caution: the hard-coded default workspace path (/home/admin/openclaw/workspace) may cause the skill to operate against unexpected directories if a user does not explicitly set workspace_root.
Persistence & Privilege
The skill does not request always:true and allows normal autonomous invocation. It will create its own data under memory/secretary and will create/modify local DB and JSON files inside the workspace — persistent data but limited to its workspace scope. This is expected for a tool that stores reports/indices, but it contradicts the SKILL.md claim '不会修改我的记忆文件' (won't modify my memory files) and warrants user attention.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install memory-secretatry - 安装完成后,直接呼叫该 Skill 的名称或使用
/memory-secretatry触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
memory-secretary v1.0.0
- 初始版本发布,聚焦智能记忆管理与优化
- 实现6大核心功能:记忆质量管理、重复工作检测、成功案例提取、工作模式识别、智能提醒、分享报告
- 零外部依赖,仅用 Python 标准库
- 提供基础测试覆盖及完整文档
- 支持 Python 3.8+,快速安装与部署
元数据
常见问题
记忆秘书 是什么?
提供智能记忆管理、重复任务检测、成功案例提取、工作模式分析和智能提醒生成的助手工具。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 74 次。
如何安装 记忆秘书?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install memory-secretatry」即可一键安装,无需额外配置。
记忆秘书 是免费的吗?
是的,记忆秘书 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
记忆秘书 支持哪些平台?
记忆秘书 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 记忆秘书?
由 yhm2084(@yhm2084)开发并维护,当前版本 v1.0.0。
推荐 Skills