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 ariaramin/flutter-skills --skill flutter-production-logginggit clone --depth 1 https://github.com/ariaramin/flutter-skillsWrote 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/ariaramin/flutter-skills/flutter-production-logging)<a href="https://agentmods.dev/skills/ariaramin/flutter-skills/flutter-production-logging"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/flutter-production-logging/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/ariaramin/flutter-skills/flutter-production-logging"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/flutter-production-logging.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.00156 | $0.03461 |
| Opus 5.5 | $0.00062 | $0.01384 |
| Sonnet 5.5 | $0.00031 | $0.00692 |
| Haiku 4.5 | $0.00016 | $0.00346 |
Grade A, and why
flutter-production-logging scanned grade A with 0 findings 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 475 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Flutter Production Logging
Build logging as a bounded observability subsystem, not a collection of print statements. Optimize for diagnostic value, privacy, predictable resource use, runtime safety, and maintainability.
Operating rules
- Inspect existing logging, error capture, crash reporting, interceptors, and release configuration before replacing anything.
- Separate logs, errors/crashes, metrics, traces, analytics, and authoritative audit records. They solve different problems.
- Treat
printas console output, not a production logging architecture. - Remember that
debugPrintstill logs in release; gate development-only calls deliberately. - Prefer stable structured events over long formatted strings.
- Filter/sample before expensive construction. Make debug/trace payloads lazy.
- Sanitize before every sink. Never rely on a console, vendor, native logger, file, or transport to make unsafe data safe.
- Never log credentials, tokens, cookies, private keys, recovery codes, server secrets, signed URLs, or raw sensitive request/response payloads.
- Preserve original error stacks for real failures when available; do not collect fresh stacks for routine events.
- Route framework, root-isolate, child-isolate, zone, and manually caught failures through one application reporting gateway to avoid duplicate uploads.
- Logging an exception does not mean it was handled. Keep recovery/propagation semantics explicit.
- Make logging fail-safe: sink failures, serialization failures, disk-full conditions, or backend outages must not break business logic.
- Bound every queue, disk store, batch, and retry sequence. High severity never justifies unbounded memory.
- Do not send one network request per log event. Batch remote diagnostics only when they provide real operational value.
- Treat lifecycle flushes as best-effort unless an OS-managed durable background mechanism is explicitly required.
- Avoid uncontrolled logging in
build, layout/paint, animation ticks, scroll callbacks, high-rate streams, sockets, sensors, or hot loops. - Use DevTools/Timeline/metrics for performance investigation instead of high-volume text logs.
- Keep event names stable; dynamic values belong in fields when justified.
- Do not use
runtimeType.toString()as a durable event/error category. - Add a package only for a demonstrated capability gap. Pretty console formatting is not a production observability strategy.
- Benchmark disabled and enabled logging in profile/release-like conditions, not debug console mode.
- Treat platform-native logging as optional deployment integration, not a mandatory mirror of every Dart event.
- Treat browser console output as visible to the user.
- Never make client logs the sole authoritative security/compliance audit trail.
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 · 475 lines · 156 tokens per session scan A 4c946914db0b
flutter-production-logging is a skill published in the GitHub repository ariaramin/flutter-skills (11 stars, last pushed 23d ago), licensed MIT. It adds 156 tokens to every session and 3,461 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-11.
flutter-production-logging compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| flutter-production-loggingariaramin/flutter-skills | Skill | 11 | 23d ago | MIT | A | 156 | Claude Code, Codex |
| logging-observability-standardsKraitDev/skiLL.Md | Skill | 6 | 5mo ago | MIT | A | 23 | Claude Code, Codex |
| systematic-debugAyushParkara/syntra | Skill | 5 | 3mo ago | Apache-2.0 | A | 37 | Claude Code, Codex |
| debugging-strategiesKraitDev/skiLL.Md | Skill | 6 | 5mo ago | MIT | A | 17 | Claude Code, Codex |
| debugAyushParkara/syntra | Skill | 5 | 3mo ago | Apache-2.0 | A | 28 | Claude Code, Codex |
| debugmmprotest/villani-code | Skill | 124 | 3mo ago | none | A | 5 | Claude Code, Codex |
| test-failure-explorerQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 32 | Claude Code, Codex |