Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

guardrails

verified

Security techniques and quality control for prompts and agents

View on GitHub

Marketplace

fusengine-plugins

fusengine/agents

Plugin

fuse-prompt-engineer

productivity

Repository

fusengine/agents
3stars

plugins/prompt-engineer/skills/guardrails/SKILL.md

Last Verified

February 2, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/fusengine/agents/blob/main/plugins/prompt-engineer/skills/guardrails/SKILL.md -a claude-code --skill guardrails

Installation paths:

Claude
.claude/skills/guardrails/
Powered by add-skill CLI

Instructions

# Guardrails

Skill for implementing security guardrails and quality control.

## 4-Layer Security Architecture

```
┌─────────────────────────────────────────────────────┐
│                 LAYER 1: Input                       │
│ - Harmlessness screen (lightweight LLM)             │
│ - Pattern matching (jailbreak regex)                │
│ - PII detection/redaction                           │
└─────────────────────────────────────────────────────┘
                         │
                         ▼
┌─────────────────────────────────────────────────────┐
│                 LAYER 2: System                      │
│ - Ethical guardrails in system prompt               │
│ - Explicit capability limits                        │
│ - Refusal instructions                              │
└─────────────────────────────────────────────────────┘
                         │
                         ▼
┌─────────────────────────────────────────────────────┐
│                 LAYER 3: Output                      │
│ - Format validation                                 │
│ - Hallucination detection                           │
│ - Compliance check                                  │
└─────────────────────────────────────────────────────┘
                         │
                         ▼
┌─────────────────────────────────────────────────────┐
│                 LAYER 4: Monitoring                  │
│ - Logs of all interactions                          │
│ - Alerts on suspicious patterns                     │
│ - Rate limiting per user                            │
└─────────────────────────────────────────────────────┘
```

## References

- [Input Guardrails](./references/input-guardrails.md) - Topical checks, jailbreak detection, PII redaction
- [Output Guardrails](./references/output-guardrails.md) - Format validation, hallucination detection, tool call validation

## Ethical Guardrails Template

```markdown
<<ethical_guardrails>>

You are bound by strict ethical and legal limits.

R

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
2710 chars