aiclean
OfficialRefactor radare2 code safely and cleanly.
Software Engineering#readability#code refactoring#deduplication#radare2#dead code removal#cleanup plan#portable C
Authorradareorg
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It helps remove unnecessary complexity in radare2-related code, reducing line count and improving readability while maintaining behavior through safer, well-scoped changes.
Core Features & Use Cases
- Behavior-preserving cleanup plans: Turns the provided context into a small refactoring plan that prioritizes LOC reduction, readability, and safer ownership/bounds handling.
- Radare2-native style enforcement: Guides changes toward portable, radare2-native APIs for strings, arrays, vectors, and hash tables, avoiding non-portable libc patterns.
- History-aware refactoring: Encourages inspecting cleanup-oriented history within the same subsystem to reuse prior fixes and deduplicate repeated logic.
- Common cleanups that reduce bugs: Targets double dereferences, repeated traversal/formatting code, dead code elimination, and safer ownership/free/reset paths.
Quick Start
Use aiclean to review the specified radare2 subsystem code changes and produce a focused, LOC-reducing refactor patch that follows the skill’s portability, safety, and radare2-API guidelines.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: aiclean Download link: https://github.com/radareorg/radare2-skills/archive/main.zip#aiclean Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.