← Back to Skills Marketplace
tltby12341

Strategy Constitutional Memory

by tltby12341 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
159
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install strategy-constitutional-memory
Description
A living knowledge base of hard-earned strategy lessons and banned code patterns — prevents repeating past mistakes across strategy iterations by scanning co...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install strategy-constitutional-memory
  3. After installation, invoke the skill by name or use /strategy-constitutional-memory
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug strategy-constitutional-memory
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 159 downloads so far.

How do I install Strategy Constitutional Memory?

Run "/install strategy-constitutional-memory" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Strategy Constitutional Memory free?

Yes, Strategy Constitutional Memory is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Strategy Constitutional Memory support?

Strategy Constitutional Memory is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Strategy Constitutional Memory?

It is built and maintained by tltby12341 (@tltby12341); the current version is v1.0.0.

💬 Comments