← 返回
未分类

AANA Guardrail Skill

Monitors agent actions for safety and compliance, preventing violations, private data leaks, or irreversible steps by enforcing predefined decision rules.
监控代理行为,保障安全合规,防止违规、数据泄露或不可逆操作,执行预定义决策规则。
mindbomber
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 1
Stars
📥 350
下载
💾 0
安装
1
版本
#latest

概述

AANA Guardrail Skill For OpenClaw-Style Agents

Use this skill when a user asks the agent to produce or execute an action that may violate hard constraints, depend on missing evidence, expose private information, or require a safe correction path.

When To Call AANA

Call AANA before:

  • sending customer-support replies, emails, or messages,
  • using private account, billing, payment, or personal data,
  • making refund, eligibility, booking, purchase, or policy promises,
  • editing, deleting, moving, or publishing user files,
  • committing or publishing code,
  • answering from incomplete evidence, citations, or source notes,
  • doing anything the user cannot easily undo.

Command

Create an event JSON file and run:

python scripts/aana_cli.py agent-check --event path/to/agent_event.json

Event Shape

{
  "event_version": "0.1",
  "event_id": "unique-id",
  "agent": "openclaw",
  "adapter_id": "support_reply",
  "user_request": "The user's request",
  "candidate_action": "The answer or action the agent is about to take",
  "available_evidence": ["Only facts actually available to the agent"],
  "allowed_actions": ["accept", "revise", "ask", "defer", "refuse"]
}

Decision Rule

  • If gate_decision is pass and recommended_action is accept, proceed.
  • If recommended_action is revise, use safe_response or revise the plan before acting.
  • If recommended_action is ask, ask the user for the missing information.
  • If recommended_action is defer, route to a stronger tool, human review, or verified system.
  • If recommended_action is refuse, do not execute the candidate action.

Default Adapter Mapping

  • Customer support, refunds, private account details: support_reply
  • Travel or booking plans: travel_planning
  • Food, grocery, allergy, dietary plans: meal_planning
  • Research briefs, cited summaries, knowledge synthesis: research_summary

If no adapter fits, scaffold one:

python scripts/aana_cli.py scaffold "new workflow name"

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 20:13 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

AANA Agent Memory Gate Skill

mindbomber
在存储、复用、编辑、导入、导出前,对用户记忆的相关性、敏感性、来源、审批和生命周期进行验证与管理。
★ 1 📥 339

AANA Legal Safety Router Skill

mindbomber
路由、分类并审查法律相关问题,提供一般信息,执行司法辖区警示,避免未经授权的建议,并将高风险案件转介...
★ 1 📥 373

AANA Medical Safety Router Skill

mindbomber
分配、总结并分诊医学和健康相关查询,同时确保安全,避免作出诊断或治疗声明,并适当引导急诊患者。
★ 1 📥 383