SkillsReviewed · softaworks

Agent MD Refactor

Agent MD Refactor is a skill for developers cleaning up AI coding assistant instructions, but its deletion advice needs review to preserve important rules. It directs an assistant to split AGENTS.md, CLAUDE.md and similar files into a short root file and linked topic documents.

Researched 15 Nov 2026

In short.

Agent MD Refactor is a documentation cleanup skill for teams using AI coding assistants, but its usefulness depends on preserving essential rules and ensuring the assistant reads linked documents. It specifies contradiction resolution, a root file under 50 lines, roughly 3-8 topic files and deletion recommendations. Nothing was executed, so instruction preservation, host compatibility and context savings remain unverified.

Researched and written by an AI model and checked by a second AI model. How it works

The supplied manifest covers the complete selected folder dist/plugins/agent-md-refactor/skills/agent-md-refactor, comprising README.md and SKILL.md, plus the repository-root LICENSE as a related notice. Other toolkit components, plugin installation behavior, assistant implementations and external references are excluded. Nothing was executed. Actual file edits, instruction preservation, contradiction detection accuracy, linked-document loading, compatibility, token savings and operating costs remain unverified or unknown.

The overview

Identity

Agent MD Refactor is a Markdown skill in softaworks/agent-toolkit. The README describes it as a Claude Code skill for reorganizing agent instruction files through progressive disclosure: keeping universal instructions readily available and moving topic details into linked files.

The resource is the specific skill folder at [https://github.com/softaworks/agent-toolkit/tree/main/dist/plugins/agent-md-refactor/skills/agent-md-refactor]. Its captured contents are README.md and SKILL.md; the broader toolkit is outside this scope.

Assessment

The skill offers a concrete structure for instruction files that mix testing, style, architecture and workflow rules. Its strongest feature is resolving contradictions before reorganizing content, rather than simply making the root file shorter.

The under-50-line target and deletion heuristics require judgment. A shorter file does not establish better assistant behavior, and the supplied documents provide no measured improvement in accuracy, token use or maintenance effort.

Users

The intended users are developers and repository maintainers whose assistant instructions have accumulated unrelated topics, repetition or conflicting rules. The README identifies files exceeding roughly 50-100 lines as possible candidates, alongside files with structural problems.

A beginner can understand the proposed folder structure, but someone familiar with the project must decide which rules are universal, which conflicts need resolution and which instructions can safely be removed.

Capabilities

The skill instructs an assistant to identify contradictions, extract universal instructions, group remaining rules by topic, create linked documentation and identify deletion candidates. Suggested topics include testing, TypeScript, Git workflow, architecture, security and performance.

It supplies root-file and topic-file templates, with checks for valid links, self-contained documents and retained instructions. These are requested assistant behaviors; the captured folder contains no standalone refactoring program or demonstrated results.

Using it

Requirements

Using the described workflow would require an assistant that can load the skill, read project instructions and edit repository files. A project maintainer must also be available to resolve conflicting instructions.

The README identifies Claude Code as the intended host. References to AGENTS.md and COPILOT.md identify files the skill can reorganize; they do not establish compatibility with other assistants. Supported host versions, operating systems, model requirements and installation dependencies are unspecified.

Mechanism

The five phases begin with conflicting instructions, which the skill tells the assistant to present to the user for resolution. It then separates universal rules from topic-specific guidance and organizes the latter into approximately 3-8 clearly named Markdown files.

The root retains a project description, relevant commands, critical overrides and universal rules, with links to details under .claude/ or docs/agent-instructions/. The final phase identifies redundant, vague, obvious or outdated instructions as deletion candidates.

Setup

The README recommends beginning with a clean Git state, identifying the cleanup goals and gathering instruction files scattered across the project. Those preparations make it easier to compare the reorganized files with their originals.

The captured documents do not provide an installation command or a host-specific skill installation directory. Once loaded through a supported host mechanism, the documented example request is to refactor the project's CLAUDE.md or split an oversized AGENTS.md. Activation was not assessed.

Example

In the supplied React example, style, testing and TypeScript guidance moves from CLAUDE.md into .claude/code-style.md, .claude/testing.md and .claude/typescript.md. The shorter root retains the project description, project commands and links to those files.

This is an illustrative documentation example. It does not demonstrate a completed project migration, preservation of every original instruction or successful loading of the linked files.

Assessment & evidence

Limitations

The deletion examples include an instruction against committing secrets, on the assumption that the assistant already knows this rule. That assumption does not establish that an explicit project security requirement is dispensable. The same caution applies to rules that appear obvious but encode deliberate project decisions.

Deletion behavior is also ambiguous: phase 5 describes flagging candidates, while the execution checklist expects redundant or vague instructions to have been removed. Neither the line-count target nor valid links proves semantic preservation or reliable retrieval of moved rules.

Reasoning

Separating universal requirements from topic-specific guidance could make instructions easier to maintain and reduce irrelevant material loaded for a task. This is a design inference from the proposed structure, not an observed result.

Any context savings depend on the host loading topic files only when relevant. Any improvement in reliability depends on essential instructions remaining available when needed. The supplied files establish neither host behavior nor the quality of an actual refactoring.

Alternatives

For a short, coherent instruction file, retaining one file is a reasonable alternative. A maintainer could also apply the documented categorization manually, using the templates without delegating deletion decisions.

These are workflow alternatives inferred from the method. The supplied evidence contains no comparison with another skill, assistant feature or documentation tool.

Evidence

The evidence consists of the skill's README.md, its complete SKILL.md and the repository-root LICENSE. The two Markdown documents establish the intended process, templates and verification goals; they do not supply execution logs, benchmarks, compatibility results or an actual project diff.

The captured skill text is available at [https://raw.githubusercontent.com/softaworks/agent-toolkit/3027f20f3181758385a1bb8c022d4041dfb4de84/dist/plugins/agent-md-refactor/skills/agent-md-refactor/SKILL.md]. The wider repository and the social-media post credited by the README were not assessed.

Access & freshness

Costs

The supplied documents give no price, required subscription, model choice, token counts or usage measurements. The operating cost of using the skill with an assistant is unknown.

The MIT license permits use and redistribution, but it does not establish hosting or model costs. The stated goal of reducing unnecessary context is not accompanied by measured token or financial savings.

Rights

SKILL.md declares MIT licensing, and the repository-root LICENSE names Leonardo Flores as the 2026 copyright holder. It permits use, copying, modification, publication, distribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions.

The license supplies the material without warranty and limits liability. It does not establish rights to a user's existing project instructions or unrelated third-party material.

Freshness

The supplied snapshot was captured on 15 November 2026 at 22:50:23.554 UTC from repository revision 3027f20f3181758385a1bb8c022d4041dfb4de84. These findings apply to that revision.

The original source address follows the main branch and may change. A release version, last-maintenance date and changes after capture are unknown from the supplied evidence.

Actions

Before applying the skill, preserve the existing files in Git and identify requirements that must remain universal. Resolve contradictions using project knowledge, then review the proposed file structure and every deletion against the original instructions.

Afterward, verify that referenced files exist, trace each retained requirement to its new location and use representative tasks to establish whether the assistant reads relevant topic files. These are recommended adoption checks; none was performed, and no operational outcome is established.

Evidence for this report

LICENSEnotice · checked 2026-11-15