Lexxes-Projects/obey
Makes Claude actually follow your rules. Save rules with natural language, enforce them with hooks, remember them across sessions.
field: Productivity
stack: Shell
ARCHETYPE
Minimalist
Lean instructions, few tools, tiny context tax. Lets the model think.
Copy this rig
# review before running: this installs third-party code $ npx degit Lexxes-Projects/obey/agents ./rig-obey/agents $ npx degit Lexxes-Projects/obey/skills ./rig-obey/skills $ npx degit Lexxes-Projects/obey/hooks ./rig-obey/hooks
MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit Lexxes-Projects/obey/skills/forget .claude/skills/forget $ npx degit Lexxes-Projects/obey/skills/remember .claude/skills/remember $ npx degit Lexxes-Projects/obey/skills/rules .claude/skills/rules
$ curl -fsSL --create-dirs -o .claude/agents/rule-classifier.md https://raw.githubusercontent.com/Lexxes-Projects/obey/main/agents/rule-classifier.md This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 17.0k rigs:
{
"permissions": {
"deny": [
"Read(./.env)",
"Read(./.env.*)",
"Read(**/.env)",
"Read(~/.ssh/**)",
"Bash(git push --force:*)",
"Read(**/*.pem)",
"Read(.env)",
"Read(~/.aws/**)",
"Read(**/*.key)",
"Read(**/.env.*)",
"Bash(git push --force*)",
"Bash(rm -rf *)",
"Bash(rm -rf:*)",
"Bash(sudo *)",
"Bash(sudo:*)",
"Bash(rm -rf /)",
"Bash(git push -f:*)",
"Read(.env.*)",
"Read(./secrets/**)",
"Bash(git reset --hard*)"
],
"ask": [
"Bash(git push:*)",
"Bash(git push *)",
"Bash(gh pr merge *)",
"Bash(git commit:*)",
"Bash(rm *)",
"Bash(gh pr merge:*)",
"Bash(npm publish:*)",
"Bash(git reset --hard:*)",
"Bash(git clean *)",
"Bash(git rebase *)"
]
}
} Skills (3)
Subagents (1)
| rule-classifier model: haiku | Classify a user rule into scope and enforcement mechanism. Use when analyzing a rule from /remember that has no explicit scope flag. |
Similar rigs
katolikov/kanerva
Long-term memory for coding agents: Claude Code, Codex, OpenCode, OpenClaw, Copilot, Cursor and more. Local SQLite, no LLM calls, hard token budget. Your agent remembers decisions, commands and fixes across sessions, and gets only what the
Pragmatist 5.1k tok · · Q0
Digital-Process-Tools/claude-remember
Persistent memory for Claude Code — identity, context, and continuity across sessions
Minimalist 545 tok · · Q3
code-yeongyu/codex-rules
Codex plugin that injects project rule files into model context through lifecycle hooks.
Minimalist 428 tok · · Q0
tryatlas/atlas
Source control for agents. Use multiple coding agents, track their changes and query them in one place
Pragmatist 6.1k tok · · Q0