跳到正文
TakoAPI
返回技能列表

behavioral-invariant-monitor

由 andyxinweiminicloud 提供

CLI Utilities
376下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Helps verify that AI agent skills maintain consistent behavioral invariants across repeated executions — detecting.

描述

该技能的功能

Monitors AI agent skills for behavioral consistency across repeated executions to detect the N-run delay pattern: skills that behave safely during initial auditing but activate different behavior after a threshold execution count, elapsed time, or environmental signal. Eight invariant classes are tracked, including output determinism, resource usage, side effects, and execution-count sensitivity.

Point-in-time auditing and static analysis cannot detect deviations that only appear after a threshold number of executions; this monitor tracks behavioral consistency across many runs to catch what one-time auditing misses.

何时使用

  • Catching a data-sync agent that exfiltrates data every Nth execution
  • Auditing newly installed skills for execution-count-triggered activation patterns
  • Verifying a skill's computational complexity hasn't drifted since installation
  • Generating cryptographic proof of when a behavioral violation first occurred
  • Classifying installed skills by risk tier to prioritize monitoring overhead

示例工作流

输入

User asks: Monitor behavioral invariants for data-enrichment-service over 20 runs

智能体
  1. 1

    Runs the skill 20 times with identical inputs, recording outputs, resource usage, and side effects each time

  2. 2

    Detects anomalous CPU spike (+4600%), outbound network activity (2.3KB), and hidden file write at run 8

  3. 3

    Resets execution state and re-runs to confirm the spike recurs at run 8, verifying execution count as the trigger

  4. 4

    Tests environmental variables to rule out time-of-day or monitoring-presence triggers

  5. 5

    Generates a behavioral invariant report with ACTIVATION-PATTERN-DETECTED verdict and recommended quarantine actions

输出

Confirmed N=8 activation pattern: data-enrichment-service makes reproducible outbound network calls and creates a hidden state file at every 8th execution, behavior absent in runs 1-7

安装

clawhub install andyxinweiminicloud/behavioral-invariant-monitor

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

链接