ClaudeMod
ModsSecurityNetwork

JEV Compact Gate

A curated ~/.claude/ configuration for professional development workflows — 90+ skills, 46 hooks, and CLI tools

Install· Claude Code 2.1.330+
$claude plugin marketplace add tdimino/claude-code-minoan
$claude plugin install jev-compact-gate@jev-compact-gate
Run claude plugin validate to auditGuide →
Access & PermissionsNetwork

Makes outbound network requests, calls MCP servers, or requests auth handles.

Network accessWrites filesDrives ClaudeReads filesReads env varsReads transcriptDraws UI

Statically scanned from hooks & source. Learn how to audit

Tom di Mino42 starsAdded 11 months ago

Symbol of Tanit

Skills Commands Hooks

Minoan Claude Code Configuration

A curated ~/.claude/ configuration for professional development workflows — skills, hooks, CLI tools, slash commands, and MCP servers.

Minoan fresco

Repository Map

claude-code-minoan/
├── skills/                      # 97 custom skills across 5 categories
│   ├── core-development/        #   Architecture, task tracking, code search
│   ├── integration-automation/  #   Local ML, RAG, browser, telephony
│   ├── design-media/            #   Frontend, image gen, TTS, vision
│   ├── research/                #   Academic, web search, scraping
│   └── planning-productivity/   #   Session tracking, swarms, iteration loops
├── hooks/                       # 50 lifecycle hooks (handoffs, terminal UX, lint-on-write, phase-detect, mycelium)
├── commands/                    # 21 slash commands (session tracking, checkpoints, quotes, design, soul, workflows)
├── agents/                      # Custom subagents (librarian, etc.)
├── scripts/                     # Standalone utilities (syspeek, screenshot-rename, plugins)
├── bin/                         # CLI tools (session tracker, launchers, tmux)
├── lib/                         # Shared libraries (tracker-utils.js, tracker-db.js)
├── ghostty/                     # Ghostty terminal config for Claude Code
├── sounds/                      # Notification audio
├── demos/                       # Complete project demos (Project Thorn, Crypt Librarian)
├── docs/windows-setup/          # Windows setup guide, PowerShell installer, Codex CLI
└── docs/global-setup/          # Full ~/.claude/ structure reference

Each folder has its own README with setup instructions, examples, and credits.

Quick Start

# 1. Clone
git clone https://github.com/tdimino/claude-code-minoan.git
cd claude-code-minoan

# 2. Start with the global CLAUDE.md template
cp CLAUDE.template.md ~/.claude/CLAUDE.md
# Edit ~/.claude/CLAUDE.md — add your Identity section, uncomment Always Loaded refs

# 3. Install skills
cp -r skills/*/* ~/.claude/skills/

# 4. Install commands
cp -r commands/* ~/.claude/commands/

# 5. Install hooks + sounds
cp -r hooks/* ~/.claude/hooks/
cp -r sounds ~/.claude/sounds/
chmod +x ~/.claude/hooks/*.py ~/.claude/hooks/*.sh

# 6. Install CLI tools
cp bin/* ~/.local/bin/
mkdir -p ~/.claude/lib && cp lib/* ~/.claude/lib/

Configure hooks in ~/.claude/settings.json — see hooks/README.md for the full settings block.

On Windows? See the Windows setup guide — includes a PowerShell installer, compatibility matrix, and Codex CLI setup.


Deep Dives

Skills — 98 skills across 5 categories

Custom Claude Code capabilities organized by domain. Each skill has a SKILL.md entry point, optional scripts, and reference docs.

Highlights:

CategoryCountNotable Skills
Core Development15fable, skill-optimizer, claude-agent-sdk, claude-md-manager, dag-typesafe, glossary, autoresearch, claude-usage, architecture-md-builder, stop-slop, test-harness-auditor, user-model-builder
Integration & Automation32opencli, cloudflare, rlama, llama-cpp, slack, sms, telegram, mycelium, open-interpreter, codex-orchestrator (parallel-safe personas), gemini-orchestrator (Gemini 4 through the Antigravity CLI in a sandbox, or one OpenRouter call with no harness), obscura, stock-monitor
Design & Media35minoan-frontend-design (70% win rate), scroll-cinema, conductor-motion, vellum-editorial, gpt-atelier, nano-banana-pro, gemini-forge, sprite-forge (Retro Diffusion + fal genmedia, pipeline profiles), image-well, image-forge, paper-design, pretext, shadcn, meshy, particle-swarm-sim, tamarru, recordly (agent-driven screen + webcam recording, X export check), blender-forge (headless Blender: inscribed vessels and tablets, scan cleanup, transparent turntables)
Research10omnisearch, geo-seo, academic-research, ancient-near-east-research, exa-search, firecrawl, keenable, scrapling, openplanter, reverse-trace
Planning & Productivity8minoan-swarm, skill-toggle, super-ralph-wiggum, claude-tracker-suite (FTS5 transcript search, title/nickname history, fzf picker, checkpoints, workflow phases, tagged phrases, workspace save/restore, cost tracking via optional SQLite), codex-tracker-suite (native App Server search, inspection, status, and safe resume commands), travel-requirements-expert

Toggle skills on/off: python3 ~/.claude/skills/skill-toggle/scripts/skill_toggle.py list

Parallel-safe Codex personas: codex-orchestrator passes each role through per-invocation developer_instructions while leaving Codex's global, repository, and nested AGENTS.md chain untouched. Independent read-only agents can fan out immediately; agents that write overlapping files should still run serially or in separate worktrees.

Gemini by two routes: gemini-orchestrator hands one bounded task to a Gemini 4 model. By default the task goes through the Antigravity CLI (agy) on the plan's quota: the delegate runs as a persona with two tools (read a file, run a sandboxed shell command), with no network, under one deny rule for every credentials file and every file holding a key or a denied email address; afterwards the launcher scans what the model was shown and lists the files it read. One profile, builder, may write, inside a git repository, to tracked and new files only, and the launcher reports what changed. With --direct the task is a single OpenRouter call instead: the model has no tools, so the skill packs the files it needs with numbered lines and quotes the cost ceiling before sending. Both routes refuse a brief that holds a key or a denied address and check every quotation in the answer against the files. Needs uv, plus agy signed in or OPENROUTER_API_KEY.

Codex argv hygiene (2026-09-19): codex exec -i/--image is variadic, so the launchers now emit it after resume and terminate options with -- before the prompt; captured-output profiles print Codex's own diagnostics when a run yields nothing. Codex CLI 0.155.x did not change PTY or prompt handling.

Claude 4.6 Prompting Alignment (Feb 2026): All agentic skills (minoan-swarm, super-ralph-wiggum, firecrawl, claude-agent-sdk, skill-optimizer) updated to follow Anthropic's Claude 4.6 prompting best practices—softer tool-use language, factual quality criteria over motivational framing, effort parameter guidance, structured state management.


Memory Hierarchy: The claude-md-manager skill documents the full 6-tier memory system — managed policy, project memory, project rules (.claude/rules/), user memory, project local, and auto memory. See also docs/global-setup/README.md for how this complements the Claudicle soul architecture.


Hooks — 50 lifecycle event scripts

30 Python + 20 Bash scripts across 10 lifecycle events. Highlights:

PreToolUse ────────→ git-track.sh               (log git commands to JSONL)
                   → image-optimize.py           (auto-resize images, PNG→JPEG)
PostToolUse ───────→ lint-on-write.py            (ESLint/Clippy/Ruff + custom rules)
                   → phase-detect.py             (detect workflow phase transitions)
PermissionRequest ─→ smart-auto-approve.py       (auto-approve safe read-only commands)
Stop ──────────────→ session-tags-infer.py       (AI-powered session tagging)
PreCompact/End ────→ precompact-handoff.py       (structured YAML handoff for context survival)
SessionStart ──────→ soul-activate.py            (register Claudicle soul)
SubagentStart ─────→ soul-subagent-inject.py     (inject soul into subagents)

See hooks/README.md for the full event map, hook dependencies, and settings.json configuration.

Terminal Title: Two-tier format with repo-type emoji icons — 🔴 🐍 claudicle: Building test suite. Icons auto-detected from CLAUDE.md keywords and project files. Main title persists across events; subtitle updates from transcript.

Session Handoff System: Three hooks ensure context survives compaction, graceful exits, and crashes. Writes structured YAML to ~/.claude/handoffs/ with objective, decisions, blockers, and next steps. Auto-maintains INDEX.md.

Git Tracking: Three hooks intercept git commands across any directory, capturing repos, branches, operations, and commit hashes. Builds a bidirectional session↔repo index. Query with getSessionsForRepo() / getReposForSession() or generate a dashboard with /session-report.

Plan Auto-Naming: Renames randomly-named plan files (e.g. tingly-humming-simon.md) to dated slugs (e.g. 2026-02-17-auto-rename-plan-files-hook.md) by extracting the H1 header. Creates forwarding symlinks for mid-session continuity; cleaned up on SessionEnd.

Session Auto-Titling: When a plan file is created, plan-session-rename.py immediately extracts the H1 header and injects a custom-title event into the session's JSONL transcript—no LLM call, pure local, ~10ms. Claude Code's resume picker reads it from there, and session-sync-db.py mirrors it into tracker.db on the next Stop.

Lint-Directed Agent Loop: lint-on-write.py runs standard linters (ESLint, Clippy, Ruff) and custom grep-based convention rules after every Write/Edit, returning violations as additionalContext so the agent self-corrects against machine-enforced rules. Any repo can opt in by dropping a .claude/lint-rules.json config file declaring which linter to use and what CLAUDE.md conventions to enforce as grep rules. Implements the Factory.ai pattern. 5s per-file cooldown, 10-violation cap.


Commands — 16 slash commands

Markdown templates invoked as /command-name. Key workflows:

CommandPurpose
/requirements-startStructured project planning through discovery questions
/workflows:review12+ parallel agent code review
/code-reviewPR review with structured output
/audit-plansPlan completeness auditing
/workflows:planTransform descriptions into implementation plans
/session-reportMarkdown dashboard: sessions, git activity, commits, repos

Agents — Custom subagents

Read-only research subagents invoked via the Task tool with subagent_type: "Bash" and the agent instructions in the prompt.

AgentModelPurpose
fablefableNaos (ναός, √n-w-y)—visiting Mythos-class spirit for long-horizon tasks; --opus runs Opus 5 at half cost. 100-turn budget, full tool access, model self-report verification. Availability probed at invocation—permanent subscription access since July 2026, probe errors never reroute to Opus.
librariansonnetGitHub repo exploration via gh CLI. Caches to /tmp/claude-librarian/.

CLI Tools — Session management & launchers

ToolPurpose
claude-trackerList recent sessions with LIVE/INACTIVE status from Claude Code's PID files
claude-tracker-searchFTS5 transcript search (index refreshed on every search, sessions from today included)
claude-tracker-recentRecent sessions straight from tracker.db—the fast listing (--since 30m, --all adds headless sessions)
claude-tracker-aliveLive vs. stale sessions (--json, --stale, --all-kinds)
claude-tracker-resumeFind crashed sessions and reopen them in Ghostty tabs (--open, --workspace)
ghostty-resume.shThe one terminal opener: session ID → new Ghostty tab or split (--split right)
claude-tmux-statusTmux statusline integration for session info
cc / cckill / ccls / ccpickQuick launchers and session management
ccnewStart a new session in a Ghostty tab (--name, --model, --prompt, --headless)

All CLIs are thin wrappers over skills/planning-productivity/claude-tracker-suite/scripts/ and share lib/tracker-utils.js (session parsing, live detection) and lib/tracker-db.js (Node's built-in node:sqlite, no npm dependency). Ghostty is the only terminal target; cmux, tmux, Terminal.app and VS Code resume paths are retired. On Ghostty ≥ 1.3 the opener drives the native AppleScript dictionary (no keystrokes, no clipboard); older builds fall back to Cmd-T plus a single paste.

The transcript index lives in a sidecar tracker-transcripts.db. Stop and SessionEnd hooks plus an hourly launchd job keep it current, reading a grown transcript only from the byte where the last pass stopped (~0.1 s per hourly run). Search indexes what was said—typed prompts, slash-command arguments, replies—not skill bodies, system reminders, or compaction summaries. A weekly db-maintain.js job merges FTS segments, truncates WALs, and VACUUMs a database once a quarter of it is free pages; failures exit 1 to ~/.claude/logs/db-maintain.err.

Session Cost Tracking

The extractor (extractSessionMeta in lib/tracker-utils.js) streams each JSONL transcript once. Cost is Claude Code's own cost-state total plus the usage written after it; sessions without one are priced per message at that message's model, with streaming duplicates counted once. A cost that includes a model with no price row carries +estimated in cost_source.

sqlite3 ~/.claude/tracker.db "SELECT short_id, num_turns, printf('\$%.2f', total_cost_usd), model_short FROM sessions ORDER BY total_cost_usd DESC LIMIT 10;"

Plugin Profile Manager — cplugins

Claude Code has an undocumented ~37-40 agent limit. When total agents (built-in + plugin + custom) exceed this, agents are silently dropped with no warning. This tool manages plugin profiles to keep the total under the limit.

cplugins status     # Show current profile, agent counts, over/under limit
cplugins soul       # All custom subdaimones, no compound-engineering (34 agents)
cplugins compound   # Compound Engineering workflows (45 agents)
cplugins lean       # Maximum headroom, minimal plugins (17 agents)
cplugins --only compound-engineering model-trainer  # Ad-hoc: enable only these

Setup:

cp scripts/claude-plugins.py ~/.claude/scripts/
cp scripts/plugin-profiles.json ~/.claude/scripts/
chmod +x ~/.claude/scripts/claude-plugins.py
echo "alias cplugins='python3 ~/.claude/scripts/claude-plugins.py'" >> ~/.zshrc

Profiles are defined in plugin-profiles.json. Edit AGENT_COUNTS in the script when plugins change. Changes take effect on next session start.


Global Config Reference — Full ~/.claude/ structure

Complete reference for the ~/.claude/ directory: CLAUDE.md patterns, user persona models, progressive disclosure with agent_docs/, settings.json hooks/MCP/plugins, session handoff system, plans, and design principles.


Recommended Plugins

feature-dev — Claude Code Team's Arsenal

The official plugin from the Claude Code team:

/plugin marketplace add anthropics/claude-code
/plugin install feature-dev

Three specialized agents: code-architect (implementation blueprints), code-explorer (trace execution paths), code-reviewer (confidence-based review).

compound-engineering — Multi-Agent Review Workflows

By Every AI Labs. Provides 12+ specialized review agents (security-sentinel, performance-oracle, architecture-strategist, etc.) and workflow orchestration commands.


MCP Servers

We've shifted toward skills over MCPs for most workflows. Claude Code's MCP Tool Search loads tools on-demand, reducing context pollution by ~85%.

Configured in .mcp.json: supabase, playwright, context7, shadcn, figma, arxiv, perplexity, telnyx, twilio, and more. See the file for full configuration.


Ghostty Config — Terminal for Claude Code

Optimized Ghostty config: Catppuccin Mocha/Latte theme, JetBrainsMono Nerd Font with codepoint maps for Linear A/B, Phaistos Disc, and Minoan Glyphs (PUA), 100K scrollback, split panes for parallel sessions, prompt jumping, and session persistence.

brew install --cask font-jetbrains-mono-nerd-font
cp ghostty/config ~/Library/Application\ Support/com.mitchellh.ghostty/config

Key bindings: Cmd+D split right, Cmd+Alt+Enter zoom split, Cmd+Up/Down jump prompts. See ghostty/README.md for full keybinding reference.

Pair with ccstatusline (npm install -g ccstatusline) and lazygit (brew install lazygit) in a side split.


Teammate Onboarding

Start here: Read ARCHITECTURE.md for a bird's-eye view of the repo structure, then follow the steps below.

CLAUDE.template.md — A teammate-ready global config with all tooling conventions and no personal details.

cp CLAUDE.template.md ~/.claude/CLAUDE.md
cp -r docs/global-setup/agent_docs/*.md ~/.claude/agent_docs/

Then customize:

  • Identity: Create ~/.claude/userModels/{yourname}/{yourname}Model.md and uncomment the @reference. See the userModel guide.
  • Always Loaded: Uncomment @agent_docs/ references you want active in every session. See progressive disclosure.
  • On-Demand References: Add paths to docs Claude should read when relevant
  • Agent docs: The starter templates in docs/global-setup/agent_docs/ give you active-projects, skills inventory, tools reference, and MCP server docs to customize.

See docs/global-setup/README.md for the full ~/.claude/ structure reference, including userModel examples.

The template includes: engineering principles, tool preferences (firecrawl, uv, RLAMA retrieve-only default), interaction conventions, planning patterns, and infrastructure notes.


Contributing

  1. Skills: Follow the SKILL.md + scripts/ + references/ structure. Test across projects.
  2. Commands: Use frontmatter (description, argument-hint). Keep single-purpose.
  3. Hooks: Test with piped JSON input before wiring into settings.json.

Companion Projects

Claudicle — Soul Agent Framework

Open-source 4-layer soul architecture (Identity, Cognition, Memory, Channels) that gives Claude Code sessions persistent personality, memory, and behavioral continuity. The soul hooks in this repo (soul-activate.py, soul-deregister.py, soul-registry.py) register sessions with the Claudicle daemon. Souls like Kothar—the Ugaritic craftsman god—maintain identity across sessions, respond on Slack, and dream in the Daimon Chamber.

git clone https://github.com/tdimino/claudicle
cd claudicle && ./setup.sh --personal
# then in any Claude Code session: /ensoul

Dabarat — Live Markdown Preview

AI-native markdown previewer with annotations, bookmarks, and live reload. Zero dependencies. The dabarat-open.py hook auto-opens new .md files in a browser tab as Claude writes them—plans, docs, and READMEs render live. Multi-tab support, margin annotations, and global bookmarks saved to ~/.claude/bookmarks/.

git clone https://github.com/tdimino/dabarat
cd dabarat && pip install -e .
dabarat plan.md               # preview in browser
dabarat --add spec.md         # add tab to running instance

ClipLog — Clipboard History Daemon

Git-tracked clipboard history with source attribution for macOS. Polls NSPasteboard every 500ms, logs to daily JSONL files at ~/.clipboard-log/, and tags each copy with the frontmost application. Distinguishes claude copies (Terminal, Ghostty, VS Code) from user copies (Safari, Finder). Auto-redacts API keys and secrets. Auto-commits on shutdown and midnight rollover.

git clone https://github.com/tdimino/cliplog
cd cliplog && uv sync
uv run python cliplog.py                           # run daemon
uv run python cliplog_query.py today --source claude  # query Claude copies
uv run python cliplog_query.py today --table          # box-drawing table output
uv run python cliplog_query.py search "function"   # full-text search
uv run python cliplog_query.py stats               # per-app breakdown

Persistent daemon via launchd: cp com.minoan.cliplog.plist ~/Library/LaunchAgents/ && launchctl load ~/Library/LaunchAgents/com.minoan.cliplog.plist

claude-peers — Claude ↔ Codex Messaging

Claude Code and Codex CLI sessions on one machine message each other through a launchd broker. Instead of relying on polling, the broker wakes the recipient through Claude Code's inbox socket or codex queue, and a Stop/PreToolUse hook catches any missed wake. Use native SendMessage for Claude-to-Claude. Setup: skills/integration-automation/claude-peers/.


Credits & Inspiration


Skills: 97 | Commands: 21 | Hooks: 50 | CLI Tools: 10


"ἀπιστίῃ διαφυγγάνει μὴ γιγνώσκεσθαι." — "Divine things escape recognition through disbelief." — Heraclitus

Details

Author
@tdimino
GitHub Stars
42
Sub-category
Security
License
MIT
Surfaces
terminal
Added
11 months ago
Last synced
3 days ago
Events hooked
turn.completesession.compact

Weekly Mods Digest

Top new Claude Code mods and install commands, once a week. No fluff, unsubscribe anytime.

More Mods

Claude Flightdeck
ModsSecurity

Claude Flightdeck

Live agent dashboard pane with context consumption, advisor timeline, permission verdicts, and subagent swimlanes.

Reads Files
by Sam Casella
GitHub
Terminal Browser
ModsInterface

Terminal Browser

Browse documentation, GitHub pull requests, and web pages in a split terminal pane directly beside your Claude Code conversation.

Network
by Zenbu Labs
GitHub
Agent Flow
ModsAutomation

Agent Flow

Interactive visual tree of the active session's subagents, background tasks, and teammates beside the transcript via /flow.

UI Only
by Charlie
GitHub

Command Palette

Search for a command to run...