Agent skill

Asyncredux Dependency Injection

by marcglasberg in marcglasberg/async_redux

Inject dependencies into actions using the environment, dependencies, and configuration pattern.

Custom licenceAuto-check passedDevelopment

Install Asyncredux Dependency Injection

skills CLI
$ npx skills add marcglasberg/async_redux --skill asyncredux-dependency-injection -a claude-code

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

GitHub CLI
$ gh skill install marcglasberg/async_redux asyncredux-dependency-injection --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/marcglasberg/async_redux.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/asyncredux-dependency-injection .claude/skills/asyncredux-dependency-injection && 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
asyncredux-dependency-injection
GitHub stars
238
Token cost
~2.9k tokens
SKILL.md length
345 words
Files
1
Skills in repo
36
Repo updated
First seen
Licence
Custom licence

At a glance

Inject dependencies into actions using the environment, dependencies, and configuration pattern.

  • Works in 7 steps: Define the Environment → Define the Dependencies → Define the Configuration (optional) → …
  • Tasks that involve Design patterns
  • SKILL.md covers Step 1: Define the Environment, Step 2: Define the Dependencies, Step 3: Define the… and Step 4: Pass All Three to the…, plus 7 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Asyncredux Dependency Injection is an agent skill from marcglasberg/async_redux. Inject dependencies into actions using the environment, dependencies, and configuration pattern. Covers creating an Environment enum, a Dependencies class, passing them to the Store, accessing them from actions and widgets, and using dependency injection for testability.

Its SKILL.md is about 2.9k 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 Design patterns. The repository describes itself as: Powerful State Management for Flutter. Docs: https://asyncredux.com.

When your agent uses it

  • Tasks that involve Design patterns

Example prompts

  • “/asyncredux-dependency-injection”

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Define the Environment
  2. Define the Dependencies
  3. Define the Configuration (optional)
  4. Pass All Three to the Store
  5. Access from Actions via a Base Action Class
  6. Access from Widgets via BuildContext Extension
  7. (if using StoreConnector): Access from VmFactory

What it can do on your machine

Read from SKILL.md and the folder at commit bbc4303. 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 dart).

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

    • asyncredux.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

Asyncredux Dependency Injection loads about 2.9k tokens when it runs. Until then it costs about 76 tokens; SKILL.md has 345 words of instructions outside code blocks.

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

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 345 words (~2,887 tokens).

“AsyncRedux provides dependency injection through three Store parameters:”

— opening of SKILL.md by marcglasberg, Custom licence
name
asyncredux-dependency-injection

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/asyncredux-dependency-injection of marcglasberg/async_redux.

Open the folder on GitHubat commit bbc4303

Compare with similar skills

Asyncredux Dependency Injection 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.

Asyncredux Dependency Injection compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Asyncredux Dependency Injection this skillmarcglasberg/async_redux238—~2.9kAutomated safety check: PassCustom licence
Vercel Composition Patternssupabase/supabase111k58 repos~726Automated safety check: PassMIT
Swiftui View RefactorDimillian/Skills4k5 repos~2kAutomated safety check: PassMIT
RTK Rust Design Patternsrtk-ai/rtk83k—~1.9kAutomated safety check: PassApache-2.0
Effect Client WrapperUsefulSoftwareCo/executor4.1k1 repos~1.4kAutomated safety check: PassMIT
Architecture PatternsKartikLabhshetwar/better-shot2.4k2 repos~1.4kAutomated safety check: PassCustom licence

Similar skills

  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 58 repos~726 tokens
    DevelopmentAuto-check passed
  • Swiftui View Refactor

    Dimillian/Skills

    Refactor and review SwiftUI view files with strong defaults for small dedicated subviews, MV-over-MVVM data flow, stable view trees, explicit dependency injection, and correct Observation usage.

    4k GitHub starsUsed in 5 repos~2k tokens
    DevelopmentAuto-check passed
  • Describes seven Rust design patterns for the RTK CLI filter modules, with when to use each, RTK examples, and notes on when a pattern is overkill.

    83k GitHub stars~1.9k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Effect Client Wrapper

    UsefulSoftwareCo/executor

    Pattern for wrapping third-party SDK clients (Stripe, Resend, AWS, etc.) with Effect.

    4.1k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • Architecture Patterns

    KartikLabhshetwar/better-shot

    Deep dive into software architecture for macOS. An agent skill from KartikLabhshetwar/better-shot.

    2.4k GitHub starsUsed in 2 repos~1.4k tokens
    DevelopmentAuto-check passed
  • GitVersion .NET Development

    GitTools/GitVersion

    Gives repository-specific .NET guidance for GitVersion: build and test commands, central package management, project layout and coding conventions.

    3.1k GitHub stars~1.7k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from marcglasberg/async_redux

All 36 skills in this repo
  • Asyncredux Abort Dispatch

    marcglasberg/async_redux

    Stops an AsyncRedux (Flutter) action from dispatching. An agent skill from marcglasberg/async_redux.

    238 GitHub stars~2.3k tokensUpdated yesterday
    Auto-check passed
  • Asyncredux Setup

    marcglasberg/async_redux

    Initialize, setup and configure AsyncRedux in a Flutter app.

    238 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Asyncredux Action Status

    marcglasberg/async_redux

    Checks an AsyncRedux (Flutter) action's completion status using ActionStatus right after the dispatch returns.

    238 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Asyncredux Actions No State Change

    marcglasberg/async_redux

    Creates AsyncRedux (Flutter) actions that return null from reduce() to not change the state.

    238 GitHub stars~658 tokensUpdated yesterday
    Auto-check passed
  • Asyncredux Async Actions

    marcglasberg/async_redux

    Creates AsyncRedux (Flutter) asynchronous actions for API calls, database operations, and other async work.

    238 GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed
  • Asyncredux Base Action

    marcglasberg/async_redux

    Create a custom base action class for your app. An agent skill from marcglasberg/async_redux.

    238 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Asyncredux Dependency Injection

What does Asyncredux Dependency Injection do?

Inject dependencies into actions using the environment, dependencies, and configuration pattern. Asyncredux Dependency Injection is an agent skill from marcglasberg/async_redux. Inject dependencies into actions using the environment, dependencies, and configuration pattern.

When should I use Asyncredux Dependency Injection?

Asyncredux Dependency Injection fits situations like: tasks that involve Design patterns.

How do I install Asyncredux Dependency Injection in Claude Code?

Run `npx skills add marcglasberg/async_redux --skill asyncredux-dependency-injection -a claude-code`. Or copy the skill folder (.claude/skills/asyncredux-dependency-injection in marcglasberg/async_redux) into .claude/skills/asyncredux-dependency-injection in your project. Claude Code loads it when a task matches its description.

How do I install Asyncredux Dependency Injection in Codex?

Run `npx skills add marcglasberg/async_redux --skill asyncredux-dependency-injection -a codex`. Or copy the skill folder (.claude/skills/asyncredux-dependency-injection in marcglasberg/async_redux) into .agents/skills/asyncredux-dependency-injection in your project. Codex loads it when a task matches its description.

Can I use Asyncredux Dependency Injection 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 marcglasberg/async_redux --skill asyncredux-dependency-injection -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/asyncredux-dependency-injection, .gemini/skills/asyncredux-dependency-injection, .github/skills/asyncredux-dependency-injection and .opencode/skills/asyncredux-dependency-injection in your project.

What does Asyncredux Dependency Injection need to run?

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

Does Asyncredux Dependency Injection access the network?

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

Is Asyncredux Dependency Injection 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 Asyncredux Dependency Injection use?

Asyncredux Dependency Injection 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 Asyncredux Dependency Injection use?

About 2.9k tokens (SKILL.md is roughly 12k 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 Asyncredux Dependency Injection?

Skills that share tags, products or a category with Asyncredux Dependency Injection: Vercel Composition Patterns (supabase/supabase, 111k stars), Swiftui View Refactor (Dimillian/Skills, 4k stars), RTK Rust Design Patterns (rtk-ai/rtk, 83k stars) and Effect Client Wrapper (UsefulSoftwareCo/executor, 4.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Asyncredux Dependency Injection?

marcglasberg (a GitHub user) maintains it in marcglasberg/async_redux, which has 238 GitHub stars. The repository holds 36 skills in this directory. The repository was last updated on October 9, 2026.

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