Skill

memory

Store and recall long-term memory. Use when persisting facts learned during conversations or recalling stored knowledge about projects and preferences.

From claude-memory
Install
1
Run in your terminal
$
npx claudepluginhub codenamev/claude_memory --plugin claude-memory
Tool Access

This skill uses the workspace's default tool permissions.

Skill Content

Memory Skill

You have access to a long-term memory system. Use it to remember important facts across sessions.

When to Store Facts

After completing a task or learning something important about the project, store durable facts using memory.store_extraction. Look for:

  • Tech stack: databases, frameworks, languages, platforms
  • Conventions: coding standards, naming patterns, preferences
  • Decisions: architectural choices, design decisions
  • Preferences: user preferences that should persist

How to Store Facts

Call the memory.store_extraction MCP tool with:

{
  "entities": [
    {"type": "database", "name": "postgresql"}
  ],
  "facts": [
    {
      "subject": "repo",
      "predicate": "uses_database",
      "object": "postgresql",
      "quote": "We use PostgreSQL for persistence",
      "strength": "stated",
      "scope_hint": "project"
    }
  ]
}

Predicates

PredicateUse forExample
uses_databaseDatabase choicepostgresql, redis
uses_frameworkFrameworkrails, react, nextjs
deployment_platformWhere deployedvercel, aws, heroku
conventionCoding standard"4-space indentation"
decisionArchitectural choice"Use microservices"
auth_methodAuth approach"JWT tokens"

Scope

  • project: Only this project (default)
  • global: All projects (user preferences)

Use global when user says "always", "in all projects", or "my preference".

How to Recall Facts

Use memory.recall to search for relevant facts:

{"query": "database", "limit": 10}

Available Tools

  • memory.recall - Search facts by query
  • memory.store_extraction - Store new facts
  • memory.explain - Get fact details with provenance
  • memory.promote - Promote project fact to global
  • memory.status - Check database health
  • memory.changes - Recent updates
  • memory.conflicts - Open contradictions

Best Practices

  1. Be selective: Only store durable facts that will be useful later
  2. Include quotes: Add the source text for provenance
  3. Set scope correctly: Project-specific vs global preferences
  4. Check before storing: Use memory.recall to avoid duplicates
Similar Skills
cache-components

Expert guidance for Next.js Cache Components and Partial Prerendering (PPR). **PROACTIVE ACTIVATION**: Use this skill automatically when working in Next.js projects that have `cacheComponents: true` in their next.config.ts/next.config.js. When this config is detected, proactively apply Cache Components patterns and best practices to all React Server Component implementations. **DETECTION**: At the start of a session in a Next.js project, check for `cacheComponents: true` in next.config. If enabled, this skill's patterns should guide all component authoring, data fetching, and caching decisions. **USE CASES**: Implementing 'use cache' directive, configuring cache lifetimes with cacheLife(), tagging cached data with cacheTag(), invalidating caches with updateTag()/revalidateTag(), optimizing static vs dynamic content boundaries, debugging cache issues, and reviewing Cache Component implementations.

138.5k
Stats
Stars14
Forks1
Last CommitJan 20, 2026