passport-bootstrap

passport-bootstrap is a skill for Claude Code from n24q02m/mnemo-mcp. It costs 83 tokens per session (1,040 once invoked), scanned A, original, Apache-2.0.

A setup skill for restoring an encrypted memory passport into mnemo-mcp, a memory service for an AI assistant, on a new or reset machine. The passport is a saved bundle of the assistant's previous memories stored in Amazon S3 or Google Drive.

In plain words
What is it for?
Use it to import a memory passport from S3 or Google Drive, choose between configured backends, or identify the setup needed when no backend is available.
Why use it?
It avoids starting with an empty memory store after reinstalling mnemo-mcp. It also checks the configured storage backend and warns before merging with existing memories.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the mnemo-mcp plugin — 6 skills, 2 hooks, 1 MCP server shipped together

Good fit Use it to import a memory passport from S3 or Google Drive, choose between configured backends, or identify the setup needed when no backend is available.

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

Made for: Claude Code.

Or install mnemo-mcp, the plugin that ships this one along with the rest of its 6 skills, 2 hooks, 1 MCP server.

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 passport-bootstrap

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/n24q02m/mnemo-mcp/passport-bootstrap"><img src="https://agentmods.dev/badge/skills/n24q02m/mnemo-mcp/passport-bootstrap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,040 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.00083 $0.01040
Opus 5 $0.00042 $0.00520
Sonnet 5 $0.00017 $0.00208
Haiku 4.5 $0.00008 $0.00104

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

Security

Grade A, and why

passport-bootstrap 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 10d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

skills/passport-bootstrap/SKILL.md · 97 lines

How it starts

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

Passport Bootstrap

Restore an encrypted memory passport from a configured backend so a fresh mnemo-mcp install picks up the user's full memory history.

When to Use

Trigger on explicit signals:

  • "set up mnemo on this machine"
  • "restore my passport" / "import my memory passport"
  • "bootstrap mnemo on this laptop / VM"
  • New-machine context: "I just installed mnemo on a new device"
  • Recovery context: "I lost my memories, can you restore from S3?"

Do NOT trigger when the user is on an already-configured machine (check config(action="status") first - if total_memories > 0, ask before importing because import LWW-merges and may NOT overwrite local rows newer than the bundle).

Workflow

Step 1: Detect configured backend

Call config(action="status") and inspect the response. The default backend is the first entry of SYNC_BACKEND env (defaults to gdrive). If both s3 and gdrive are configured, ask the user which one to import from. If neither is configured, stop and tell the user they need to run the relay form first (config(action="setup_start") in HTTP mode, or set SYNC_S3_BUCKET + GOOGLE_DRIVE_CLIENT_ID env vars in stdio mode).

Step 2: Confirm passphrase

The bundle is AES-256-GCM-encrypted with an Argon2id-derived key from the user's passphrase. The MCP server needs the RAW passphrase to decrypt - the Argon2id hash stored in config.enc is verification- only.

In stdio mode: instruct the user to set SYNC_PASSPHRASE env var before running mnemo-mcp (or to relaunch with the env exported).

In HTTP mode: prompt the user to submit the relay form's passphrase field again (the raw value is held in process memory only and is cleared on restart - it is NEVER persisted).

Step 3: Import the bundle

Call config(action="import_passport", key="<backend>") where <backend> is s3 or gdrive. The server pulls the latest bundle from the chosen backend, decrypts with the supplied passphrase, and applies each row via last-write-wins per row (local rows newer than the bundle row are preserved + an audit row is written to sync_overrides).

Read the full file on GitHub · 97 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. 10d ago First seen · 97 lines · 83 tokens per session scan A c357dcb930da

Subscribe to this mod's changes

passport-bootstrap is a skill published in the GitHub repository n24q02m/mnemo-mcp (10 stars, last pushed yesterday), licensed Apache-2.0. It adds 83 tokens to every session and 1,040 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

scrape-batch

Extract many known URLs in one polite, rate-limited pass. Use when the user hands over a list of links, a set of search hits to read in full, or asks to "scrape these pages" / "pull the content from all of them". Drives extract(action="batch"), which fans out with per-domain rate limiting and returns partial results…

n24q02m/wet-mcp · 84 tokens

compare

Structured comparison of 2+ alternatives with consistent criteria and decision matrix.

n24q02m/wet-mcp · 15 tokens

research-topic

Multi-step research orchestration. Use when user asks "research X", "summarize current state of Y", "what's the latest on Z", or compares approaches. Calls extract(action="agent") which searches the web, extracts top results, then synthesises a citation-preserving Markdown answer with one configured LLM.

n24q02m/wet-mcp · 68 tokens

fact-check

Verify a claim using adversarial search — find both supporting AND contradicting evidence.

n24q02m/wet-mcp · 18 tokens

lock-project-stack

Detect a project's manifest (pyproject.toml / package.json / go.mod / Cargo.toml), pin its library set into wet-mcp's Cabinets projectcontext, then route subsequent docs queries to the locked versions automatically.

n24q02m/wet-mcp · 48 tokens

memory-literary-analysis

Analyze a complete literary work into a structured Basic Memory knowledge graph. Covers schema design, entity seeding, chapter-by-chapter processing, cross-referencing, validation, and graph exploration.

basicmachines-co/basic-memory · 42 tokens