# skleaks > Offline scanner for secrets in agent skill folders. Reports rule, file and line, never the value. > v0.2.0, experimental and unaudited. Findings are pattern matches; no findings does not prove there > are no secrets. ## Agent onboarding Do all steps in order. `skleaks skill install` alone is NOT enough: it only writes the `find-skills-leaks` skill, which needs the `skleaks` command on PATH. Ask your user before installing anything. 1. Needs Linux x86_64, curl and sha256sum. 2. Download the release binary, check it, and put it on PATH (required). It stops if a step fails: ( set -e cd "$(mktemp -d)" url=https://github.com/javimosch/skleaks/releases/latest/download curl -fsSLO "$url/skleaks-linux-x86_64" curl -fsSLO "$url/skleaks-linux-x86_64.sha256" sha256sum -c skleaks-linux-x86_64.sha256 mkdir -p ~/.local/bin install -m 755 skleaks-linux-x86_64 ~/.local/bin/skleaks ) 3. Check it. This must print a path: command -v skleaks If it prints nothing, ~/.local/bin is not on PATH: add `export PATH="$HOME/.local/bin:$PATH"` to the shell startup file, then open a new shell. 4. Install the skill. `on_path` in the output must be true: skleaks skill install 5. Learn and run: skleaks guide skleaks scan Other systems, or if you prefer building: needs git, a C compiler and machin (https://github.com/javimosch/machin); only Linux x86_64 is tested. git clone https://github.com/javimosch/skleaks && cd skleaks && ./build.sh mkdir -p ~/.local/bin && install -m 755 skleaks ~/.local/bin/ Exit codes of scan: 0 nothing at or above --fail-on; 92 findings; 93 incomplete (never treat as clean); 110 self-test failed. To upgrade: repeat steps 2 and 3, then `skleaks skill install`. It exits 91 if the installed SKILL.md differs from the new one; review it, then use `--force`. ## Links - Source: https://github.com/javimosch/skleaks - Site: https://javimosch.github.io/skleaks/