跳到正文
TakoAPI
返回技能列表

ops-hygiene

由 staybased 提供

Productivity & Tasks
719下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Standard operating procedures for agent maintenance, security hygiene, and system health.

描述

该技能的功能

Defines recurring maintenance routines for agent environments across daily, weekly, and monthly cadences. Covers secret scanning, dependency audits, memory compaction, prompt injection filtering, and system health checks. Includes a heartbeat dispatcher that runs local checks before escalating to cloud LLMs.

The heartbeat dispatcher runs health checks and email triage locally before escalating to a cloud LLM, cutting unnecessary API calls and token costs.

何时使用

  • Running a secret scan before merging a pull request
  • Rotating credentials after a suspected key exposure
  • Filtering incoming emails through prompt injection guard
  • Cleaning up stale sub-agent sessions at end of a work session
  • Compacting a week of daily logs into long-term memory

示例工作流

输入

User asks: Run the heartbeat check

智能体
  1. 1

    Execute health-check.sh to capture system vitals (CPU, RAM, disk)

  2. 2

    Read heartbeat-state.json to identify overdue tasks

  3. 3

    Run secret-scan.sh if the 24h window has elapsed

  4. 4

    Triage AgentMail inbox through prompt-guard using the local Reef LLM

  5. 5

    Output HEARTBEAT_OK if nothing requires escalation, or emit an alerts JSON payload if action is needed

输出

HEARTBEAT_OK with no alerts, or a JSON alerts payload listing overdue tasks or flagged content for human review

安装

clawhub install staybased/ops-hygiene

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

链接