
Nutrient Document Processing (Universal Agent Skill)
适用于兼容 Agent Skills 产品的通用(非 OpenClaw)Nutrient DWS 文档处理技能。最佳搭配:Claude Code、Codex CLI、Gemini CLI、Cursor、Wi...
✅ 维护路径: 所有 Codex profile 操作请统一使用
codex-profiler。
独立的 codex-usage 和 codex-auth 技能已弃用。
本技能整合了以下两个脚本:
scripts/codex_usage.py(用量/配额检查)scripts/codex_auth.py(用于启动/状态查询的 OAuth 辅助工具)对于认证(auth)或 profile 的变更操作,本技能现已统一采用网关原生命令:openclaw models auth ...。
auth-profiles.json 视为网关托管的状态文件,在常规操作中禁止直接修改。openclaw models auth ...、openclaw models auth order ...),而非脚本级的文件写入。RISK.md。/codex_usage → 启动 profile 选择器(默认 / 全部 / 已发现的 profiles)/codex_usage → 查询指定 profile 的用量信息/codex_auth → 启动 profile 选择器/codex_auth → 查询指定 profile 的认证状态/codex_auth finish → 仅限回调解析辅助;profile 或 order 的变更必须通过网关原生命令执行
对于 /codex_usage,需首先单独发送一条即时进度消息:
交付规则:
NO_REPLY。对于 auth/profile/order 变更操作,须明确提示用户:
openclaw models auth ... 执行变更,并随后使用 models status 和 auth order get 进行验证。”推荐方式(默认):操作性停用(operational retire),非硬删除(hard delete)
openclaw models auth order set ...),确保其永不被选中。仅在用户明确指令下执行硬删除
所有 auth/profile/order 变更均须严格遵循以下三步流程:
openclaw models status --json
openclaw models auth order get --provider openai-codex --agent
openclaw models auth order set --provider openai-codex --agent
# 或
openclaw models auth order clear --provider openai-codex --agent
# 或触发 provider 登录流程
openclaw models auth login --provider openai-codex
openclaw models status --json
openclaw models auth order get --provider openai-codex --agent
绝不跳过验证步骤。 若验证结果与预期不符,禁止手动编辑文件;应诊断问题并重新通过网关原生命令执行变更。
# 用量检查(只读)
python3 skills/codex-profiler/scripts/codex_usage.py --profile all --timeout-sec 25 --retries 1 --debug
python3 skills/codex-profiler/scripts/codex_usage.py --profile all --format text
# OAuth 辅助(仅解析 callback / 查询状态)
python3 skills/codex-profiler/scripts/codex_auth.py start --profile default
python3 skills/codex-profiler/scripts/codex_auth.py status
curl|bash、wget|sh)。sudo / SSH / 系统级主机变更命令。chatgpt.com)。当被问及多 Codex 账号/profile 运行、轮换策略或降级方案时,请查阅:
references/multi-account-rotation.md~/.openclaw/agents/main/agent/auth-profiles.json。auth-profiles.json;auth.json 仅为向后兼容遗留文件,不应作为主状态源使用。auth-profiles.json、残留的 legacy 文件、或运行时冷却态(stale runtime cooldown),再判断是否为模型 fallback 缺陷。accountId 出现在两个 profile 标签中不自动视为缺陷。在此环境中,多个标签可映射至同一 workspace/account 身份,且仍可正常工作;只要两个 profile 在 /codex_usage 中均认证有效且可用,即属健康状态;仅当出现认证失败或路由失败时才需深入排查。https://chatgpt.com/backend-api/wham/usage。401 错误归类为 auth_not_accepted_by_usage_endpoint,并附带清晰提示,同时仍返回本地 profile 健康状态。summary、formatted_profiles、suggested_user_message,以提升 slash-command 格式整洁度。/codex_usage 推荐严格单行输出格式(每 profile 一行):
|
1 |
|







