Repository navigation
Inside The command hook
Ilia edited this page Nov 9, 2026
·
1 revision
The hook guards against accidents, not against a session set on getting
round it. It reads the command line it is shown. Subshells, brace groups,
bash -c '…', eval, a merge through gh api (REST or GraphQL) and a push
whose destination is a variable, a substitution or refs/heads/main are all
read and refused; a code review found each of them going through, and
tests/hooks.py now holds them. What it cannot see is a command written to
a file and run from there (python x.py, bash x.sh), or a git alias. No
hook can.
Generated from docs/sclaude.md; edit it there, then rebuild with wiki/build.py.
SClaude is open source under MIT · Repository · Landing page · Contact
Why
How it works
- The cycle
- Big features in parts
- Limits in code
- Fewer tokens
- Feedback loops
- Metrics and the replay
- For a team
- Working from the phone
- Stack and costs
- Privacy
Guide
- Getting started
- Setting up
- Using sclaude
- The config, key by key
- When something goes wrong
- Glossary
- Gates and rules
- Team setup
- Privacy in full
- The tools
- Decks and the map
- Contributing
Inside
Links