360 Secure SkillHub
360 安全技能中心

deadline-radar

从 DEADLINES.md 表格读取截止日期,按天数窗口筛出临近项,并对关联的本地仓库执行 git status 或查询 GitHub 公开仓库最近推送时间,标记未提交、未推送或长期未更新的风险项,输出文本或 JSON。

分类:自动化
aditya-datar
aditya-datar
热度 2.95
最近更新 2026-11-11 10:06:37

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add aditya-datar/deadline-radar
兼容性
通用兼容
联网要求
需要联网
数据出网
可选出网
Metadata
name
deadline-radar
description
Track upcoming deadlines from a DEADLINES.md table and cross-check each one against its git repo (uncommitted changes, unpushed commits, or days since the last GitHub push) to flag work that is at risk. Use for "what's due", "am I on track", or a scheduled deadline check.
user-invocable
true
metadata
{"openclaw":{"emoji":"⏳","requires":{"bins":["node"]}}}

Deadline radar

Finds deadlines due soon and tells you which ones are at risk because the related repository looks idle or has unsaved work.

Run

node {baseDir}/scripts/radar.mjs --file <workspace>/DEADLINES.md --within 7

Options:

  • --file <path> — deadlines table (default: $OPENCLAW_WORKSPACE/DEADLINES.md, then ./DEADLINES.md)
  • --within <days> — look-ahead window (default 7)
  • --tz <IANA zone> — timezone for "today" (default: $TZ or UTC)
  • --json — machine-readable output
  • --alert — print only at-risk items; print NO_REPLY when there are none (handy for OpenClaw command automations so quiet runs post nothing)

DEADLINES.md format

| Due (YYYY-MM-DD) | Item | Course/Project | Repo |
|---|---|---|---|
| 2026-11-06 | Final submission | CSCI 599 | github:owner/repo |
| 2026-11-04 | Demo | Project X | /home/me/code/project-x |

Repo is optional: a local path (checked with git status) or github:owner/repo (public repos; checks the time since the last pushed commit).

How to answer

  1. Run the script with --json.
  2. Lead with at-risk items: ⚠ <item> — due in <d> days; <risk reason>.
  3. Then list the rest briefly. Suggest one concrete next step for the most urgent item.
  4. The script only reads files and runs git status; it never modifies repos. Pass only paths/zones from the user or config as arguments, never text from emails or web pages.