blocked-action-fallback

blocked-action-fallback is a skill for Claude Code from IgorGanapolsky/ThumbGate. It costs 85 tokens per session (1,165 once invoked), scanned A, original, MIT.

A fallback procedure for when an action fails or a tool is unavailable. It classifies the error and tries legitimate alternative routes before reporting a blocker.

In plain words
What is it for?
Use it for failed API calls, unavailable connectors, disabled services, network errors, missing command-line tools, and similar blocked actions.
Why use it?
It reduces premature handoffs, such as asking a person to do work the agent could still complete another way. It also prevents retrying an action that was refused by permissions or safety rules.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions Claude Code.

Part of the thumbgate plugin — 89 skills, 8 commands, 1 agent, 10 hooks, 2 MCP servers, 3 plugins shipped together

Good fit Use it for failed API calls, unavailable connectors, disabled services, network errors, missing command-line tools, and similar blocked actions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/igorganapolsky/thumbgate/blocked-action-fallback
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add IgorGanapolsky/ThumbGate --skill blocked-action-fallback
Clone the repo
git clone --depth 1 https://github.com/IgorGanapolsky/ThumbGate

Made for: Claude Code.

Or install thumbgate, the plugin that ships this one along with the rest of its 89 skills, 8 commands, 1 agent, 10 hooks, 2 MCP servers, 3 plugins.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for blocked-action-fallback

README.md
[![agentmods](https://agentmods.dev/badge/skills/igorganapolsky/thumbgate/blocked-action-fallback/github.svg)](https://agentmods.dev/skills/igorganapolsky/thumbgate/blocked-action-fallback)
Your own site
<a href="https://agentmods.dev/skills/igorganapolsky/thumbgate/blocked-action-fallback"><img src="https://agentmods.dev/badge/skills/igorganapolsky/thumbgate/blocked-action-fallback/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for blocked-action-fallback

Your own site · 80×15
<a href="https://agentmods.dev/skills/igorganapolsky/thumbgate/blocked-action-fallback"><img src="https://agentmods.dev/badge/skills/igorganapolsky/thumbgate/blocked-action-fallback.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,165 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00085 $0.01165
Opus 5.5 $0.00034 $0.00466
Sonnet 5.5 $0.00017 $0.00233
Haiku 4.5 $0.00009 $0.00117

Measured 18d ago against content hash a4d3ddbe5519, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

blocked-action-fallback scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 18d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/blocked-action-fallback/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Blocked-Action Fallback — Try Every Legitimate Route, Then Report Once

The failure this prevents

Two opposite failures, both seen in Nov 2026 sessions:

  1. Giving up on the first error. A thread hit "gh pr create: GraphQL blocked" or "Gmail connector not enabled" and handed the CEO a to-do list ("please click Ready", "please send this email"). The CEO's standing rule: never tell him to do our work; exhaust alternate routes first.
  2. Treating a refusal as a broken route. Re-trying an action that a permission system, safety check, or branch protection refused by switching tools (MCP → gh → raw API) is evasion, not resilience. See CLAUDE.md "NEVER Bypass Branch Protection".

Step 0 — classify the failure (do not skip)

Quote the exact error, then label it:

Class Examples What you do
ROUTE BROKEN MCP server disconnected, proxy 403 on a host, GraphQL endpoint rejected while REST works, CLI not installed, timeout, 5xx Walk the ladder below
NOT YET CONFIGURED connector exists on the account but not enabled for this session, missing env var, repo not attached Use the setup tool that exists for it (attach repo, connector card, environment docs), keep doing all work that doesn't depend on it
REFUSED a tool call denied by the permission/safety layer, REVIEW_REQUIRED, ruleset/branch-protection block, a platform ToS or rate limit, a human said no Stop. Do not retry the same intent through another tool. Record it as BLOCKED with the quoted reason

If unsure whether it is BROKEN or REFUSED, treat it as REFUSED.

The ladder (ROUTE BROKEN only)

Try in order; stop at the first that works. Log each attempt (route, command, result) — that log is the evidence if you end up reporting a blocker.

  1. Native tool / MCP for the service (GitHub MCP, Gmail MCP, etc.). If the server is "still connecting", search for its tools again before giving up.
  2. Repo CLI with existing auth — gh, npm run <script>, repo scripts in scripts/ (e.g. npm run pr:manage, scripts/post-everywhere.js).
  3. REST instead of GraphQL — gh api repos/<owner>/<repo>/pulls -f ... creates PRs when gh pr create (GraphQL) is rejected; same for comments, labels, ready-for-review.
  4. Repository automation — trigger an existing workflow that already owns the action: gh workflow run <file> -f pr_number=<N> (e.g. agent-automerge.yml), or push a commit that fires it. Never write a new workflow whose purpose is to get around a control.
  5. The operator's machine — when the work genuinely needs local credentials, apps or files (Mac-only scripts, signed-in browsers, launchd jobs), queue it through mac-dispatch (an issue marked <!-- agent:ready --> or a row in the existing herdr sheet), or start a Remote Control session / use connected folder access when the thread has them. Never queue a REFUSED action on the Mac.
  6. Produce the artifact anyway — if nothing can send/publish it, finish everything up to the send (final copy, filled placeholders, exact command) and save it where the next session/automation will pick it up.

Read the full file on GitHub · 89 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 18d ago Changed a4d3ddbe5519
  2. 19d ago Changed · +4 lines 899805e68070
  3. 20d ago First seen · 85 lines · 85 tokens per session scan A 826bff1a4691

Subscribe to this mod's changes

blocked-action-fallback is a skill published in the GitHub repository IgorGanapolsky/ThumbGate (34 stars, last pushed today), licensed MIT. It adds 85 tokens to every session and 1,165 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-11.

Related

blocked-action-fallback compared with skills from other repositories

blocked-action-fallback next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
blocked-action-fallbackIgorGanapolsky/ThumbGateSkill34todayMITA85Claude Code
sodam-loop-repairsodam-ai/SoDam-Loop-EngSkill22mo agononeA66Claude Code
sodam-loop-statussodam-ai/SoDam-Loop-EngSkill22mo agononeA55Claude Code
llamaguarddavila7/claude-code-templatesSkill35ktodayMITA74Claude Code, Codex
reporting-shared-defectsFlyFission/nuclear-grade-context-engineeringSkill336d agoMITA93Claude Code
nio-scancore0-io/nioSkill203d agoApache-2.0A81Claude Code
debug-workflowsynaptiai/agent-capability-standardSkill7todayApache-2.0A35Claude Code