Obey — Security skill for Claude Code
Rule enforcement plugin.
How to install Obey
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Lexxes-Projects/obey and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Obey does
You tell Claude "never push to main." Claude agrees. Five minutes later, Claude pushes to main.
Alternatives in Security
- List All Global Skills Sorted By Provider Location — asm list --scope global --sort location asm search "code review" --json asm inspect my-skill asm audit --yes a 185 ★
- Airsec — Find Security Issues in your code by using coding CLIs like Claude, Codex & CommandCode 162 ★
- Sail Skill — SAIL V2 (Secure AI Lifecycle) as an agent skill — the full 91-risk catalog for AI/agent gap assessments, secur 122 ★
README
obey
Makes Claude actually follow your rules.
The problem
You tell Claude "never push to main." Claude agrees. Five minutes later, Claude pushes to main.
The memory system is passive — Claude writes rules down but doesn't actively check them. Hooks exist but require manual regex setup. There's no way to say "remember this" and have it actually stick.
The solution
**obey** is a Claude Code plugin that stores your rules, injects them into every session, and actively blocks violations.
/remember never push to main
# → Rule saved (global, hook-enforced)
# → Claude is now blocked from running "git push origin main"
/remember always explain your reasoning before writing code
# → Rule saved (global, instruction)
# → Injected at the start of every session as a reminder
/remember never use .unwrap() --rust
# → Rule saved (Rust projects only, blocks .unwrap() in code)
That's it. Rules persist across sessions, survive context compaction, and get actively enforced.
How it works
You say: "/remember never force push"
│
obey evaluates the rule:
├── Scope: global (applies everywhere)
├── Mechanism: hook (can be blocked by code)
├── Pattern: git push --force
└── Saved to ~/.config/obey/global-rules.json
│
Next session starts:
├── SessionStart hook fires
├── All rules injected into Claude's context
└── Claude sees: "RULE: Never force push"
│
Claude tries: git push --force
├── PreToolUse hook fires
├── Pattern matches → BLOCKED
├── Claude sees: "Rule violated: Never force push"
└── Claude adjusts behavior
Install
From marketplace
/plugin marketplace add https://github.com/Lexxes-Projects/lexxes-plugins.git
/plugin install obey@lexxes-plugins
Local development
claude --plugin-dir /path/to/obey
...
Related Skills
Audit Scopes
Audit and minimize API scopes for security, verify scope usage, and generate scope justification for App Store
Iac Secopilot
Ask natural-language questions about a Terraform plan and get cited, evaluated answers grounded in the CIS AWS
Claude Code Bash Guardian
Automated security layer for Claude Code PreToolUse Bash Tool hooks. Provides bash command filtering, bypass p
Save My Disk
Universal AI Agent skill & runbook for intelligent, non-invasive disk audit and safe optimization. Supports An
Repo Review
Audit the entire Edge-Radar repo for issues, inconsistencies, recommended updates, enhancements, and removable
Cc Skill Audit
Security scanner & PreToolUse firewall for Claude Code third-party skills. Detects undisclosed telemetry, outb
Related Agents
CLI Engineer
Ingénieur du CLI Hookstack (packages/cli/, package npm hookstack-cli). Utiliser pour toute évolution du CLI in
Workspace Sync
Use this agent when the user wants to save work, sync repos, undo changes, check history, or manage branches.
Transcript Inspector
Specialist agent for diagnosing stop hook failures by reading Claude Code session transcripts. Use when the st