Error Handling Patterns
wshobson/agents
Master error handling patterns across languages including exceptions, Result types, error propagation, and graceful degradation to build resilient applications.
Auto-triggers when AI detects a repeated pattern handled ad-hoc 3+ times, when AI makes a mistake that a permanent rule would prevent, when AI identifies a workflow that should be automated as a…
$ npx skills add Kiyoraka/Project-AI-MemoryCore --skill forge-skill -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Kiyoraka/Project-AI-MemoryCore forge-skill --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Kiyoraka/Project-AI-MemoryCore.git skills-src && mkdir -p .claude/skills && cp -r skills-src/Feature/Forge-Self-Improvement-System .claude/skills/forge-skill && rm -rf skills-srcUse ~/.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/
Install the "forge-skill" agent skill from https://github.com/Kiyoraka/Project-AI-MemoryCore/tree/main/Feature/Forge-Self-Improvement-System into .claude/skills/forge-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "forge-skill", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Kiyoraka/Project-AI-MemoryCore/tree/main/Feature/Forge-Self-Improvement-SystemType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Kiyoraka/Project-AI-MemoryCore --skill forge-skill -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Kiyoraka/Project-AI-MemoryCore forge-skill --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kiyoraka/Project-AI-MemoryCore.git skills-src && mkdir -p .agents/skills && cp -r skills-src/Feature/Forge-Self-Improvement-System .agents/skills/forge-skill && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "forge-skill" agent skill from https://github.com/Kiyoraka/Project-AI-MemoryCore/tree/main/Feature/Forge-Self-Improvement-System into .agents/skills/forge-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "forge-skill", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Kiyoraka/Project-AI-MemoryCore --skill forge-skill -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Kiyoraka/Project-AI-MemoryCore forge-skill --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kiyoraka/Project-AI-MemoryCore.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/Feature/Forge-Self-Improvement-System .cursor/skills/forge-skill && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "forge-skill" agent skill from https://github.com/Kiyoraka/Project-AI-MemoryCore/tree/main/Feature/Forge-Self-Improvement-System into .cursor/skills/forge-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "forge-skill", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Kiyoraka/Project-AI-MemoryCore.git --path Feature/Forge-Self-Improvement-System--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Kiyoraka/Project-AI-MemoryCore --skill forge-skill -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Kiyoraka/Project-AI-MemoryCore forge-skill --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kiyoraka/Project-AI-MemoryCore.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/Feature/Forge-Self-Improvement-System .gemini/skills/forge-skill && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "forge-skill" agent skill from https://github.com/Kiyoraka/Project-AI-MemoryCore/tree/main/Feature/Forge-Self-Improvement-System into .gemini/skills/forge-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "forge-skill", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Kiyoraka/Project-AI-MemoryCore forge-skillInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Kiyoraka/Project-AI-MemoryCore --skill forge-skill -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Kiyoraka/Project-AI-MemoryCore.git skills-src && mkdir -p .github/skills && cp -r skills-src/Feature/Forge-Self-Improvement-System .github/skills/forge-skill && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "forge-skill" agent skill from https://github.com/Kiyoraka/Project-AI-MemoryCore/tree/main/Feature/Forge-Self-Improvement-System into .github/skills/forge-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "forge-skill", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Kiyoraka/Project-AI-MemoryCore --skill forge-skill -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Kiyoraka/Project-AI-MemoryCore forge-skill --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kiyoraka/Project-AI-MemoryCore.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/Feature/Forge-Self-Improvement-System .opencode/skills/forge-skill && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "forge-skill" agent skill from https://github.com/Kiyoraka/Project-AI-MemoryCore/tree/main/Feature/Forge-Self-Improvement-System into .opencode/skills/forge-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "forge-skill", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
forge-skillAuto-triggers when AI detects a repeated pattern handled ad-hoc 3+ times, when AI makes a mistake that a permanent rule would prevent, when AI identifies a workflow that should be automated as a…
Forge Skill is an agent skill from Kiyoraka/Project-AI-MemoryCore. Auto-triggers when AI detects a repeated pattern handled ad-hoc 3+ times, when AI makes a mistake that a permanent rule would prevent, when AI identifies a workflow that should be automated as a skill, or when user says 'create skill', 'new skill', 'forge this', 'level up', 'upgrade skill', 'self improve', 'improve skill'. Also triggers when AI wants to propose a level-up to an existing skill based on conversation patterns.
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `README.md` and `install-forge.md`).
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit c421b55. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Forge Skill loads about 2.3k tokens when it runs. Until then it costs about 110 tokens; SKILL.md has 918 words of instructions outside code blocks.
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.
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.
Without a licence we can't republish the file, so here is its outline and opening line. It has 918 words (~2,310 tokens).
“The AI that improves its own abilities through experience.”
SKILL.md and 2 other files in Feature/Forge-Self-Improvement-System of Kiyoraka/Project-AI-MemoryCore.
Open the folder on GitHubat commit c421b55
Forge Skill 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Forge Skill this skillKiyoraka/Project-AI-MemoryCore | 374 | — | ~2.3k | Automated safety check: Pass | None | |
| Error Handling Patternswshobson/agents | 40k | 11 repos | ~1k | Automated safety check: Pass | MIT | |
| Detecting Anomalous Authentication Patternsmukul975/Anthropic-Cybersecurity-Skills | 34k | — | ~7.5k | Automated safety check: Pass | Apache-2.0 | |
| Detecting Beaconing Patterns With Zeekmukul975/Anthropic-Cybersecurity-Skills | 34k | — | ~662 | Automated safety check: Pass | Apache-2.0 | |
| Golang Patternsaffaan-m/ECC | 276k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Error Handlingaffaan-m/ECC | 276k | 1 repos | ~2.7k | Automated safety check: Pass | MIT |
wshobson/agents
Master error handling patterns across languages including exceptions, Result types, error propagation, and graceful degradation to build resilient applications.
mukul975/Anthropic-Cybersecurity-Skills
Detects anomalous authentication patterns using UEBA analytics, statistical baselines, and machine learning models to identify impossible travel, credential stuffing, brute force, password spraying…
mukul975/Anthropic-Cybersecurity-Skills
Performs statistical analysis of Zeek conn.log connection intervals to detect C2 beaconing patterns.
affaan-m/ECC
Go-specific design patterns and best practices including functional options, small interfaces, dependency injection, concurrency patterns, error handling, and package organization.
affaan-m/ECC
Patterns for robust error handling across TypeScript, Python, and Go.
affaan-m/ECC
JetBrains Exposed ORM patterns including DSL queries, DAO pattern, transactions, HikariCP connection pooling, Flyway migrations, and repository pattern.
Kiyoraka/Project-AI-MemoryCore
MUST use when the user wants to RENDER or GENERATE an actual image from a description (not just craft prompt text).
Kiyoraka/Project-AI-MemoryCore
MUST use when the user wants to RENDER or GENERATE an actual video / MP4 from a description, or ANIMATE a local image.
Kiyoraka/Project-AI-MemoryCore
MUST use when committing code changes, when user says 'commit', 'save changes', 'git commit', 'commit changes', when completing a task and code needs to be preserved, or when any git commit…
Kiyoraka/Project-AI-MemoryCore
Auto-triggers when user asks for a Midjourney or NijiJourney image prompt, when creating visual art prompts, or when user says 'midjourney prompt', 'niji prompt', 'create prompt', 'create a prompt'…
Kiyoraka/Project-AI-MemoryCore
Auto-triggers when user says 'new adventure', 'start adventure', 'new fantasy', 'save adventure', 'end adventure', 'load adventure', 'resume adventure', 'continue adventure', 'let's play', 'VN…
Kiyoraka/Project-AI-MemoryCore
MUST use when saving to the library, loading from the library, searching for existing knowledge, installing pre-made items, or when about to create a new library entry.
Auto-triggers when AI detects a repeated pattern handled ad-hoc 3+ times, when AI makes a mistake that a permanent rule would prevent, when AI identifies a workflow that should be automated as a…. Forge Skill is an agent skill from Kiyoraka/Project-AI-MemoryCore. Auto-triggers when AI detects a repeated pattern handled ad-hoc 3+ times, when AI makes a mistake that a permanent rule would prevent, when AI identifies a workflow that should be automated as a skill, or when user says 'create skill', 'new skill', 'forge this', 'level up', 'upgrade skill', 'self improve', 'improve skill'.
Forge Skill fits situations like: AI detects a repeated pattern handled ad-hoc 3+ times; AI makes a mistake that a permanent rule would prevent; AI identifies a workflow that should be automated as a skill; user says create skill.
Run `npx skills add Kiyoraka/Project-AI-MemoryCore --skill forge-skill -a claude-code`. Or copy the skill folder (Feature/Forge-Self-Improvement-System in Kiyoraka/Project-AI-MemoryCore) into .claude/skills/forge-skill in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Kiyoraka/Project-AI-MemoryCore --skill forge-skill -a codex`. Or copy the skill folder (Feature/Forge-Self-Improvement-System in Kiyoraka/Project-AI-MemoryCore) into .agents/skills/forge-skill in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Kiyoraka/Project-AI-MemoryCore --skill forge-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/forge-skill, .gemini/skills/forge-skill, .github/skills/forge-skill and .opencode/skills/forge-skill in your project.
SKILL.md names no scripts, command-line tools or credentials: Forge Skill is instructions for the agent only.
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.
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.
No licence was found for Forge Skill or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.
About 2.3k tokens (SKILL.md is roughly 9.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Forge Skill: Error Handling Patterns (wshobson/agents, 40k stars), Detecting Anomalous Authentication Patterns (mukul975/Anthropic-Cybersecurity-Skills, 34k stars), Detecting Beaconing Patterns With Zeek (mukul975/Anthropic-Cybersecurity-Skills, 34k stars) and Golang Patterns (affaan-m/ECC, 276k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Kiyoraka (a GitHub user) maintains it in Kiyoraka/Project-AI-MemoryCore, which has 374 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on July 29, 2026.
Source: Kiyoraka/Project-AI-MemoryCore on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.