~ / rigs / yair-zehavi / marketing-ops-harness

yair-zehavi/marketing-ops-harness

A Claude Code workspace for running marketing operations across many clients: per-client config, task notebooks, quality gates and guardrail hooks that hold even when the model makes a bad call. Starter kit with a sample client.

↗ GitHub ★ 0 MIT updated today personal setup Claude Code
share on X
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
CONTEXT TAX · EVERY TURN
~1.4k tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit yair-zehavi/marketing-ops-harness/.claude ./rig-marketing-ops-harness  # inspect, then merge into .claude/

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.

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "bash .claude/hooks/block-destructive.sh"
          },
          {
            "type": "command",
            "command": "bash .claude/hooks/block-irreversible.sh"
          },
          {
            "type": "command",
            "command": "bash .claude/hooks/verify-pkg-install.sh"
          }
        ]
      }
    ]
  }
}

Hooks (5)

eventmatcherruns
PreToolUseBashbash .claude/hooks/block-destructive.sh
PreToolUseBashbash .claude/hooks/block-irreversible.sh
PreToolUseBashbash .claude/hooks/verify-pkg-install.sh
PostToolUseWritebash .claude/hooks/post-write-lint.sh
SessionStart*bash .claude/hooks/load-client-context.sh

Slash commands (3)

/seo/audit/seo/brief/seo/write

Similar rigs

copied ✓