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.

Install it, pinned
mdr add lovstudio/skills/lov-codex-thread-usage@v0.1.1

Pins 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

The exact contents, by fingerprint
mdr add lovstudio/skills/lov-codex-thread-usage@sha256:2f26270bfe5738d1

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

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ccytqfom46dhdfqq.svg)](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.

versioncommittedcommitsizeaudit
v0.1.1 latest2026-09-25 4b67fd1 4,845 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from lovstudio/skills

CLAUDE.md CLAUDE.md file
lovstudio/skills · CLAUDE.md
git:20261031.adbb937 · audit A · 72 stars
lov-academic-translator SKILL.md skill
lovstudio/skills · skills/academic-translator/SKILL.md · 将英文论文、arXiv、期刊/会议文章及技术 PDF 翻译为中文 PDF 或可发布的中文 Markdown。用户提出“翻译英文 PDF”“翻译论文”“论文超级翻译官”“保留图片、公式和原版式”“原文译文对照”“页数对应”或“PDF
v0.2.0 · audit A · 72 stars
lov-add-task SKILL.md skill
lovstudio/skills · skills/add-task/SKILL.md · 在当前任务清单中按优先级和位置追加事项并保留已有状态。支持明确输入与结果回读。Use to add an item to the current
v0.1.2 · audit A · 72 stars
lov-add-tool SKILL.md skill
lovstudio/skills · skills/add-tool/SKILL.md · 为现有网站新增可用的在线工具,并接入多语言、工具目录、站点地图和必要的成本提示。支持明确输入与结果回读。Use to add an online
v0.1.2 · audit A · 72 stars
lov-agent-instructions SKILL.md skill
lovstudio/skills · skills/agent-instructions/SKILL.md · 诊断或完善项目 Agent 指令文件,适配不同宿主并保留真实工程约定。支持明确输入与结果回读。Use to review or improve
v0.1.2 · audit A · 72 stars
lov-algo-viz-creator SKILL.md skill
lovstudio/skills · skills/algo-viz-creator/SKILL.md · 为算法、数据结构或信息流程生成「逐步演示」的可交互可视化。输入:算法名或 概念描述(如“把 KMP 做成可视化”)。输出:自包含单文件 HTML,支持播放/暂停/ 逐帧/变速与键盘演示,每步附中文解说与伪代码高亮。 触发语:做成可视化 /…
v0.1.1 · audit A · 72 stars
lov-align-wechat-uiux SKILL.md skill
lovstudio/skills · skills/align-wechat-uiux/SKILL.md · 系统诊断并修复产品与微信官方在消息、会话、联系人、朋友圈及交互上的语义和 UIUX 偏差;适用于“对齐微信官方”“这条微信消息显示不对”、"fix WeChat UI parity" 或 "audit WeChat behavior"。
v0.2.1 · audit A · 72 stars
lov-wechat-evidence SKILL.md skill
lovstudio/skills · skills/align-wechat-uiux/skills/wechat-evidence/SKILL.md · 为微信体验差异建立可追溯证据集,关联官方表现、当前产品、原始记录、代码路径与版本环境;适用于“先确认微信官方怎么表现”、"review the WeChat reference" 或 parity evidence audit。
v0.1.1 · audit A · 72 stars
lov-wechat-parity-validation SKILL.md skill
lovstudio/skills · skills/align-wechat-uiux/skills/wechat-parity-validation/SKILL.md · 验证微信体验修复是否同时覆盖解析、共享表现、视觉交互、下游消费者与真实运行时;适用于“验收微信对齐”“还有没有漏改”、"review the parity fix" 或 validate WeChat behavior。
v0.1.1 · audit A · 72 stars
lov-wechat-semantics SKILL.md skill
lovstudio/skills · skills/align-wechat-uiux/skills/wechat-semantics/SKILL.md · 将微信数据库类型、嵌套 XML/JSON、身份与状态归一为稳定产品语义,定位最早失真层;适用于“这是什么微信消息”“修复消息分类”、"model the WeChat message" 或 review parser semantics。
v0.1.1 · audit A · 72 stars
lov-wechat-ui-parity SKILL.md skill
lovstudio/skills · skills/align-wechat-uiux/skills/wechat-ui-parity/SKILL.md · 在既有设计系统内实现微信官方的消息层级、组件语义、交互状态与视觉密度;适用于“按微信官方改这个组件”“还原微信聊天体验”、"build the WeChat UI behavior" 或 fix official UI parity。
v0.1.1 · audit A · 72 stars
lov-anti-wechat-ai-check SKILL.md skill
lovstudio/skills · skills/anti-wechat-ai-check/SKILL.md · 兼容旧命令的中文表层模式扫描器,只定位套话、句段均匀和过渡词等可观察特征, 不判断作者身份或平台风险。新任务请使用 lov-human-writing。Use only for legacy “anti-ai-check”…
v1.1.2 · audit A · 72 stars

Every file in lovstudio/skills

Browse by kind, by grade A, or by owner.