askill
memory

memorySafety 95Repository

Use when storing insights, recalling past experiences, saving learning, or retrieving context from vector-based memory.

7 stars
1.2k downloads
Updated 2/5/2026

Package Files

Loading files...
SKILL.md

Memory Skill Policy

Router Logic

Scenario 1: User wants to store something

  1. Analyze: Determine the type of memory (insight, rule, decision)
  2. Store: Call save_memory(content, metadata)
  3. Confirm: Show the saved memory ID

Scenario 2: User wants to remember/search

  1. Search: Call search_memory(query, limit)
  2. Format: Present results with relevance scores
  3. Respond: "I found X memories about that..."

Scenario 3: User asks "What have you learned?", "Show memories"

  1. List: Call get_memory_stats()
  2. Recall: Call search_memory() with relevant keywords
  3. Present: Show structured summary

Commands Reference

CommandDescriptionExample
save_memoryStore insight/recipe into vector memorysave_memory("Use semantic versioning", {"tag": "git"})
search_memorySemantic search in memorysearch_memory("git commit format", limit=5)
index_memoryOptimize vector index (IVF-FLAT)index_memory()
get_memory_statsGet memory countget_memory_stats()
load_skillLoad skill manifest into memoryload_skill("git")

Workflow: Store an Insight

User: Remember that for this project, all commit messages must be in English.

Claude:
  1. save_memory(
       content="All commit messages must be in English only",
       metadata={"domain": "git", "source": "user"}
     )
  2. → Saved memory [a1b2c3d4]: All commit messages must be in English only
  3. → "Got it! I'll remember that commit messages must be in English."

Workflow: Recall Past Learning

User: What do we use for git tags?

Claude:
  1. search_memory("git tags semantic versioning")
  2. → Found 2 matches:
     - [Score: 0.8921] Always use semantic versioning for git tags...
     - [Score: 0.7234] v1.2.3 format for releases
  3. → "I found memories about git tags:
       - Always use semantic versioning for git tags..."

Memory vs Knowledge Skill

AspectMemoryKnowledge
SourceLLM's own learningsProject documentation
StorageLanceDB (vector)File system (markdown)
QuerySemantic searchKeyword/pattern match
Purpose"What did I learn?""What are the rules?"
UpdateRuntime accumulationPre-indexed docs

Best Practices

  1. Store actionable insights, not obvious facts
  2. Include domain in metadata for filtering
  3. Use clear, searchable phrasing in content
  4. Recall before acting on project-specific patterns

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

92/100Analyzed 2/13/2026

A comprehensive and well-structured skill for memory management. It includes detailed routing logic, a clear command reference, illustrative workflows, and best practices. The metadata is rich, aiding discoverability and intent matching.

95
95
85
95
90

Metadata

Licenseunknown
Version-
Updated2/5/2026
Publishertao3k

Tags

github-actionsllm