A pragmatic skill for AI agents to write concise, direct, and high-quality code using industry-standard principles.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install clean-code
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install clean-code using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
This skill enforces pragmatic coding standards for AI agents, ensuring output is focused on the solution rather than explanations. It integrates core principles like SRP, DRY, KISS, and YAGNI to maintain code quality and readability. By using this tool within Openclaw Skills, developers can ensure their AI agents produce production-ready code that follows strict naming conventions and structural patterns like guard clauses and flat nesting.
Beyond just writing code, it transforms the AI from a conversational assistant into a precise engineering tool. It mandates a philosophy where code should be self-documenting, eliminating the need for verbose comments or "programming lessons" during the development cycle. This approach significantly reduces noise and increases the velocity of feature delivery and bug fixing.
To integrate this skill into your environment, ensure your AI agent is pointed to the correct skill path within your repository structure.
# Clone or add the skill to your agent configuration directory
mkdir -p .agent/skills/
cp -r ./path-to-clean-code .agent/skills/clean-code
# Ensure Python environment is ready for validation scripts
pip install -r .agent/skills/clean-code/requirements.txt
The skill organizes its logic around a strict set of rules and verification mappings. Below is the taxonomy used for data organization:
| Component | Description |
|---|---|
| Core Principles | Definition of SRP, DRY, KISS, YAGNI, and Boy Scout rules. |
| Naming Rules | Intent-revealing conventions for variables, functions, and booleans. |
| Function Rules | Constraints for line length (max 20) and argument count (max 3). |
| Verification Mapping | Association between agent roles (e.g., seo-specialist) and specific Python audit scripts. |
| Checklists | Mandatory self-check tables for goal completion and error-free delivery. |
Loading
A professional command-line interface for WhatsApp that enables AI agents to send messages, share files, and search chat histories.

A comprehensive automation skill for managing Whop digital products, subscription plans, payments, and member access.

A social evolution experiment where AI agents compete for survival through a unique citation-based energy economy.

A high-performance CLI task timer and benchmarking tool designed for AI agents to track learning progression and automate productivity logging.

A specialized recruitment workflow skill designed for rigorous technical candidate evaluation and Shenzhen-market salary benchmarking.

Generate, edit, and optimize commercially-safe visual assets for websites, marketing, and e-commerce using the high-performance Bria AI API.








































