# Src Bin Skill

> CLI binary shims for `lsearch`, `local-search`, and legacy `local-browser`.

- Skill: `kevin-liu-01/src-bin-skill` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add kevin-liu-01/src-bin-skill`
- Raw SKILL.md: https://api.skillmd.com/api/skills/kevin-liu-01/src-bin-skill/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: kevin-liu-01 (https://skillmd.com/u/kevin-liu-01)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/kevin-liu-01/src-bin-skill

---


# local-search / src/bin

## Purpose
Expose the public binaries for the Rust crate. `lsearch` is the primary CLI;
`local-search` and `local-browser` are compatibility aliases that execute the
same entrypoint.

## Mental model & key files
- `lsearch.rs` owns the binary entrypoint and calls `local_search::run`.
- `local-search.rs` and `local-browser.rs` intentionally include `lsearch.rs`.
  Keep them boring so all command behavior stays centralized in `src/cli.rs`
  and `src/commands/mod.rs`.

## Patterns to follow / invariants
- Do not add command logic in this directory.
- Keep `lsearch` as the recommended command in docs and examples.
- Preserve `local-browser` until there is an explicit breaking-release decision.

## Common tasks → first action
- Adding a CLI feature: edit `src/cli.rs` and `src/commands/mod.rs`, not these
  shims.
- Renaming public commands: update `Cargo.toml` `[[bin]]` entries and README
  install/usage examples together.

## Gotchas
- `include!("lsearch.rs")` means warnings/errors in the shared entrypoint may be
  reported for multiple binaries.

