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.
npx skills add divinevideo/divine-mobile --skill flutter-macos-duplicate-camera-plugingit clone --depth 1 https://github.com/divinevideo/divine-mobileWrote 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.
[](https://agentmods.dev/skills/divinevideo/divine-mobile/flutter-macos-duplicate-camera-plugin)<a href="https://agentmods.dev/skills/divinevideo/divine-mobile/flutter-macos-duplicate-camera-plugin"><img src="https://agentmods.dev/badge/skills/divinevideo/divine-mobile/flutter-macos-duplicate-camera-plugin/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.
<a href="https://agentmods.dev/skills/divinevideo/divine-mobile/flutter-macos-duplicate-camera-plugin"><img src="https://agentmods.dev/badge/skills/divinevideo/divine-mobile/flutter-macos-duplicate-camera-plugin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00091 | $0.00877 |
| Opus 5.5 | $0.00036 | $0.00351 |
| Sonnet 5.5 | $0.00018 | $0.00175 |
| Haiku 4.5 | $0.00009 | $0.00088 |
Grade C, and why
flutter-macos-duplicate-camera-plugin scanned grade C with 1 finding 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 1mo 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf build/ How it starts
The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Flutter macOS Duplicate Camera Plugin Fix
Problem
Flutter macOS builds fail when both camera_macos and camera_macos_plus packages are present
in pubspec.yaml. Both packages define the same CameraMacosPlugin class, causing Swift
registration ambiguity.
Context / Trigger Conditions
Error message:
Ambiguous use of 'CameraMacosPlugin.register(with:)'
Symptoms:
- macOS build fails during Swift compilation
- iOS build may still succeed (different plugin implementations)
- Error occurs in the generated plugin registration code
- May be accompanied by Xcode build system crashes or "stat cache file not found" errors
Common scenarios:
- Project has
camera_macosfor basic camera support - Added
camera_macos_plusfor additional features - Transitive dependency pulled in duplicate plugin
- Copied pubspec.yaml from another project with different camera requirements
Solution
-
Identify the duplicates - Check pubspec.yaml for both packages:
# Look for these: camera_macos: ^0.0.9 camera_macos_plus: ^0.0.3 -
Choose one to keep -
camera_macos_plusis generally preferred as it's a more feature-complete fork ofcamera_macos -
Remove the duplicate from pubspec.yaml:
# Keep only one: camera_macos_plus: ^0.0.3 # macOS camera support -
Clean thoroughly - The Xcode build system may be in a corrupted state:
flutter clean rm -rf build/ rm -rf macos/Pods/ rm -f macos/Podfile.lock rm -rf ~/Library/Developer/Xcode/DerivedData/Runner-* flutter pub get -
Rebuild:
flutter build macos
Verification
After the fix:
flutter build macoscompletes successfully- No "Ambiguous use" errors in build output
- The macOS app launches and camera functionality works
Example
Before (broken):
dependencies:
camera_macos_plus: ^0.0.3
divine_camera:
path: packages/divine_camera
camera_macos: ^0.0.9 # DUPLICATE - causes conflict
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.
- 1mo ago First seen · 113 lines · 91 tokens per session scan C 1d816eb64df6
flutter-macos-duplicate-camera-plugin is a skill published in the GitHub repository divinevideo/divine-mobile (264 stars, last pushed today), licensed MPL-2.0. It adds 91 tokens to every session and 877 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
ios-fix
Autonomous iOS bug fixer. (gstack).
node-connect
Diagnose OpenClaw Control UI browser and native Android, iOS, or macOS node connection failures across route, auth, pairing, QR/setup-code, and reconnect states.
google-mobile-ads-validate
Validates a project's Google Mobile Ads (GMA) SDK integration for iOS, Android, or Unity projects. Use when conducting a full pre-launch audit of an app that integrates GMA SDK or when validating any individual GMA SDK integration checks, such as when validating ad unit IDs and ad formats, SKAdNetwork IDs, mediation…
jetpack-compose-performance
Diagnose and optimize Android Jetpack Compose UI code. Use this skill when analyzing performance bottlenecks of existing code to minimize recomposition overhead and prevent dropped frames and UI lag.
swiftui-performance-audit
SwiftUI performance: render, scroll, CPU/memory, updates, layout, Instruments.
android-tombstone-symbolication
Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app…