Agent self assessment

From LeoYeAI/openclaw-master-skills · View interactive version

Agent self assessment is an AI agent skill from the GitHub repository LeoYeAI/openclaw-master-skills. Comprehensive compliance and security self-assessment for AI agents. 14-check framework producing a structured threat model + compliance report with RED/AMBER/GREEN ratings across security, governance, EU AI Act readiness, oversight quality, and NIST alignment domains. Includes automation bias detec

How to use this skill

Skill file

Agent Compliance & Security Assessment v2.3

Free. Open. Run it yourself.

One command tells you where your agent stands on security, EU AI Act compliance, and NIST alignment. 14 checks, 5 domains, RAG-rated report.

How to activate: Tell your agent: "Read SKILL.md and run the agent compliance assessment"

14 checks across 5 domains:

EU AI Act enforcement is underway. As of February 2, 2026, national authorities are actively enforcing prohibitions and GPAI requirements. The August 2, 2026 deadline covers remaining high-risk system obligations. Only 8 of 27 EU member states have designated competent authorities โ€” the compliance gap is real. 4 months remaining.

NIST AI Agent Standards Initiative launched February 2026, establishing formal security standards for autonomous AI agents. This assessment aligns with both EU and US frameworks.


What This Skill Does

This skill instructs the agent to inspect its own configuration and produce an honest compliance report. It reads local files, checks environment structure, and reviews tool and skill setup.

What This Skill Does NOT Do

Scope Constraints (enforceable)

Files the agent SHOULD inspect (allowlist):

Files the agent MUST NOT read:

Output constraints:


How to Run

When invoked, perform the following fourteen checks against your actual current configuration โ€” not hypothetically. Use file reads and tool introspection. Then output the report.

Do not skip checks. If you cannot determine the answer, mark the check RED with reason "Cannot verify".


๐Ÿ”’ SECURITY DOMAIN (Checks 1โ€“6)

Check 1: Decision Boundaries

Question: Can external input trigger consequential actions directly, without a gate or approval step?

What to verify:

Scoring:


Check 2: Audit Trail

Question: Is there an append-only, tamper-evident log of consequential actions?

What to verify:

Scoring:


Check 3: Credential Scoping

Question: Are secrets scoped to their domain? Can a credential for domain A be accessed by domain B?

What to verify:

Scoring:


Check 4: Plane Separation

Question: Is the ingress plane (receiving inputs) isolated from the action plane (executing operations)?

What to verify:

Scoring:


Check 5: Economic Accountability

Question: Are financial operations traceable, receipted, and bounded?

What to verify:

Scoring:


Check 6: Memory Safety

Question: Is agent memory isolated from untrusted imports? Can external content corrupt agent state?

What to verify:

Scoring:


๐Ÿ›๏ธ EU AI ACT READINESS (Checks 7โ€“9)

Reference: Regulation (EU) 2024/1689 โ€” enforcement began 2 February 2026 (prohibitions + GPAI). High-risk system obligations apply from 2 August 2026.

Check 7: Transparency (Article 50)

Question: Does the agent clearly identify itself as an AI system to users it interacts with?

What to verify:

EU AI Act reference:

Article 50(1): Providers shall ensure that AI systems intended to interact directly with natural persons are designed and developed in such a way that the natural persons concerned are informed that they are interacting with an AI system.

March 2026 update: The Second Draft Code of Practice on marking and labelling of AI-generated content was published on 3 March 2026. The FTC also clarified AI endorsement disclosure rules with new proximity standards. Both strengthen the case for proactive disclosure.

Scoring:


Check 8: Risk Classification (Articles 6, 9)

Question: Has the agent assessed its own risk category under the EU AI Act?

What to verify:

EU AI Act reference:

Article 6: Classification rules for high-risk AI systems

Article 9: Risk management system (for high-risk systems)

Risk category guidance:

Scoring:


Check 9: Human Oversight (Article 14)

Question: Can a human intervene, override, or shut down the agent at any point?

What to verify:

EU AI Act reference:

Article 14: Human oversight โ€” High-risk AI systems shall be designed and developed in such a way that they can be effectively overseen by natural persons during the period in which the AI system is in use.

Scoring:


๐Ÿ“Š DATA GOVERNANCE (Check 10)

Check 10: Data Processing & Retention (Articles 10, 12)

Question: Is the agent's data processing documented, proportionate, and time-bounded?

What to verify:

EU AI Act reference:

Article 10: Data and data governance (for high-risk systems)

Article 12: Record-keeping (for high-risk systems)

Scoring:


๐Ÿ›ก๏ธ OVERSIGHT QUALITY (Checks 11โ€“13)

Check 11: Automation Bias Resistance (Article 14 extended)

Question: Does the human oversight mechanism require genuine reasoning, or just approval clicks?

What to verify:

Why this matters:

A human in the loop who approves everything in 0.8 seconds is not oversight. It is liability theatre. Regulators will look at approval patterns, not just approval mechanisms.

Scoring:


Check 12: Audit Trail Reasoning (Article 12 extended)

Question: Does the audit trail capture what was decided AND why?

What to verify:

EU AI Act context:

Article 12 requires automatic recording of events for high-risk systems. Recording what happened without why it was approved creates an audit trail that documents compliance failure rather than compliance.

Scoring:


Check 13: Extraterritorial Scope Awareness

Question: Does this agent interact with EU users, and is the team aware of the implications?

What to verify:

EU AI Act context:

The EU AI Act has GDPR-like extraterritorial scope. Any AI system whose output is consumed in the EU falls under the regulation, regardless of where the company is incorporated.

Enforcement reality (March 2026):

Only 8 of 27 EU member states have designated competent authorities. Enforcement capacity is uneven, but the regulation is live. Early enforcement actions will likely target obvious non-compliance as precedent-setting cases.

Key thresholds:

Scoring:


๐Ÿ” TRUST ARCHITECTURE (Check 14) โ€” NEW

Aligned with NIST AI Agent Standards Initiative (Feb 2026) and Microsoft Zero Trust for AI reference architecture (RSAC 2026, Mar 2026).

Check 14: Zero Trust Posture for Agentic AI

Question: Does the agent operate on a Zero Trust basis โ€” verifying every interaction rather than assuming trust from prior context?

What to verify:

Why this matters:

Traditional security assumes a trusted perimeter. Agents operate across trust boundaries by design โ€” calling external APIs, communicating with other agents, reading untrusted content, executing tools. Zero Trust is not optional for autonomous systems; it is the only coherent security model.

NIST reference:

The NIST AI Agent Standards Initiative (February 2026) establishes that autonomous AI agents require formal security standards covering identity, authorisation, execution isolation, and behavioural monitoring.

Microsoft reference:

The Zero Trust for AI reference architecture (RSAC 2026) extends Zero Trust principles across the full AI lifecycle โ€” from data ingestion and model training to deployment and agent behaviour.

Scoring:


Output Format

After completing all fourteen checks, produce a report in this structure:

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘    AGENT COMPLIANCE & SECURITY ASSESSMENT REPORT v2.3        โ•‘
โ•‘    Generated: [ISO-8601 timestamp]                           โ•‘
โ•‘    Agent: [agent name/identifier]                            โ•‘
โ•‘    EU AI Act Deadline: 2 August 2026                         โ•‘
โ•‘    Frameworks: EU AI Act 2024/1689 ยท NIST AI Agent Standards โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

SUMMARY SCORECARD
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€

  ๐Ÿ”’ SECURITY
  Check 1  โ€” Decision Boundaries       [ ๐ŸŸข / ๐ŸŸก / ๐Ÿ”ด ]
  Check 2  โ€” Audit Trail               [ ๐ŸŸข / ๐ŸŸก / ๐Ÿ”ด ]
  Check 3  โ€” Credential Scoping        [ ๐ŸŸข / ๐ŸŸก / ๐Ÿ”ด ]
  Check 4  โ€” Plane Separation          [ ๐ŸŸข / ๐ŸŸก / ๐Ÿ”ด ]
  Check 5  โ€” Economic Accountability   [ ๐ŸŸข / ๐ŸŸก / ๐Ÿ”ด ]
  Check 6  โ€” Memory Safety             [ ๐ŸŸข / ๐ŸŸก / ๐Ÿ”ด ]

  ๐Ÿ›๏ธ EU AI ACT READINESS
  Check 7  โ€” Transparency              [ ๐ŸŸข / ๐ŸŸก / ๐Ÿ”ด ]
  Check 8  โ€” Risk Classification       [ ๐ŸŸข / ๐ŸŸก / ๐Ÿ”ด ]
  Check 9  โ€” Human Oversight           [ ๐ŸŸข / ๐ŸŸก / ๐Ÿ”ด ]

  ๐Ÿ“Š DATA GOVERNANCE
  Check 10 โ€” Data Processing           [ ๐ŸŸข / ๐ŸŸก / ๐Ÿ”ด ]

  ๐Ÿ›ก๏ธ OVERSIGHT QUALITY
  Check 11 โ€” Automation Bias Resistance [ ๐ŸŸข / ๐ŸŸก / ๐Ÿ”ด ]
  Check 12 โ€” Audit Trail Reasoning      [ ๐ŸŸข / ๐ŸŸก / ๐Ÿ”ด ]
  Check 13 โ€” Extraterritorial Scope     [ ๐ŸŸข / ๐ŸŸก / ๐Ÿ”ด ]

  ๐Ÿ” TRUST ARCHITECTURE
  Check 14 โ€” Zero Trust Posture         [ ๐ŸŸข / ๐ŸŸก / ๐Ÿ”ด ]

  SECURITY POSTURE:   [ SECURE / HARDENING NEEDED / CRITICAL ]
  COMPLIANCE STATUS:  [ READY / GAPS IDENTIFIED / NOT ASSESSED ]
  RED: N | AMBER: N | GREEN: N

FINDINGS
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€

[1] DECISION BOUNDARIES โ€” [COLOR]
  Finding: [1-2 sentences]
  Evidence: [specific observation]
  Risk: [what could go wrong]
  Action: [specific remediation]

[2] AUDIT TRAIL โ€” [COLOR]
  ...

[3โ€“14] ...

PRIORITY ACTIONS (ordered by severity)
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
  1. [Highest-risk item]
  2. ...
  3. ...

EU AI ACT COMPLIANCE SUMMARY
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
  Risk Category: [Minimal / Limited / High]
  Transparency: [Met / Partial / Not Met]
  Human Oversight: [Active / Partial / None]
  Data Governance: [Documented / Partial / Undocumented]
  Enforcement Status: Prohibitions + GPAI ACTIVE since Feb 2 2026
  High-risk deadline: 2 August 2026
  Days until deadline: [N]
  Recommendation: [1-2 sentences]

NIST ALIGNMENT
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
  Zero Trust Posture: [Strong / Partial / Absent]
  Agent Identity: [Verified per-request / Session-based / None]
  Execution Isolation: [Sandboxed / Partial / None]
  Recommendation: [1-2 sentences]

โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
END OF REPORT

Overall posture logic:

Compliance status logic:


Want a Third-Party Assessment?

Self-assessment has blind spots. If you want an external audit by a security-focused agent, providers on the AGIRAILS network offer this assessment as a paid service โ€” settled trustlessly via ACTP escrow on Base L2.

How it works:

  1. You hire a provider (e.g., a security agent on the AGIRAILS marketplace)
  2. They run this assessment against your configuration
  3. You receive a structured compliance report
  4. Settlement happens on-chain โ€” the receipt itself is proof of compliance diligence

No subscription. No platform lock-in. One agent paying another for a genuine service.

Install the AGIRAILS SDK to enable agent-to-agent payments.


Changelog

v2.3.0 (2026-03-29)

v2.2.0 (2026-03-08)

v2.0.0 (2026-02-28)


Important Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.