kya-guard

kya-guard is a plugin for Claude Code, Cursor from The-Pixel-Boys/shield-kya. Its manifest loads nothing; the 2 commands it bundles cost 30 tokens per session together, scanned A, a copy of kya-guard, MIT.

A safety add-on that watches a coding agent's actions and stops it from deleting, exposing or dropping things. It runs without network access and uses one file.

In plain words
What is it for?
Use it when you want a basic guard around agent tool calls, especially actions that could delete files or leak sensitive data.
Why use it?
It helps prevent destructive commands and accidental exposure of secrets while an agent works on your code. Its description says it fails open, so it should not be treated as a complete security barrier.

Plugin for Claude CodeCursor

Written for Claude Code and Cursor: a Claude Code plugin manifest, but also shipped in a Cursor plugin.

Good fit Use it when you want a basic guard around agent tool calls, especially actions that could delete files or leak sensitive data.

Compare 6 plugins from other repositories ↓
Install in Claude Code
/plugin marketplace add The-Pixel-Boys/shield-kya
/plugin install kya-guard
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.

Clone the repo
git clone --depth 1 https://github.com/The-Pixel-Boys/shield-kya

Made for: Claude Code, Cursor.

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 kya-guard

README.md
[![agentmods](https://agentmods.dev/badge/plugins/the-pixel-boys/shield-kya/kya-guard/github.svg)](https://agentmods.dev/plugins/the-pixel-boys/shield-kya/kya-guard)
Your own site
<a href="https://agentmods.dev/plugins/the-pixel-boys/shield-kya/kya-guard"><img src="https://agentmods.dev/badge/plugins/the-pixel-boys/shield-kya/kya-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 kya-guard

Your own site · 80×15
<a href="https://agentmods.dev/plugins/the-pixel-boys/shield-kya/kya-guard"><img src="https://agentmods.dev/badge/plugins/the-pixel-boys/shield-kya/kya-guard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured The manifest loads nothing itself; its 2 commands cost 30 tokens a session between them.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 88% copy Near-identical to another mod in the catalogue.
Security

Grade A, and why

kya-guard 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 13d 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.

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.

Origin

This is a copy

88% identical to kya-guard — 16 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/kya-guard/.claude-plugin/plugin.json · 27 lines

What it actually says

{
  "name": "kya-guard",
  "displayName": "KYA Guard",
  "version": "1.0.0",
  "description": "Stops your coding agent from deleting, leaking or dropping things. No network, one file, fails open.",
  "author": {
    "name": "MFR Limited (Shield KYA)",
    "email": "[email protected]",
    "url": "https://shield-agent.com"
  },
  "homepage": "https://shield-agent.com/install",
  "documentationUrl": "https://shield-agent.com/docs",
  "supportUrl": "https://shield-agent.com/support",
  "privacyPolicyUrl": "https://shield-agent.com/privacy",
  "termsOfServiceUrl": "https://shield-agent.com/terms",
  "repository": "https://github.com/The-Pixel-Boys/shield-kya",
  "license": "MIT",
  "keywords": [
    "guard",
    "safety",
    "hooks",
    "pretooluse",
    "destructive-commands",
    "secrets"
  ]
}
Contents

What it installs

The manifest is a name and a version. 2 commands travel with it, and installing the plugin installs all of them — 30 tokens a session between them. Each is measured on its own page, and each can be installed alone.

Files

What ships with it

1 file beside plugin.json 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. 13d ago Changed · +4 lines 46f377328384
  2. 14d ago First seen · 23 lines scan A 13213b474a81

Subscribe to this mod's changes

kya-guard is a plugin published in the GitHub repository The-Pixel-Boys/shield-kya (3 stars, last pushed today), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. A static security scan graded it A with 0 findings. It is 88% identical to kya-guard, differing in 16 lines, and is treated as a copy.

Related

kya-guard compared with plugins from other repositories

kya-guard next to 6 plugins from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kya-guardThe-Pixel-Boys/shield-kyaPlugin3todayMITA—Claude Code, Cursor
padPerpetualSoftware/padPlugin210todayApache-2.0A—Claude Code
skillreaperthousandflowers/skillreaperPlugin6912d agoMITA—Claude Code
securityanton-abyzov/vskillPlugin473d agoMITA—Claude Code
personalanton-abyzov/vskillPlugin473d agoMITA—Claude Code
happyhackingspace-skillsHappyHackingSpace/skillsPlugin628d agoMITA—Gemini CLI
humanizerblader/humanizerPlugin75k11d agoMITA—Claude Code