AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Codex Usage

skill-uvwt-agentdock-codex-usage · by uvwt

Use this skill when checking the current macOS user Codex CLI account state or Codex usage quota.

No reviews yet
0 installs
12 views
0.0% view→install

Install

$ agentstack add skill-uvwt-agentdock-codex-usage

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

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

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-uvwt-agentdock-codex-usage)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
19d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

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 →
Are you the author of Codex Usage? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Codex Usage

读取当前 macOS 用户的 Codex CLI 登录状态,并查询 ChatGPT Codex 订阅额度。只提供手动查询,不创建或管理定时任务。

动作

  • status:检查 ~/.codex/auth.json 是否存在、访问令牌是否仍有效、是否能取得 account ID。所有凭据均脱敏。
  • query:查询当前套餐、session/weekly 窗口、credits、spendcontrol、可用重置次数、额外限额、code review 限额、promo/referral 等接口字段,并返回打码后的 rawresponse_redacted。

Authentication

默认读取系统当前用户的 ~/.codex/auth.json。由于 AgentDock 的 HOME 可能指向 workspace,Skill 通过系统用户数据库定位真实用户目录。可通过 CODEX_HOME 覆盖 Codex 配置目录。

Security

  • 不接受 token 作为输入。
  • 不输出 access token、refresh token、ID token、Authorization header 或真实 account ID、真实 user ID 或真实邮箱。
  • 只读认证文件,不修改 Codex 登录状态。
  • 只访问 ChatGPT Codex usage 接口。

辅助脚本执行

Skill 本体是本说明文档。确需调用包内辅助脚本时,在 Skill 包根目录使用相对路径执行;运行宿主负责切换到包根目录并把所需变量注入当前子进程。

printf '%s' '{"skill_action":""}' | python3 run.py

输入必须是 JSON 对象。写操作仍按本文档中的确认规则执行。

| 动作 | 用途 | |---|---| | status | Check local Codex CLI login state without revealing credentials. | | query | Query Codex usage and expose the full redacted usage API payload plus parsed quota fields. |

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

  • Author: uvwt
  • Source: uvwt/agentdock
  • License: Apache-2.0
  • Homepage: https://uvwt.github.io/agentdock-docs/

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.