Flutter Networking
MADTeacher/mad-agents-skills
Implement, fix, debug, review, or refactor Flutter networking code for HTTP/REST APIs, WebSocket realtime flows, authentication and token refresh, request headers, timeouts, retries, JSON parsing…
Fix slow Flutter app startup caused by blocking network operations during initialization.
$ npx skills add divinevideo/divine-mobile --skill flutter-startup-network-blocking -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install divinevideo/divine-mobile flutter-startup-network-blocking --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/divinevideo/divine-mobile.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/flutter-startup-network-blocking .claude/skills/flutter-startup-network-blocking && 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 "flutter-startup-network-blocking" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/flutter-startup-network-blocking into .claude/skills/flutter-startup-network-blocking/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "flutter-startup-network-blocking", 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/divinevideo/divine-mobile/tree/main/.agents/skills/flutter-startup-network-blockingType 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 divinevideo/divine-mobile --skill flutter-startup-network-blocking -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install divinevideo/divine-mobile flutter-startup-network-blocking --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/flutter-startup-network-blocking .agents/skills/flutter-startup-network-blocking && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "flutter-startup-network-blocking" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/flutter-startup-network-blocking into .agents/skills/flutter-startup-network-blocking/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "flutter-startup-network-blocking", 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 divinevideo/divine-mobile --skill flutter-startup-network-blocking -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install divinevideo/divine-mobile flutter-startup-network-blocking --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/flutter-startup-network-blocking .cursor/skills/flutter-startup-network-blocking && 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 "flutter-startup-network-blocking" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/flutter-startup-network-blocking into .cursor/skills/flutter-startup-network-blocking/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "flutter-startup-network-blocking", 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/divinevideo/divine-mobile.git --path .agents/skills/flutter-startup-network-blocking--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 divinevideo/divine-mobile --skill flutter-startup-network-blocking -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install divinevideo/divine-mobile flutter-startup-network-blocking --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/flutter-startup-network-blocking .gemini/skills/flutter-startup-network-blocking && 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 "flutter-startup-network-blocking" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/flutter-startup-network-blocking into .gemini/skills/flutter-startup-network-blocking/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "flutter-startup-network-blocking", 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 divinevideo/divine-mobile flutter-startup-network-blockingInstalls 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 divinevideo/divine-mobile --skill flutter-startup-network-blocking -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/flutter-startup-network-blocking .github/skills/flutter-startup-network-blocking && 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 "flutter-startup-network-blocking" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/flutter-startup-network-blocking into .github/skills/flutter-startup-network-blocking/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "flutter-startup-network-blocking", 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 divinevideo/divine-mobile --skill flutter-startup-network-blocking -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install divinevideo/divine-mobile flutter-startup-network-blocking --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/flutter-startup-network-blocking .opencode/skills/flutter-startup-network-blocking && 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 "flutter-startup-network-blocking" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/flutter-startup-network-blocking into .opencode/skills/flutter-startup-network-blocking/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "flutter-startup-network-blocking", 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.
flutter-startup-network-blockingFix slow Flutter app startup caused by blocking network operations during initialization.
Flutter Startup Network Blocking is an agent skill from divinevideo/divine-mobile. Fix slow Flutter app startup caused by blocking network operations during initialization. Use when: (1) App takes several seconds to show first frame, (2) Startup logs show sequential network operations (WebSocket connections, API calls), (3) Services initialize during startup that aren't needed until user authenticates. Covers: converting sequential network ops to parallel with Future.wait(), deferring service initialization until actually needed (lazy init), and identifying blocking operations in…
Its SKILL.md is about 1.2k 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 Mobile, covering Cross-platform mobile apps and Realtime and WebSockets. It works with Flutter. The licence is MPL-2.0.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 8d5fbf2. 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 dart).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
docs.flutter.devapi.dart.devriverpod.devFrom 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.
Flutter Startup Network Blocking loads about 1.2k tokens when it runs. Until then it costs about 144 tokens; SKILL.md has 313 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 divinevideo/divine-mobile at commit 8d5fbf2, republished under its MPL-2.0 licence (© divinevideo). 313 words, ~1,223 tokens.
.claude/skills/flutter-startup-network-blocking/SKILL.md (or your agent's skills folder).Flutter app startup is slow because network operations (WebSocket connections, API calls, service initialization) run sequentially during the initialization phase, blocking the first frame from rendering. With multiple relay/server connections, worst-case startup time becomes O(n × timeout) instead of O(max timeout).
_initializeCoreServices() or similar contains multiple awaited network operationsbuild() methodLook for sequential awaits in startup code:
// BAD: Sequential - each connection blocks the next
for (final url in relays) {
await connectToRelay(url); // Blocks startup!
}Use Future.wait() to run all connections simultaneously:
// GOOD: Parallel - all connections run at once
final results = await Future.wait(
relays.map((url) async {
final success = await connectToRelay(url);
return MapEntry(url, success);
}),
);Move network-dependent services out of the critical startup path:
Before (blocking startup):
Future<void> _initializeCoreServices(ProviderContainer container) async {
await container.read(authServiceProvider).initialize();
await container.read(nostrServiceProvider).initialize(); // BLOCKS for relay connections!
await container.read(otherServiceProvider).initialize();
}After (lazy initialization):
Future<void> _initializeCoreServices(ProviderContainer container) async {
// NOTE: NostrService initializes lazily when user authenticates
await container.read(authServiceProvider).initialize();
await container.read(seenVideosServiceProvider).initialize();
// NostrService NOT initialized here - happens when auth state changes
}Let Riverpod handle lazy initialization through provider dependencies:
@riverpod
NostrClient nostrClient(NostrClientRef ref) {
final authService = ref.watch(authServiceProvider);
// Only creates client when auth state is ready
if (!authService.isAuthenticated) {
return NostrClient.disconnected();
}
// Initialize lazily when actually needed
final client = NostrClient(relays: authService.userRelays);
Future.microtask(() => client.initialize());
return client;
}Startup improvement achieved:
Log pattern showing fix working:
[18:15:17.538] First frame rendered in 1426ms
[18:15:17.556] Creating NostrClient... // AFTER first frame!Future.wait with error handlingFuture.wait() fails fast by default - use try/catch inside the map if you want partial successAsyncNotifier for lazy-loaded state© divinevideo, MPL-2.0. 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 .agents/skills/flutter-startup-network-blocking of divinevideo/divine-mobile.
Open the folder on GitHubat commit 8d5fbf2
Flutter Startup Network Blocking 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 |
|---|---|---|---|---|---|---|
| Flutter Startup Network Blocking this skilldivinevideo/divine-mobile | 265 | — | ~1.2k | Automated safety check: Pass | MPL-2.0 | |
| Flutter NetworkingMADTeacher/mad-agents-skills | 110 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Asyncredux Abort Dispatchmarcglasberg/async_redux | 238 | — | ~2.3k | Automated safety check: Pass | Custom licence | |
| Nitro Fetchmargelo/react-native-skills | 175 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Layered ArchitectureVeryGoodOpenSource/vgv-ai-flutter-plugin | 169 | — | ~4.6k | Automated safety check: Pass | MIT | |
| Lunora Realtimeanolilab/lunora | 283 | — | ~2.4k | Automated safety check: Pass | Custom licence |
MADTeacher/mad-agents-skills
Implement, fix, debug, review, or refactor Flutter networking code for HTTP/REST APIs, WebSocket realtime flows, authentication and token refresh, request headers, timeouts, retries, JSON parsing…
marcglasberg/async_redux
Stops an AsyncRedux (Flutter) action from dispatching. An agent skill from marcglasberg/async_redux.
margelo/react-native-skills
Fast native networking primitives for React Native built on Nitro Modules — react-native-nitro-fetch, react-native-nitro-websockets, and react-native-nitro-text-decoder.
VeryGoodOpenSource/vgv-ai-flutter-plugin
VGV layered monorepo architecture in Flutter: four layers Data, Repository, Business Logic, and Presentation, unidirectional dependency rules, and model transformation across layers.
anolilab/lunora
Wires Lunora's live data into a client. An agent skill from anolilab/lunora.
btwld/superdeck
Implements caching strategies for Flutter apps to improve performance and offline support.
divinevideo/divine-mobile
Fix ArgoCD ExternalSecret deployment failing with "namespace X is not permitted in project Y".
divinevideo/divine-mobile
Art direction for any content — reads text, PDF, Word, HTML, PPT, then proposes 2-3 creative directions with photography style, mood, and visual language.
divinevideo/divine-mobile
Fix "Null check operator used on a null value" errors when an object is set to null during an async await.
divinevideo/divine-mobile
Add custom metadata headers (x-amz-meta-) to AWS v4 signed requests for GCS S3-compatible API.
divinevideo/divine-mobile
Fix password/secret authentication failures caused by trailing newlines when creating Google Cloud secrets (or similar) with bash here-strings.
divinevideo/divine-mobile
Fix silent video/media processing failures caused by URL extraction code that filters on file extensions (.mp4, .webm, .webp).
Works with
Categories
Fix slow Flutter app startup caused by blocking network operations during initialization. Flutter Startup Network Blocking is an agent skill from divinevideo/divine-mobile. Fix slow Flutter app startup caused by blocking network operations during initialization.
Flutter Startup Network Blocking fits situations like: app takes several seconds to show first frame; startup logs show sequential network operations (WebSocket connections; services initialize during startup that arent needed until user authenticates.
Run `npx skills add divinevideo/divine-mobile --skill flutter-startup-network-blocking -a claude-code`. Or copy the skill folder (.agents/skills/flutter-startup-network-blocking in divinevideo/divine-mobile) into .claude/skills/flutter-startup-network-blocking in your project. Claude Code loads it when a task matches its description.
Run `npx skills add divinevideo/divine-mobile --skill flutter-startup-network-blocking -a codex`. Or copy the skill folder (.agents/skills/flutter-startup-network-blocking in divinevideo/divine-mobile) into .agents/skills/flutter-startup-network-blocking 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 divinevideo/divine-mobile --skill flutter-startup-network-blocking -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/flutter-startup-network-blocking, .gemini/skills/flutter-startup-network-blocking, .github/skills/flutter-startup-network-blocking and .opencode/skills/flutter-startup-network-blocking in your project.
SKILL.md names no scripts, command-line tools or credentials: Flutter Startup Network Blocking is instructions for the agent only.
SKILL.md names 3 domains. As links in the text: docs.flutter.dev, api.dart.dev and riverpod.dev. 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.
Flutter Startup Network Blocking is published under the MPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.9k 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 Flutter Startup Network Blocking: Flutter Networking (MADTeacher/mad-agents-skills, 110 stars), Asyncredux Abort Dispatch (marcglasberg/async_redux, 238 stars), Nitro Fetch (margelo/react-native-skills, 175 stars) and Layered Architecture (VeryGoodOpenSource/vgv-ai-flutter-plugin, 169 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
divinevideo (a GitHub organization) maintains it in divinevideo/divine-mobile, which has 265 GitHub stars. The repository holds 103 skills in this directory. The repository was last updated on October 7, 2026.
Source: divinevideo/divine-mobile on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.