# Send Guardrails to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "guardrails",
    "name": "Guardrails",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/dgriffin831/guardrails",
    "canonicalUrl": "https://clawhub.ai/dgriffin831/guardrails",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/guardrails",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=guardrails",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "CHANGELOG.md",
      "README.md",
      "SKILL.md",
      "templates/guardrails-template.md",
      "scripts/generate_guardrails_md.py",
      "scripts/classify-risks.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "guardrails",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T03:36:42.375Z",
      "expiresAt": "2026-05-07T03:36:42.375Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=guardrails",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=guardrails",
        "contentDisposition": "attachment; filename=\"guardrails-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "guardrails"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/guardrails"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/guardrails",
    "downloadUrl": "https://openagent3.xyz/downloads/guardrails",
    "agentUrl": "https://openagent3.xyz/skills/guardrails/agent",
    "manifestUrl": "https://openagent3.xyz/skills/guardrails/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/guardrails/agent.md"
  }
}
```
## Documentation

### guardrails - Interactive Security Guardrails Configuration

Helps users configure comprehensive security guardrails for their OpenClaw workspace through an interactive interview process.

### guardrails setup

Interactive setup mode - Guides user through creating their GUARDRAILS.md file.

Workflow:

Run environment discovery: bash scripts/discover.sh
Classify risks: bash scripts/discover.sh | python3 scripts/classify-risks.py
Generate tailored questions: bash scripts/discover.sh | python3 scripts/classify-risks.py | python3 scripts/generate_questions.py
Conduct interactive interview with the user:

Ask questions from the generated question bank (tailored to discovered environment)
Present suggestions for each question
Allow custom answers
Follow up when appropriate


Generate GUARDRAILS.md: echo '<json>' | python3 scripts/generate_guardrails_md.py /path/to/guardrails-config.json

Stdin JSON format: {"discovery": {...}, "classification": {...}, "answers": {...}}


Present the generated GUARDRAILS.md for review
Ask for confirmation before writing to workspace
Write GUARDRAILS.md to workspace root
Save guardrails-config.json to workspace root

Important:

Be conversational and friendly during the interview
Explain why each question matters
Provide context about discovered risks
Highlight high-risk skills/integrations
Allow users to skip or customize any answer
Review the final output with the user before writing

### guardrails review

Review mode - Check existing configuration against current environment.

Workflow:

Run discovery and classification
Load existing guardrails-config.json
Compare discovered skills/integrations against config
Identify gaps (new skills not covered, removed skills still in config)
Ask user about gaps only - don't re-interview everything
Update config and GUARDRAILS.md if changes needed

### guardrails monitor

Monitor mode - Detect changes and potential violations.

Workflow:

Run: bash scripts/monitor.sh
Parse the JSON report
If status is "ok": silent or brief acknowledgment
If status is "needs-attention": notify user with details
If status is "review-recommended": suggest running guardrails review

Can be run manually or via cron/heartbeat.

### Files Generated

GUARDRAILS.md - The main guardrails document (workspace root)
guardrails-config.json - Machine-readable config for monitoring (workspace root)

### Notes

This skill only helps create guardrails - enforcement is up to the agent
Discovery (discover.sh) uses bash + jq; classification (classify-risks.py) uses Python standard library only
Question generation and GUARDRAILS.md generation require an LLM — set OPENAI_API_KEY or ANTHROPIC_API_KEY
Python scripts require the requests library (pip install requests)
Discovery and classification are read-only operations
Only setup and review modes write files, and only with user confirmation
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: dgriffin831
- Version: 1.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T03:36:42.375Z
- Expires at: 2026-05-07T03:36:42.375Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/guardrails)
- [Send to Agent page](https://openagent3.xyz/skills/guardrails/agent)
- [JSON manifest](https://openagent3.xyz/skills/guardrails/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/guardrails/agent.md)
- [Download page](https://openagent3.xyz/downloads/guardrails)