googlicius/obsidian-steward/guardrails
Claude Code and agent skill by googlicius/obsidian-steward
- community
Checking that the SKILL.md file is still in the repository.
Define safety rules to restrict AI from reading, listing, creating, editing, or deleting specific folders or files. Use when the user wants to set up guardrails, access rules, or protect sensitive areas.
Install
npx vskill@latest install googlicius/obsidian-steward/guardrailsSKILL.md
Guardrails Skill
This skill enables you to define safety rules that restrict which folders and files the AI can access. Rules are stored as separate markdown files in Steward/Rules/ — one file per rule.
Rule File Structure
Each rule lives in its own .md file under Steward/Rules/ (flat structure). Each file has:
- YAML frontmatter — the rule definition (name, targets, actions, optional instruction, optional enabled)
- Documentation — markdown body explaining the rule
- Verification query — a ready-to-run command that triggers the rule so users can confirm it works (see below)
Create new rule files (Use create tool) when adding rules. Edit existing rule files (Use edit tool) when updating.
Documentation
Keep the rule body brief plus the verification query.
Verification Query
Include a verification query in each rule's documentation. This is a Steward command that would trigger the rule (and get blocked), so users can quickly confirm the rule works. Format:
- Format: Commands start with
/(slash + space); put the command on its own line - Content: A natural-language request that would perform one of the restricted actions on a target (e.g., list, read, create, edit)
Add it in the rule body, e.g. under a Verify or Test section.
Frontmatter Format
| Field | Required | Description | |
|---|---|---|---|
name | Yes | A short identifier for the rule (e.g., "No secrets access") | |
targets | Yes | Array of path patterns (folders or files). Use folder/ for folders, *.ext for file types | |
actions | Yes | Array of actions to restrict: read, list, create, edit, delete, move, rename, copy | |
instruction | No | Optional override only when the user explicitly requires strict guidance. Default is no instruction; violations are serialized for the AI to adapt | |
enabled | No | Set to false to disable a rule. Default is true |
Example Rule File
Create Steward/Rules/No secrets.md:
Create Steward/Rules/No private edits.md:
Target Syntax
- Folder paths:
Secrets/orPrivate/— matches the folder and all contents. Use trailing/for clarity. - File patterns:
*.key— matches files by extension. Use*prefix for glob-like matching.
Instruction vs No Instruction (Default: No Instruction)
- Without `instruction` (default): On violation, the error is serialized as a tool result. The AI sees the block message and can try a different approach.
- With `instruction` (explicit only): Use this only when the user explicitly requires strict behavior. The instruction is added to tool guidelines, and violations stop processing immediately.
Security
- Security scanPassed, 96 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/guardrails/SKILL.md
Popularity
- Repository stars
- 85
- Repository forks
- 2
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/googlicius/obsidian-steward/guardrails)