cls_install_hooks
Generate ready-to-paste shell scripts for git post-commit hooks and CI steps. Install them to automatically send learning signals to your AI cognitive brain on every commit or build.
Instructions
READ-ONLY — outputs text only, writes no files, makes no network calls, has no side effects. Generates ready-to-paste shell scripts: a git post-commit hook and/or a GitHub Actions step. You must manually copy and install the output. Once the generated scripts are installed, each git commit or CI run will make outbound HTTPS calls to api.cachly.dev to feed learning signals to your brain. No auth required to call this tool — only an instance_id. Run once per repository.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hooks | No | Which hooks to output (default: ["git", "ci"]) | |
| repo_path | No | Path to repo root (default: current dir) | |
| instance_id | Yes | Brain instance ID |