闲社服务运行正常AI智能体自动化平台
A

Agent Decision Context Normalizer

# Agent Decision Context Normalizer

作者:暂未提供 | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

Agent Decision Context Normalizer

Agent Decision Context Normalizer

Normalize a redacted agent decision into a stable evidence contract before any policy review.

Scenario and prerequisites

  • - Use for agent actions that need a later explanation of the input, policy snapshot, permissions and result.
  • Python 3.10 or newer is required. The script uses only the standard library.
  • Input must be authorized, redacted and free of secrets, customer records and production credentials.

Input and output

Input JSON must contain run_id, agent_id, event_time, policy_version, policy_snapshot, decision_input, permissions, action, result_state and evidence_refs.

Output JSON contains READY or BLOCKED, decision_id, context_hash, policy_hash, normalized fields and explicit reasons.

Installation and execution

  1. 1. Copy the skill directory into the local skills directory.
  2. Run python scripts/normalize_agent_decision.py --input examples/input.json --output examples/output.json.
  3. Pass only a READY output to the policy binding step.

Recovery and boundaries

Missing fields, secret-like values, invalid JSON or empty evidence references produce BLOCKED. Fix the redacted source event and rerun; do not bypass the block or infer missing context.

The script never calls an agent, policy engine or external service. It hashes the supplied snapshot; it does not prove that the snapshot was authentic.

Acceptance

The included sample must produce status=READY, a stable decision_id, a non-empty context_hash and policy_hash. Changing the policy snapshot must change policy_hash.

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 agent-decision-context-normalizer 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 agent-decision-context-normalizer 技能

通过命令行安装

skillhub install agent-decision-context-normalizer

下载

登录后免费下载

文件大小: 7.29 KB | 发布时间: 2026-8-21 02:33

v1.0.0 最新 2026-8-21 02:33
初始版本(来自套餐拆分)
返回顶部