Search

From tonydzi/second-brain-starter-kit · View interactive version

Search is an AI agent skill from the GitHub repository tonydzi/second-brain-starter-kit. Full-text keyword search across every conversation at once (Telegram, Facebook, ChatGPT, Claude, notes, transcripts) over a local BM25/FTS5 catalog: instant, zero tokens, with snippets and chat-title hits. The exact-words lane, complementary to semantic search. Triggers: "/search <words>", "where di

How to use this skill

Skill file

OBJECTIVE: Find specific words/phrases inside Anton's entire conversation corpus (~99k notes in 01-Conversations/**) instantly and token-free, returning ranked snippets + which chats match by title. The lexical (BM25) lane of the unified search layer; the semantic (sqlite-vec + RRF) lane is added per the decision memo.

CONTEXT:

STEPS:

  1. Take Anton's query words. If he wants the visual interface, point him to http://127.0.0.1:8771 (start search_server.py if down).
  2. Run: python $IMPORTS_ROOT/search/search.py --k 15 --chats <query> (add --chats when he's hunting for WHICH chat, not just content).
  3. Read the ranked hits (lower bm25 score = more relevant) + snippets. Summarize the top matches for Anton with their file links and the chat/source they came from; offer to open or dig deeper.
  4. If results look stale or a chat was recently imported, note that the catalog may need a rebuild (build_catalog_fts.py) — the weekly task handles this, or run it on demand.

CONSTRAINTS:

OUTPUT: A short ranked list of the best matches (title · source · date · snippet · file link) + any chat-title hits, then offer next step. End replies to Anton with a 🧒 In plain words recap.

RELATION (do not duplicate):

<!--kit-footer-->


Like this skill? It is part of second-brain-starter-kit: the second brain we built for ourselves and run every day at Palo Alto AI Research Lab. Install the whole set with npx skills add tonydzi/second-brain-starter-kit. Everything is open source and free, so take what you need.

Flagships worth a look on their own: secondop-panel (a second opinion from a panel of external models), claude-memory-tidy (stop your agent's memory from rotting), telegram-mcp-kit (your own Telegram over MCP in about 15 minutes).

Author: Anton Dziatkovskii, Palo Alto AI Research Lab. Telegram @tonydzi - WhatsApp +1 341 222 9178 - X @Tony_Stef_

Engineers: want to test-drive this setup? Message me. I hand out free starter seeds to engineers who test and report back, and custom skill requests are welcome.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.