Agent skill

Memory

by harperreed in harperreed/dotfiles

Semantic memory and context - store and retrieve information with embeddings for similarity search.

No licenceAuto-check passedAI & LLM Engineering

Install Memory

skills CLI
$ npx skills add harperreed/dotfiles --skill memory -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install harperreed/dotfiles memory --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/harperreed/dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills-archive/memory .claude/skills/memory && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
memory
GitHub stars
334
Token cost
~484 tokens
SKILL.md length
131 words
Files
1
Skills in repo
32
Repo updated
First seen
Licence
None found

At a glance

Semantic memory and context - store and retrieve information with embeddings for similarity search.

  • Works in 4 steps: Store preferences - When user expresses… → Store decisions - Important decisions… → Store context - Project-specific context… → …
  • Long-term memory
  • SKILL.md covers When to use memory, Available MCP tools, Common patterns and Best practices, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Memory is an agent skill from harperreed/dotfiles. Semantic memory and context - store and retrieve information with embeddings for similarity search. Use for long-term memory, context recall, and knowledge persistence.

Its SKILL.md is about 480 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering Embeddings, Vector databases and Agent memory. It works with Model Context Protocol. The repository describes itself as: Dotfiles. Managed by YADM.

When your agent uses it

  • Long-term memory
  • Knowledge persistence

Example prompts

  • “/memory”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Store preferences - When user expresses a preference, store it
  2. Store decisions - Important decisions and their rationale
  3. Store context - Project-specific context that spans sessions
  4. Search before assuming - Check memory before making assumptions

What it can do on your machine

Read from SKILL.md and the folder at commit b78c10e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Memory loads about 484 tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 131 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~44
When it runs · the whole SKILL.md, loaded when a task matches
~484

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 131 words (~484 tokens).

“Vector-based memory storage with embeddings for semantic similarity search.”

— opening of SKILL.md by harperreed
name
memory

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills-archive/memory of harperreed/dotfiles.

Open the folder on GitHubat commit b78c10e

Compare with similar skills

Memory next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Memory compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Memory this skillharperreed/dotfiles334—~484Automated safety check: PassNone
Codebase Managementgiancarloerra/SocratiCode3.3k1 repos~1.8kAutomated safety check: PassAGPL-3.0
ChromadbEliasOulkadi/shokunin114—~2.2kAutomated safety check: PassMIT
MemoryEliasOulkadi/shokunin114—~2.3kAutomated safety check: NotesMIT
Pgvector Semantic Searchtimescale/pg-aiguide1.9k1 repos~3.8kAutomated safety check: PassApache-2.0
LanceDB Memory Configuration GuideCortexReach/memory-lancedb-pro-skill229—~14kAutomated safety check: PassNone

Similar skills

  • Codebase Management

    giancarloerra/SocratiCode

    Set up, index, and manage SocratiCode codebase indexing. An agent skill from giancarloerra/SocratiCode.

    3.3k GitHub starsUsed in 1 repo~1.8k tokens
    AI & LLM EngineeringAuto-check passed
  • Chromadb

    EliasOulkadi/shokunin

    Manage the ChromaDB vector database that stores the ecosystem's persistent memory.

    114 GitHub stars~2.2k tokensUpdated 3 days ago
    DatabasesAuto-check passed
  • Memory

    EliasOulkadi/shokunin

    Persistent memory across AI sessions using ChromaDB vector database.

    114 GitHub stars~2.3k tokensUpdated 3 days ago
    Agent WorkflowsAuto-check: notes
  • Pgvector Semantic Search

    timescale/pg-aiguide

    A skill your agent uses for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search.

    1.9k GitHub starsUsed in 1 repo~3.8k tokens
    AI & LLM EngineeringAuto-check passed
  • LanceDB Memory Configuration Guide

    CortexReach/memory-lancedb-pro-skill

    Walks through installing and tuning memory-lancedb-pro, picking an embedding, reranker, and LLM combination from four preset configuration plans.

    229 GitHub stars~14k tokensUpdated 6 mo ago
    AI & LLM EngineeringAuto-check passed
  • Codebase Exploration

    giancarloerra/SocratiCode

    Explore and understand codebases using SocratiCode semantic search, dependency graphs, and context artifacts.

    3.3k GitHub starsUsed in 1 repo~1.5k tokens
    DatabasesAuto-check passed

More from harperreed/dotfiles

All 32 skills in this repo
  • Swiftui Liquid Glass

    harperreed/dotfiles

    Implement, review, or improve SwiftUI features using the iOS 26+ Liquid Glass API.

    334 GitHub starsUsed in 8 repos~941 tokens
    Auto-check passed
  • Swiftui Performance Audit

    harperreed/dotfiles

    Audit and improve SwiftUI runtime performance from code review and architecture.

    334 GitHub starsUsed in 8 repos~1.4k tokens
    Auto-check passed
  • Skill Creator

    harperreed/dotfiles

    Create or update a Codex skill with appropriately scoped instructions and any needed supporting resources.

    334 GitHub starsUsed in 2 repos~3.8k tokens
    Auto-check passed
  • Swiftui View Refactor

    harperreed/dotfiles

    Refactor and review SwiftUI view files for consistent structure, dependency injection, and Observation usage.

    334 GitHub starsUsed in 5 repos~1.3k tokens
    Auto-check passed
  • App Store Changelog

    harperreed/dotfiles

    Create user-facing App Store release notes by collecting and summarizing all user-impacting changes since the last git tag (or a specified ref).

    334 GitHub starsUsed in 4 repos~465 tokens
    Auto-check passed
  • Nothing Design

    harperreed/dotfiles

    This skill should be used when the user explicitly says "Nothing style", "Nothing design", "/nothing-design", or directly asks to use/apply the Nothing design system.

    334 GitHub starsUsed in 3 repos~2.3k tokens
    Auto-check passed

Questions about Memory

What does Memory do?

Semantic memory and context - store and retrieve information with embeddings for similarity search. Memory is an agent skill from harperreed/dotfiles. Semantic memory and context - store and retrieve information with embeddings for similarity search.

When should I use Memory?

Memory fits situations like: long-term memory; knowledge persistence.

How do I install Memory in Claude Code?

Run `npx skills add harperreed/dotfiles --skill memory -a claude-code`. Or copy the skill folder (.claude/skills-archive/memory in harperreed/dotfiles) into .claude/skills/memory in your project. Claude Code loads it when a task matches its description.

How do I install Memory in Codex?

Run `npx skills add harperreed/dotfiles --skill memory -a codex`. Or copy the skill folder (.claude/skills-archive/memory in harperreed/dotfiles) into .agents/skills/memory in your project. Codex loads it when a task matches its description.

Can I use Memory in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add harperreed/dotfiles --skill memory -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/memory, .gemini/skills/memory, .github/skills/memory and .opencode/skills/memory in your project.

What does Memory need to run?

SKILL.md names no scripts, command-line tools or credentials: Memory is instructions for the agent only.

Does Memory access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Memory safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Memory use?

No licence was found for Memory or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Memory use?

About 484 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Memory?

Skills that share tags, products or a category with Memory: Codebase Management (giancarloerra/SocratiCode, 3.3k stars), Chromadb (EliasOulkadi/shokunin, 114 stars), Memory (EliasOulkadi/shokunin, 114 stars) and Pgvector Semantic Search (timescale/pg-aiguide, 1.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Memory?

harperreed (a GitHub user) maintains it in harperreed/dotfiles, which has 334 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on October 3, 2026.

Source: harperreed/dotfiles on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.