conversation-search-setuplisted
Install: claude install-skill amitkot/claude-code-tools
# Conversation Search — setup
Install or upgrade the `cc-conversation-search` CLI (PyPI package owned by `akatz-ai`, MIT) and initialise the local index database. The actual search workflow lives in the sibling `conversation-search` skill — this skill only handles install/init so the hot path stays fast.
## When to run this
- User explicitly asks to install / set up conversation-search.
- The `conversation-search` run skill bailed out with "CLI not on PATH".
- After a system upgrade where `~/.local/bin` may have been wiped.
Re-running is safe. Every step is idempotent.
## Steps
Run them in order. Stop at the first failure and surface a one-line diagnostic.
### 1. Ensure `uv` is available
```bash
if ! command -v uv >/dev/null 2>&1; then
curl -LsSf https://astral.sh/uv/install.sh | sh
# uv installs into ~/.local/bin; add it to PATH for this session
export PATH="$HOME/.local/bin:$PATH"
fi
uv --version
```
If `curl` is unavailable (rare; locked-down corp boxes), fall back to:
```bash
pip install --user uv
```
### 2. Install or upgrade `cc-conversation-search`
```bash
if command -v cc-conversation-search >/dev/null 2>&1; then
uv tool upgrade cc-conversation-search
else
uv tool install cc-conversation-search
fi
cc-conversation-search --version
```
The `--version` line is the success check. If it doesn't print, abort.
### 3. Initialise the index database (only if missing)
The DB lives at `~/.conversation-search/index.db`. Don't clobber an existing one:
```b