How lloredia/everything-claude-code works
Everything Claude Code is an AI-agent harness performance system: its user-facing workflow loads project and prior-session context at session start, applies hook-based checks during work, and persists session summaries and reusable learning afterward. The README also describes agents, skills, commands, rules, security scanning, and cross-harness support, but those directories are absent from the supplied tree, so they are represented only as documented capabilities—not as implementation flows. The graph focuses on the visible runtime scripts; edges are limited to relationships supported by excerpts or the SOURCE INDEX.
Main entry points: session-start.js Session start · session-end.js Session end · utils.js Hook utilities · resolve-formatter.js Formatter resolution
Components 21
Session lifecycle
- Session start
scripts/hooks/session-start.js - Session end
scripts/hooks/session-end.js - Session records
scripts/lib/session-manager.js - Session aliases
scripts/lib/session-aliases.js - Session files
Runtime hooks
- Hook runtime controls
scripts/lib/hook-flags.js - Hook flag runner
scripts/hooks/run-with-flags.js - Format and quality checks
scripts/hooks/quality-gate.js - Dev server guard
scripts/hooks/pre-bash-dev-server-block.js
Runtime support
- Formatter resolution
scripts/lib/resolve-formatter.js - Shell command parser
scripts/lib/shell-split.js - Package manager selection
scripts/lib/package-manager.js - Project detection
scripts/lib/project-detect.js - Hook utilities
scripts/lib/utils.js - Harness management
scripts/claw.js
Learning and security
- Session learning evaluator
scripts/hooks/evaluate-session.js - Instinct learning tools
skills/continuous-learning-v2/scripts/instinct-cli.py - Security monitor
scripts/hooks/insaits-security-monitor.py - Security wrapper
scripts/hooks/insaits-security-wrapper.js - VideoDB listener
skills/videodb/scripts/ws_listener.py
Other components
- Agent user
Connections 20
- Agent user → Session start: starts session
scripts/hooks/session-start.js - Session start → Session files: loads recent context
scripts/hooks/session-start.js - Session start → Session aliases: lists aliases
scripts/hooks/session-start.js - Session start → Package manager selection: detects preference
scripts/hooks/session-start.js - Session start → Project detection: detects project
scripts/hooks/session-start.js - Session start → Hook utilities: uses file helpers
scripts/hooks/session-start.js - Agent user → Session end: ends session
scripts/hooks/session-end.js - Session end → Session files: writes summary
scripts/hooks/session-end.js - Session end → Hook utilities: uses file helpers
scripts/hooks/session-end.js - Session records → Session files: reads and writes
scripts/lib/session-manager.js - Hook flag runner → Hook runtime controls: checks runtime flags
scripts/hooks/run-with-flags.js - Format and quality checks → Formatter resolution: resolves formatter
scripts/hooks/quality-gate.js - Formatter resolution → Package manager selection: selects runner
scripts/lib/resolve-formatter.js - Dev server guard → Shell command parser: splits commands
scripts/hooks/pre-bash-dev-server-block.js - Session learning evaluator → Hook utilities: uses file helpers
scripts/hooks/evaluate-session.js - Agent user → Session learning evaluator: triggers evaluation
- Agent user → Instinct learning tools: manages instincts
- Agent user → Security wrapper: runs security scan
- Security wrapper → Security monitor: invokes monitor
- Agent user → Harness management: manages harness