Memory Maintenance
Analysis
The skill is aligned with memory maintenance, but it uses scheduled automation, external LLM review of private memory files, hardcoded local paths, and LLM-generated file-move/delete instructions that need careful review before installation.
Findings (5)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Checks for instructions or behavior that redirect the agent, misuse tools, execute unexpected code, cascade across systems, exploit user trust, or continue outside the intended task.
SAFE_TASKS=$(jq -c '.maintenance_suggestions[] | select(.safe_to_auto == true)' "$REVIEW_FILE" ...) TARGET=$(echo "$task" | jq -r '.target') ... mv "$WORKSPACE/$TARGET" "$WORKSPACE/memory/archive/$BASENAME"
The safe apply mode moves files based on review JSON fields without validating that the target is confined to the intended memory paths.
openclaw cron add --name "memory-maintenance" --schedule "0 23 * * *" --command "Run memory maintenance review" --model gemini
Installation creates a recurring daily agent job. This is disclosed and purpose-aligned, but it is persistent autonomous behavior.
find "$WORKSPACE/memory/.consolidated" -type f -mtime +7 -exec rm {} \;The cleanup script permanently removes old .consolidated files, which conflicts with the documented safety posture that deleted files go to trash and risky deletes require approval.
Checks whether tool use, credentials, dependencies, identity, account access, or inter-agent boundaries are broader than the stated purpose.
if [ -f "/Users/maxhutchinson/.openclaw/workspace/.env" ]; then ... source /Users/maxhutchinson/.openclaw/workspace/.env ... WORKSPACE="/Users/maxhutchinson/.openclaw/workspace"
The main review script reads credentials and workspace data from a fixed personal path rather than the installing user's configured workspace.
Checks for exposed credentials, poisoned memory or context, unclear communication boundaries, or sensitive data that could leave the user's control.
DAILY_NOTES="${DAILY_NOTES} ... $(cat "$NOTE_FILE")" ... MEMORY_MD=$(cat "$WORKSPACE/MEMORY.md" ... ) ... USER_MD=$(cat "$WORKSPACE/USER.md" ... ) ... gemini --model gemini-2.5-flash "$PROMPT"The review process sends daily notes, MEMORY.md, and USER.md content to Gemini for analysis, which is expected for this purpose but sensitive.
