lov-codex-thread-usage SKILL.md skillA
lov-codex-thread-usage from lovstudio/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add lovstudio/skills/lov-codex-thread-usage@v0.1.1Pins v0.1.1 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- lovstudio/skills
- Path
skills/codex-thread-usage/SKILL.md- Versions recorded
- 1
- Latest version
- v0.1.1, committed Sep 25, 2026
- Size
- 4,845 bytes
- Repository stars
- 72
- License
- MIT
从本地 Codex deeplink 或 thread UUID 核算整个线程与最新快照的 token usage;适用于“查这个 Codex 任务消耗”“统计 thread tokens”和 inspect Codex thread usage。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Codex 用量账本 · Codex Usage Ledger 把一个本地 Codex deeplink 解析成 thread ID,以只读方式检查 SQLite 快照和 rollout JSONL,给出整个线程、最新计数段和 token 类型的可核验统计。 ## Triggers ### Activate when - 用户说“查这个 Codex 任务消耗”“这个 deeplink 用了多少 token”或“统计 thread tokens”。 - The user asks to “inspect Codex thread usage” or “calculate tokens for this Codex deeplink”. - 输入是 `codex://threads/<uuid>` 或 Codex thread UUID,并要求 token 明细或统计口径。 ### Do not activate when - 用户询问账户订阅额度、五小时/周限额或 reset credits;这些是账户 rate limit,不是单线程 token 统计。 - 用户要求估算 API 账单金额;本 Skill 不内置会变化的模型价格,也不把 cached token 当作免费 token。 - 用户只想打开或导航到 deeplink;应使用宿主的任务导航能力。 ## User Profile (cross-session) Read `skill.yaml` on every run and resolve the shared `user-profile/v1` context. Current request and explicit flags take precedence over Skill records and shared preferences. Persist only direct durable user statements through `scripts/profile_store.py`; never persist thread IDs, transcripts, credentials, or inferred private paths. ## Skill Group Composition Read `references/skill-composition.md` before composing adjacent capabilities. This Skill owns the local deeplink-to-usage result and has no required sibling Skill dependency. ## Workflow (MANDATORY) …
Read the whole file at its exact version.
How to install
mdr add lovstudio/skills/lov-codex-thread-usage@sha256:2f26270bfe5738d1The line at the top of this page pins the label v0.1.1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ccytqfom46dhdfqq)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Sep 25, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4845 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
lovstudio/skills · 72 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ccytqfom46dhdfqq GET https://markdownregistry.com/api/v1/resolve?ref=lovstudio/skills/lov-codex-thread-usage GET https://markdownregistry.com/api/v1/blob/2f26270bfe5738d1a4cb2375b0b8ad4d19847938255e8e2df8f2f5855362e802
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.