mocartlex-wq/cognitive-core
Self-hosted Docker stack for cross-platform AI agent rooms (Claude Code + ChatGPT + any LLM). MIT.
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
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)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Bash | python |
| PreToolUse | Bash | python |
| PreToolUse | Bash | python |
| PreToolUse | Edit|Write|NotebookEdit | python |
| PostToolUse | Edit|Write | python |
Similar rigs
mcp-box/mcpscore-plugin
Audit and fix the MCP server you're building from Claude Code, Codex or Cursor. Ask your agent to audit it and get a cited score from mcpscore, with fixes applied in your own code.
Minimalist 906 tok · · Q0
quisbaum-prog/occam
Occam's razor for Claude Code and Codex: a 30-line rule set. Benchmarks vs base: 51-55% lower estimated task cost on Opus/Sonnet 5.5 max with more tests passed. 8.3% fewer tokens in a Sol 6.1 max pilot. Raw data, Docker setup and comparison
Minimalist 67 tok · · Q0
fALECX/agentic-harness-tips
Claude Code setup tips: one tip, one picture, one snippet — plus a plugin that audits your repo against the list.
Minimalist 393 tok · · Q0
dheerajjha/show-your-work
Your coding agent says "all tests pass". Show your work. A Claude Code plugin that holds the agent's final message up against what actually ran, plus a skill for Codex, Cursor, Copilot and others.
Minimalist 421 tok · · Q3