← 返回 Skills 市场
Strategy Constitutional Memory
作者
tltby12341
· GitHub ↗
· v1.0.0
· MIT-0
159
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install strategy-constitutional-memory
功能描述
A living knowledge base of hard-earned strategy lessons and banned code patterns — prevents repeating past mistakes across strategy iterations by scanning co...
安全使用建议
This skill appears to do what it says: keep lessons and banned code patterns, scan strategy code, and generate context for an LLM. Before installing, decide where you want the memory stored (the default is a memory/ folder next to the code) and whether that storage could contain confidential strategy details; if so, use a private path, backups, and access controls. Review the persisted lessons.json / bans.json occasionally to ensure no sensitive code or credentials are being recorded, and confirm that your LLM usage of get_context() does not leak proprietary data to a third-party model you don't control. If you want added assurance, inspect the remainder of memory_system.py (the file appears truncated in the review snapshot) to confirm there are no network calls or unexpected subprocess invocations.
功能分析
Type: OpenClaw Skill
Name: strategy-constitutional-memory
Version: 1.0.0
The skill bundle implements a 'Constitutional Memory' system designed to track lessons and banned code patterns for strategy development. The code (memory_system.py and cli.py) performs standard local file I/O for JSON storage and uses basic regex for pattern matching and text parsing, with no evidence of network activity, unauthorized file access, or command execution. The instructions in SKILL.md are consistent with the stated purpose of providing context to an AI agent to prevent repetitive coding errors.
能力评估
Purpose & Capability
Name/description match the provided code and CLI. Required binary is only python3 and the files (memory_system.py, cli.py) implement the advertised features (lessons, bans, scanning, LLM context). No unrelated services, credentials, or surprising binaries are requested.
Instruction Scope
SKILL.md and the CLI instruct the agent to create/read/write memory/lessons.json and memory/bans.json and to include get_context() output in LLM prompts. This is appropriate for the purpose, but lessons may contain sensitive or proprietary strategy data or code snippets — the skill explicitly persists and recommends feeding that context into an LLM, so users should be aware of potential data exposure when using shared/remote models.
Install Mechanism
No install spec or external downloads; this is an instruction-only skill with included Python source. requirements.txt declares no external deps. No unusual install behavior detected.
Credentials
No environment variables, credentials, or config paths are requested. The skill only writes/reads JSON files in a configurable memory_dir (default is the package's memory/ directory), which is proportional to its function.
Persistence & Privilege
The skill persists its own data to memory_dir and does not request always:true or system-wide config changes. It does not appear to modify other skills or global agent settings. Default autonomous invocation remains allowed (platform default) but is not combined with elevated privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install strategy-constitutional-memory - 安装完成后,直接呼叫该 Skill 的名称或使用
/strategy-constitutional-memory触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the strategy-constitutional-memory skill.
- Maintains a growing knowledge base of hard-earned strategy lessons and banned code patterns.
- Scans strategy code to detect and prevent repeat of known catastrophic patterns.
- Provides APIs for adding lessons, auto-extracting from diagnosis reports, code violation scanning, and generating LLM decision context.
- CLI tools included for briefing, code scanning, and recording iteration results.
- Stores lessons and bans in human-readable, auto-persisted JSON files.
- Enforces strict rules to ensure lessons and bans are permanent, helping prevent the repetition of past strategy failures.
元数据
常见问题
Strategy Constitutional Memory 是什么?
A living knowledge base of hard-earned strategy lessons and banned code patterns — prevents repeating past mistakes across strategy iterations by scanning co... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 159 次。
如何安装 Strategy Constitutional Memory?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install strategy-constitutional-memory」即可一键安装,无需额外配置。
Strategy Constitutional Memory 是免费的吗?
是的,Strategy Constitutional Memory 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Strategy Constitutional Memory 支持哪些平台?
Strategy Constitutional Memory 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Strategy Constitutional Memory?
由 tltby12341(@tltby12341)开发并维护,当前版本 v1.0.0。
推荐 Skills