atlkr/memory-server-worker/memory
Claude Code and agent skill by atlkr/memory-server-worker
- community
Checking that the SKILL.md file is still in the repository.
Personal persistent memory tools and client-specific recall/capture guidance. Use MCP tools directly or the optional repository `mem` CLI.
Install
npx vskill@latest install atlkr/memory-server-worker/memorySKILL.md
The same SKILL.md was published earlier as atlkr/memory-server-worker/memory.
Memory Skill
You have access to a personal persistent memory system. Memories are stored in Cloudflare Agent Memory — a managed service with automatic extraction, classification, deduplication, supersession, and hybrid search (keyword + semantic + topic key). Authentication uses a server-issued API key, a personal access token (PAT), or Allen Labs SSO (JWT/JWKS). API keys are suitable for CI/services; PATs are suitable for browser-free personal CLI access.
How it works by client
- Claude Code, before each prompt: The
UserPromptSubmithook searches
the memory server for memories relevant to your current prompt and injects them as additional context.
- Claude Code, after each turn: The
Stophook ingests the conversation
messages into Agent Memory, which extracts facts, events, instructions, and tasks automatically. This happens silently.
- Codex: The registered Memory app provides all nine MCP tools. The recall
and capture skills direct the agent to call them; Claude hooks are not used.
- Devin: Use the bundled
memory-mcp-stdiobridge with Proton Pass CLI.
This avoids browser approval and keeps only a pass:// URI in configuration:
``json { "command": "C:\\Users\\YOUR_NAME\\AppData\\Local\\Programs\\ProtonPass\\pass-cli.exe", "args": [ "run", "--", "C:\\Program Files\\nodejs\\node.exe", "C:\\Users\\YOUR_NAME\\AppData\\Roaming\\npm\\node_modules\\allenlim-memory-server\\scripts\\mcp-stdio.mjs" ], "env": { "MEMORY_PAT": "pass://Development/Memory Server PAT - personal CLI - 2026-08-13/password", "MEMORY_SERVER_URL": "https://memory.allenlim.net", "PROTON_PASS_AGENT_REASON": "Use personal Memory MCP without browser approval" } } ``
pass-cli run resolves the PAT only in the bridge's child environment. Resolve and store absolute paths for Proton Pass CLI, Node, and the bridge (Get-Command pass-cli.exe, Get-Command node.exe, and npm root -g on Windows). Relative executable names can be shadowed by an untrusted working directory after credential injection. Use equivalent absolute paths on macOS and Linux. devin mcp login is not required. Claude hooks remain unsupported by Devin.
Manual memory operations
Use the MCP tools directly when they are available. The optional mem CLI can also manage memories. A plugin install does not add it to PATH; from this repository run npm exec --workspace allenlim-memory-server -- mem ..., or first run npm link --workspace allenlim-memory-server to create mem:
Configuration
The memory server URL defaults to https://memory.allenlim.net. MEMORY_SERVER_URL and MEMORY_AUTH_API_URL require HTTPS except for explicit loopback development URLs.
mem login uses OAuth state and PKCE S256 with a temporary loopback callback; tokens are never copied through the terminal. The 15-minute access token is automatically refreshed, and every successful refresh renews the session for another 30 days. Reconnect only after 30 days without a refresh. Rotated credentials are stored atomically in ~/.memory/credentials.json with owner-only permissions. For CI/headless use, prefer MEMORY_API_KEY; MEMORY_TOKEN is a non-renewable override.
The CLI reuses a recent public OAuth client registration across ephemeral loopback ports to avoid unbounded registrations. This public identifier (not a credential) is stored in ~/.memory/oauth-client.json. If an administrator has removed that registration, retry once with mem login --new-client.
For API-key authentication, set MEMORY_API_KEY; for PAT authentication, set MEMORY_PAT. Environment credentials take precedence over the owner-only ~/.memory/service-credential.json, which takes precedence over MEMORY_TOKEN and stored SSO credentials. Setting both environment variables fails closed. API keys send only x-memory-api-key; PATs send only Authorization: Bearer memory_pat_.... Neither sends x-memory-scope. The server determines the memory profile and permissions associated with the key, so MEMORY_SCOPE applies only to JWT authentication.
Set MEMORY_REQUEST_TIMEOUT_MS to change the per-request timeout. It defaults to 10 seconds and is clamped to 100-60000 milliseconds.
Tips
- Memories are scoped to your user ID (JWT
sub) by default. - With API-key auth, memories are scoped to the profile assigned to the key.
- Claude transcript capture is incremental. Privacy-preserving checkpoints
under ~/.memory/transcript-checkpoints/ contain hashes and byte offsets, never transcript paths, conversation content, session IDs, or credentials.
- Agent Memory automatically classifies memories as fact, event,
instruction, or task.
- If a newer fact/instruction replaces an older one on the same topic, the
old version is preserved but the latest surfaces in recall.
memory_ingestis idempotent — re-ingesting the same conversation creates
no duplicates.
- Each ingest accepts at most 100 messages, 32 KiB of UTF-8 content per
message, and 1 MiB of message content in total.
- Use
memory_summaryto get a structured Markdown overview of everything
stored in memory.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/allenlim-memory-server/skills/memory/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/atlkr/memory-server-worker/memory)