跳到正文
TakoAPI
返回技能列表

key-expiry-tracker

由 tradmangh 提供

Communication
—暂无评分
你的评分

简介

Track **only expiry dates** (metadata) for API keys/client secrets/certificates and alert before they expire.

描述

该技能的功能

Tracks expiry dates for API keys, client secrets, certificates, and tokens using a local JSON file. Alerts at 14-day and 7-day thresholds before expiry. Stores no credential values, only labels and timestamps.

Because it tracks only expiry metadata and never reads actual credential values, you get expiry visibility without any secrets leaving your local machine.

何时使用

  • Catching an Azure AD client secret before it expires and breaks an integration
  • Getting weekly reminders about SSL certificates nearing their expiry date
  • Keeping a central inventory of API key expiry dates across multiple projects
  • Tracking OAuth token lifespans for several third-party services at once
  • Setting up automated Sunday checks to surface credentials expiring that week

示例工作流

输入

User asks: check which credentials are expiring soon

智能体
  1. 1

    Read ~/.openclaw/workspace/.credentials.json

  2. 2

    Compare each credential's expires timestamp against the current date

  3. 3

    Classify entries as expired, critical (7 days or less), or warning (14 days or less)

  4. 4

    Return a grouped summary with credential name, type, provider, and days remaining

输出

A report listing 2 credentials in warning state and 1 already expired, with names, providers, and exact expiry dates

安装

clawhub install tradmangh/key-expiry-tracker

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接