Agent Economy Report

Skill code audit

CAUTION version 1.0.0 · audited 2026-09-09

memory-hygiene @dylanbaker24

This is a short documentation-only skill: two markdown files that tell an AI agent how to inspect, wipe, and re-seed Clawdbot's local LanceDB vector memory. It contains no scripts, no network calls, no credential access and no installer. The main real-world risk is a destructive shell command it recommends, `rm -rf ~/.clawdbot/memory/lancedb/`, plus a suggested monthly cron job that repeats that wipe automatically without human review. It also suggests changing the memory plugin config to turn off auto-capture. Nothing in the package sends data anywhere or tries to override the agent's other rules, but the delete-and-schedule advice deserves a human check before use.

Declared purposeAudit, clean, and optimize Clawdbot's LanceDB vector memory to reduce junk memories and token waste, including maintenance automation.
Observed behaviorProvides markdown instructions only: a memory_recall audit query, a recursive delete of the local LanceDB directory, a gateway restart, memory_store reseeding examples, a JSON config patch disabling autoCapture, and a cron job template for monthly wipe-and-reseed. No executable files, no network requests, no credential or environment variable access.
Verdict, rules onlyCAUTION · uses sudo, rm -rf or dd
Verdict, AICAUTION
Final verdictCAUTION (never better than either pass)

Capabilities

capabilityvs purposedetail
shellneededInstructs the agent to run `rm -rf ~/.clawdbot/memory/lancedb/` and `clawdbot gateway restart` (SKILL.md lines 20, 22). Destructive but consistent with the declared 'wipe memory' purpose.
filesystem_writeneededDeletes the local memory database directory and writes new memory entries via memory_store (SKILL.md lines 20, 26). Scope is limited to ~/.clawdbot/memory/.
persistenceneededSuggests adding a recurring cron job named 'memory-maintenance' that wipes and reseeds memory monthly (SKILL.md lines 69-73). Declared in the skill's own docs, but it is a scheduled unattended destructive task.
networkexceeds purposeNo network calls in code. Only two informational URLs appear: a GitHub homepage (SKILL.md line 4) and the ClawHub publisher page (skill-card.md line 7).

Findings

severityfinding
mediumRecursive delete of the memory database directory
The skill instructs the agent to permanently delete the LanceDB memory directory with no backup step, no confirmation prompt and no dry run. This matches the declared purpose (wiping memory) but is irreversible; if the path is wrong or expanded differently, data loss is unrecoverable.
SKILL.md:20 rm -rf ~/.clawdbot/memory/lancedb/
mediumScheduled unattended destructive job
Recommends registering a cron job that repeats the memory wipe every month at 04:00 without human review. This creates ongoing automated data deletion; any facts not captured in MEMORY.md are lost each cycle.
SKILL.md:72 "text": "Monthly memory maintenance: 1) Wipe ~/.clawdbot/memory/lancedb/ 2) Parse MEMORY.md 3) Store key facts to fresh LanceDB 4) Report completion"
lowModifies agent plugin configuration
Instructs the agent to patch its own gateway configuration to set autoCapture false for the memory-lancedb plugin. This is within the declared purpose but changes persistent agent behavior beyond a one-off cleanup.
SKILL.md:48 Use `gateway action=config.patch` to apply.
lowAdvises storing locations of credentials in vector memory
Encourages writing where credentials live into the long-term memory store. Nothing here transmits that data anywhere, but recording credential locations in a searchable memory index increases exposure if memory is ever leaked or recalled into a prompt.
SKILL.md:55 - Important facts (accounts, credentials locations, contacts)
infoPublisher discloses the destructive behavior
The skill card openly documents the data-loss and unattended-reset risks and suggests backups, which is consistent with the code and supports a CAUTION rather than UNSAFE reading.
skill-card.md:19 Risk: Wipe instructions can permanently delete Clawdbot vector memory. <br>

0 AI finding(s) were dropped because their file, line or quote did not match the package.

Network destinations in the code

domainservice ratingwhere
clawhub.ainot in the service indexskill-card.md:7
github.comnot in the service indexSKILL.md:4

Other facts

Binaries invokedbash, rm -rf
Environment variables readnone
Hard-coded walletsnone
Pipes a download to a shell0
eval / exec / subprocess0
base64 blobs0
File writes1
Persistence0

Files audited

filelinessha256
SKILL.md8258d9e56da3f96b41…
_meta.json60c7d8c2b161c0a28…
skill-card.md4266bd4c75ec333b8c…

For agents

JSON: https://agenteconomy.report/k/memory-hygiene.audit.json · badge: https://agenteconomy.report/k/memory-hygiene.audited.svg · skill rating: /k/memory-hygiene · commission an audit of any skill: US$ 29 per version.

How this is computed

The complete published package of this exact version was downloaded from the registry and read statically; nothing was executed. A deterministic pass extracts network destinations, binaries, environment variables, writes, install commands, obfuscation markers, subprocesses and wallets, each with file and line. An AI then reads the whole package with those facts and writes the summary, the capabilities and the findings under a strict schema; every finding it produces must cite a file, a line and the exact text, or it is dropped. The final verdict is the worst of the two passes. The audit does not change the skill's trust tier (policy); the author may respond through the dispute channel and the response is published here. Commissioned by: the Agent Economy Report (free program: the 150 most downloaded skills, September 2026).