Code Review Graph Navigator
handsontable/handsontable
Queries a pre-built, Tree-sitter-based code graph of the whole monorepo instead of grepping call chains, for exploring, debugging, refactoring or reviewing code.
Use the th0th Synapse cognitive modulation layer to get focused, low-noise retrieval during multi-step coding tasks.
$ npx skills add S1LV4/th0th --skill synapse-usage -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install S1LV4/th0th synapse-usage --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/S1LV4/th0th.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/synapse-usage .claude/skills/synapse-usage && 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 "synapse-usage" agent skill from https://github.com/S1LV4/th0th/tree/main/skills/synapse-usage into .claude/skills/synapse-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "synapse-usage", 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/S1LV4/th0th/tree/main/skills/synapse-usageType 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 S1LV4/th0th --skill synapse-usage -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install S1LV4/th0th synapse-usage --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/S1LV4/th0th.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/synapse-usage .agents/skills/synapse-usage && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "synapse-usage" agent skill from https://github.com/S1LV4/th0th/tree/main/skills/synapse-usage into .agents/skills/synapse-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "synapse-usage", 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 S1LV4/th0th --skill synapse-usage -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install S1LV4/th0th synapse-usage --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/S1LV4/th0th.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/synapse-usage .cursor/skills/synapse-usage && 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 "synapse-usage" agent skill from https://github.com/S1LV4/th0th/tree/main/skills/synapse-usage into .cursor/skills/synapse-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "synapse-usage", 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/S1LV4/th0th.git --path skills/synapse-usage--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 S1LV4/th0th --skill synapse-usage -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install S1LV4/th0th synapse-usage --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/S1LV4/th0th.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/synapse-usage .gemini/skills/synapse-usage && 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 "synapse-usage" agent skill from https://github.com/S1LV4/th0th/tree/main/skills/synapse-usage into .gemini/skills/synapse-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "synapse-usage", 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 S1LV4/th0th synapse-usageInstalls 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 S1LV4/th0th --skill synapse-usage -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/S1LV4/th0th.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/synapse-usage .github/skills/synapse-usage && 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 "synapse-usage" agent skill from https://github.com/S1LV4/th0th/tree/main/skills/synapse-usage into .github/skills/synapse-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "synapse-usage", 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 S1LV4/th0th --skill synapse-usage -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install S1LV4/th0th synapse-usage --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/S1LV4/th0th.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/synapse-usage .opencode/skills/synapse-usage && 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 "synapse-usage" agent skill from https://github.com/S1LV4/th0th/tree/main/skills/synapse-usage into .opencode/skills/synapse-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "synapse-usage", 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.
synapse-usageUse the th0th Synapse cognitive modulation layer to get focused, low-noise retrieval during multi-step coding tasks.
Synapse Usage is an agent skill from S1LV4/th0th. Use the th0th Synapse cognitive modulation layer to get focused, low-noise retrieval during multi-step coding tasks. Open a session, prime the buffer with known-relevant memories, pass synapseSessionId on every search, and prefetch when opening a file. Triggers on tasks involving repeated searches in the same context (debugging, code review, refactor, onboarding) where retrieval quality matters more than one-shot speed.
Its SKILL.md is about 2.9k 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 Development, covering Refactoring, Code review and Debugging. The repository describes itself as: 🏛️ Ancient knowledge keeper for modern code. Semantic search with 98% token reduction for AI assistants. Features: hybrid search, context compression, persistent memory. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 7936342. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
curljqFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use curl, which can reach the network depending on how they are called.
From 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.
Synapse Usage loads about 2.9k tokens when it runs. Until then it costs about 109 tokens; SKILL.md has 847 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 found no risky patterns in SKILL.md.
Automated 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 S1LV4/th0th at commit 7936342, republished under its MIT licence (© S1LV4). 847 words, ~2,909 tokens.
.claude/skills/synapse-usage/SKILL.md (or your agent's skills folder).Use the th0th Synapse cognitive modulation layer to get focused, low-noise retrieval during multi-step coding tasks. Synapse does not replace th0th_search or th0th_optimized_context — it modulates which results survive and in what order based on session context, task alignment, agent affinity, intent, recency, and result diversity.
Activate Synapse whenever the same task will issue more than one search in the same conversation:
Skip Synapse for one-shot lookups; the overhead does not pay back.
Synapse is exposed via the tools-API at http://localhost:3333/api/v1/synapse/... (no MCP tools yet). All interaction is curl against six endpoints:
| Endpoint | Purpose |
|---|---|
POST /api/v1/synapse/session | Create a session, returns sessionId |
GET /api/v1/synapse/session/:id | Inspect session state |
PATCH /api/v1/synapse/session/:id | Update task context (refreshes TTL) |
DELETE /api/v1/synapse/session/:id | End session |
POST /api/v1/synapse/session/:id/prime | Seed buffer with known-relevant entries |
POST /api/v1/synapse/session/:id/access | Record access for agent-affinity scoring |
POST /api/v1/synapse/session/:id/prefetch | Plan + execute prefetch on file open |
GET /api/v1/synapse/sessions | List active session count (debug) |
Search integration: pass synapseSessionId on POST /api/v1/search/project (the th0th_search MCP tool maps to this endpoint).
SID=$(curl -sS -X POST http://localhost:3333/api/v1/synapse/session \
-H 'Content-Type: application/json' \
-d '{
"agentId":"claude-code",
"taskContext":"investigating ECONNRESET errors in auth middleware under load",
"enableBuffer":true
}' | jq -r .data.sessionId)agentId — stable identifier for which agent is calling. Used by agent-affinity. Keep it the same across calls.taskContext — 1-2 sentences describing what you are doing. Feeds the task-alignment signal of the attention scorer.enableBuffer: true — activates the working-memory cache (top-20 warm hits, TTL 15min).synapseSessionId to every searchWhen using th0th_search (or POSTing directly to /api/v1/search/project):
th0th_search({
query: "where does the timeout get applied?",
projectId: "my-project",
synapseSessionId: "syn_mp16isfr_nvfo1g7c"
})That is the only integration point on the search side. Synapse does the rest:
When the agent moves from "investigate" to "fix", update the context. It changes what attention considers aligned.
curl -sS -X PATCH http://localhost:3333/api/v1/synapse/session/$SID \
-H 'Content-Type: application/json' \
-d '{"taskContext":"implementing a configurable timeout in auth middleware"}'Update when the kind of work changes, not after every query.
Right after deciding to read a specific file, fire a prefetch so the buffer is warm before the next search.
curl -sS -X POST http://localhost:3333/api/v1/synapse/session/$SID/prefetch \
-H 'Content-Type: application/json' \
-d '{
"filePath":"src/auth/middleware.ts",
"symbols":[{"name":"verifyJwt"},{"name":"tokenTimeout"}],
"entries":[
{"id":"mem-1","content":"decided to use jwt with 15min expiry","score":0.9},
{"id":"mem-2","content":"ECONNREFUSED workaround in prod deploy","score":0.85}
]
}'entries are memories you (typically from a prior th0th_recall) believe will be relevant. The endpoint can also be called with just filePath/symbols and no entries — Synapse then builds a prefetch plan (returned in the response) which you can execute with th0th_recall and POST back as entries.
curl -sS -X DELETE http://localhost:3333/api/v1/synapse/session/$SIDOptional — sessions auto-expire after 1h (TTL slides forward on every get/recordAccess). Closing explicitly frees memory immediately.
When synapseSessionId is provided and the server logs at LOG_LEVEL=debug, one structured log fires per query:
{
"before": 16, "after": 14,
"queryClass": "specific",
"intent": "decision",
"appliedFilters": ["buffer-hit","pre-gate","attention","chain","diversity","temporal","confidence-gate","spectrum","buffer-put"],
"flags": {
"lowConfidence": false,
"noStrongMatch": false,
"definitiveMatch": true,
"spread": 0.31, "mean": 0.78, "confidence": 0.24
}
}| Signal | Reading |
|---|---|
appliedFilters contains buffer-hit | Buffer had warm results — priming/prefetch is paying off |
appliedFilters contains pre-gate | Early raw-score filter cut noise before attention |
queryClass = "specific" | Symbol-like query; gate at 0.55 threshold |
queryClass = "focused" | Tech terms; gate at 0.40 |
queryClass = "broad" | Exploratory; gate at 0.25 |
intent != "general" | Chain inhibition modulated results by Memory.type |
flags.definitiveMatch = true | A dominant hit; trust the top-1 |
flags.lowConfidence = true | Results clustered; query is ambiguous, refine it |
flags.noStrongMatch = true | Nothing crossed threshold; answer probably not in corpus |
1. CREATE session taskContext = "investigating <error> in <area>"
2. th0th_search for the error message (pass synapseSessionId)
3. PREFETCH on the file that owns the failing code
4. th0th_search for context (config, related handlers, recent changes)
5. UPDATE context "applying fix for <root cause>"
6. th0th_search for affected tests
7. DELETE session1. CREATE session taskContext = "reviewing PR #N about <feature>"
2. th0th_search each touched file's history
3. PREFETCH on each touched file
4. th0th_search tests covering the change
5. DELETE1. CREATE session taskContext = "renaming X to Y across the codebase"
2. th0th_search references — wide net first
3. POST /access on each true hit (agent-affinity boost for next iteration)
4. PREFETCH per file as you decide which to edit
5. th0th_search again later for the same X — buffer surfaces prior hits
6. DELETEIf certain memories will always matter for the task (architectural decisions, recent incidents, project idioms), seed the buffer upfront:
curl -sS -X POST http://localhost:3333/api/v1/synapse/session/$SID/prime \
-H 'Content-Type: application/json' \
-d '{"entries":[
{"id":"ad-001","content":"auth uses jwt with 15min expiry by design","score":0.9},
{"id":"ad-002","content":"chose pgvector over chromadb for HNSW","score":0.9}
]}'Primed entries surface only when their content tokens overlap with the new query — they don't pollute unrelated searches.
taskContext after every query. Defeats the purpose; the signal must mean something.prime with hundreds of entries. Buffer is capped at 20 by default; flood eviction wastes the priming work.flags.lowConfidence as "search failed". It means the corpus had no clear winner — usually a hint to refine the query, not abort.synapseSessionId on a stateless one-shot call. No benefit; same overhead.agentId per call. Agent-affinity needs a stable identity.# Once per task
SID=$(curl -sS -X POST http://localhost:3333/api/v1/synapse/session \
-H 'Content-Type: application/json' \
-d '{"agentId":"claude-code","taskContext":"add retry to auth client","enableBuffer":true}' \
| jq -r .data.sessionId)
# Every search (or use th0th_search with synapseSessionId param)
curl -sS -X POST http://localhost:3333/api/v1/search/project \
-H 'Content-Type: application/json' \
-d "{\"query\":\"auth client retry\",\"projectId\":\"my-project\",\"synapseSessionId\":\"$SID\"}"
# At cleanup
curl -sS -X DELETE http://localhost:3333/api/v1/synapse/session/$SIDThat is the entire surface area. Everything else (attention, chain inhibition, diversity, gate, spectrum, buffer eviction) is automatic when Synapse is enabled in the server config.
Starting a multi-step task?
→ POST /api/v1/synapse/session (open session, get sessionId)
→ th0th_recall (collect known-relevant memories for the task)
→ POST /session/:id/prime (seed buffer with those memories)
Running a search inside the task?
→ th0th_search with synapseSessionId param
→ (server applies the full pipeline automatically)
Opening a file the agent will dig into?
→ POST /session/:id/prefetch (warms buffer with related decisions/code)
Task focus shifted (investigate → fix)?
→ PATCH /session/:id (update taskContext)
Found an important hit?
→ POST /session/:id/access (record for agent-affinity)
Task done?
→ DELETE /session/:id (free resources)Synapse is enabled by default in the server config. To toggle:
| Env var | Default | Effect |
|---|---|---|
SYNAPSE_ENABLED | true | Master kill switch; false bypasses the entire pipeline |
SYNAPSE_ATTENTION_ENABLED | false | Enables the multi-signal attention re-ranker (opt-in until validated per project) |
LOG_LEVEL | info | Set to debug to see the Synapse pipeline applied log line per query |
http://localhost:3333/swagger — filter by synapse tag.packages/core/src/services/synapse/ (manager, buffer, session, scoring, inhibition, metacognition, plasticity, prefetch).apps/tools-api/src/routes/synapse.ts.docs/rfc-venvanse-for-agents.md, docs/synapse-dev-plan.md.This skill is about using Synapse from the agent side. To diagnose retrieval quality regressions or measure pipeline behavior, see the project's benchmark scripts at scripts/synapse-benchmark-v2.sh and scripts/synapse-bench-analyze-v2.py.
© S1LV4, 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 skills/synapse-usage of S1LV4/th0th.
Open the folder on GitHubat commit 7936342
Synapse Usage 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 |
|---|---|---|---|---|---|---|
| Synapse Usage this skillS1LV4/th0th | 136 | — | ~2.9k | Automated safety check: Pass | MIT | |
| Code Review Graph Navigatorhandsontable/handsontable | 22k | — | ~939 | Automated safety check: Pass | Custom licence | |
| RoamCranot/roam-code | 517 | — | ~2.4k | Automated safety check: Pass | Apache-2.0 | |
| Copilot Code Coachtimothywarner/chatgptclass | 143 | — | ~1.9k | Automated safety check: Pass | Custom licence | |
| Panel Reviewstacklok/mecatl | 218 | — | ~5.8k | Automated safety check: Pass | Apache-2.0 | |
| Julessanjay3290/ai-skills | 430 | 1 repos | ~2.1k | Automated safety check: Pass | Apache-2.0 |
handsontable/handsontable
Queries a pre-built, Tree-sitter-based code graph of the whole monorepo instead of grepping call chains, for exploring, debugging, refactoring or reviewing code.
Cranot/roam-code
Codebase comprehension via roam-code CLI. An agent skill from Cranot/roam-code.
timothywarner/chatgptclass
Socratic coding tutor powered by GitHub Copilot. An agent skill from timothywarner/chatgptclass.
stacklok/mecatl
Review completed non-trivial code across four independent axes: Spec, Standards, Test adequacy, and installed Domain specialists.
sanjay3290/ai-skills
Delegate coding tasks to Google Jules AI agent for asynchronous execution.
Prism-Shadow/penguin-harness
Complete software-engineering tasks — investigate and review code, implement bug fixes, features and refactors with minimal scope, validate changes, and report verified outcomes.
Categories
Use the th0th Synapse cognitive modulation layer to get focused, low-noise retrieval during multi-step coding tasks. Synapse Usage is an agent skill from S1LV4/th0th. Use the th0th Synapse cognitive modulation layer to get focused, low-noise retrieval during multi-step coding tasks.
Synapse Usage fits situations like: tasks involving repeated searches in the same context (debugging; onboarding) where retrieval quality matters more than one-shot speed.
Run `npx skills add S1LV4/th0th --skill synapse-usage -a claude-code`. Or copy the skill folder (skills/synapse-usage in S1LV4/th0th) into .claude/skills/synapse-usage in your project. Claude Code loads it when a task matches its description.
Run `npx skills add S1LV4/th0th --skill synapse-usage -a codex`. Or copy the skill folder (skills/synapse-usage in S1LV4/th0th) into .agents/skills/synapse-usage 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 S1LV4/th0th --skill synapse-usage -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/synapse-usage, .gemini/skills/synapse-usage, .github/skills/synapse-usage and .opencode/skills/synapse-usage in your project.
Going by SKILL.md and its folder, Synapse Usage needs the command-line tools its instructions call (curl and jq).
SKILL.md contains no URLs. Its commands use curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Synapse Usage is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.9k tokens (SKILL.md is roughly 12k 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 Synapse Usage: Code Review Graph Navigator (handsontable/handsontable, 22k stars), Roam (Cranot/roam-code, 517 stars), Copilot Code Coach (timothywarner/chatgptclass, 143 stars) and Panel Review (stacklok/mecatl, 218 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
S1LV4 (a GitHub user) maintains it in S1LV4/th0th, which has 136 GitHub stars. The repository was last updated on June 12, 2026.
Source: S1LV4/th0th on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.