cls_install_hooks
Generates git hooks and CI steps that send learning signals to your Cachly brain after each commit or CI run.
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 |
|---|---|---|---|
| instance_id | Yes | Brain instance ID | |
| repo_path | No | Path to repo root (default: current dir) | |
| hooks | No | Which hooks to output (default: ["git", "ci"]) |