symbiote-scan

symbiote-scan is a skill for Claude Code, Codex from MohmmedAshraf/symbiote. It costs 77 tokens per session (470 once invoked), scanned A, original, MIT.

A project-rescan skill that rebuilds Symbiote's knowledge graph from the current codebase. A knowledge graph is a structured map of files, symbols, and their relationships.

In plain words
What is it for?
It is for rescanning project structure, symbols, and call relationships, optionally regenerating search embeddings or forcing a clean scan.
Why use it?
It updates the agent's project context after refactoring, large changes, or stale search results.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for rescanning project structure, symbols, and call relationships, optionally regenerating search embeddings or forcing a clean scan.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mohmmedashraf/symbiote/symbiote-scan
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add MohmmedAshraf/symbiote --skill symbiote-scan
Clone the repo
git clone --depth 1 https://github.com/MohmmedAshraf/symbiote

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for symbiote-scan

README.md
[![agentmods](https://agentmods.dev/badge/skills/mohmmedashraf/symbiote/symbiote-scan/github.svg)](https://agentmods.dev/skills/mohmmedashraf/symbiote/symbiote-scan)
Your own site
<a href="https://agentmods.dev/skills/mohmmedashraf/symbiote/symbiote-scan"><img src="https://agentmods.dev/badge/skills/mohmmedashraf/symbiote/symbiote-scan/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for symbiote-scan

Your own site · 80×15
<a href="https://agentmods.dev/skills/mohmmedashraf/symbiote/symbiote-scan"><img src="https://agentmods.dev/badge/skills/mohmmedashraf/symbiote/symbiote-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 470 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00077 $0.00470
Opus 5.5 $0.00031 $0.00188
Sonnet 5.5 $0.00015 $0.00094
Haiku 4.5 $0.00008 $0.00047

Measured 1mo ago against content hash 2b3efe266595, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

symbiote-scan scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://127.0.0.1:$(cat .brain/port)/internal/health 2>/dev/null || echo "not running"
packages/cli/skills/symbiote-scan/SKILL.md · 72 lines

What it actually says

Symbiote Rescan

Trigger a full codebase rescan to update the knowledge graph with latest file changes.

When to Use

  • After significant refactoring or restructuring
  • When symbiote's context feels stale or out of date
  • After pulling large changesets from remote
  • When semantic search returns outdated results

Process

Step 1: Check Server Status

curl -s http://127.0.0.1:$(cat .brain/port)/internal/health 2>/dev/null || echo "not running"

If not running, start it after the scan completes.

Step 2: Run the Scan

For a standard rescan (structure + symbols + call graph):

npx -y symbiote-cli scan

For a full rescan with embedding regeneration (slower, enables better semantic search):

npx -y symbiote-cli scan --embeddings

To force a clean rescan ignoring cached state:

npx -y symbiote-cli scan --force

Step 3: Restart Server (if was running)

If the server was running before the scan, restart it to pick up the new graph:

npx -y symbiote-cli serve --no-open > /dev/null 2>&1 &

Wait for it:

sleep 3 && curl -s http://127.0.0.1:$(cat .brain/port)/internal/health

Step 4: Verify

Use the get_project_overview MCP tool to confirm the updated stats (file count, node count, edge count).

Output

One line:

Symbiote rescan complete — {N} files indexed, {N} nodes, {N} edges.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 72 lines · 77 tokens per session scan A 2b3efe266595

Subscribe to this mod's changes

symbiote-scan is a skill published in the GitHub repository MohmmedAshraf/symbiote (6 stars, last pushed 7mo ago), licensed MIT. It adds 77 tokens to every session and 470 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

dekko-notes

Read and write dekko's symbol-anchored notes in any repo with a .dekko/ directory. Trigger every time you pull a symbol's context (querysymbol, getcontextpack, dekko query/context), right after a non-obvious change, and right after any rename/move/signature edit (to sweep orphaned notes). Notes are durable, committed…

aahlijia/dekko · 94 tokens

claude-compaction-restore

Use when a Claude Code session is about to compact, has just compacted, reached its context limit, resumed after /compact, or must rebuild its working picture of a long-running seat from its own restore map, its JSONL transcript and the files it touched.

mvschwarz/openrig · 60 tokens

retiring-and-inheriting-a-seat

Use when you are a sitting agent near your context threshold (85%) and a PLANNED seat transition is due — retire deliberately and hand your seat to a fresh successor primed from a packet, rather than let compaction degrade you. Covers the handover packet, the append-only lineage ledger (one row per tenure)…

mvschwarz/openrig · 145 tokens

session-compaction-and-restore

Use when reasoning about what survives compaction/context-loss/restart/seat-refresh, designing a high-fidelity restore packet, or distinguishing native runtime resume vs fork vs artifact-backed mental-model rebuild. Covers the 4 failure modes that prevent honest restore (compacted seat drops hot potato; restore packet…

mvschwarz/openrig · 88 tokens

roam

Codebase comprehension via roam-code CLI. Use when exploring codebases, planning modifications, debugging failures, assessing PR risk, or checking architecture health. Triggers on: understanding project structure, pre-change safety checks, finding symbols/files, blast radius analysis, affected tests, health scoring…

Cranot/roam-code · 86 tokens

durable-session-state

Persist plans, scope decisions, evidence, and reviewer/critic verdicts to durable files during long or multi-phase tasks so work survives context compaction, session resumes, and handoffs. Use for swarm-mode tasks, before context grows large, when recording approval gates, and when resuming after compaction or a…

ZaxbyHub/opencode-swarm · 70 tokens