Agent Economy Report

Skill code audit

CAUTION version 1.0.0 · audited 2026-09-17

xiucheng-self-improving-agent @xiucheng

This skill is a local logging and analysis tool for recording 'improvement insights' and generating weekly reports. The Python code heuristically analyzes conversation length and feedback text, appends supplied insights to a Markdown file, and reads that file to produce reports, statistics, and suggestions. It contains no network requests, no code that accesses credentials or payment methods, and no shell execution. The main caution is local file persistence: it writes to an improvement log under /root/.openclaw/workspace by default, and the package's own risk note says sensitive user content could end up in that log. I found no prompt injection or hidden malicious behavior.

Declared purposeSelf-improving agent system that analyzes conversation quality, identifies improvement opportunities, and continuously optimizes response strategies.
Observed behaviorThe class SelfImprovingAgent is instantiated with a workspace path, defaulting to /root/.openclaw/workspace. It defines heuristic analysis based on feedback words and conversation length; logs user-provided improvement insights by appending to improvement_log.md; reads that log for weekly report generation, statistics, and SOUL.md update suggestions. The CLI supports --log, --report, --stats, and --suggest. No network, subprocess, wallet, payment, or credential-access code is present.
Verdict, rules onlySAFE
Verdict, AICAUTION
Final verdictCAUTION (never better than either pass)

Capabilities

capabilityvs purposedetail
filesystem_readneededReads improvement_log.md for weekly reports, stats, and suggestions; also checks whether SOUL.md exists.
filesystem_writeneededAppends timestamped improvement insights and categories to improvement_log.md in the configured workspace.

Findings

severityfinding
lowHardcoded default workspace path
When no workspace is supplied, all log reads/writes default to /root/.openclaw/workspace. A user should confirm this is the intended OpenClaw workspace and that the location is not exposed to unexpected users.
self_improving.py:20 def __init__(self, workspace: str = "/root/.openclaw/workspace"):
lowAppends to local improvement log
log_improvement writes caller-supplied insight text to improvement_log.md. This is required for the skill's declared logging purpose, but the file could accumulate sensitive conversation content if users log secrets.
self_improving.py:82 with open(self.improvement_log, "a", encoding="utf-8") as f:
infoReads local improvement log
generate_weekly_report reads improvement_log.md to count recent entries. This read is local-only and consistent with the declared weekly reporting feature.
self_improving.py:103 with open(self.improvement_log, "r", encoding="utf-8") as f:
infoDocumentation claims automatic analysis
The provided code only analyzes when called through Python or the CLI; no automatic hook, scheduler, or post-session trigger is included. This is a minor documentation discrepancy, not malicious behavior.
SKILL.md:33 The skill automatically analyzes conversations after each session.
mediumPublisher warns of sensitive local persistence
The skill could store sensitive text in the log file if the operator passes such content as insights. This is a known data-handling risk to review before deployment.
skill-card.md:25 Risk: Conversation-quality logs and improvement insights may persist private prompts, customer data, credentials, or other sensitive content in the local worksp

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:9
github.comnot in the service indexSKILL.md:8

Other facts

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

Files audited

filelinessha256
SKILL.md65c4b1d7ccd5c99d2d…
_meta.json6caae3e75d3c95ac3…
self_improving.py2015fad6bcc67baf84d…
skill-card.md54d3521f2895840061…
skill.yaml105583ddee06020cb1…

For agents

JSON: https://agenteconomy.report/k/xiucheng-self-improving-agent.audit.json · badge: https://agenteconomy.report/k/xiucheng-self-improving-agent.audited.svg · skill rating: /k/xiucheng-self-improving-agent · 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).