memoryweb

memoryweb is a skill for Claude Code from corbym/memoryweb. It costs 50 tokens per session (5,558 once invoked), scanned A, original, MIT.

A set of instructions for using a memory graph to save, connect, retrieve, and audit project knowledge across coding sessions.

In plain words
What is it for?
It helps track architecture findings, decisions, backlogs, and other information an agent needs to remember.
Why use it?
It reduces repeated explanations and lost decisions by keeping useful context available between sessions.

Skill for Claude Code

Written for Claude Code: PreCompact hook event. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

Good fit It helps track architecture findings, decisions, backlogs, and other information an agent needs to remember.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/corbym/memoryweb/memoryweb
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 corbym/memoryweb --skill memoryweb
Clone the repo
git clone --depth 1 https://github.com/corbym/memoryweb

Made for: Claude Code.

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 memoryweb

README.md
[![agentmods](https://agentmods.dev/badge/skills/corbym/memoryweb/memoryweb/github.svg)](https://agentmods.dev/skills/corbym/memoryweb/memoryweb)
Your own site
<a href="https://agentmods.dev/skills/corbym/memoryweb/memoryweb"><img src="https://agentmods.dev/badge/skills/corbym/memoryweb/memoryweb/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 memoryweb

Your own site · 80×15
<a href="https://agentmods.dev/skills/corbym/memoryweb/memoryweb"><img src="https://agentmods.dev/badge/skills/corbym/memoryweb/memoryweb.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,558 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00050 $0.05558
Opus 5 $0.00025 $0.02779
Sonnet 5 $0.00010 $0.01112
Haiku 4.5 $0.00005 $0.00556

Measured 2d ago against content hash a64d3729dfea, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

memoryweb 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 2d 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.

docs/memoryweb-skill.md · 319 lines

How it starts

The opening of the file, as written. The whole thing — 319 lines — stays where its author put it; the contents beside it link to each section on GitHub.

memoryweb — Agent Instructions

Two layers, kept deliberately separate: a short imperative contract up top, reference material below it. Position determines compliance — instructions that only live in reference material get skipped, not from disagreement, but because agents never reach them.


Layer 1 — Behavioural Contract

Silent operations. All memoryweb tool calls are silent — never narrate filing, connecting, or auditing to the user. Orient, remember, connect, and audit happen without announcement. Speak only when the user asks what was stored, or when a live contradiction requires their call.


Variant A — Hook-backed hosts (Claude Code, Codex)

A Stop hook (save) and PreCompact hook (orphan nudge, dream digest) run behind you — a backstop, not a substitute for the steps below.

  1. Call orient() first, unprompted. Pick a domain from the result, then orient(domain=X).
  2. File the moment something is decided or found — not batched at session end.
  3. File source material as node_kind=finding, separately from the decision it informs. Don't fold evidence into a decision's description only.
  4. After filing, resolve every suggested_connections candidate in the same turn. Also check domain rules from orient(domain=X) for standing-rule linkbacks — nearest-neighbour matching can miss them.
  5. Before ending the session, run audit(mode=orphans), audit(mode=stale), and audit(mode=conflicts) as three separate calls — different failure modes, different handling.
  6. Orphans: connect them yourself via suggest_connections + connect. Escalate only when the correct target is genuinely ambiguous.
  7. Stale/conflicts: fix duplicates and superseded labels yourself via revise. Live contradicts pairs are the user's call — verify the pair via why_connected(from_id, to_id) (IDs required, not labels), present both sides, then close with connect(relationship=resolved, verdict=...).
  8. Say nothing about clean audits. Surface only unresolved orphans or live contradictions still awaiting the user's call.
  9. Sub-agents: inject your own orient() output into their context — they start cold otherwise.
  10. Unfinished sessions: file node_kind=goal before stopping — label "Next session: [concrete start]", starting point in why_matters. Skip if the session closed cleanly.
  11. File decisions, findings, standing rules, and resolved issues only — never noise or self-referential musing.

Read the full file on GitHub · 319 lines

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. 2d ago Changed · +10 lines a64d3729dfea
  2. 6d ago First seen · 309 lines · 50 tokens per session scan A 152dfacb4834

Subscribe to this mod's changes

memoryweb is a skill published in the GitHub repository corbym/memoryweb (12 stars, last pushed today), licensed MIT. It adds 50 tokens to every session and 5,558 once invoked, about $0.0003 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-09-04.

Related

Other skills, from other repositories

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

shellm

Reference for the shellm system — recursive LLM shell, identity management, memory, skills, trajectory, and all CLI tools. Use when working on shellm itself, debugging agent behavior, or understanding how the pieces fit together.

laude-institute/headlong · 49 tokens