Agent skill

Fantasia Neverthrow

by vishiri in vishiri/fantasia-archive

Use the neverthrow Result / ResultAsync pattern instead of try/catch for recoverable failures.

GPL-3.0Auto-check passedDevelopment

Install Fantasia Neverthrow

skills CLI
$ npx skills add vishiri/fantasia-archive --skill fantasia-neverthrow -a claude-code

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

GitHub CLI
$ gh skill install vishiri/fantasia-archive fantasia-neverthrow --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/vishiri/fantasia-archive.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/fantasia-neverthrow .claude/skills/fantasia-neverthrow && 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
fantasia-neverthrow
GitHub stars
409
Token cost
~339 tokens
SKILL.md length
90 words
Files
1
Skills in repo
35
Repo updated
First seen
Licence
GPL-3.0

At a glance

Use the neverthrow Result / ResultAsync pattern instead of try/catch for recoverable failures.

  • Tasks that involve Refactoring
  • SKILL.md covers When to follow, Core API (Neverthrow v8), Preload exclusion and Links
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Fantasia Neverthrow is an agent skill from vishiri/fantasia-archive. Use the neverthrow Result / ResultAsync pattern instead of try/catch for recoverable failures. Apply when touching error paths, IPC wrappers, parsers, or refactors around thrown errors.

Its SKILL.md is about 340 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 Refactoring. The repository describes itself as: A world-builder's best friend! The licence is GPL-3.0.

When your agent uses it

  • Tasks that involve Refactoring

Example prompts

  • “/fantasia-neverthrow”

What it can do on your machine

Read from SKILL.md and the folder at commit 26d4648. 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

    No scripts in the folder and no shell commands in SKILL.md.

    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):

    • npmjs.com

    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

Fantasia Neverthrow loads about 339 tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 90 words of instructions outside code blocks.

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

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

The full file from vishiri/fantasia-archive at commit 26d4648, republished under its GPL-3.0 licence (© vishiri). 90 words, ~339 tokens.

Download SKILL.mdSave it as .claude/skills/fantasia-neverthrow/SKILL.md (or your agent's skills folder).
name
fantasia-neverthrow
description
Use the neverthrow Result / ResultAsync pattern instead of try/catch for recoverable failures. Apply when touching error paths, IPC wrappers, parsers, or refactors around thrown errors.

Neverthrow error handling

When to follow

  • Anticipated failures: IPC, parse edge cases, cancellation, clipboard, optional APIs
  • Refactoring legacy try/catch or swallowed .catch

See neverthrow.mdc.

Core API (Neverthrow v8)

  • ok(value), err(error)
  • Result.fromThrowable(fn, mapError)
  • ResultAsync.fromPromise(promise, mapError); fromSafePromise when rejection unexpected
  • match, unwrapOr, map, mapErr, andThen, orElse
  • safeTry: generator yield* result for sequential steps

Prefer finally on Promise chains for cleanup-only side effects.

Preload exclusion

src-electron/contentBridgeAPIs/** — sandboxed preload bundle. No neverthrow import. Use Promise.then/.catch, URL.canParse, early returns. src-electron/shared/** reachable from preload: same rule. Renderer, main, helpers/ still prefer Result / ResultAsync.

© vishiri, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .cursor/skills/fantasia-neverthrow of vishiri/fantasia-archive.

Open the folder on GitHubat commit 26d4648

Compare with similar skills

Fantasia Neverthrow 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.

Fantasia Neverthrow compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fantasia Neverthrow this skillvishiri/fantasia-archive409—~339Automated safety check: PassGPL-3.0
Guidelinesakash-network/node1.1k20 repos~577Automated safety check: PassMIT
Migrate Core Code to Submodulestinyhumansai/openhuman42k—~2.6kAutomated safety check: PassGPL-3.0
Component Refactoringlangflow-ai/langflow155k—~3.5kAutomated safety check: PassMIT
Ponytail Lazy Developer ModeDietrichGebert/ponytail160k1 repos~873Automated safety check: PassMIT
ast-grep Structural Searchcode-yeongyu/oh-my-openagent70k—~3.3kAutomated safety check: PassMIT

Similar skills

  • Guidelines

    akash-network/node

    Behavioral guidelines to reduce common LLM coding mistakes. An agent skill from akash-network/node.

    1.1k GitHub starsUsed in 20 repos~577 tokens
    DevelopmentAuto-check passed
  • Migrate Core Code to Submodules

    tinyhumansai/openhuman

    Plans and carries out moving non-host-specific code and its tests from the OpenHuman core into vendored tiny submodule libraries, then releases the submodule and re-pins the host.

    42k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Component Refactoring

    langflow-ai/langflow

    Refactor high-complexity React components in Langflow frontend.

    155k GitHub stars~3.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Ponytail Lazy Developer Mode

    DietrichGebert/ponytail

    Makes the agent pick the laziest solution that works: skip unneeded work, reuse what exists, prefer the standard library and platform features, and keep diffs small.

    160k GitHub starsUsed in 1 repo~873 tokens
    DevelopmentAuto-check passed
  • ast-grep Structural Search

    code-yeongyu/oh-my-openagent

    Searches and rewrites code by syntax-tree shape across 25 languages with ast-grep, for codemods, structural queries and YAML lint rules, using a Python wrapper script.

    70k GitHub stars~3.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Systematic Code Refactoring

    luongnv89/claude-howto

    Guides refactoring in phases based on Martin Fowler's method: research, test coverage check, planning and small tested steps, with your approval at each phase.

    42k GitHub stars~3k tokensUpdated today
    DevelopmentAuto-check passed

More from vishiri/fantasia-archive

All 35 skills in this repo
  • Caveman Commit

    vishiri/fantasia-archive

    Ultra-compressed commit message generator. An agent skill from vishiri/fantasia-archive.

    409 GitHub starsUsed in 13 repos~642 tokens
    Auto-check passed
  • Caveman Review

    vishiri/fantasia-archive

    Ultra-compressed code review comments. An agent skill from vishiri/fantasia-archive.

    409 GitHub starsUsed in 12 repos~674 tokens
    Auto-check passed
  • Caveman Compress

    vishiri/fantasia-archive

    Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens.

    409 GitHub starsUsed in 9 repos~1.1k tokens
    Auto-check: notes
  • Cavecrew

    vishiri/fantasia-archive

    Decision guide for delegating to caveman-style subagents. An agent skill from vishiri/fantasia-archive.

    409 GitHub starsUsed in 7 repos~1k tokens
    Auto-check passed
  • Caveman Help

    vishiri/fantasia-archive

    Quick-reference card for all caveman modes, skills, and commands.

    409 GitHub starsUsed in 6 repos~572 tokens
    Auto-check passed
  • Fantasia Context Menu Dividers

    vishiri/fantasia-archive

    Context menu divider policy: full primary-bright group separators vs low-opacity separatorAlt between consecutive items in the same group.

    409 GitHub stars~741 tokensUpdated 3 days ago
    Auto-check passed

Categories

Questions about Fantasia Neverthrow

What does Fantasia Neverthrow do?

Use the neverthrow Result / ResultAsync pattern instead of try/catch for recoverable failures. Fantasia Neverthrow is an agent skill from vishiri/fantasia-archive. Use the neverthrow Result / ResultAsync pattern instead of try/catch for recoverable failures.

When should I use Fantasia Neverthrow?

Fantasia Neverthrow fits situations like: tasks that involve Refactoring.

How do I install Fantasia Neverthrow in Claude Code?

Run `npx skills add vishiri/fantasia-archive --skill fantasia-neverthrow -a claude-code`. Or copy the skill folder (.cursor/skills/fantasia-neverthrow in vishiri/fantasia-archive) into .claude/skills/fantasia-neverthrow in your project. Claude Code loads it when a task matches its description.

How do I install Fantasia Neverthrow in Codex?

Run `npx skills add vishiri/fantasia-archive --skill fantasia-neverthrow -a codex`. Or copy the skill folder (.cursor/skills/fantasia-neverthrow in vishiri/fantasia-archive) into .agents/skills/fantasia-neverthrow in your project. Codex loads it when a task matches its description.

Can I use Fantasia Neverthrow 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 vishiri/fantasia-archive --skill fantasia-neverthrow -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fantasia-neverthrow, .gemini/skills/fantasia-neverthrow, .github/skills/fantasia-neverthrow and .opencode/skills/fantasia-neverthrow in your project.

What does Fantasia Neverthrow need to run?

SKILL.md names no scripts, command-line tools or credentials: Fantasia Neverthrow is instructions for the agent only.

Does Fantasia Neverthrow access the network?

SKILL.md names 1 domain. As links in the text: npmjs.com. This is read from the text; nothing was executed.

Is Fantasia Neverthrow 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 Fantasia Neverthrow use?

Fantasia Neverthrow is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Fantasia Neverthrow use?

About 339 tokens (SKILL.md is roughly 1.4k 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 Fantasia Neverthrow?

Skills that share tags, products or a category with Fantasia Neverthrow: Guidelines (akash-network/node, 1.1k stars), Migrate Core Code to Submodules (tinyhumansai/openhuman, 42k stars), Component Refactoring (langflow-ai/langflow, 155k stars) and Ponytail Lazy Developer Mode (DietrichGebert/ponytail, 160k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fantasia Neverthrow?

vishiri (a GitHub user) maintains it in vishiri/fantasia-archive, which has 409 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on October 7, 2026.

Source: vishiri/fantasia-archive on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.