setup
Skill30 starsChanged 7 months agoMITView on GitHub
First-time setup wizard for Gnosis MCP. Install, init the database, ingest a docs folder, wire your editor — in that order.
- Reads credentials
- Installs packages
191 other projects use a version of this.
Adopted by
Most recently taken up by
- hydra-db/hydradb-claude-codetheir own version, first seen Nov 8, 2026
- WALKERKILLER/Look-Tongji-Notestheir own version, first seen Nov 8, 2026
- steerlabs/opensteertheir own version, first seen Nov 8, 2026
- ansvisor/ansvisortheir own version, first seen Nov 8, 2026
- dsifry/metaswarmtheir own version, first seen Nov 8, 2026
- anombyte93/prd-taskmastertheir own version, first seen Nov 8, 2026
Used with
Projects with it also use add-voice-transcription, add-discord and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
juancruzmunozalbeloSkilladd-voice-transcription
Add voice message transcription to NanoClaw using OpenAI's Whisper API. Automatically transcribes WhatsApp voice notes so the agent can read and respond to them.
Also in 5 projects that use this
MicrosoftSkilladd-discord
Add Discord bot channel integration via Chat SDK.
Also in 11 projects that use this
MicrosoftSkilladd-slack
Add Slack channel integration via Chat SDK.
Also in 11 projects that use this
juancruzmunozalbeloSkilladd-telegram-swarm
Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".
Also in 7 projects that use this
- +8 more from microsoft
Other versions191 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 191
- anthropics/knowledge-work-plugins★ 35ksame name
- garrytan/gbrain★ 32ksame name
- gavrielc/nanoclaw★ 31ksame name
- nanocoai/nanoclaw★ 31ksame name
- qwibitai/nanoclaw★ 31ksame name
- Q00/ouroboros★ 6.3ksame name
- pytorch/executorch★ 5.2ksame name
- agenticnotetaking/arscontexta★ 3.5ksame name
- aws/agent-toolkit-for-aws★ 3.4ksame name
- spotify/portal-ai-plugins★ 2.8ksame name
181 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 170 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 43
Search works with the MCP server alone.
- Distinctive: line 87
Start the server separately:
- Very specific: line 122
If any step failed, report that instead of a success table.
- Distinctive: line 173
Add Bearer auth for any non-localhost exposure:
“Common” is measured: kept by at least 6 in 10 of the 170 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Setup
Gets you from nothing to "agent searching my docs" in 60 seconds.
Usage
/gnosis:setup # Interactive — asks where your docs live
/gnosis:setup /path/to/docs # Same, but ingest that folder right away
/gnosis:setup --postgres # Print PostgreSQL setup instructions tooTarget: $ARGUMENTS
The procedure lives in one place
llms-install.md is the install procedure. Follow its agent checklist in order instead of re-deriving the steps here:
- Install the package —
pip install 'gnosis-mcp[embeddings,web]', oruv tool installwhen the machine has no suitable Python. gnosis-mcp init-db— creates the schema; idempotent.gnosis-mcp check— must printFTS5: readyand exit 0. If FTS5 is missing, stop and tell the user rather than ingesting: keyword search cannot work on that Python build.gnosis-mcp ingest <path> --dry-runto preview, thengnosis-mcp ingest <path> --embed.gnosis-mcp search "<a query you know the answer to>"— the first real verification.
Backend choice (SQLite by default; PostgreSQL for concurrent writers or > 100 k chunks), extras,
flags, write mode, and the platform notes (Windows .exe paths, WSL2, remote HTTP transport) are in
that file. If this skill and llms-install.md ever disagree, llms-install.md wins.
Claude Code extras — plugin, agents, skills
Search works with the MCP server alone; the extras are 5 subagents, 8 slash commands and a session-start hook. Two ways in:
- Plugin (Path A) —
claude plugin marketplace add nicholasglazer/gnosis-mcp, thenclaude plugin install gnosis, then restart Claude Code. - Manual copy (Path B) — clone the repo and copy the agents and skills you want into
.claude/agents/and.claude/skills/in your project. Exact commands, and how to cherry-pick a subset, are in Path B.
Say which route the user took when you report — the manual route installs a subset.
Wire your editor
Each config goes in the project root (or the editor's global config — see each editor's docs).
Claude Code — .mcp.json in the project root, or claude mcp add --scope user
{
"mcpServers": {
"gnosis": {
"command": "gnosis-mcp",
"args": ["serve"]
}
}
}For shared-state setups (agent teams, parallel tabs) — one server, many clients — use HTTP:
{
"mcpServers": {
"gnosis": {
"type": "url",
"url": "http://127.0.0.1:8000/mcp"
}
}
}Start the server separately:
gnosis-mcp serve --transport streamable-http --rest --watch ./docsOther editors — Cursor (.cursor/mcp.json), Windsurf, VS Code (.vscode/mcp.json, key
"servers"), Zed (context_servers), opencode, JetBrains, Cline — have copy-paste configs in
Path C.
Report
Print a compact summary to the user:
## Setup complete
| Setting | Value |
|-------------------|-------|
| Backend | sqlite |
| Database | ~/.local/share/gnosis-mcp/docs.db |
| Documents | 42 |
| Chunks | 170 |
| Embeddings | 170 / 170 (100 %) |
| Chunk size | 2000 chars (default) |
| Writable | false (set GNOSIS_MCP_WRITABLE=true to enable upsert/delete) |
Next:
/gnosis:search "your first query" — sanity check retrieval works
/gnosis:tune — find your chunk-size optimum (optional)
/gnosis:ingest git <repo> — index commit history too (optional)If any step failed, report that instead of a success table. Anything from the checklist above that
went wrong: /gnosis:status diagnoses connectivity and schema; failure modes are catalogued in
docs/troubleshooting.md.
Optional — extras
Git history
gnosis-mcp ingest-git . --since 6m --embedWeb crawl (vendor docs → local index)
gnosis-mcp crawl https://docs.stripe.com --sitemap --embedWatch mode (no cron needed)
gnosis-mcp serve --watch /path/to/docs --transport streamable-http --restWrites from your agent
Off by default for safety. Enable only if you want your agent to call
upsert_doc / delete_doc / update_metadata:
export GNOSIS_MCP_WRITABLE=truePostgreSQL
export GNOSIS_MCP_DATABASE_URL="postgresql://user:pass@localhost:5432/mydb"
psql "$GNOSIS_MCP_DATABASE_URL" -c "CREATE EXTENSION IF NOT EXISTS vector;" # hybrid search
gnosis-mcp init-db && gnosis-mcp ingest /path/to/docs --embedREST API on the same port
gnosis-mcp serve --transport streamable-http --restThen: curl http://127.0.0.1:8000/api/search?q=auth&limit=5.
Add Bearer auth for any non-localhost exposure:
export GNOSIS_MCP_API_KEY="$(python -c 'import secrets; print(secrets.token_urlsafe(32))')"Notes
- Re-running ingest is cheap — content hashes skip unchanged files
- Watch mode beats cron — mtime polling + debounce, no fsnotify dep
- Chunk size defaults to 2000 characters (peak of the v0.11 sweep on real
dev-docs). Tune it against your own queries with
/gnosis:tune - Rerankers are off by default: they help in some domains, hurt in
others. Run
/gnosis:tune fullto find out which applies to your corpus before enabling - PostgreSQL is a drop-in swap: set
GNOSIS_MCP_DATABASE_URLand re-runinit-db+ingest. Same tool API.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

