DC chaos-memory
Hybrid search memory system for AI agents. Manual search and storage - auto-capture is opt-in only.
Hybrid search memory system for AI agents.
As a process C 51/100 · Has gaps — weak spots: result and completion, when it triggers, consistency
What is at stake
The skill contains fragments that, in the wrong hands, cost money or data. Below: what the installer risks and what the author should do.
The skill contains commands that delete files, rewrite disks or execute code fetched from the network. The agent may run them without asking if it believes the instructions require it.
Replace destructive commands with safe equivalents that ask for confirmation, scope them to one folder, and stop piping curl into a shell: pin a version and a checksum.
How to improve
- Address the high-severity findings: each costs 18 safety points. If one is a false positive, add the rule id to guard.allow in spec.yaml.
- Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 14
-
high Dangerous commands
cmd-pipe-to-shellREADME.md:172Downloads and executes remote code from an unrecognised host (pipe to shell)curl -fsSL https://ollama.com/install.sh | sh
Medium and low: 13
-
medium Dangerous commands
cmd-pipe-to-shell-known-hostINSTALL_NOTES.md:10Pipe-to-shell installer from a well-known host (still executes remote code)curl -fsSL https://raw.githubusercontent.com/hargabyte/Chaos-mind/main/install.sh | bash
-
medium Dangerous commands
cmd-shell-rcinstall.sh:268Writes to a shell startup fileecho "Add to your shell profile (.bashrc, .zshrc):"
-
medium Dangerous commands
cmd-pipe-to-shell-known-hostREADME.md:60Pipe-to-shell installer from a well-known host (still executes remote code)curl -fsSL https://raw.githubusercontent.com/hargabyte/Chaos-mind/main/install.sh | bash
-
medium Dangerous commands
cmd-pipe-to-shell-known-hostRELEASE_INSTRUCTIONS.md:24Pipe-to-shell installer from a well-known host (still executes remote code)curl -fsSL https://raw.githubusercontent.com/hargabyte/Chaos-mind/main/install.sh | bash
-
medium Dangerous commands
cmd-pipe-to-shell-known-hostRELEASE_INSTRUCTIONS.md:96Pipe-to-shell installer from a well-known host (still executes remote code)curl -fsSL https://raw.githubusercontent.com/hargabyte/Chaos-mind/main/install.sh | bash
-
medium Dangerous commands
cmd-pipe-to-shell-known-hostRELEASE_SUMMARY.md:73Pipe-to-shell installer from a well-known host (still executes remote code)curl -fsSL https://raw.githubusercontent.com/hargabyte/chaos-memory/main/skill/install.sh | bash
-
medium Dangerous commands
cmd-privilegescripts/setup-service.sh:57Privilege escalation / world-writable permissionssudo cp "/tmp/$SERVICE_NAME" "$SERVICE_FILE"
-
medium Dangerous commands
cmd-pipe-to-shellSECURITY.md:170Downloads and executes remote code from an unrecognised host (pipe to shell) (documentation of a security skill)- No automatic curl|bash for dependencies
security skill -
low Dangerous commands
cmd-pipe-to-shellinstall.sh:6Downloads and executes remote code from an unrecognised host (pipe to shell) (negated — the text forbids it)# - Requires Dolt pre-installed (via package manager - no curl|bash)
negated -
low Dangerous commands
cmd-background-processREADME.md:187Starts a background / autostarted processnohup chaos-consolidator --auto-capture > ~/.chaos/consolidator.log 2>&1 &
-
low Dangerous commands
cmd-background-processscripts/setup-service.sh:65Starts a background / autostarted process (string literal in code, not executed)echo " 2. Enable service: sudo systemctl enable $SERVICE_NAME"
code literal -
low Dangerous commands
cmd-pipe-to-shellSECURITY.md:90Downloads and executes remote code from an unrecognised host (pipe to shell) (negated — the text forbids it)- Remote code execution (no curl|bash after install)
negated
A further 1 matches are quotations in this security skill's documentation and are not counted as findings.
Files scanned: 11. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
description-no-whendescription does not say WHEN to use the skill (no "use when") - note
frontmatter-keyunknown frontmatter key "homepage"
Process rating: all ten parameters 51/100
- 0Result and completion. Does not say what the result is
- 0Progress reporting. Says nothing while it works
- 20When it triggers. No condition that starts the skill
- 30Running it twice. 3 mutating operations with no state check
- 40Consistency. Frontmatter name (chaos-memory) differs from the folder (chaos-mind)
- 50Failures and branches. 0 branches, has a failure section
- 60Tools and files. Uses tools (bash, web) that frontmatter does not declare
- 70Inputs and preconditions. Inputs and preconditions are listed
- 100Steps. 42 steps
- 100Execution cost. Instruction body is 2016 tokens
- medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing
- low 14 top-level sections: this looks like several domains in one skill
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4Description does not say when NOT to use the skill (false activations)
- +3Description length 99: 120–800 characters recommended
- +3Output format is not stated: the model decides each time
- -31 of 1 scripts are never mentioned in SKILL.md
- +1No license
- +2Single-language instructions
- +4Structure: 18 headings
- +3Step-by-step instructions: 42 items
- +4Has examples (18 code blocks)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 65.