Installs into .claude/skills of the current project.
Are you the author of Scripts?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/kevin-liu-01-scripts)
---
name: local-search-scripts-skill
description: Maintenance scripts for local-search. Read before editing scripts here.
---
# local-search / scripts
## Purpose
Small agent-callable wrappers around the Rust CLI for cleanup and maintenance.
## Mental model & key files
- `local-search-cleanup.sh` delegates to `lsearch cleanup`.
- `capture-agent-guide.mjs` captures the public-safe visual guide with an isolated
agent-browser session. It never attaches to a user's signed-in Chrome. Build
site/ first for the local Manrope font; `--serve` opens a loopback preview.
- Scripts should stay thin; command behavior belongs in Rust.
## Patterns to follow / invariants
- Dry-run by default for cleanup.
- Do not delete browser profile data or cookies from scripts.
- Prefer exact managed local-search targets over broad browser/process cleanup.
## Common tasks → first action
- Need to stop the managed browser: run `scripts/local-search-cleanup.sh --kill`.
- Need to inspect cleanup state: run `scripts/local-search-cleanup.sh --pretty`.
## Gotchas
- The managed Chrome profile is persistent by design. Cleanup removes lock and
DevTools marker files, not profile data.