FAISS Similarity Search
Orchestra-Research/AI-Research-SKILLs
Sets up FAISS for fast nearest-neighbor search over large collections of dense vectors, choosing between Flat, IVF, HNSW and product quantization indexes.
First-install playbook for a fresh Cornelius - builds the local search engine (Python venv + FAISS + the embedding model), starts the search daemon, rebuilds the index so its stored paths match this…
$ npx skills add Abilityai/cornelius --skill first-run -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Abilityai/cornelius first-run --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Abilityai/cornelius.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/first-run .claude/skills/first-run && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "first-run" agent skill from https://github.com/Abilityai/cornelius/tree/main/.claude/skills/first-run into .claude/skills/first-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "first-run", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Abilityai/cornelius/tree/main/.claude/skills/first-runType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Abilityai/cornelius --skill first-run -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Abilityai/cornelius first-run --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Abilityai/cornelius.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/first-run .agents/skills/first-run && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "first-run" agent skill from https://github.com/Abilityai/cornelius/tree/main/.claude/skills/first-run into .agents/skills/first-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "first-run", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Abilityai/cornelius --skill first-run -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Abilityai/cornelius first-run --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Abilityai/cornelius.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/first-run .cursor/skills/first-run && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "first-run" agent skill from https://github.com/Abilityai/cornelius/tree/main/.claude/skills/first-run into .cursor/skills/first-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "first-run", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Abilityai/cornelius.git --path .claude/skills/first-run--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Abilityai/cornelius --skill first-run -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Abilityai/cornelius first-run --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Abilityai/cornelius.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/first-run .gemini/skills/first-run && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "first-run" agent skill from https://github.com/Abilityai/cornelius/tree/main/.claude/skills/first-run into .gemini/skills/first-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "first-run", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Abilityai/cornelius first-runInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Abilityai/cornelius --skill first-run -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Abilityai/cornelius.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/first-run .github/skills/first-run && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "first-run" agent skill from https://github.com/Abilityai/cornelius/tree/main/.claude/skills/first-run into .github/skills/first-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "first-run", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Abilityai/cornelius --skill first-run -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Abilityai/cornelius first-run --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Abilityai/cornelius.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/first-run .opencode/skills/first-run && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "first-run" agent skill from https://github.com/Abilityai/cornelius/tree/main/.claude/skills/first-run into .opencode/skills/first-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "first-run", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
first-runFirst-install playbook for a fresh Cornelius - builds the local search engine (Python venv + FAISS + the embedding model), starts the search daemon, rebuilds the index so its stored paths match this…
First Run is an agent skill from Abilityai/cornelius. First-install playbook for a fresh Cornelius - builds the local search engine (Python venv + FAISS + the embedding model), starts the search daemon, rebuilds the index so its stored paths match this machine, runs one smoke search and reports what works. Idempotent - run it again any time to verify. On Trinity, the same bootstrap starts on its own at first boot; this playbook finishes it and proves it.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Databases, covering Vector databases, Embeddings and Local SEO. It works with Python. The repository describes itself as: AI-powered second brain template for Claude Code + Obsidian. The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit b9bea90. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
BashReadFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pythonpython3pipFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
download.pytorch.orgFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
First Run loads about 2k tokens when it runs. Until then it costs about 104 tokens; SKILL.md has 746 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Bash, ReadAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Abilityai/cornelius at commit b9bea90, republished under its MIT licence (© Abilityai). 746 words, ~2,017 tokens.
.claude/skills/first-run/SKILL.md (or your agent's skills folder).ℹ️ Print one line first:
first-run v1.2 - recent: foreground install, never detached (orphan sweeper). Then proceed.
A fresh copy of Cornelius has the whole seeded knowledge base and a prebuilt search index, but not the Python environment that reads it, and the index still carries the file paths of the machine that built it. Until both are fixed, /recall, /advise, /decide, /find-connections, /extract-insights and every other search-backed playbook return nothing or fail. This playbook takes the vault from "cloned" to "answers questions" in one command, and reports honestly what it found at every step.
Safe to run repeatedly: every step checks before it acts.
| Source | Location | Read | Write |
|---|---|---|---|
| Search engine | resources/local-brain-search/ (venv, requirements.txt, run_daemon.sh, run_index.sh, run_search.sh) | ✓ | ✓ (venv, daemon, index files) |
| Index manifest | resources/local-brain-search/data/manifest.json | ✓ | via reindex |
| Bootstrap log and marker (Trinity) | ~/.trinity-bootstrap.log, ~/.trinity-bootstrap.done, ~/.trinity-bootstrap.lock | ✓ | ✓ |
| The vault | $VAULT_BASE_PATH (default ./Brain) | ✓ |
Work from the agent root (the folder that holds Brain/ and resources/). Keep every Bash call short (under 60 s): long installs run detached and are polled, so the platform's stall watchdog never fires.
ls -la ~/.trinity-bootstrap.done ~/.trinity-bootstrap.lock 2>/dev/null; tail -5 ~/.trinity-bootstrap.log 2>/dev/null.done present → the boot-time bootstrap finished; skip to Step 5 (verify)..lock present and the log still growing → it is running; poll tail -3 ~/.trinity-bootstrap.log every 30 s until .done appears or the log stops for 2 minutes. A log that stops after "venv built" or "reindex start" with no process behind it means the boot-time bootstrap was swept (see Step 2) - continue with Step 2; every step checks before it acts, so nothing is redone.cd resources/local-brain-search && ./venv/bin/python -c "import faiss, sentence_transformers, networkx; print('ok')" 2>&1 | tail -1If that prints ok, skip to Step 3. Otherwise build it in the foreground of one Bash call, with output streaming (pip prints as it goes, so the platform's stall watchdog does not fire; on a 2-vCPU box with the CPU-only torch wheel this takes 1-2 minutes, ~1.5 GB):
cd resources/local-brain-search && python3 -m venv venv && ./venv/bin/pip install --no-cache-dir --extra-index-url https://download.pytorch.org/whl/cpu -r requirements.txt 2>&1 | grep -v -E "Downloading|Using cached|^\s+━" ; ./venv/bin/python -c "import faiss, sentence_transformers; print('ok')"Tell the user it is installing before you run it. On an error, paste the last 20 lines and stop - do not retry blindly. Do not run the install detached (nohup … &) on Trinity: the agent-server's orphan sweeper kills background processes it does not own ~90 s after container start, which is exactly how the boot-time bootstrap gets cut off mid-way - this playbook exists to finish the job inside an execution the platform owns.
The shipped index remembers the paths of the machine that built it. One rebuild reuses the shipped embeddings and rewrites the paths; it takes seconds to a couple of minutes and downloads the embedding model (~90 MB) on first use.
cd resources/local-brain-search && ./run_index.sh 2>&1 | tail -8cd resources/local-brain-search && timeout 120 ./run_daemon.sh start"Daemon already running" is success. "started but not yet responding" → wait 20 s and run ./run_daemon.sh status. If the daemon will not come up, searches still work through the CLI fallback, only slower - do not block on it.
cd resources/local-brain-search && BRAIN_READ_SCOPE=core,books,document-insights ./run_search.sh "decision under uncertainty" --limit 3 --json 2>/dev/null | python3 -c "import sys,json; d=json.load(sys.stdin); r=d.get('results',d); print(len(r),'results'); [print('-', x.get('title') or x.get('note') or x.get('path')) for x in r[:3]]"(The scope is widened on purpose: the engine's default read scope is core, your own notes, which is nearly empty on a fresh copy; the seed lives in the reading pile. /recall and /advise mount the wider scope themselves.)
Three titles → the engine, the index and the seed are all there. Zero results → the index was not rebuilt (go back to Step 4) or the daemon is serving the old one (reload it). An import error → Step 2 did not finish.
Also confirm the orb data exists: ls -la resources/agent-visualization/data.json (on Trinity, .trinity/setup.sh copies it from the seed at boot; locally the Brain Orb does not apply).
One short block, no prose padding:
First run - <date>
Python env : ok (faiss, sentence-transformers, torch) | built now in <m> min | FAILED: <reason>
Search daemon : running (pid <n>) | not responding
Index : rebuilt now | already current - <notes> notes, <edges> edges (manifest.json)
Smoke search : 3 results - <title 1> · <title 2> · <title 3>
Brain Orb data : present | n/a
Try next : /recall <topic> · /advise <a problem you are weighing> · /decide <a choice with options>If --verify-only was passed, run Steps 1, 2 (check only), 3 (status only), 5 and 6 and change nothing.
free -m), say so before installing: the install may be killed and the install should be retried after stopping other containers./first-run completes in 4-8 minutes, /recall sunk cost then returns three cited notes.© Abilityai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/first-run of Abilityai/cornelius.
Open the folder on GitHubat commit b9bea90
First Run next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| First Run this skillAbilityai/cornelius | 109 | — | ~2k | Automated safety check: Notes | MIT | |
| FAISS Similarity SearchOrchestra-Research/AI-Research-SKILLs | 13k | 6 repos | ~1.3k | Automated safety check: Pass | MIT | |
| DBoracle/skills | 876 | — | ~1.4k | Automated safety check: Pass | UPL-1.0 | |
| Chroma Vector DatabaseOrchestra-Research/AI-Research-SKILLs | 13k | 7 repos | ~2.3k | Automated safety check: Pass | MIT | |
| Retail Product Search Agentgoogle/adk-recipes | 10k | — | ~3k | Automated safety check: Pass | Apache-2.0 | |
| Codebase Explorationgiancarloerra/SocratiCode | 3.3k | 1 repos | ~1.5k | Automated safety check: Pass | AGPL-3.0 |
Orchestra-Research/AI-Research-SKILLs
Sets up FAISS for fast nearest-neighbor search over large collections of dense vectors, choosing between Flat, IVF, HNSW and product quantization indexes.
oracle/skills
Oracle Database guidance for SQL, PL/SQL, SQLcl, ORDS, Oracle Vector SDK, administration, app development, performance, security, migrations, and agent-safe database workflows.
Orchestra-Research/AI-Research-SKILLs
Shows how to store documents and embeddings in Chroma, query them by similarity with metadata filters, and persist them to disk for RAG and semantic search projects.
google/adk-recipes
Builds a retail product search agent on Google Cloud, from catalog ingestion into BigQuery and Vector Search to ADK scaffolding, evaluation and Cloud Run deployment.
giancarloerra/SocratiCode
Explore and understand codebases using SocratiCode semantic search, dependency graphs, and context artifacts.
Orchestra-Research/AI-Research-SKILLs
Shows how to use Pinecone, a managed vector database, for production RAG, semantic search and recommendations: indexes, upserts, queries, filters and namespaces.
Abilityai/cornelius
Generate images using Google's Nano Banana (Gemini 2.5 Flash Image).
Abilityai/cornelius
Systematic benchmarking framework for Local Brain Search memory system with LLM-as-judge scoring
Abilityai/cornelius
Protocol for creating dated changelog files after significant agent sessions.
Abilityai/cornelius
Create long-form articles from knowledge base insights. An agent skill from Abilityai/cornelius.
Abilityai/cornelius
Structure a decision, not just advise on it. An agent skill from Abilityai/cornelius.
Abilityai/cornelius
Framework for distinguishing research findings from hypotheses and speculative synthesis.
Works with
First-install playbook for a fresh Cornelius - builds the local search engine (Python venv + FAISS + the embedding model), starts the search daemon, rebuilds the index so its stored paths match this…. First Run is an agent skill from Abilityai/cornelius. First-install playbook for a fresh Cornelius - builds the local search engine (Python venv + FAISS + the embedding model), starts the search daemon, rebuilds the index so its stored paths match this machine, runs one smoke search and reports what works.
First Run fits situations like: tasks that involve Vector databases; tasks that involve Embeddings; tasks that involve Local SEO.
Run `npx skills add Abilityai/cornelius --skill first-run -a claude-code`. Or copy the skill folder (.claude/skills/first-run in Abilityai/cornelius) into .claude/skills/first-run in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Abilityai/cornelius --skill first-run -a codex`. Or copy the skill folder (.claude/skills/first-run in Abilityai/cornelius) into .agents/skills/first-run in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Abilityai/cornelius --skill first-run -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/first-run, .gemini/skills/first-run, .github/skills/first-run and .opencode/skills/first-run in your project.
Going by SKILL.md and its folder, First Run needs the command-line tools its instructions call (python, python3 and pip). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash, Read.
SKILL.md names 1 domain. In commands or code: download.pytorch.org; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
First Run is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with First Run: FAISS Similarity Search (Orchestra-Research/AI-Research-SKILLs, 13k stars), DB (oracle/skills, 876 stars), Chroma Vector Database (Orchestra-Research/AI-Research-SKILLs, 13k stars) and Retail Product Search Agent (google/adk-recipes, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Abilityai (a GitHub organization) maintains it in Abilityai/cornelius, which has 109 GitHub stars. The repository holds 54 skills in this directory. The repository was last updated on October 8, 2026.
Source: Abilityai/cornelius on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.