llm-input-output-guardrail-middleware-development — Claude Code skill
llm-input-output-guardrail-middleware-development is a Claude Code skill for designing protective middleware around LLM agents. It guides work on untrusted inputs, tool permissions, and outbound data checks.
no license ★ 73 updated 2026-11-15
npx skills add W4L33Dx/Cyber-Monster --skill llm-input-output-guardrail-middleware-development -a claude-codeWhat llm-input-output-guardrail-middleware-development does
The skill lays out a middleware design for Python and TypeScript applications using LLMs, MCP, or agents. It keeps system instructions distinct from untrusted content, checks tool calls against JSON Schema, allowlists, and caller permissions, and adds source tags and canary tokens to retrieved RAG fragments. Outbound text and tool arguments are checked for personal data, secrets, and URLs.
The guide includes a validation sequence, test-case examples, and a self-check command: python -m py_compile guardrail.py. Its specified stack uses Python 3.11 and jsonschema for JSON Schema 2020-12 validation. Unknown tools or arguments are rejected by default.
What it helps with
- separate system instructions from retrieved RAG content
- validate tool-call arguments against JSON Schema
- restrict tool access by allowlist and caller permissions
- filter secrets and personal data from outbound content
Example prompts for the agent
- Design middleware that separates system instructions from untrusted RAG fragments.
- Add JSON Schema checks and argument allowlists for MCP tool calls.
- Draft outbound filters for secrets, personal data, and disallowed URLs in agent responses.
How to install llm-input-output-guardrail-middleware-development
1Skills CLI (Vercel)
npx skills add W4L33Dx/Cyber-Monster --skill llm-input-output-guardrail-middleware-development -a claude-code2Manually: put the files in place
~/.claude/skills/llm-input-output-guardrail-middleware-development/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/llm-input-output-guardrail-middleware-development/
1Skills CLI (Vercel)
npx skills add W4L33Dx/Cyber-Monster --skill llm-input-output-guardrail-middleware-development -a codex2Manually: put the files in place
.agents/skills/llm-input-output-guardrail-middleware-development/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add W4L33Dx/Cyber-Monster --skill llm-input-output-guardrail-middleware-development -a cursor2Manually: put the files in place
.cursor/skills/llm-input-output-guardrail-middleware-development/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install W4L33Dx/Cyber-Monster blue-team/security-automation-and-tool-development/llm-input-output-guardrail-middleware-development2Manually: put the files in place
.github/skills/llm-input-output-guardrail-middleware-development/SKILL.md1Skills CLI (Vercel)
npx skills add W4L33Dx/Cyber-Monster --skill llm-input-output-guardrail-middleware-development -a gemini-cli2Platform CLI
gemini skills install https://github.com/W4L33Dx/Cyber-Monster --path blue-team/security-automation-and-tool-development/llm-input-output-guardrail-middleware-developmentManually: put the files in place
.devin/skills/llm-input-output-guardrail-middleware-development/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about llm-input-output-guardrail-middleware-development
How do I install llm-input-output-guardrail-middleware-development in Claude Code?
Run npx skills add W4L33Dx/Cyber-Monster --skill llm-input-output-guardrail-middleware-development -a claude-code. The skill file is at ~/.claude/skills/llm-input-output-guardrail-middleware-development/SKILL.md.
What does llm-input-output-guardrail-middleware-development do?
It guides the design of middleware that separates instructions from untrusted data, validates tool calls, and filters outbound content.
What does llm-input-output-guardrail-middleware-development require?
The described stack uses Python 3.11 and jsonschema to validate against JSON Schema 2020-12.