Agent skill

Error Handling

by Sidiora-Labs in Sidiora-Labs/centra-llm-agents

Error handling patterns and best practices. An agent skill from Sidiora-Labs/centra-llm-agents.

Custom licenceAuto-check passedDevelopment

Install Error Handling

skills CLI
$ npx skills add Sidiora-Labs/centra-llm-agents --skill error-handling -a claude-code

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

GitHub CLI
$ gh skill install Sidiora-Labs/centra-llm-agents error-handling --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/Sidiora-Labs/centra-llm-agents.git skills-src && mkdir -p .claude/skills && cp -r skills-src/protocol/skills/error-handling .claude/skills/error-handling && 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-handling
GitHub stars
115
Token cost
~955 tokens
SKILL.md length
144 words
Files
3 (incl. references)
Skills in repo
13
Repo updated
First seen
Licence
Custom licence

At a glance

Error handling patterns and best practices. An agent skill from Sidiora-Labs/centra-llm-agents.

  • Implementing try/catch blocks
  • SKILL.md covers Core Principles, Quick Reference, Anti-Patterns and Detailed Guide, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Handling async errors

What it does

Error Handling is an agent skill from Sidiora-Labs/centra-llm-agents. Error handling patterns and best practices. Use when implementing try/catch blocks, handling async errors, showing error messages, or managing error states in UI. Triggers on error, try, catch, exception, throw, fail, failure, error handling, error boundary, useAsyncCall, toast, fallback, error state.

Its SKILL.md is about 960 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/rules/error-handling.md`).

It sits in Development, covering Error handling. The repository describes itself as: A stateful AI operating system for serious, long-horizon work.

When your agent uses it

  • Implementing try/catch blocks
  • Handling async errors
  • Showing error messages
  • Managing error states in UI

Example prompts

  • “/error-handling”

Requirements

  • Pre-approved tools (allowed-tools): Read, Grep, Glob

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

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

  • Network

    No URLs in SKILL.md.

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

  • Credentials

    Names no API keys, tokens, secrets or passwords.

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

Context cost

Error Handling loads about 955 tokens when it runs, and up to ~2.1k if it reads all its reference files. Until then it costs about 79 tokens; SKILL.md has 144 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~79
When it runs · the whole SKILL.md, loaded when a task matches
~955
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.1k

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 144 words (~955 tokens).

“Best practices for error handling in applications.”

— opening of SKILL.md by Sidiora-Labs, Custom licence
name
error-handling
allowed-tools
Read, Grep, Glob

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (references) in protocol/skills/error-handling of Sidiora-Labs/centra-llm-agents.

  • SKILL.md
  • SKILL.mtx
  • references/rules/error-handling.md

Open the folder on GitHubat commit 01c6aef

Compare with similar skills

Error Handling 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 Handling compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Error Handling this skillSidiora-Labs/centra-llm-agents115—~955Automated safety check: PassCustom licence
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 Sidiora-Labs/centra-llm-agents

All 13 skills in this repo
  • LLM Docs Optimizer

    Sidiora-Labs/centra-llm-agents

    Optimize documentation for AI coding assistants and LLMs. An agent skill from Sidiora-Labs/centra-llm-agents.

    115 GitHub stars~5.4k tokensUpdated 20 days ago
    Auto-check passed
  • Code Quality

    Sidiora-Labs/centra-llm-agents

    Code quality standards and best practices. An agent skill from Sidiora-Labs/centra-llm-agents.

    115 GitHub stars~1.2k tokensUpdated 20 days ago
    Auto-check passed
  • Coding Patterns

    Sidiora-Labs/centra-llm-agents

    Coding patterns and best practices for development. An agent skill from Sidiora-Labs/centra-llm-agents.

    115 GitHub stars~476 tokensUpdated 20 days ago
    Auto-check passed
  • Date Formatting

    Sidiora-Labs/centra-llm-agents

    Date and time formatting for applications. An agent skill from Sidiora-Labs/centra-llm-agents.

    115 GitHub stars~813 tokensUpdated 20 days ago
    Auto-check passed
  • I18n

    Sidiora-Labs/centra-llm-agents

    Internationalization and translation management. An agent skill from Sidiora-Labs/centra-llm-agents.

    115 GitHub stars~760 tokensUpdated 20 days ago
    Auto-check passed
  • Performance

    Sidiora-Labs/centra-llm-agents

    Performance optimization guidelines for React/React Native applications.

    115 GitHub stars~778 tokensUpdated 20 days ago
    Auto-check passed

Categories

Questions about Error Handling

What does Error Handling do?

Error handling patterns and best practices. An agent skill from Sidiora-Labs/centra-llm-agents. Error Handling is an agent skill from Sidiora-Labs/centra-llm-agents. Error handling patterns and best practices.

When should I use Error Handling?

Error Handling fits situations like: implementing try/catch blocks; handling async errors; showing error messages; managing error states in UI.

How do I install Error Handling in Claude Code?

Run `npx skills add Sidiora-Labs/centra-llm-agents --skill error-handling -a claude-code`. Or copy the skill folder (protocol/skills/error-handling in Sidiora-Labs/centra-llm-agents) into .claude/skills/error-handling in your project. Claude Code loads it when a task matches its description.

How do I install Error Handling in Codex?

Run `npx skills add Sidiora-Labs/centra-llm-agents --skill error-handling -a codex`. Or copy the skill folder (protocol/skills/error-handling in Sidiora-Labs/centra-llm-agents) into .agents/skills/error-handling in your project. Codex loads it when a task matches its description.

Can I use Error Handling 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 Sidiora-Labs/centra-llm-agents --skill error-handling -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-handling, .gemini/skills/error-handling, .github/skills/error-handling and .opencode/skills/error-handling in your project.

What does Error Handling need to run?

SKILL.md names no scripts, command-line tools or credentials: Error Handling is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Grep, Glob.

Does Error Handling access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Error Handling 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 Handling use?

Error Handling has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Error Handling use?

About 955 tokens (SKILL.md is roughly 3.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.2k tokens, read only when the agent opens those files.

What are the alternatives to Error Handling?

Skills that share tags, products or a category with Error Handling: 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 Handling?

Sidiora-Labs (a GitHub organization) maintains it in Sidiora-Labs/centra-llm-agents, which has 115 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on September 18, 2026.

Source: Sidiora-Labs/centra-llm-agents on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.