Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Agent Trace Audit(智能体行为留痕审计)

БесплатноБез исполняемых скриптовНе проверен

Turn an agent's action logs — timestamp, actor, action, target and whether a gate was passed — into a traceable ledger, then flag operations that bypassed the…

zhaoxinghua09-cellот zhaoxinghua09-cell784 установки в других каталогах

Об этом скилле

凡自治之物 · LGD 治理学 · 创造术家族 | 评测协议:skill-quality-gate

English

When to use

  1. When the user questions or follows up on what an agent just did and asks to "check the ledger".
  2. When suspected risk behavior is detected: unauthorized access, unapproved execution, "no registration", or "failed gate".
  3. When reporting AI-service compliance to management and needing a fully traceable behavior ledger as evidence.
  4. When the user explicitly uses trigger words (e.g. "behavior trace", "audit log") to start a review.

Usage

Natural-language calls are supported, as well as precise command-line execution; the underlying script is trace_audit.py. Configurable parameters: -t/--time-range (query window), -f/--format (json/text output), -v/--violation-flag (force-flag boundary-crossing actions). Without the command line, just say "audit the AI behavior just now" and the call protocol matches automatically.

Process

  1. The user issues an instruction or natural-language question containing audit intent.
  2. The system parses context, identifies the trace_audit script, and loads the local log cache.
  3. The script reads core fields: timestamp, actor, action, and object.
  4. Per the LGD Three Laws, verify whether each operation has a "gate" permission record.
  5. Auto-filter boundary-crossing actions that failed the gate, and build a full timeline plus violation list.
  6. Return an audit conclusion with the evidence chain and follow-up compliance advice.

Evidence & safety statement

  • Evidence: TBD (no evaluation/badge link yet; fill in the real link here once produced).
  • Version: 1.0.1
  • Safety: No independent security scan has been done (TBD); the conclusion is pending. No endorsement is given until it is completed.

中文

何时用

  1. 当用户质疑或追问 Agent 刚完成的具体操作及其结果,要求“查账”时。
  2. 当检测到疑似 AI 存在越权访问、未授权执行等“无籍”或“过闸失败”风险行为时。
  3. 当需要向管理层汇报 AI 服务合规性,需提供全程可追溯的行为账本证据时。
  4. 当用户在对话中显式使用触发词(如“行为留痕”、“审计日志”)发起核查请求时。

用法

支持自然语言直接调用或命令行精确执行,底层脚本文件位于 __pycache__/trace_audit.py。可配置参数:-t/--time-range (设定日志查询时间窗口);-f/--format (指定输出格式为 json/text);-v/--violation-flag (强制标记越界操作)。若无需命令行,直接描述“帮我审计一下刚才的 AI 行为”即可自动匹配调用协议。

流程

  1. 用户发起包含审计意图的指令或自然语言提问。
  2. 系统解析上下文,识别 trace_audit 脚本并加载本地日志缓存。
  3. 执行脚本读取时间戳、执行者、动作及对象等核心字段。
  4. 依据 LGD 三律标准校验每笔操作是否具备“过闸”权限记录。
  5. 自动筛选未过闸的越界行为,构建完整的时间线与违规清单。
  6. 向用户返回含证据链的审计结论与后续合规建议。

证据与安全声明

  • 证据:TBD(暂无评测/徽章链接;产生后在此更新实际链接)
  • 版本:1.0.0
  • 安全:未做独立安全扫描(TBD),结论待补;补全前不作推荐背书。

Triggers / 触发词

这些是用户真实会说的话(中 / 英对照),命中任一即应加载本技能:

  • 「AI 刚才到底做了什么」 / "what did the AI actually do just now"
  • 「agent 操作有没有越界」 / "did the agent go beyond its permissions"
  • 「出了事能回溯到哪一步」 / "can we trace back what happened when it broke"
  • 「给 AI 行为记个账本」 / "I want a ledger of AI actions"
  • 「哪些动作没走审批流程」 / "which actions skipped the approval step"
  • 「合规报告要附操作时间线」 / "compliance report needs an action timeline"

Trigger when the user says any of the above, in Chinese or English.



Ecosystem / 生态入口

This skill is one door of the LGD ecosystem — every entry below is publicly reachable. 本技能是 LGD 生态 的一个入口,下列地址均对公网可达。

Looking for something else? / 还想要别的?

Tell your AI assistant: "Find me an LGD skill that can " — the hub lists every published skill with a one-line purpose. 跟你的 AI 助手说一句「去 LGD 生态超市找能……的技能」,总入口按用途列全了所有已发布技能。


Data handling / 数据处理边界

  • 默认不向任何外部地址发送数据:扫描结果、报告、命中明细一律只写本地或只打印到当前会话。
  • 如需外发(告警、工单、邮件、IM),必须由人先明确指定接收方,并在每次发送前逐次确认;本技能不预设、也不硬编码任何接收端。
  • 只处理调用者明确指定的目标路径,不遍历无关目录,不跟随符号链接,不读取目标之外的凭据文件。
  • 命中内容在输出时按需脱敏,避免把敏感原值写进日志或对话记录。
Полный SKILL.md на ClawHub

Установить Agent Trace Audit(智能体行为留痕审计) в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Glob
Grep
Write

FAQ

Что делает скилл Agent Trace Audit(智能体行为留痕审计)?

Turn an agent's action logs — timestamp, actor, action, target and whether a gate was passed — into a traceable ledger, then flag operations that bypassed the gate and output a timeline with a violation list. 当用户说『AI刚才干了什么我要查』『agent操作有没有越界』『出事了能回溯吗』『给AI行为留个账本』,或要给 agent 的操作做可审计留痕时使用。把 agent 的动作日志(时间戳/执行者/动作/对象/是否过闸)建成可追溯账本,标出未过闸的越界操作(有籍),输出时间线+违规清单。可运行脚本(trace_audit 审计器)。理论根基:LGD 三律之有籍(全程可追溯)。与 agent-redteam-kit/有门禁互补。触发词:行为留痕、trace audit、操作审计、agent回溯、可追溯、行为账本、审计日志。

Как установить скилл Agent Trace Audit(智能体行为留痕审计)?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Agent Trace Audit(智能体行为留痕审计) запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Agent Trace Audit(智能体行为留痕审计) с