friedbotstudio/baseline

A discipline layer for Claude Code. Hooks at every tool boundary, a workflow that runs from intake to commit, and a small constitution the agent cannot bypass.

11Stars on the repository
67Mods indexed here, across every type
5d agoLast push, which is what freshness is scored on
Apache-2.0Licence, which decides whether bodies are shown

PreToolUse

01

friedbotstudio/baseline

Hook Claude Code

Runs before the agent uses a tool for AskUserQuestion, Bash, Write, Edit, MultiEdit, NotebookEdit and Write tool calls, executing notify.mjs, destructive_cmd_guard.mjs, state_write_guard.mjs, git_commit_guard.mjs, gitignore_leak_guard.mjs, process_lifecycle_guard.mjs, setup_guard.mjs, env_guard.mjs…

11 5d ago A tokens not measured copy · 45% Apache-2.0

UserPromptSubmit

02

friedbotstudio/baseline

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing consent_gate_grant.mjs via node. From friedbotstudio/baseline.

11 5d ago A tokens not measured original Apache-2.0

PostToolUse

03

friedbotstudio/baseline

Hook Claude Code

Runs after a tool call finishes for Write, Edit, MultiEdit and Bash tool calls, executing lint_runner.mjs, test_runner.mjs and phase_timer.mjs via node (4 commands). From friedbotstudio/baseline.

11 5d ago A tokens not measured copy · 47% Apache-2.0

SessionStart

04

friedbotstudio/baseline

Hook Claude Code

Runs when a session starts, executing memory_session_start.mjs via node. From friedbotstudio/baseline.

11 5d ago A tokens not measured original Apache-2.0

Stop

05

friedbotstudio/baseline

Hook Claude Code

Runs when the agent finishes a response, executing memory_stop.mjs, harness_continuation.mjs and notify.mjs via node (3 commands). From friedbotstudio/baseline.

11 5d ago A tokens not measured copy · 44% Apache-2.0

Notification

06

friedbotstudio/baseline

Hook Claude Code

Runs when the agent sends a notification for permission_prompt and idle_prompt tool calls, executing notify.mjs via node (2 commands). From friedbotstudio/baseline.

11 5d ago A tokens not measured original Apache-2.0

PreCompact

07

friedbotstudio/baseline

Hook Claude Code

Runs before the context is compacted for manual and auto tool calls, executing memory_pre_compact.mjs via node. From friedbotstudio/baseline.

11 5d ago A tokens not measured original Apache-2.0