violation-skill

violation-skill is a skill for Claude Code from AgentSafety/ClawCare. It costs 16 tokens per session (32 once invoked), scanned A, original, Apache-2.0.

A test skill containing code that violates the plugin’s policy rules. It is intended to demonstrate policy violations.

In plain words
What is it for?
Testing policy enforcement against a skill with known violations.
Why use it?
It provides a controlled example for testing whether policy checks detect unsafe skill code.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the policy-violator plugin — 1 skill shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/agentsafety/clawcare/violation-skill
Any agent
npx skills add AgentSafety/ClawCare --skill violation-skill
Clone the repo
git clone --depth 1 https://github.com/AgentSafety/ClawCare

Made for: Claude Code.

Or install policy-violator, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for violation-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentsafety/clawcare/violation-skill.svg)](https://agentmods.dev/skills/agentsafety/clawcare/violation-skill)
Your own site
<a href="https://agentmods.dev/skills/agentsafety/clawcare/violation-skill"><img src="https://agentmods.dev/badge/skills/agentsafety/clawcare/violation-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 32 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00016 $0.00032
Opus 5 $0.00008 $0.00016
Sonnet 5 $0.00003 $0.00006
Haiku 4.5 $0.00002 $0.00003

Measured 5d ago against content hash c693a2b9d13e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

violation-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (code.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

tests/fixtures/claude_manifest_violation/skills/violation-skill/SKILL.md · 9 lines

What it actually says

Instructions

This skill demonstrates policy violations for testing.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 9 lines · 16 tokens per session scan A c693a2b9d13e

Subscribe to this mod's changes

violation-skill is a skill published in the GitHub repository AgentSafety/ClawCare (5 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 16 tokens to every session and 32 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

security-guide

OpenClaw 安全部署指南 / Security deployment guide — help users secure their OpenClaw installation.

jnMetaCode/shellward · 23 tokens

clinical-trial-protocol-skill

Generate clinical trial protocols for medical devices or drugs. This skill should be used when users say "Create a clinical trial protocol", "Generate protocol for [device/drug]", "Help me design a clinical study", "Research similar trials for [intervention]", or when developing FDA submission documentation for…

Agent-Threat-Rule/agent-threat-rules · 70 tokens

claude-d3js-skill

This skill provides guidance for creating sophisticated, interactive data visualisations using d3.js.

Agent-Threat-Rule/agent-threat-rules · 25 tokens

adr-skill

Create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows. Use when you need to propose, write, update, accept/reject, deprecate, or supersede an ADR; bootstrap an adr folder and index; consult existing ADRs before implementing changes; or enforce ADR conventions. This skill uses…

Agent-Threat-Rule/agent-threat-rules · 89 tokens

prior-auth-review-skill

Automate payer review of prior authorization (PA) requests. This skill should be used when users say "Review this PA request", "Process prior authorization for [procedure]", "Assess medical necessity", "Generate PA decision", or when processing clinical documentation for coverage policy validation and authorization…

Agent-Threat-Rule/agent-threat-rules · 63 tokens

linear-claude-skill

Manage Linear issues, projects, and teams.

Agent-Threat-Rule/agent-threat-rules · 15 tokens