self-improvement

Warn

Audited by Runlayer on Feb 24, 2026

Risk Level: MEDIUM
Scan Summary
Max Score
76%
Files
16
Flagged
16
Chunks
19
Flagged Files (16)
.gitignoreHIGH
76.3%

Malicious tool definition detected

Tool: .gitignore

.learnings/ERRORS.mdHIGH
76.3%

Malicious tool definition detected

Tool: .learnings/ERRORS.md Description: # Errors Log

.learnings/FEATURE_REQUESTS.mdHIGH
76.3%

Malicious tool definition detected

Tool: .learnings/FEATURE_REQUESTS.md Description: # Feature Requests

.learnings/LEARNINGS.mdHIGH
76.3%

Malicious tool definition detected

Tool: .learnings/LEARNINGS.md Description: # Learnings Log

SKILL.mdHIGH
76.3%

Malicious tool definition detected

Tool: SKILL.md [1/3] Description: --- name: self-improvement description: "Captures learnings, errors, and corrections to enable continuous improvement.

Tool: SKILL.md [2/3] Description: | Target | What Belongs There | |--------|-------------------| | `CLAUDE.md` | Project facts, conventions, gotchas for all Claude interactions | | `AGENTS.md` | Agent-specific workflows, tool usage patterns, automation rules | | `.github/copilot-instructions.md` | Project context and conventions for GitHub Copilot | | `SOUL.md` | Behavioral guidelines, communication style, principles (OpenClaw workspace) | | `TOOLS.md` | Tool capabilities, usage patterns, integr

Tool: SKILL.md [3/3] Description: troubleshooting.

assets/LEARNINGS.mdHIGH
76.3%

Malicious tool definition detected

Tool: assets/LEARNINGS.md Description: # Learnings Corrections, insights, and knowledge gaps captured during development.

assets/SKILL-TEMPLATE.mdHIGH
76.3%

Malicious tool definition detected

Tool: assets/SKILL-TEMPLATE.md Description: # Skill Template Template for creating skills extracted from learnings.

hooks/openclaw/HOOK.mdHIGH
76.3%

Malicious tool definition detected

Tool: hooks/openclaw/HOOK.md Description: --- name: self-improvement description: "Injects self-improvement reminder during agent bootstrap" metadata: {"openclaw":{"emoji":"🧠","events":["agent:bootstrap"]}} --- # Self-Improvement Hook Injects a reminder to evaluate learnings during agent bootstrap.

hooks/openclaw/handler.jsHIGH
76.3%

Malicious tool definition detected

Tool: hooks/openclaw/handler.js Description: /** * Self-Improvement Hook for OpenClaw * * Injects a reminder to evaluate learnings during agent bootstrap.

hooks/openclaw/handler.tsHIGH
76.3%

Malicious tool definition detected

Tool: hooks/openclaw/handler.ts Description: /** * Self-Improvement Hook for OpenClaw * * Injects a reminder to evaluate learnings during agent bootstrap.

references/examples.mdHIGH
76.3%

Malicious tool definition detected

Tool: references/examples.md [1/2] Description: # Entry Examples Concrete examples of well-formatted entries with all fields. ## Learning: Correction ```markdown ## [LRN-20250115-001] correction **Logged**: 2025-01-15T10:30:00Z **Priority**: high **Status**: pending **Area**: tests ### Summary Incorrectly assumed pytest fixtures are scoped to function by default ### Details When writing test fixtures, I assumed all fixtures were function-scoped.

Tool: references/examples.md [2/2] Description: 3: Docker Compose Add platform to your service: \`\`\`yaml services: app: platform: linux/amd64 build: .

references/hooks-setup.mdHIGH
76.3%

Malicious tool definition detected

Tool: references/hooks-setup.md Description: # Hook Setup Guide Configure automatic self-improvement triggers for AI coding agents.

references/openclaw-integration.mdHIGH
76.3%

Malicious tool definition detected

Tool: references/openclaw-integration.md Description: # OpenClaw Integration Complete setup and usage guide for integrating the self-improvement skill with OpenClaw.

scripts/activator.shHIGH
76.3%

Malicious tool definition detected

Tool: scripts/activator.sh Description: #!/bin/bash # Self-Improvement Activator Hook # Triggers on UserPromptSubmit to remind Claude about learning capture # Keep output minimal (~50-100 tokens) to minimize overhead set -e # Output reminder as system context cat << 'EOF' <self-improvement-reminder>

scripts/error-detector.shHIGH
76.3%

Malicious tool definition detected

Tool: scripts/error-detector.sh Description: #!/bin/bash # Self-Improvement Error Detector Hook # Triggers on PostToolUse for Bash to detect command failures # Reads CLAUDE_TOOL_OUTPUT environment variable set -e # Check if tool output indicates an error # CLAUDE_TOOL_OUTPUT contains the result of the tool execution OUTPUT="${CLAUDE_TOOL_OUTPUT:-}" # Patterns indicating errors (case-insensitive matching) ERROR_PATTERNS=( "error:" "Error:" "ERROR:" "failed" "FAILED" "command not found" "No such f

scripts/extract-skill.shHIGH
76.3%

Malicious tool definition detected

Tool: scripts/extract-skill.sh Description: #!/bin/bash # Skill Extraction Helper # Creates a new skill from a learning entry # Usage: ./extract-skill.sh <skill-name> [--dry-run] set -e # Configuration SKILLS_DIR="${SKILLS_DIR:-./skills}" TEMPLATE_DIR="$(dirname "$0")/../assets" # Colors for output RED='\033[0;31m' GREEN='\033[0;32m' YELLOW='\033[1;33m' NC='\033[0m' # No Color usage() { cat << EOF Usage: $(basename "$0") <skill-name> [options] Create a new skill from a learning entry.

Audit Metadata
Max File Score
76%
Classification
UNKNOWN_SERVER
Files Scanned
16
Files Flagged
16
Chunks Analyzed
19
Analyzed
Feb 24, 2026, 07:34 AM
Security Audit — runlayer — self-improvement