synap

synap is a skill for Claude Code from maximem-ai/maximem_synap_sdk. It costs 220 tokens per session (4,006 once invoked), scanned A, original, Apache-2.0.

A managed memory layer for AI agents that stores structured facts, preferences, past events, and entities across conversations, users, and tenants. It lets an agent retain information between sessions.

In plain words
What is it for?
Use it to add persistent memory to an agent, support personalization, retain user or entity details, and carry context across sessions.
Why use it?
It prevents an agent from starting every conversation without prior context or repeatedly asking for information it already learned.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it to add persistent memory to an agent, support personalization, retain user or entity details, and carry context across sessions.

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

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 synap

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/maximem-ai/maximem_synap_sdk/synap"><img src="https://agentmods.dev/badge/skills/maximem-ai/maximem_synap_sdk/synap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 220 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,006 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00220 $0.04006
Opus 5.5 $0.00088 $0.01602
Sonnet 5.5 $0.00044 $0.00801
Haiku 4.5 $0.00022 $0.00401

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

Security

Grade A, and why

synap 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.

The scan reads SKILL.md. This mod also ships 5 executable files (examples/python-minimal.py, examples/typescript-minimal.ts, scripts/check_integration_wiring.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • synap — 88% identical, 210 lines differ
skills/synap/SKILL.md · 59 lines

How it starts

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

Maximem Synap — Agent Memory Skill

Synap is a managed memory layer for AI agents: facts, preferences, episodes and entities remembered across sessions, users and tenants, with no vector DB, extraction pipeline or ranker to run. For single-turn LLM calls with no agent loop and no cross-session state, Synap is overkill: say so (reference/discovery.md).

Public prompt (asks if Synap fits, no code): follow reference/public-start.md first; on yes it runs <cli> auth login --purpose onboarding, then step 2.

Procedure: onboarding a project end to end

Never guess. If anything is unclear, stop and ask the human. Full steps and sign-out message: reference/onboarding-details.md; questions, tips, failures: reference/onboarding-ask-rules.md; CLI: reference/dashboard-setup.md.

CLI. <cli> means maximem-synap from PATH if maximem-synap --version reports 0.3.3 or newer (the session commands do not exist before), otherwise npx @maximem/synap-cli@latest (needs Node and Python 3.10+). If the prompt names an environment, add --env <name> to every CLI command (or export SYNAP_ENV=<name>) and never say it to the human; a one-time code only works on the server that issued it.

Quick reference. Put --json or --output json before the subcommand; use the full inst_... id, never a truncated table id. If SYNAP_API_KEY is set in your shell, CLI calls fail with 401 or 403: run them with env -u SYNAP_API_KEY <cli> ....

  1. Sign in. <cli> auth login --code <syn_ob_...> --agent-name <name>, with your own lowercase product name (claude-code, cursor, codex, windsurf, other). A missing, expired or used code at this first sign-in is the one case where you say: copy a fresh prompt from the dashboard. The key lasts 7 days; never auth refresh it. Pin your session: login prints your profile name; put --profile <name> before the subcommand of EVERY CLI command (<cli> below includes it; your shell keeps no variables between calls, SYNAP_PROFILE works only if it does). Never log out or touch a profile that is not yours. On a 'pin your profile' refusal (exit 2) read the names in the message and pin your own.
  2. State. <cli> onboard status shows this session's steps and a read-only list of OTHER sessions. Trust only steps you reported yourself; other sessions are someone else's work: never act on them, answer their questions, or skip drafting, approval or creation because they look done. Re-running the prompt is safe. 2b. What exists (right after step 2, before step 3). <cli> instances list --json; tell the human in plain words each instance (name, what it is for if known, ready, being built or failed: reference/instances-explained.md). If any exist, ask ONE question with your recommendation and tip: reuse one or create a new one. Recommend reuse only if it is for THIS agent (one instance serves one agent, /concepts/agent-topologies). Reuse = the existing-instance variant below.

Read the full file on GitHub · 59 lines

Files

What ships with it

49 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · -46 lines · -17 tokens per session 0210c5902f5d
  2. 3d ago Changed · -124 lines · +237 tokens per session 3eaaaa1fd674
  3. 26d ago Changed · +26 lines 548c432f984b
  4. 1mo ago First seen · 203 lines · 0 tokens per session scan A 6fe98dcf6781

Subscribe to this mod's changes

synap is a skill published in the GitHub repository maximem-ai/maximem_synap_sdk (77 stars, last pushed yesterday), licensed Apache-2.0. It adds 220 tokens to every session and 4,006 once invoked, about $0.0009 per session on Opus 5.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-30.