~ / rigs / ggoosen / Cordon

ggoosen/Cordon

Isolate, sandbox, and diff-gate every Claude Code session in your repo — using only Claude Code's own primitives. Worktree isolation, a boundary hook, deny rules, and a human review gate (accept/discard) with an audit trail.

↗ GitHub ★ 0 Apache-2.0 updated 4mo ago project Claude Code Claude plugin
share on X
ARCHETYPE
Skill Collector
Ten-plus skills loaded on demand. A procedural-knowledge library.
CONTEXT TAX · EVERY TURN
~614 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
0/5
No committed guardrails · details

Copy this rig

# review before running: this installs third-party code
$ npx degit ggoosen/Cordon/skills ./rig-cordon/skills

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 ggoosen/Cordon/skills/accept .claude/skills/accept
$ npx degit ggoosen/Cordon/skills/discard .claude/skills/discard
$ npx degit ggoosen/Cordon/skills/review .claude/skills/review
$ npx degit ggoosen/Cordon/skills/status .claude/skills/status
$ npx degit ggoosen/Cordon/skills/update .claude/skills/update
$ npx degit ggoosen/Cordon/template/skills/cordon-accept .claude/skills/cordon-accept
$ npx degit ggoosen/Cordon/template/skills/cordon-discard .claude/skills/cordon-discard
$ npx degit ggoosen/Cordon/template/skills/cordon-review .claude/skills/cordon-review
$ npx degit ggoosen/Cordon/template/skills/cordon-status .claude/skills/cordon-status
$ npx degit ggoosen/Cordon/template/skills/cordon-update .claude/skills/cordon-update

This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 7,204 rigs:

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Bash(rm -rf *)",
      "Read(**/*.pem)",
      "Bash(rm -rf /)",
      "Bash(git push --force:*)",
      "Bash(sudo *)",
      "Read(.env)",
      "Bash(rm -rf /*)",
      "Read(./.env.*)",
      "Read(~/.aws/**)",
      "Bash(git push --force*)",
      "Bash(rm -rf:*)",
      "Read(**/*.key)",
      "Read(**/.env.*)",
      "Bash(sudo:*)",
      "Bash(git reset --hard*)",
      "Bash(git reset --hard:*)",
      "Read(.env.*)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git push *)",
      "Bash(git commit:*)",
      "Bash(rm *)",
      "Bash(rm:*)",
      "Bash(git rebase *)",
      "Bash(wget *)",
      "Bash(npm publish:*)",
      "Bash(git commit *)",
      "Bash(gh pr merge *)"
    ]
  }
}

Skills (10)

Similar rigs

copied ✓