Agent skill

Effect Portable Patterns

by millionco in millionco/expect

Portable Effect patterns for robust promise execution. An agent skill from millionco/expect.

Custom licenceAuto-check passedBackend & APIs

Install Effect Portable Patterns

skills CLI
$ npx skills add millionco/expect --skill effect-portable-patterns -a claude-code

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

GitHub CLI
$ gh skill install millionco/expect effect-portable-patterns --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/millionco/expect.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/effect-portable-patterns .claude/skills/effect-portable-patterns && 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
effect-portable-patterns
GitHub stars
3.6k
Token cost
~3.7k tokens
SKILL.md length
413 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
Custom licence

At a glance

Portable Effect patterns for robust promise execution. An agent skill from millionco/expect.

  • Wrapping async operations with timeouts
  • SKILL.md covers Quick Reference, Core Pattern: Portable Effect…, Tagged Errors and Timeouts, plus 7 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Pattern matching

What it does

Effect Portable Patterns is an agent skill from millionco/expect. Portable Effect patterns for robust promise execution. Use when wrapping async operations with timeouts, retries, tagged errors, caching, concurrency, pattern matching, or tracing - all designed to resolve to a plain Promise via Effect.runPromise.

Its SKILL.md is about 3.7k 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 Backend & APIs, covering Caching. The repository describes itself as: Expect tests your agent's code in a real browser.

When your agent uses it

  • Wrapping async operations with timeouts
  • Pattern matching
  • Tracing - all designed to resolve to a plain Promise via Effect.runPromise

Example prompts

  • “/effect-portable-patterns”

What it can do on your machine

Read from SKILL.md and the folder at commit 39e9750. 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 (its code samples are typescript).

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

    • effect.website

    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

Effect Portable Patterns loads about 3.7k tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 413 words of instructions outside code blocks.

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

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 413 words (~3,735 tokens).

“Use Effect as a lightweight utility for running promises robustly. Every effect is self-contained (no services, no layers, no dependency injection) and resolves to a plain Promise at the boundary via Effect.runPromise.”

— opening of SKILL.md by millionco, Custom licence
name
effect-portable-patterns
version
1.0.0

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/effect-portable-patterns of millionco/expect.

Open the folder on GitHubat commit 39e9750

Compare with similar skills

Effect Portable Patterns 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.

Effect Portable Patterns compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Effect Portable Patterns this skillmillionco/expect3.6k—~3.7kAutomated safety check: PassCustom licence
Stripe Projectsfossasia/eventyay1.7k5 repos~2kAutomated safety check: NotesApache-2.0
FoundatioFoundatioFx/Foundatio2.1k—~3.9kAutomated safety check: PassApache-2.0
OmniRoute LLM Cachediegosouzapw/OmniRoute74k1 repos~529Automated safety check: PassMIT
Wp Block Themesgambitph/Stackable3503 repos~985Automated safety check: PassGPL-3.0
Wp Performancegambitph/Stackable3503 repos~1.5kAutomated safety check: PassGPL-3.0

Similar skills

  • Stripe Projects

    fossasia/eventyay

    A skill your agent uses when the user wants to provision infrastructure or third-party services using Stripe Projects.

    1.7k GitHub starsUsed in 5 repos~2k tokens
    Backend & APIsAuto-check: notes
  • Foundatio

    FoundatioFx/Foundatio

    A skill your agent uses when working with Foundatio infrastructure abstractions for .NET -- caching, queuing, messaging, file storage, distributed locking, or background jobs.

    2.1k GitHub stars~3.9k tokensUpdated today
    Backend & APIsAuto-check passed
  • OmniRoute LLM Cache

    diegosouzapw/OmniRoute

    Documents OmniRoute's cache endpoints for reading cache statistics and clearing entries, statistics or the reasoning cache, with notes on TTL and similarity settings.

    74k GitHub starsUsed in 1 repo~529 tokens
    Backend & APIsAuto-check passed
  • Wp Block Themes

    gambitph/Stackable

    A skill your agent uses when developing WordPress block themes: theme.json (global settings/styles), templates and template parts, patterns, style variations, and Site Editor troubleshooting (style…

    350 GitHub starsUsed in 3 repos~985 tokens
    Backend & APIsAuto-check passed
  • Wp Performance

    gambitph/Stackable

    A skill your agent uses when investigating or improving WordPress performance (backend-only agent): profiling and measurement (WP-CLI profile/doctor, Server-Timing, Query Monitor via REST headers)…

    350 GitHub starsUsed in 3 repos~1.5k tokens
    Backend & APIsAuto-check passed
  • FastAPI-Redis SDK Development

    redis/fastapi-redis-sdk

    Official

    Guides development on the fastapi-redis-sdk library itself - its connection lifecycle, dependency-injected caching, and async/sync bridging.

    404 GitHub stars~2.5k tokensUpdated 6 days ago
    Backend & APIsAuto-check: notes

More from millionco/expect

  • Effect Best Practices

    millionco/expect

    Enforces Effect-TS patterns for services, errors, layers, and atoms.

    3.6k GitHub stars~3.8k tokensUpdated 5 mo ago
    Auto-check passed
  • Debug Agent

    millionco/expect

    Systematic evidence-based debugging using runtime logs. An agent skill from millionco/expect.

    3.6k GitHub stars~2.6k tokensUpdated 5 mo ago
    Auto-check passed
  • Expect

    millionco/expect

    A skill your agent uses when editing .tsx/.jsx/.css/.html, React components, pages, routes, forms, styles, or layouts.

    3.6k GitHub stars~988 tokensUpdated 5 mo ago
    Auto-check passed
  • Skill Writing

    millionco/expect

    Write and improve agent skills (SKILL.md files). An agent skill from millionco/expect.

    3.6k GitHub stars~1.8k tokensUpdated 5 mo ago
    Auto-check passed

Categories

Questions about Effect Portable Patterns

What does Effect Portable Patterns do?

Portable Effect patterns for robust promise execution. An agent skill from millionco/expect. Effect Portable Patterns is an agent skill from millionco/expect. Portable Effect patterns for robust promise execution.

When should I use Effect Portable Patterns?

Effect Portable Patterns fits situations like: wrapping async operations with timeouts; pattern matching; tracing - all designed to resolve to a plain Promise via Effect.runPromise.

How do I install Effect Portable Patterns in Claude Code?

Run `npx skills add millionco/expect --skill effect-portable-patterns -a claude-code`. Or copy the skill folder (.agents/skills/effect-portable-patterns in millionco/expect) into .claude/skills/effect-portable-patterns in your project. Claude Code loads it when a task matches its description.

How do I install Effect Portable Patterns in Codex?

Run `npx skills add millionco/expect --skill effect-portable-patterns -a codex`. Or copy the skill folder (.agents/skills/effect-portable-patterns in millionco/expect) into .agents/skills/effect-portable-patterns in your project. Codex loads it when a task matches its description.

Can I use Effect Portable Patterns 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 millionco/expect --skill effect-portable-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/effect-portable-patterns, .gemini/skills/effect-portable-patterns, .github/skills/effect-portable-patterns and .opencode/skills/effect-portable-patterns in your project.

What does Effect Portable Patterns need to run?

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

Does Effect Portable Patterns access the network?

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

Is Effect Portable Patterns 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 Effect Portable Patterns use?

Effect Portable Patterns 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 Effect Portable Patterns use?

About 3.7k tokens (SKILL.md is roughly 15k 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 Effect Portable Patterns?

Skills that share tags, products or a category with Effect Portable Patterns: Stripe Projects (fossasia/eventyay, 1.7k stars), Foundatio (FoundatioFx/Foundatio, 2.1k stars), OmniRoute LLM Cache (diegosouzapw/OmniRoute, 74k stars) and Wp Block Themes (gambitph/Stackable, 350 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Effect Portable Patterns?

millionco (a GitHub organization) maintains it in millionco/expect, which has 3,558 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on May 6, 2026.

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