← Back to Skills Marketplace
tetra-scar
by
aibenyclaude-coder
· GitHub ↗
· v0.4.0
· MIT-0
132
Downloads
0
Stars
0
Active Installs
4
Versions
Install in OpenClaw
/install tetra-scar
Description
Scar memory, reflex arc, and decision traces for AI agents. Learn from failures permanently. Block repeated mistakes instantly — no LLM calls needed. Three-l...
Usage Guidance
This package implements a local scar/reflex memory and the code mostly matches that purpose — it stores JSONL scars, does pattern matching, and offers a 4-axis check. Before installing or enabling it, check/consider:
- Provenance: files reference multiple authors/owners (b-button-corp, aibenyclaude-coder, and the anonymous owner ID). Verify the repository origin and prefer code from a trusted source.
- Missing referenced components: examples and CI scripts call or import external scripts (tetra-scar-code-review/scar_code_review.py, scar_safety, tetra-scar-safety) that are not included. If you run those examples or wire the action as-is, you may end up executing external code—locate and inspect those referenced projects first.
- Remote clone behavior: scar_audit.py can clone arbitrary GitHub repos when used with --repo. Cloning itself is expected for an audit tool, but avoid running the script on untrusted repos or in privileged CI runners without review.
- Local persistence: scars are append-only JSONL files written to disk. Confirm the memory_dir path is acceptable and not pointing to sensitive locations.
If you plan to use this skill: run the included tests locally (pytest), inspect the referenced external scripts before using the CI examples, and verify the action's owner/URL if you use it in CI. The inconsistencies suggest sloppy packaging rather than overt maliciousness, but manual review is recommended before trusting it in production.
Capability Analysis
Type: OpenClaw Skill
Name: tetra-scar
Version: 0.4.0
The tetra-scar skill bundle is a safety and memory framework for AI agents designed to prevent repetitive failures through 'scar memory' (immutable failure records) and a 'reflex arc' (keyword-based pattern matching). The core logic in tetra_scar.py and the auditing tool scar_audit.py focus on identifying and blocking dangerous operations (e.g., 'rm -rf', SQL injection patterns, hardcoded secrets) without external API calls. The instructions in SKILL.md and README.md are aligned with the stated purpose of improving agent reliability, and no evidence of data exfiltration, malicious execution, or prompt injection was found.
Capability Assessment
Purpose & Capability
The name/description (scar memory + reflex arc, block repeated mistakes) align with the included code (tetra_scar.py implements scars, reflex_check, tetra_check, JSONL storage). However several files reference different owners/names (README/action.yml mention aibenyclaude-coder, SKILL.md/README mention B Button Corp/b-button-corp) and examples refer to external packages (tetra-scar-code-review, scar_safety) that are not in this bundle. This provenance/packaging mismatch is unexpected.
Instruction Scope
SKILL.md and tetra_scar.py keep behavior local (read/write JSONL in memory dir, pattern matching, no network calls or secrets). But example CI and incident-response scripts attempt to call or import external scripts (../../tetra-scar-code-review/scar_code_review.py, scar_safety from ../tetra-scar-safety). The CI example records scars based on findings and will run external review scripts; those referenced scripts are not present here, so running examples may execute unknown code if the user wires them to other repos. Also scar_audit.py can clone arbitrary repos (it runs git clone) when used with --repo, which will fetch and execute analysis on remote code — expected for an audit tool but worth noting.
Install Mechanism
No install spec is declared (instruction-only). The package is distributed as source files only; there is no automated download of third‑party binaries or archives. This is lower risk, but examples/README suggest optional copying of tetra_scar.py into projects or using a separate action name which could lead users to fetch code from different owners.
Credentials
The skill does not request environment variables or credentials. Action.yml and CI examples use standard GitHub Actions environment variables (GITHUB_*), which is expected. There are no REQUIRED secret env vars in the skill metadata.
Persistence & Privilege
always is false and the skill writes only to local JSONL files under a configurable memory directory. That persistent storage is consistent with the described scar memory function and does not request system-wide privileges or modify other skills' configs.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install tetra-scar - After installation, invoke the skill by name or use
/tetra-scar - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.4.0
v0.4.0: GitHub Action for CI safety auditing, scar_audit.py with 8 failure pattern detectors, examples, FUNDING.yml
v0.3.0
v0.3.0: Decision traces — record HOW your agent judges, not just what happened. Converts traces + scars to LoRA training data. 37 tests.
v0.2.0
- Added example scripts: agent loop, CI integration, and incident response usage patterns.
- Expanded documentation and practical guides in new example files.
- No changes to core API or integrations.
v0.1.0
Initial release of tetra-scar.
- Introduces two-layer memory: scar (immutable failure records) and narrative (overwritable success log).
- Implements a reflex arc that blocks repeated mistakes instantly via pattern-matching, without using LLM calls.
- Adds a four-axis (tetra) validation check: emotion, action, life (scar collision), and ethics axes.
- Provides CLI commands for adding scars, recording narratives, checking reflex, and running tetra-checks.
- Uses human-readable JSONL file formats for scars and narratives.
- Includes integration example for use in agent workflows.
Metadata
Frequently Asked Questions
What is tetra-scar?
Scar memory, reflex arc, and decision traces for AI agents. Learn from failures permanently. Block repeated mistakes instantly — no LLM calls needed. Three-l... It is an AI Agent Skill for Claude Code / OpenClaw, with 132 downloads so far.
How do I install tetra-scar?
Run "/install tetra-scar" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is tetra-scar free?
Yes, tetra-scar is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does tetra-scar support?
tetra-scar is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created tetra-scar?
It is built and maintained by aibenyclaude-coder (@aibenyclaude-coder); the current version is v0.4.0.
More Skills