Skip to content
Back to skills

Kya Wrap

ASecurity

Wrap an agent tool through Shield KYA evaluate before any irreversible side effect, when the kya MCP tools are connected. Use when adding tools, MCP calls, or writes that need ALLOW | DENY | REQUIRE_APPROVE.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 6, 2026
ai-agents

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned November 6, 2026

npx -y skills add The-Pixel-Boys/shield-kya --skill kya-wrap --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Kya Wrap?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Kya Wrap
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/the-pixel-boys-kya-wrap/badge)](https://www.skillsdirectory.com/skills/the-pixel-boys-kya-wrap)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: kya-wrap
description: Wrap an agent tool through Shield KYA evaluate before any irreversible side effect, when the kya MCP tools are connected. Use when adding tools, MCP calls, or writes that need ALLOW | DENY | REQUIRE_APPROVE.
---

# Wrap a tool through Shield KYA

## First check: are the kya MCP tools here?

This skill applies only when the kya MCP tools (`kya.policy_evaluate`, `kya.request_approval`) are available in this session.
If they are not, for example in the Gemini CLI extension, which installs hooks only, stop here: do not try to call
evaluate and do not wait for an approval, because none will arrive. In that setup kya is advisory: its hook records
each tool call and blocks only a small never-list, and the user reviews the trail afterwards.

This plugin is a **thin MCP gate**. It does not decide policy. Shield KYA
evaluate on the control plane is the **sole PEP**.

## Verdicts

| Verdict | Meaning |
|---------|---------|
| `ALLOW` | Side effect may proceed |
| `DENY` | Do not execute. Never retry around the gate |
| `REQUIRE_APPROVE` | Wait for a human `APPROVED`. Missing approval ⇒ no irreversible effect |

Risk scores may only **raise** severity. They never auto-ALLOW.

## Dual plane

- `host=ide`: authoring / dry-run
- `host=runtime`: production work

Same agent id, policy, approval, and trail on both. Label the host. Do not invent a second enforcement path in the editor.

## How to wrap

1. Register the agent principal (`register-agent` or console). Creating an agent is itself a tool (`kya.agent.register`). It is not a free write.
2. Give the tool a stable `toolId`. No marketplace adapter required.
3. Call evaluate (MCP `evaluate` / `eval-tool`) **before** the side effect.
4. If `REQUIRE_APPROVE`, request approval and wait. Do not execute on a pending ticket.
5. Offline `--offline` is a **sample fixture**. Do not treat it as production PEP.

## Do not

- Bypass evaluate because the IDE "already reviewed" the change
- Treat scanners, ORR, or this skill as a second PEP
- Position Shield as a chargeback, dispute, or payment-recovery product

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.