CyberHuaTuo-Plugin: Skill for Claude Code

.agents/skills/cyberhuatuo-agent-guard/SKILL.md

cyberhuatuo-agent-guard is a skill for Claude Code from JinNing6/CyberHuaTuo-Plugin. It costs 51 tokens per session (747 once invoked), scanned C, original, Apache-2.0.

A safety review step for actions that could permanently delete or broadly remove data. It checks the exact command and returns an ALLOW, ASK, or BLOCK decision.

In plain words
What is it for?
Reviewing destructive shell commands, Git cleanup, disk operations, database drops or truncations, and synchronization commands that delete destination files.
Why use it?
It helps prevent accidental loss from commands such as deleting files, discarding Git changes, wiping disks, dropping database data, or mirroring deletions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

This is JinNing6/CyberHuaTuo-Plugin's own configuration. It tells Claude Code how to work on CyberHuaTuo-Plugin itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything CyberHuaTuo-Plugin configures →

Part of the cyberhuatuo-plugin plugin — 3 skills, 1 hook, 1 MCP server shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to JinNing6/CyberHuaTuo-Plugin. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/JinNing6/CyberHuaTuo-Plugin/main/.agents/skills/cyberhuatuo-agent-guard/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/JinNing6/CyberHuaTuo-Plugin

Made for: Claude Code.

Or install cyberhuatuo-plugin, the plugin that ships this one along with the rest of its 3 skills, 1 hook, 1 MCP server.

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 cyberhuatuo-agent-guard

README.md
[![agentmods](https://agentmods.dev/badge/skills/jinning6/cyberhuatuo-plugin/cyberhuatuo-agent-guard/github.svg)](https://agentmods.dev/skills/jinning6/cyberhuatuo-plugin/cyberhuatuo-agent-guard)
Your own site
<a href="https://agentmods.dev/skills/jinning6/cyberhuatuo-plugin/cyberhuatuo-agent-guard"><img src="https://agentmods.dev/badge/skills/jinning6/cyberhuatuo-plugin/cyberhuatuo-agent-guard/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cyberhuatuo-agent-guard

Your own site · 80×15
<a href="https://agentmods.dev/skills/jinning6/cyberhuatuo-plugin/cyberhuatuo-agent-guard"><img src="https://agentmods.dev/badge/skills/jinning6/cyberhuatuo-plugin/cyberhuatuo-agent-guard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 747 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00051 $0.00747
Opus 5 $0.00026 $0.00374
Sonnet 5 $0.00010 $0.00149
Haiku 4.5 $0.00005 $0.00075

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

Security

Grade C, and why

cyberhuatuo-agent-guard scanned grade C with 1 finding 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 11d ago.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- Permanent or recursive deletion such as `rm -rf`, `Remove-Item -Recurse`, `del /s`, `find -delete`, or shredding.
.agents/skills/cyberhuatuo-agent-guard/SKILL.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CyberHuaTuo Agent Action Guard

Trigger

Run this skill before any proposed action that can destroy or broadly remove user data, including:

  • Permanent or recursive deletion such as rm -rf, Remove-Item -Recurse, del /s, find -delete, or shredding.
  • Destructive Git operations such as git clean, git reset --hard, checkout/restore that discards work.
  • Disk formatting, partitioning, wiping, raw-device writes, or free-space erasure.
  • Database DROP or TRUNCATE statements.
  • Mirror synchronization that deletes destination files, such as robocopy /MIR or rsync --delete.

Preflight

For first-run verification, review the built-in examples without executing anything:

cyberhuatuo guard --self-test --workspace-root "<workspace>"

Continue only when it prints SELF-TEST PASSED with one ALLOW, one ASK, and one BLOCK.

Prefer the MCP tool when available:

agent_action_guard(
  command="<exact proposed shell command>",
  cwd="<current working directory>",
  workspace_root="<declared workspace root>"
)

Otherwise use the CLI:

cyberhuatuo guard "<exact proposed shell command>" --cwd "<cwd>" --workspace-root "<workspace>" --json

The review is read-only and does not execute, rewrite, approve, or intercept the command.

Case Report

When a real decision differs from the expected result, generate a local redacted case without executing the reviewed command:

cyberhuatuo guard "<exact proposed shell command>" --cwd "<cwd>" --workspace-root "<workspace>" --expected BLOCK --report reports/guard-report.md

Review the complete preview before confirming the write. Repeat --redact <literal> for private project or business identifiers. The report performs no network request or automatic upload, refuses implicit overwrite, and fails closed when private-key material or a known unredacted secret remains.

Use public Guard false-positive, ordinary false-negative, or integration-gap forms only for safely redacted details. Route reliable Hook, parser, wrapper, protocol, or enforcement bypasses through the repository's private vulnerability reporting page.

Read the full file on GitHub · 73 lines

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. 11d ago First seen · 73 lines · 51 tokens per session scan C ab7072726251

Subscribe to this mod's changes

cyberhuatuo-agent-guard is a skill published in the GitHub repository JinNing6/CyberHuaTuo-Plugin (3 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 51 tokens to every session and 747 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). 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

ziran

ZIRAN is an open-source security testing framework for AI agents. It discovers dangerous tool chain compositions via knowledge graph analysis, detects execution-level side effects (not just text output), and runs multi-phase trust exploitation campaigns that model real attacker behavior.

taoq-ai/ziran · 0 tokens

sidclaw-governance

Add policy evaluation, human approval, and audit trails to any tool. Powered by SidClaw.

sidclawhq/platform · 27 tokens

docs

ACMI is a universal architectural framework for giving AI agents persistent, real-time context. It replaces fragmented, multi-table database joins with a single, lightning-fast Key-Value engine (Upstash Redis) optimized specifically for LLM context windows.

madezmedia/acmi · 0 tokens

tokendiet

Audit this codebase for wasteful LLM API spend and hand back a concrete, honest fix plan — missing prompt caching, uncapped retries, prompt bloat, no batching, overpowered models. Describes technical waste and published provider rates only; never fabricates a dollar figure. Trigger on requests like "audit my LLM…

Fortytude/TokenDiet · 100 tokens

aura

Give this agent a real email address, a webhook URL, durable memory across runs, and the ability to wait for an event without burning tokens. Use when a task needs a verification code sent by email, needs to wait for a webhook or an approval, needs to remember something after the session ends, or needs to survive a…

phillypmack/aura-agent · 74 tokens

boundedrelay-adaptive-sdd

Coordinate the optional BoundedRelay Spec Kit workflow with strict independent reviews, deterministic effort routing, bounded proposals, convergence, and handoff.

mohammad19974/bounded-relay · 34 tokens