Mole Bug Patterns
tw93/Mole
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.
A skill your agent uses when the workflow lacks error handling, has been failing in production, or needs retry logic, fallback strategies, and circuit breakers.
$ npx skills add sharpdeveye/maestro --skill fortify -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install sharpdeveye/maestro fortify --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/sharpdeveye/maestro.git skills-src && mkdir -p .claude/skills && cp -r skills-src/source/skills/fortify .claude/skills/fortify && 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 "fortify" agent skill from https://github.com/sharpdeveye/maestro/tree/main/source/skills/fortify into .claude/skills/fortify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fortify", 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/sharpdeveye/maestro/tree/main/source/skills/fortifyType 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 sharpdeveye/maestro --skill fortify -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install sharpdeveye/maestro fortify --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sharpdeveye/maestro.git skills-src && mkdir -p .agents/skills && cp -r skills-src/source/skills/fortify .agents/skills/fortify && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "fortify" agent skill from https://github.com/sharpdeveye/maestro/tree/main/source/skills/fortify into .agents/skills/fortify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fortify", 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 sharpdeveye/maestro --skill fortify -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install sharpdeveye/maestro fortify --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sharpdeveye/maestro.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/source/skills/fortify .cursor/skills/fortify && 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 "fortify" agent skill from https://github.com/sharpdeveye/maestro/tree/main/source/skills/fortify into .cursor/skills/fortify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fortify", 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/sharpdeveye/maestro.git --path source/skills/fortify--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 sharpdeveye/maestro --skill fortify -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install sharpdeveye/maestro fortify --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sharpdeveye/maestro.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/source/skills/fortify .gemini/skills/fortify && 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 "fortify" agent skill from https://github.com/sharpdeveye/maestro/tree/main/source/skills/fortify into .gemini/skills/fortify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fortify", 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 sharpdeveye/maestro fortifyInstalls 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 sharpdeveye/maestro --skill fortify -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/sharpdeveye/maestro.git skills-src && mkdir -p .github/skills && cp -r skills-src/source/skills/fortify .github/skills/fortify && 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 "fortify" agent skill from https://github.com/sharpdeveye/maestro/tree/main/source/skills/fortify into .github/skills/fortify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fortify", 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 sharpdeveye/maestro --skill fortify -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install sharpdeveye/maestro fortify --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sharpdeveye/maestro.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/source/skills/fortify .opencode/skills/fortify && 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 "fortify" agent skill from https://github.com/sharpdeveye/maestro/tree/main/source/skills/fortify into .opencode/skills/fortify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fortify", 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.
fortifyA skill your agent uses when the workflow lacks error handling, has been failing in production, or needs retry logic, fallback strategies, and circuit breakers.
Fortify is an agent skill from sharpdeveye/maestro. Use when the workflow lacks error handling, has been failing in production, or needs retry logic, fallback strategies, and circuit breakers.
Its SKILL.md is about 690 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Error handling. The repository describes itself as: Workflow fluency for AI coding agents. 1 core skill · 25 commands · 7 domain references · memory layer · audit trail — works across Cursor, Claude Code, Gemini CLI, Copilot, and… The licence is MIT.
Read from SKILL.md and the folder at commit 00f9115. 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 yaml).
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.
Fortify loads about 688 tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 267 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.
The full file from sharpdeveye/maestro at commit 00f9115, republished under its MIT licence (© sharpdeveye). 267 words, ~688 tokens.
.claude/skills/fortify/SKILL.md (or your agent's skills folder).Invoke /agent-workflow — it contains workflow principles, anti-patterns, and the Context Gathering Protocol. Follow the protocol before proceeding — if no workflow context exists yet, you MUST run /teach-maestro first. Consult the guardrails-safety reference in the agent-workflow skill for defense-in-depth patterns and error boundary design.
Make the workflow resilient. Every external call will fail eventually — model APIs, tools, databases, third-party services. Fortify ensures the workflow handles failure gracefully.
Layer 1: Input Validation
Layer 2: Retry with Backoff For transient failures (network errors, rate limits, timeouts):
Retry strategy:
max_retries: 3
initial_delay: 1s
backoff_multiplier: 2
max_delay: 30s
retryable_errors: [429, 500, 502, 503, 504, TIMEOUT, CONNECTION_ERROR]
non_retryable_errors: [400, 401, 403, 404]Layer 3: Fallback Responses When retries are exhausted:
Layer 4: Circuit Breakers When a service is consistently failing:
Circuit breaker:
failure_threshold: 5 consecutive failures
state: CLOSED → OPEN (after threshold) → HALF_OPEN (after cooldown)
cooldown: 60 seconds
half_open_max_requests: 1Layer 5: Timeout Controls Every external call needs a timeout:
For each component, verify:
After fortification, run /evaluate to verify error handling works under realistic failure scenarios.
NEVER:
© sharpdeveye, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in source/skills/fortify of sharpdeveye/maestro.
Open the folder on GitHubat commit 00f9115
Fortify 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 |
|---|---|---|---|---|---|---|
| Fortify this skillsharpdeveye/maestro | 592 | — | ~688 | Automated safety check: Pass | MIT | |
| Mole Bug Patternstw93/Mole | 69k | — | ~2k | Automated safety check: Pass | GPL-3.0 | |
| Native Data FetchingCherryHQ/cherry-studio-app | 4k | 6 repos | ~2.9k | Automated safety check: Notes | MIT | |
| Rust Best Practicesfarm-fe/farm | 5.6k | 3 repos | ~1.1k | Automated safety check: Pass | MIT | |
| R Function Input Validationtidyverse/dplyr | 5.1k | 1 repos | ~2.3k | Automated safety check: Pass | Custom licence | |
| Error Handlingmicrosoft/data-formulator | 18k | — | ~3.8k | Automated safety check: Pass | MIT |
tw93/Mole
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.
CherryHQ/cherry-studio-app
A skill your agent uses when implementing or debugging ANY network request, API call, or data fetching.
farm-fe/farm
Guide for writing idiomatic Rust code based on Apollo GraphQL's best practices handbook.
tidyverse/dplyr
Validates arguments of exported R functions with the standalone check_* type checkers from rlang, in tidyverse style with clear error messages.
microsoft/data-formulator
统一错误处理系统。在添加 API 端点、修改错误处理、添加前端 API 调用、编写错误相关测试时使用. An agent skill from microsoft/data-formulator.
UsefulSoftwareCo/executor
Pattern for wrapping third-party SDK clients (Stripe, Resend, AWS, etc.) with Effect.
sharpdeveye/maestro
A skill your agent uses when the workflow is too slow, too expensive, or both and needs latency, cost, or token usage optimization.
sharpdeveye/maestro
A skill your agent uses when the workflow needs multi-step processing with sequential, parallel, or conditional tool compositions and proper data flow.
sharpdeveye/maestro
A skill your agent uses when a single agent demonstrably cannot handle the task and multi-agent coordination is justified.
sharpdeveye/maestro
A skill your agent uses when the user wants to find problems, audit workflow quality, or get a comprehensive health check on their AI workflow.
sharpdeveye/maestro
A skill your agent uses when the user wants to create templates, extract reusable patterns, document solutions, or build a pattern library from working workflows.
sharpdeveye/maestro
A skill your agent uses when deploying to production, handling sensitive data, or the workflow needs safety constraints, input validation, and security boundaries.
Categories
A skill your agent uses when the workflow lacks error handling, has been failing in production, or needs retry logic, fallback strategies, and circuit breakers. Fortify is an agent skill from sharpdeveye/maestro. Use when the workflow lacks error handling, has been failing in production, or needs retry logic, fallback strategies, and circuit breakers.
Fortify fits situations like: the workflow lacks error handling; has been failing in production; needs retry logic; fallback strategies.
Run `npx skills add sharpdeveye/maestro --skill fortify -a claude-code`. Or copy the skill folder (source/skills/fortify in sharpdeveye/maestro) into .claude/skills/fortify in your project. Claude Code loads it when a task matches its description.
Run `npx skills add sharpdeveye/maestro --skill fortify -a codex`. Or copy the skill folder (source/skills/fortify in sharpdeveye/maestro) into .agents/skills/fortify 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 sharpdeveye/maestro --skill fortify -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fortify, .gemini/skills/fortify, .github/skills/fortify and .opencode/skills/fortify in your project.
SKILL.md names no scripts, command-line tools or credentials: Fortify 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.
Fortify is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 688 tokens (SKILL.md is roughly 2.8k 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 Fortify: Mole Bug Patterns (tw93/Mole, 69k 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.
sharpdeveye (a GitHub user) maintains it in sharpdeveye/maestro, which has 592 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on April 29, 2026.
Source: sharpdeveye/maestro on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.