Skill / SKILL.md

Ai Guardrails

TerminalSkills/skills

Adds safety guardrails to LLM applications in Python: prompt injection checks, a canary token for system-prompt leaks, OpenAI moderation, PII redaction, Pydantic output validation, rate and token limits, and grounding checks for RAG answers. Use when adding safety layers to a chatbot, detecting prompt injection, filtering harmful content, validating LLM output against a schema, or building a moderation pipeline.
2 views 219 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Adds safety guardrails to LLM applications in Python: prompt injection checks, a canary token for system-prompt leaks, OpenAI moderation, PII redaction, Pydantic output validation, rate and token limits, and grounding checks for RAG answers. Use when adding safety layers to a chatbot, detecting prompt injection, filtering harmful content, validating LLM output against a schema, or building a moderation pipeline.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/TerminalSkills/skills' skill-source

Use the complete skill-source/skills/ai-guardrails directory with your client’s skill installer.

Source directory skills/ai-guardrails

Compatibility & requirements

Declared compatibility

Python 3.10+, pydantic 2.x, openai 1.x or later (for moderation and judge calls).

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
9d229b4a34fe8ea1d0c57c0d3a90d98fd29e3a80ea49c4878fed22672a8af795
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills