Agent skill

Memory Patterns

by ruvnet in ruvnet/agentic-flow

Persistent memory patterns for cross-session learning and context retention

No licenceAuto-check passedAgent Workflows

Install Memory Patterns

skills CLI
$ npx skills add ruvnet/agentic-flow --skill memory-patterns -a claude-code

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

GitHub CLI
$ gh skill install ruvnet/agentic-flow memory-patterns --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/ruvnet/agentic-flow.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agentic-flow/.claude/skills/memory-patterns .claude/skills/memory-patterns && 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-patterns
GitHub stars
816
Token cost
~646 tokens
SKILL.md length
113 words
Files
1
Skills in repo
21
Repo updated
First seen
Licence
None found

At a glance

Persistent memory patterns for cross-session learning and context retention

  • Works in 5 steps: Use namespaces: Organize by scope → Be specific: Clear, searchable keys → Include context: Store decisions with… → …
  • Tasks that involve Agent memory
  • SKILL.md covers Quick Commands, Memory Namespaces, Pattern Types and MCP Tools, plus 2 more sections
  • Calls npx

What it does

Memory Patterns is an agent skill from ruvnet/agentic-flow. Persistent memory patterns for cross-session learning and context retention

Its SKILL.md is about 650 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 Agent Workflows, covering Agent memory and Session handoff. The repository describes itself as: Easily switch between alternative low-cost AI models in Claude Code/Agent SDK. For those comfortable using Claude agents and commands, it lets you take what you've created and…

When your agent uses it

  • Tasks that involve Agent memory
  • Tasks that involve Session handoff

Example prompts

  • “/memory-patterns”

Requirements

  • Node.js

Workflow steps

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

  1. Use namespaces: Organize by scope
  2. Be specific: Clear, searchable keys
  3. Include context: Store decisions with reasoning
  4. Clean up: Delete stale patterns
  5. Version patterns: Track changes over time

What it can do on your machine

Read from SKILL.md and the folder at commit e993605. 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

    Shell commands in SKILL.md call:

    • npx

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

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    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 Patterns loads about 646 tokens when it runs. Until then it costs about 23 tokens; SKILL.md has 113 words of instructions outside code blocks.

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

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 113 words (~646 tokens).

“Implement persistent memory patterns for AI agents using ReasoningBank.”

— opening of SKILL.md by ruvnet
name
memory-patterns
version
1.0.0
invocable
true
author
agentic-flow
capabilities
memory_store, memory_retrieve, pattern_learning, context_management

Read the full SKILL.md on GitHub

Files

Just SKILL.md in agentic-flow/.claude/skills/memory-patterns of ruvnet/agentic-flow.

Open the folder on GitHubat commit e993605

Compare with similar skills

Memory Patterns 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 Patterns compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Memory Patterns this skillruvnet/agentic-flow816—~646Automated safety check: PassNone
Beads Task Memorygastownhall/beads28k—~1.2kAutomated safety check: PassMIT
Session History Searchslopus/happy24k—~3.1kAutomated safety check: PassMIT
Memori Long-Term MemoryMemoriLabs/Memori17k—~2kAutomated safety check: NotesCustom licence
Coding Agent Session Findercode-yeongyu/oh-my-openagent70k—~2.8kAutomated safety check: PassCustom licence
Deja History Searchvshulcz/deja-vu1.1k1 repos~1.3kAutomated safety check: PassMIT

Similar skills

  • Beads Task Memory

    gastownhall/beads

    Tracks multi-session work with dependencies in the bd issue tracker so the agent can find ready tasks and recover its context after conversation compaction.

    28k GitHub stars~1.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Searches past Claude Code, Codex and Cursor sessions and summarizes what was worked on, tried or decided, using extraction scripts instead of reading raw logs.

    24k GitHub stars~3.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Memori Long-Term Memory

    MemoriLabs/Memori

    Connects Claude Code to Memori Cloud for long-term memory, recalling stored context before substantive replies and saving new context afterward.

    17k GitHub stars~2k tokensUpdated 5 days ago
    Agent WorkflowsAuto-check: notes
  • Coding Agent Session Finder

    code-yeongyu/oh-my-openagent

    Finds, reads and reconstructs past coding-agent sessions across Codex, Claude, OpenCode, Senpi and many other local agent logs.

    70k GitHub stars~2.8k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Deja History Search

    vshulcz/deja-vu

    Searches this machine's own history of past AI coding sessions across every tool used on it, before work is redone or something is denied.

    1.1k GitHub starsUsed in 1 repo~1.3k tokens
    Agent WorkflowsAuto-check passed
  • Memori MCP Memory Usage

    MemoriLabs/Memori

    Teaches an MCP-connected agent when and how to call Memori's recall, summary, compaction, augmentation, feedback and quota tools to keep context across sessions.

    17k GitHub stars~3.8k tokensUpdated 5 days ago
    Agent WorkflowsAuto-check passed

More from ruvnet/agentic-flow

All 21 skills in this repo
  • Flow Nexus Neural

    ruvnet/agentic-flow

    Train and deploy neural networks in distributed E2B sandboxes with Flow Nexus

    816 GitHub starsUsed in 5 repos~4.1k tokens
    Auto-check passed
  • Stream Chain

    ruvnet/agentic-flow

    Stream-JSON chaining for multi-agent pipelines, data transformation, and sequential workflows

    816 GitHub starsUsed in 5 repos~3.2k tokens
    Auto-check passed
  • Agentic Jujutsu

    ruvnet/agentic-flow

    Quantum-resistant, self-learning version control for AI agents with ReasoningBank intelligence and multi-agent coordination

    816 GitHub starsUsed in 4 repos~4.7k tokens
    Auto-check passed
  • Flow Nexus Swarm

    ruvnet/agentic-flow

    Cloud-based AI swarm deployment and event-driven workflow automation with Flow Nexus platform

    816 GitHub starsUsed in 4 repos~4.2k tokens
    Auto-check passed
  • Hive Mind Advanced

    ruvnet/agentic-flow

    Advanced Hive Mind collective intelligence system for queen-led multi-agent coordination with consensus mechanisms and persistent memory

    816 GitHub starsUsed in 4 repos~4.2k tokens
    Auto-check passed
  • Performance Analysis

    ruvnet/agentic-flow

    Comprehensive performance analysis, bottleneck detection, and optimization recommendations for Claude Flow swarms

    816 GitHub starsUsed in 4 repos~3.6k tokens
    Auto-check passed

Categories

Questions about Memory Patterns

What does Memory Patterns do?

Persistent memory patterns for cross-session learning and context retention. Memory Patterns is an agent skill from ruvnet/agentic-flow.

When should I use Memory Patterns?

Memory Patterns fits situations like: tasks that involve Agent memory; tasks that involve Session handoff.

How do I install Memory Patterns in Claude Code?

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

How do I install Memory Patterns in Codex?

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

Can I use Memory Patterns 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 ruvnet/agentic-flow --skill memory-patterns -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-patterns, .gemini/skills/memory-patterns, .github/skills/memory-patterns and .opencode/skills/memory-patterns in your project.

What does Memory Patterns need to run?

Going by SKILL.md and its folder, Memory Patterns needs the command-line tools its instructions call (npx). Our summary lists: Node.js.

Does Memory Patterns access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Memory Patterns 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 Patterns use?

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

How many tokens does Memory Patterns use?

About 646 tokens (SKILL.md is roughly 2.6k 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 Patterns?

Skills that share tags, products or a category with Memory Patterns: Beads Task Memory (gastownhall/beads, 28k stars), Session History Search (slopus/happy, 24k stars), Memori Long-Term Memory (MemoriLabs/Memori, 17k stars) and Coding Agent Session Finder (code-yeongyu/oh-my-openagent, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Memory Patterns?

ruvnet (a GitHub user) maintains it in ruvnet/agentic-flow, which has 816 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on September 16, 2026.

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