Refactor AGENTS.md

PassAudited by VirusTotal on May 12, 2026.

Overview

Type: OpenClaw Skill Name: refactor-agents-md Version: 1.0.0 The skill bundle is a developer tool designed to refactor and organize AGENTS.md configuration files using a progressive disclosure approach. The code and instructions (SKILL.md, workflows/refactor-agents-md.md) are focused entirely on analyzing, classifying, and restructuring markdown content within a repository, with no evidence of malicious intent, data exfiltration, or unauthorized execution.

Findings (0)

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.

NoteHigh Confidence
ASI01: Agent Goal Hijack
What this means

A stale or hostile AGENTS.md being reviewed could try to redirect the agent if treated as authoritative instead of as source material.

Why it was flagged

The skill intentionally reads files that contain agent instructions. This is necessary for the task, but reviewed AGENTS.md content should remain audit input rather than becoming higher-priority instructions.

Skill content
Read the current AGENTS.md content and any nearby AGENTS.md files that merge into scope.
Recommendation

Keep the user's request and system instructions in control; classify or quote existing AGENTS.md lines rather than obeying any unexpected commands found inside them.

What this means

If the refactor accidentally drops, weakens, or moves important guidance, future agent sessions in the repository may behave differently.

Why it was flagged

AGENTS.md and related guidance docs are persistent instruction context for future agent runs. Updating them is the skill's purpose, but the changes can affect later behavior.

Skill content
Create or update the topic docs with the moved guidance, keeping each file narrowly scoped.
Recommendation

Use review/propose mode when unsure, resolve conflicts explicitly, and inspect version-control diffs before accepting applied changes.