← 返回 Skills 市场
advnljs

Codex Reset Radar

作者 agydhbdj · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ✓ 安全检测通过
39
总下载
1
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install codex-reset-radar
功能描述
Monitor Codex usage reset windows via codex-reset-radar.pages.dev. Polls current.json, detects window open/close, prediction level changes, and probability j...
使用说明 (SKILL.md)

Codex Reset Radar — Usage Reset Window Monitor

Monitors the Codex Reset Radar current.json endpoint to detect Codex usage quota reset windows ("speed windows"), pushing alerts via OpenClaw cron + Feishu.

How It Works

Cron triggers
     │
     ▼
① Data collection: python3 scripts/codex-radar-check.py
   → fetch current.json + compare against local cache
     │
     ▼
② JSON diff: outputs has_changes + events[] or has_changes: false
   → no changes → agent replies NO_REPLY (silent)
     │
     ▼
③ LLM formatting: reads JSON diff only
   → formats into Feishu message
     │
     ▼
④ Feishu push: announce → user session

Detection Script

scripts/codex-radar-check.py — stdlib only, zero dependencies:

  • Fetches https://codex-reset-radar.pages.dev/current.json
  • Compares against cache/codex-radar-last.json from previous run
  • Creates baseline on first run

Change types detected:

Event Trigger Output type
Window opened window_open false→true window_opened
Window closed window_open true→false window_closed
Status change status field changed status_change
New window last_window.id changed new_window
Prediction change prediction.level changed prediction_change
Probability jump prediction.probability_24h crosses 0.1 threshold prediction_probability_change

Output JSON Examples

No changes:

{"has_changes": false}

Changes detected:

{
  "has_changes": true,
  "events": [
    {"type": "window_opened", "detail": "Codex usage reset window opened", "opened_at": "2026-05-24T08:21:33+08:00", "scope": "Codex users"}
  ],
  "current_status": {
    "window_open": true,
    "status": "open",
    "last_window_id": "codex-speed-window-2026-05-24-codex",
    "prediction_level": "low",
    "probability_24h": 0.06
  }
}

Installation

clawhub install codex-reset-radar

Cron Setup

Create an OpenClaw cron job (recommended: hourly 8 AM–11 PM, silent overnight):

{
  "name": "Codex Reset Radar Monitor",
  "schedule": {"kind": "cron", "expr": "0 8-23 * * *", "tz": "Asia/Shanghai"},
  "sessionTarget": "isolated",
  "payload": {
    "kind": "agentTurn",
    "timeoutSeconds": 60,
    "lightContext": true,
    "message": "Codex Reset Radar monitor.\
1. cd ~/.openclaw/workspace && python3 skills/codex-reset-radar/scripts/codex-radar-check.py\
2. If has_changes: false, reply NO_REPLY\
3. If changes detected, format and push to Feishu"
  },
  "delivery": {"mode": "announce", "channel": "feishu", "to": "user:your_open_id"}
}

Recommended schedules:

  • 0 8-23 * * * — hourly during waking hours, silent 0-7
  • */10 * * * * — every 10 minutes (urgent monitoring)

Design Principles

  • LLM only sees JSON diffs — no raw RSS/HTML semantic analysis, minimal token usage
  • Zero-cost silencehas_changes: false → agent replies NO_REPLY → nothing pushed to Feishu
  • Stdlib only — uses json, urllib, datetime, os; zero external dependencies
  • Fault-tolerant — network errors output {"has_changes": false, "error": "..."}, never false-trigger or crash
安全使用建议
Before installing, be comfortable with a recurring OpenClaw cron job polling codex-reset-radar.pages.dev and sending Feishu notifications through the delivery settings you configure. VirusTotal, static scan, and SkillSpector were clean, and the local artifact review did not show hidden or purpose-mismatched behavior.
能力评估
Purpose & Capability
The artifacts coherently match the stated purpose: a Python script fetches codex-reset-radar.pages.dev/current.json, compares selected status fields to a local baseline, and emits concise JSON change events.
Instruction Scope
Runtime instructions are specific and user-directed, including how to run the script from OpenClaw cron, remain silent on no-change output, and format alerts only when changes are detected.
Install Mechanism
Installation uses the normal clawhub install flow and the script uses only Python standard-library modules with no package install, shell persistence setup, or privilege escalation.
Credentials
The skill needs network access to the declared public radar endpoint and writes a small local cache under ~/.openclaw/workspace/cache, which is proportionate for change detection.
Persistence & Privilege
Persistence is limited to an optional user-created cron schedule and a cache file; the artifacts do not read credentials, alter startup files, install services, or request elevated privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install codex-reset-radar
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /codex-reset-radar 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
Remove model config from SKILL.md — deployment details don't belong in skills
v1.0.2
Full English rewrite of SKILL.md
v1.0.1
添加 latest tag,版本号对齐
v1.0.0
Initial release of codex-reset-radar: - Monitors Codex quota reset windows by polling current.json from codex-reset-radar.pages.dev. - Detects window open/close, prediction level changes, and significant probability shifts; only pushes notifications on changes. - Integrates with OpenClaw cron and sends alerts via Feishu. - Lightweight: LLM only processes script-generated JSON diffs, minimizing token usage. - Features robust, standard-library-only Python script with built-in fail-safes and zero outside dependencies.
元数据
Slug codex-reset-radar
版本 1.0.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

Codex Reset Radar 是什么?

Monitor Codex usage reset windows via codex-reset-radar.pages.dev. Polls current.json, detects window open/close, prediction level changes, and probability j... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 39 次。

如何安装 Codex Reset Radar?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install codex-reset-radar」即可一键安装,无需额外配置。

Codex Reset Radar 是免费的吗?

是的,Codex Reset Radar 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Codex Reset Radar 支持哪些平台?

Codex Reset Radar 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Codex Reset Radar?

由 agydhbdj(@advnljs)开发并维护,当前版本 v1.0.3。

💬 留言讨论