Agent skill

Error Handler Gen

by sundial-org in sundial-org/awesome-openclaw-skills

Generate error handling middleware for any framework. An agent skill from sundial-org/awesome-openclaw-skills.

No licenceAuto-check passedDevelopment

Install Error Handler Gen

skills CLI
$ npx skills add sundial-org/awesome-openclaw-skills --skill error-handler-gen -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sundial-org/awesome-openclaw-skills error-handler-gen --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sundial-org/awesome-openclaw-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/error-handler-gen .claude/skills/error-handler-gen && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
error-handler-gen
GitHub stars
663
Token cost
~519 tokens
SKILL.md length
214 words
Files
11
Skills in repo
353
Repo updated
First seen
Licence
None found

At a glance

Generate error handling middleware for any framework. An agent skill from sundial-org/awesome-openclaw-skills.

  • Setting up API error handling
  • SKILL.md covers Quick Start, What It Does, Usage Examples and Best Practices, plus 5 more sections
  • Runs TypeScript and JavaScript scripts from its folder; calls npx; needs OPENAI_API_KEY
  • Tasks that involve Error handling

What it does

Error Handler Gen is an agent skill from sundial-org/awesome-openclaw-skills. Generate error handling middleware for any framework. Use when setting up API error handling.

Its SKILL.md is about 520 tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files (for example `README.md`, `dist/cli.d.ts` and `dist/cli.js`).

It sits in Development, covering Error handling. The repository describes itself as: Top OpenClaw skills, with the most popular and useful ones.

When your agent uses it

  • Setting up API error handling
  • Tasks that involve Error handling

Example prompts

  • “/error-handler-gen”

Requirements

  • Node.js
  • A credential in OPENAI_API_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit b80cde2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (TypeScript and JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com
    • x.com
    • lxgicstudios.substack.com
    • lxgic.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • OPENAI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Error Handler Gen loads about 519 tokens when it runs. Until then it costs about 28 tokens; SKILL.md has 214 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~28
When it runs · the whole SKILL.md, loaded when a task matches
~519

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 214 words (~519 tokens).

“Good error handling means custom error classes, proper status codes, and consistent response shapes. This tool generates all of it for your framework.”

— opening of SKILL.md by sundial-org
name
error-handler-gen

Read the full SKILL.md on GitHub

Files

SKILL.md and 10 other files in skills/error-handler-gen of sundial-org/awesome-openclaw-skills.

  • SKILL.md
  • README.md
  • dist/cli.d.ts
  • dist/cli.js
  • dist/index.d.ts
  • dist/index.js
  • package-lock.json
  • package.json
  • src/cli.ts
  • src/index.ts
  • tsconfig.json

Open the folder on GitHubat commit b80cde2

Compare with similar skills

Error Handler Gen next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Error Handler Gen compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Error Handler Gen this skillsundial-org/awesome-openclaw-skills663—~519Automated safety check: PassNone
Mole Bug Patternstw93/Mole70k—~2kAutomated safety check: PassGPL-3.0
Native Data FetchingCherryHQ/cherry-studio-app4k6 repos~2.9kAutomated safety check: NotesMIT
Rust Best Practicesfarm-fe/farm5.6k3 repos~1.1kAutomated safety check: PassMIT
R Function Input Validationtidyverse/dplyr5.1k1 repos~2.3kAutomated safety check: PassCustom licence
Next Best Practicesvercel-labs/openreview1.7k18 repos~1kAutomated safety check: PassNone

Similar skills

  • A catalog of recurring bug shapes in the Mole Mac cleaner, used to review safety-sensitive diffs for deletion safety, unbounded commands, shell traps and weak tests.

    70k GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check passed
  • Native Data Fetching

    CherryHQ/cherry-studio-app

    A skill your agent uses when implementing or debugging ANY network request, API call, or data fetching.

    4k GitHub starsUsed in 6 repos~2.9k tokens
    DevelopmentAuto-check: notes
  • Guide for writing idiomatic Rust code based on Apollo GraphQL's best practices handbook.

    5.6k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Validates arguments of exported R functions with the standalone check_* type checkers from rlang, in tidyverse style with clear error messages.

    5.1k GitHub starsUsed in 1 repo~2.3k tokens
    DevelopmentAuto-check passed
  • Next Best Practices

    vercel-labs/openreview

    Official

    Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling

    1.7k GitHub starsUsed in 18 repos~1k tokens
    DevelopmentAuto-check passed
  • Error Handling

    microsoft/data-formulator

    Official

    统一错误处理系统。在添加 API 端点、修改错误处理、添加前端 API 调用、编写错误相关测试时使用. An agent skill from microsoft/data-formulator.

    18k GitHub stars~3.8k tokensUpdated today
    DevelopmentAuto-check passed

More from sundial-org/awesome-openclaw-skills

All 353 skills in this repo
  • UI UX Pro Max

    sundial-org/awesome-openclaw-skills

    UI/UX design intelligence and implementation guidance for building polished interfaces.

    663 GitHub starsUsed in 2 repos~657 tokens
    Auto-check passed
  • Web Deploy GitHub

    sundial-org/awesome-openclaw-skills

    Create and deploy single-page static websites to GitHub Pages with autonomous workflow.

    663 GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Clawd Modifier

    sundial-org/awesome-openclaw-skills

    Modify Clawd, the Claude Code mascot. An agent skill from sundial-org/awesome-openclaw-skills.

    663 GitHub stars~625 tokensUpdated 7 mo ago
    Auto-check passed
  • Figma

    sundial-org/awesome-openclaw-skills

    Professional Figma design analysis and asset export. An agent skill from sundial-org/awesome-openclaw-skills.

    663 GitHub stars~1.7k tokensUpdated 7 mo ago
    Auto-check: notes
  • Edge Tts

    sundial-org/awesome-openclaw-skills

    Text-to-speech conversion using node-edge-tts npm package for generating audio from text.

    663 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • Habit Flow

    sundial-org/awesome-openclaw-skills

    AI-powered atomic habit tracker with natural language logging, streak tracking, smart reminders, and coaching.

    663 GitHub stars~3.1k tokensUpdated 7 mo ago
    Auto-check passed

Categories

Questions about Error Handler Gen

What does Error Handler Gen do?

Generate error handling middleware for any framework. An agent skill from sundial-org/awesome-openclaw-skills. Error Handler Gen is an agent skill from sundial-org/awesome-openclaw-skills. Generate error handling middleware for any framework.

When should I use Error Handler Gen?

Error Handler Gen fits situations like: setting up API error handling; tasks that involve Error handling.

How do I install Error Handler Gen in Claude Code?

Run `npx skills add sundial-org/awesome-openclaw-skills --skill error-handler-gen -a claude-code`. Or copy the skill folder (skills/error-handler-gen in sundial-org/awesome-openclaw-skills) into .claude/skills/error-handler-gen in your project. Claude Code loads it when a task matches its description.

How do I install Error Handler Gen in Codex?

Run `npx skills add sundial-org/awesome-openclaw-skills --skill error-handler-gen -a codex`. Or copy the skill folder (skills/error-handler-gen in sundial-org/awesome-openclaw-skills) into .agents/skills/error-handler-gen in your project. Codex loads it when a task matches its description.

Can I use Error Handler Gen in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sundial-org/awesome-openclaw-skills --skill error-handler-gen -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/error-handler-gen, .gemini/skills/error-handler-gen, .github/skills/error-handler-gen and .opencode/skills/error-handler-gen in your project.

What does Error Handler Gen need to run?

Going by SKILL.md and its folder, Error Handler Gen needs TypeScript and JavaScript for the scripts in its folder, the command-line tools its instructions call (npx) and credentials named OPENAI_API_KEY. Our summary lists: Node.js; A credential in OPENAI_API_KEY.

Does Error Handler Gen access the network?

SKILL.md names 4 domains. As links in the text: github.com, x.com, lxgicstudios.substack.com and lxgic.dev. This is read from the text; nothing was executed.

Is Error Handler Gen safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Error Handler Gen use?

No licence was found for Error Handler Gen or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Error Handler Gen use?

About 519 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Error Handler Gen?

Skills that share tags, products or a category with Error Handler Gen: Mole Bug Patterns (tw93/Mole, 70k stars), Native Data Fetching (CherryHQ/cherry-studio-app, 4k stars), Rust Best Practices (farm-fe/farm, 5.6k stars) and R Function Input Validation (tidyverse/dplyr, 5.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Error Handler Gen?

sundial-org (a GitHub organization) maintains it in sundial-org/awesome-openclaw-skills, which has 663 GitHub stars. The repository holds 353 skills in this directory. The repository was last updated on March 7, 2026.

Source: sundial-org/awesome-openclaw-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.