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.
npx skills add emergent-wisdom/understanding-graph --skill serendipitygit clone --depth 1 https://github.com/emergent-wisdom/understanding-graphWrote 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.
[](https://agentmods.dev/skills/emergent-wisdom/understanding-graph/serendipity)<a href="https://agentmods.dev/skills/emergent-wisdom/understanding-graph/serendipity"><img src="https://agentmods.dev/badge/skills/emergent-wisdom/understanding-graph/serendipity.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00044 | $0.01304 |
| Opus 5 | $0.00022 | $0.00652 |
| Sonnet 5 | $0.00009 | $0.00261 |
| Haiku 4.5 | $0.00004 | $0.00130 |
Grade A, and why
serendipity scanned grade A with 0 findings 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 7d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Serendipity
Serendipity is an encounter with material outside the most likely completion path, followed by judgment. It is not a novelty quota, a claim that unrelated things must connect, or permission to abandon the user's task.
Choose the encounter
If the user has not requested a particular method and there is a genuine exploratory choice, start with:
graph_suggest_next({
task: "State the live task or uncertainty",
workflow: "general",
creativity: true
})
Replace general with the live work domain when reading, research, coding,
collaborative coding, or writing applies.
Consider higher-weighted routes seriously, then choose, combine, modify, or reject them. The model decides whether a proposed encounter can serve the live task; the menu is neither exhaustive nor mandatory. Do not call for another roll merely because one turn elapsed.
Pass creativity: false when ordinary guidance is useful but creative
provocations are not. This affects that roll only; it does not disable any
direct tool. Use graph_thermostat() when an entropy-style structural pulse
would genuinely help decide between convergence, continuation, and divergence.
Its pressure and recommended tool are advisory, not a command or quality score.
Choose the creative pressure
Use graph_bisociate to surface cross-context candidates through spreading
activation and information gain. It is often the lightest way to leave a local
groove: inspect a candidate's actual nodes, then decide whether a relation is
real.
Use graph_discover_grounded({ nodes: 3, intensity: 0.2 }) when you want the
graph to sample distant material and ask whether a real bridge exists. Inspect
the actual sources, then look for a shared mechanism, constraint, structure, or
functional analogy. A defensible
no-connection result needs no node.
After finding a genuine bridge, graph_discover_grounded_chaos can perturb
that bridge. Do not call it merely because the grounded tool returned nodes.
Use graph_discover({ nodes: 2, cold: true, blind: true }) for the more
speculative blind ANI path, or graph_chaos({ text, blind: true }) to perturb
chosen text. Blind ANI is meaningful only when a separate model context sees
the returned prompt without the original source context.
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.
- 7d ago First seen · 119 lines · 44 tokens per session scan A 1d062b0e62ec
serendipity is a skill published in the GitHub repository emergent-wisdom/understanding-graph (1 stars, last pushed 13d ago), licensed MIT. It adds 44 tokens to every session and 1,304 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
braindb
Memory recall and save. Use at every conversation start and whenever the user shares personal information, expertise, project context, preferences, or decisions worth remembering long-term.
braindb-agent
Persistent memory across sessions via the BrainDB agent. Use at conversation start and whenever you need to recall what you know about the user or save new information to long-term memory.
braindb-custom-profile
How to author a BrainDB custom profile — prompt add/replace fragments and an optional keyless ingestor — that shapes wiki naming/structure and feeds a custom ingestion source, with zero effect on defaults when inactive.
continual-learning
Nightly refinement of an existing per-repo review-style prompt using this reviewer's own finding outcomes. Read confirmed (resolved-by-commit / thumbs-up) and dismissed (thumbs-down) findings, promote the bug patterns the team actually fixes, demote the false-positive patterns, reconcile against the current prompt…
nano-banana-pro-openrouter
Deterministic OpenRouter image generation adapter for Nano Banana Pro / Gemini image models. Use as skillexec when a meta-skill needs local image files and structured IMAGEREADY records without spawning an LLM agent.
skill-creator-linter
Internal tool (not user-invocable). Called by meta-skill-creator as a DAG step (kind: agent) to lint a candidate meta-skill SKILL.md against G1 (parse + reference check + xmlescape grep + structural lint) and G2 (scheduler dry-run with stub executors). Deterministic, sub-second, no LLM. Returns JSON diagnostics.