بنقرة واحدة
codex-usage
Use this skill when checking the current macOS user Codex CLI account state or Codex usage quota.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Use this skill when checking the current macOS user Codex CLI account state or Codex usage quota.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
审查、安装、配置、激活、验证、更新和回滚 AgentDock Skill 时使用;负责来源校验、安全评估、环境配置和已安装版本验收。
Manage a Linkwarden instance through its official HTTP API: check configuration, search and inspect bookmarks, collections, tags and highlights, and perform controlled link, collection or tag changes with explicit confirmation for destructive actions.
Search, read, create, update and organize notes in a Trilium Notes instance through the official ETAPI, including revisions, branches, attributes, attachments, calendar notes and explicitly confirmed destructive operations.
Use this skill to query and manage subscriptions in a self-hosted Wallos instance through its official HTTP API. Covers subscriptions, monthly cost, categories, currencies, payment methods, household members, and the current user; excludes administrator, OIDC, notification-secret, Fixer, and generic API management.
OpenList v4 HTTP API integration for AgentDock: authentication, file browsing/search, safe text uploads, file operations, storage/driver inspection, and restricted generic API calls.
创建、设计、修改、升级、重构和验证 AgentDock Skill 时使用;负责可移植核心、文档、引用、辅助脚本、测试、版本和本地安装验证。
| name | codex-usage |
| description | Use this skill when checking the current macOS user Codex CLI account state or Codex usage quota. |
| version | 0.1.6 |
读取当前 macOS 用户的 Codex CLI 登录状态,并查询 ChatGPT Codex 订阅额度。只提供手动查询,不创建或管理定时任务。
status:检查 ~/.codex/auth.json 是否存在、访问令牌是否仍有效、是否能取得 account ID。所有凭据均脱敏。query:查询当前套餐、session/weekly 窗口、credits、spend_control、可用重置次数、额外限额、code review 限额、promo/referral 等接口字段,并返回打码后的 raw_response_redacted。默认读取系统当前用户的 ~/.codex/auth.json。由于 AgentDock 的 HOME 可能指向 workspace,Skill 通过系统用户数据库定位真实用户目录。可通过 CODEX_HOME 覆盖 Codex 配置目录。
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. |