Error Writer automatically rewrites bad error messages and exception strings into clear, actionable variants tailored perfectly for end-users, APIs, and system logs.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install phy-error-writer
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 phy-error-writer using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Error Writer is an indispensable addition to the Openclaw Skills ecosystem designed to optimize developer experience, UX writing, and application logging. The skill eliminates the top cause of unnecessary support tickets and debugging dead ends by systematically transforming vague or cryptic error strings into highly clear, informative messages. Operating entirely with zero external API dependencies and requiring no initial configuration, it instantly audits codebases for critical anti-patterns.
By processing your raw error inputs, constants files, or entire source directories, the skill breaks down every notification along audience and category dimensions. It then outputs a comprehensive rewrite report using a proven three-part formula: explaining exactly what happened, why it happened, and providing clear, actionable steps for what to do next.
/error-writer or specific phrases, passing raw strings, snippet files, or a localized directory path.To leverage this tool within your active Openclaw Skills workflow, use the designated command prefix in your terminal environment or chat interface:
# Run a single error rewrite or audit a file path directly
/error-writer src/errors.ts
# Scan your entire project repository for anti-patterns
/error-writer --audit src/
# Target a distinct user base segment directly
/error-writer --audience end-user "User not found in database"
The output report generated by the system details strict classifications and multi-channel code schemas:
| Section | Contents | Purpose |
|---|---|---|
| Audit Summary | Table matching severity counts (Critical, High, Medium) to observed anti-patterns. | Evaluates code health metrics at a glance. |
| Rewrites Matrix | side-by-side comparison of the legacy string against optimized UI, API, and log alternatives. | Provides immediate drop-in text upgrades. |
| Constants File | Generated codebase constants (errors.ts) utilizing structured key-value maps. |
Accelerates direct implementation. |
| Style Guide | Project-specific formatting conventions (e.g., casing, active voice constraints). | Maintains continuous team alignment. |
Loading
Prompt Diff delivers a rich behavioral and semantic changelog for LLM system prompts and agent instructions rather than simple line-by-line diffs.

A local, agent-native data contract enforcer that prevents silent pipeline failures by validating schemas and detecting drift between pipeline stages.

A local environment variable analysis skill that resolves your framework's complex .env file override hierarchy, flags configuration risks, and cross-references usage against your source code.

Instantly run a local mock HTTP server from any OpenAPI 3.x or Swagger 2.0 specification file or URL without writing backend code.

Flag Janitor is a local, privacy-first technical debt analyzer that detects stale, hardcoded, or undefined feature flags and generates precise refactoring plans to clean them up.

A zero-dependency developer utility to instantly infer clean, type-safe Pydantic, Zod, TypeScript, and Go schemas from messy, real-world sample data.








































