~ / rigs / mocartlex-wq / cognitive-core

mocartlex-wq/cognitive-core

Self-hosted Docker stack for cross-platform AI agent rooms (Claude Code + ChatGPT + any LLM). MIT.

↗ GitHub ★ 1 MIT updated 2d ago project Claude Code
share on X
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
CONTEXT TAX · EVERY TURN
~3.5k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Pre-tool screening hook · No YOLO mode · details
Quality 15/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit mocartlex-wq/cognitive-core/.claude ./rig-cognitive-core  # 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.

$ npx degit mocartlex-wq/cognitive-core/.claude/skills/audit .claude/skills/audit
$ npx degit mocartlex-wq/cognitive-core/.claude/skills/autopilot .claude/skills/autopilot

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": "python"
          },
          {
            "type": "command",
            "command": "python"
          },
          {
            "type": "command",
            "command": "python"
          }
        ]
      },
      {
        "matcher": "Edit|Write|NotebookEdit",
        "hooks": [
          {
            "type": "command",
            "command": "python"
          }
        ]
      }
    ]
  }
}

Skills (2)

Hooks (5)

eventmatcherruns
PreToolUseBashpython
PreToolUseBashpython
PreToolUseBashpython
PreToolUseEdit|Write|NotebookEditpython
PostToolUseEdit|Writepython

Similar rigs

copied ✓