Install this repository as a Claude Code configuration at either user level or project level.
Required:
gitjq
Recommended:
makefor runningmake testghif you want to use the GitHub helper scriptsterraformif you want to use the Terraform helper scripts
Install into ~/.claude:
git clone https://github.com/YOUR_USERNAME/osterman.git ~/.claude
cd ~/.claude
make testInstall into .claude/ inside a repository:
git clone https://github.com/YOUR_USERNAME/osterman.git .claude
cd .claude
make testsettings.json currently points hook commands at ~/.claude/hooks/....
That works directly for a user-level install. For a project-level install you have two choices:
- Keep using user-level hooks from
~/.claude/hooks/. - Edit
settings.jsonto point at the project-local.claude/hooks/directory instead.
This repository currently includes:
- shared instruction files
- agent definitions in
agents/ - skills in
skills/*/SKILL.md - hooks in
hooks/ - helper scripts in
bin/
It does not currently include slash commands.
Run the repository validation target:
make testYou can also test the hooks directly.
Safety hook example:
printf '%s\n' '{"tool_name":"Bash","tool_input":{"command":"terraform apply"}}' | ~/.claude/hooks/pre_safety_check.shExpected result: JSON with "decision": "block".
Telemetry hook example:
printf '%s\n' '{"tool_name":"Bash","session_id":"demo","cwd":"/tmp","tool_input":{"command":"echo ok"}}' | CLAUDE_TELEMETRY=1 ~/.claude/hooks/post_telemetry.shExpected result: JSON with "decision": "approve" and a telemetry entry written under ~/.claude/telemetry.jsonl or $CLAUDE_PROJECT_DIR/.claude/telemetry.jsonl.
Typical customization points:
- edit
AGENTS.mdorCLAUDE.mdfor policy changes - add or adjust agent files in
agents/ - add new skills under
skills/<name>/SKILL.md - update
settings.jsonfor permissions or hook changes
After changes, rerun:
make test