flutter-production-logging

flutter-production-logging is a skill for Claude Code, Codex from ariaramin/flutter-skills. It costs 156 tokens per session (3,461 once invoked), scanned A, original, MIT.

Engineering guidance for production logging and error reporting in Flutter and Dart. Logs are recorded events that help explain what an application was doing; error reports describe failures separately.

In plain words
What is it for?
Use it to design structured logs, filter or sample events, preserve error details, configure release behavior, and troubleshoot logging across Flutter platforms.
Why use it?
It helps replace scattered print statements with useful, bounded, privacy-safe diagnostics. It also prevents credentials and sensitive request data from being recorded accidentally.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to design structured logs, filter or sample events, preserve error details, configure release behavior, and troubleshoot logging across Flutter platforms.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ariaramin/flutter-skills/flutter-production-logging
Install

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.

Any agent
npx skills add ariaramin/flutter-skills --skill flutter-production-logging
Clone the repo
git clone --depth 1 https://github.com/ariaramin/flutter-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for flutter-production-logging

README.md
[![agentmods](https://agentmods.dev/badge/skills/ariaramin/flutter-skills/flutter-production-logging/github.svg)](https://agentmods.dev/skills/ariaramin/flutter-skills/flutter-production-logging)
Your own site
<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.

agentmods 80×15 button for flutter-production-logging

Your own site · 80×15
<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>
Per session 156 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,461 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 1mo ago against content hash 4c946914db0b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

skills/flutter-production-logging/SKILL.md · 475 lines

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

  1. Inspect existing logging, error capture, crash reporting, interceptors, and release configuration before replacing anything.
  2. Separate logs, errors/crashes, metrics, traces, analytics, and authoritative audit records. They solve different problems.
  3. Treat print as console output, not a production logging architecture.
  4. Remember that debugPrint still logs in release; gate development-only calls deliberately.
  5. Prefer stable structured events over long formatted strings.
  6. Filter/sample before expensive construction. Make debug/trace payloads lazy.
  7. Sanitize before every sink. Never rely on a console, vendor, native logger, file, or transport to make unsafe data safe.
  8. Never log credentials, tokens, cookies, private keys, recovery codes, server secrets, signed URLs, or raw sensitive request/response payloads.
  9. Preserve original error stacks for real failures when available; do not collect fresh stacks for routine events.
  10. Route framework, root-isolate, child-isolate, zone, and manually caught failures through one application reporting gateway to avoid duplicate uploads.
  11. Logging an exception does not mean it was handled. Keep recovery/propagation semantics explicit.
  12. Make logging fail-safe: sink failures, serialization failures, disk-full conditions, or backend outages must not break business logic.
  13. Bound every queue, disk store, batch, and retry sequence. High severity never justifies unbounded memory.
  14. Do not send one network request per log event. Batch remote diagnostics only when they provide real operational value.
  15. Treat lifecycle flushes as best-effort unless an OS-managed durable background mechanism is explicitly required.
  16. Avoid uncontrolled logging in build, layout/paint, animation ticks, scroll callbacks, high-rate streams, sockets, sensors, or hot loops.
  17. Use DevTools/Timeline/metrics for performance investigation instead of high-volume text logs.
  18. Keep event names stable; dynamic values belong in fields when justified.
  19. Do not use runtimeType.toString() as a durable event/error category.
  20. Add a package only for a demonstrated capability gap. Pretty console formatting is not a production observability strategy.
  21. Benchmark disabled and enabled logging in profile/release-like conditions, not debug console mode.
  22. Treat platform-native logging as optional deployment integration, not a mandatory mirror of every Dart event.
  23. Treat browser console output as visible to the user.
  24. Never make client logs the sole authoritative security/compliance audit trail.

Read the full file on GitHub · 475 lines

Files

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.

Changes

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.

  1. 1mo ago First seen · 475 lines · 156 tokens per session scan A 4c946914db0b

Subscribe to this mod's changes

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.

Related

flutter-production-logging compared with skills from other repositories

flutter-production-logging next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
flutter-production-loggingariaramin/flutter-skillsSkill1123d agoMITA156Claude Code, Codex
logging-observability-standardsKraitDev/skiLL.MdSkill65mo agoMITA23Claude Code, Codex
systematic-debugAyushParkara/syntraSkill53mo agoApache-2.0A37Claude Code, Codex
debugging-strategiesKraitDev/skiLL.MdSkill65mo agoMITA17Claude Code, Codex
debugAyushParkara/syntraSkill53mo agoApache-2.0A28Claude Code, Codex
debugmmprotest/villani-codeSkill1243mo agononeA5Claude Code, Codex
test-failure-explorerQwenLM/qwen-codeSkill31ktodayApache-2.0A32Claude Code, Codex