Install
$ agentstack add skill-fmind-dot-agent-usage ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Agent Usage
Analyze the shared usage archive with dot and DuckDB. Preserve the difference between recorded token usage, estimated cost, and the provider's actual bill.
Workflow
- Bound the question: harnesses, time range, sessions, models, and the comparison needed; inspect the existing archive before collecting more data.
- Use the owner: dot owns source synchronization and archive schemas; read [queries.md](references/queries.md) for layout, fields, DuckDB queries, and exports.
- Analyze comparable data: account for missing sessions, model aliases, cache tokens, provider accounting differences, and time zones before aggregating.
- Report: include period, sources, completeness, units, assumptions, and the query or artifact supporting the result; protect prompt and account data.
Use dot agent stats --tokens-only for a quick total with coverage dates and API equivalents. Add --monthly for UTC months or --billing --agent codex for configured subscription cycles. Terminal reports use wrapped sections per agent, model, project, or period; exact counts and accounting qualifications remain visible. Add --by-model or --json for detail; omit --tokens-only when prompt statistics are also needed. [queries.md](references/queries.md) owns configuration examples and accounting limitations. Reports first sync changed sessions incrementally; sync failures print on stderr and the report still prints.
API equivalents use the offline rate card in agent.pricing, independently of recorded cost. Check priced_measurements, pricing_complete, legacy_accounting_sessions, and unpriced_reasons. Rates assume standard short context and 5-minute cache writes. Unknown models and unsupported accounting remain unpriced. API-equivalent value divided by the configured USD subscription charge is a usage comparison, not verified savings or a quality score.
Gotchas
- Unknown is not free: Claude can report cost through
cost-state; absent prices arenull/unknown, not zero. Readcost_known_sessionsandcost_completebefore comparing cost. A known zero is distinct from missing cost. - Model attribution and dates: Claude/Codex request samples retain per-request models and timestamps, including model switches and month boundaries. Sources without reliable samples use whole-session timestamps; check
session_timestamp_sessions. A Codex cumulative-counter correction disables request allocation for that session rather than inventing deltas. - Read the provenance:
measurement_kinddistinguishes provider-reported totals, Antigravity's byte-based estimate, and Grok's final context size. Statistics group these separately and do not combine unlike measurements into one total. - One copy per session: transcript and usage are replaced together, never by a shorter transcript or a failed extraction, so each session counts once.
- Capture uses one write path:
session syncreads each harness's own store; hooks only notify. Bundles migrated from older parsers are flagged as legacy accounting (parser 3 may overcount Claude streaming blocks) until sync recaptures their sources ([contracts](../dot-cli/references/contracts.md)). - Both harness and agent fields exist: queries can group by either
harnessoragentinterchangeably. syncfails loud, reports warn:dot agent session syncrecords each failed session, continues, and exits 1 at the end; the sync beforestatsandusageonly warns on stderr. A failed usage extraction keeps the archived measurement.
Documentation
- DuckDB JSON Functions
- Companion skills: [dot-cli](../dot-cli/SKILL.md) (every
dotcommand), [duckdb](../duckdb/SKILL.md) (file-based SQL analysis).
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.