Agent skill

Agent V3 Memory Specialist

by ruvnet in ruvnet/ruflo

Agent skill for v3-memory-specialist - invoke with $agent-v3-memory-specialist

MITAuto-check passedDatabases

Install Agent V3 Memory Specialist

skills CLI
$ npx skills add ruvnet/ruflo --skill agent-v3-memory-specialist -a claude-code

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

GitHub CLI
$ gh skill install ruvnet/ruflo agent-v3-memory-specialist --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/ruflo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/agent-v3-memory-specialist .claude/skills/agent-v3-memory-specialist && 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
agent-v3-memory-specialist
GitHub stars
74k
Used in
2 other repos
Token cost
~2.3k tokens
SKILL.md length
363 words
Files
1
Skills in repo
264
Repo updated
First seen
Licence
MIT

At a glance

Agent skill for v3-memory-specialist - invoke with $agent-v3-memory-specialist

  • Works in 3 steps: Foundation Setup → Gradual Migration → Advanced Features
  • Tasks that involve Vector databases
  • SKILL.md covers Mission: Memory System…, Systems to Unify, AgentDB Integration Architecture and Migration Strategy, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Agent V3 Memory Specialist is an agent skill from ruvnet/ruflo. Agent skill for v3-memory-specialist - invoke with $agent-v3-memory-specialist

Its SKILL.md is about 2.3k 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 Databases, covering Vector databases. The repository describes itself as: 🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory…. The licence is MIT.

When your agent uses it

  • Tasks that involve Vector databases

Example prompts

  • “/agent-v3-memory-specialist”

Requirements

  • Node.js

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Foundation Setup
  2. Gradual Migration
  3. Advanced Features

What it can do on your machine

Read from SKILL.md and the folder at commit 58e0ae7. 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 typescript, bash and sql).

    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

Agent V3 Memory Specialist loads about 2.3k tokens when it runs. Until then it costs about 26 tokens; SKILL.md has 363 words of instructions outside code blocks.

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

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

The full file from ruvnet/ruflo at commit 58e0ae7, republished under its MIT licence (© ruvnet). 363 words, ~2,296 tokens.

Download SKILL.mdSave it as .claude/skills/agent-v3-memory-specialist/SKILL.md (or your agent's skills folder).
name
agent-v3-memory-specialist
description
Agent skill for v3-memory-specialist - invoke with $agent-v3-memory-specialist

name: v3-memory-specialist version: "3.0.0-alpha" updated: "2026-01-04" description: V3 Memory Specialist for unifying 6+ memory systems into AgentDB with HNSW indexing. Implements ADR-006 (Unified Memory Service) and ADR-009 (Hybrid Memory Backend) to achieve 150x-12,500x search improvements. color: cyan metadata: v3_role: "specialist" agent_id: 7 priority: "high" domain: "memory" phase: "core_systems" hooks: pre_execution: | echo "🧠 V3 Memory Specialist starting memory system unification..."

# Check current memory systems
echo "📊 Current memory systems to unify:"
echo "  - MemoryManager (legacy)"
echo "  - DistributedMemorySystem"
echo "  - SwarmMemory"
echo "  - AdvancedMemoryManager"
echo "  - SQLiteBackend"
echo "  - MarkdownBackend"
echo "  - HybridBackend"

# Check AgentDB integration status
npx agentic-flow@alpha --version 2>$dev$null | head -1 || echo "⚠️ agentic-flow@alpha not detected"

echo "🎯 Target: 150x-12,500x search improvement via HNSW"
echo "🔄 Strategy: Gradual migration with backward compatibility"

post_execution: | echo "🧠 Memory unification milestone complete"

# Store memory patterns
npx agentic-flow@alpha memory store-pattern \
  --session-id "v3-memory-$(date +%s)" \
  --task "Memory Unification: $TASK" \
  --agent "v3-memory-specialist" \
  --performance-improvement "150x-12500x" 2>$dev$null || true

V3 Memory Specialist

🧠 Memory System Unification & AgentDB Integration Expert

Mission: Memory System Convergence

Unify 7 disparate memory systems into a single, high-performance AgentDB-based solution with HNSW indexing, achieving 150x-12,500x search performance improvements while maintaining backward compatibility.

Systems to Unify

Current Memory Landscape
┌─────────────────────────────────────────┐
│           LEGACY SYSTEMS                │
├─────────────────────────────────────────┤
│  • MemoryManager (basic operations)     │
│  • DistributedMemorySystem (clustering) │
│  • SwarmMemory (agent-specific)         │
│  • AdvancedMemoryManager (features)     │
│  • SQLiteBackend (structured)           │
│  • MarkdownBackend (file-based)         │
│  • HybridBackend (combination)          │
└─────────────────────────────────────────┘
                       ↓
┌─────────────────────────────────────────┐
│            V3 UNIFIED SYSTEM            │
├─────────────────────────────────────────┤
│       🚀 AgentDB with HNSW             │
│  • 150x-12,500x faster search          │
│  • Unified query interface             │
│  • Cross-agent memory sharing          │
│  • SONA integration learning           │
│  • Automatic persistence               │
└─────────────────────────────────────────┘

AgentDB Integration Architecture

Core Components
UnifiedMemoryService
typescript
class UnifiedMemoryService implements IMemoryBackend {
  constructor(
    private agentdb: AgentDBAdapter,
    private cache: MemoryCache,
    private indexer: HNSWIndexer,
    private migrator: DataMigrator
  ) {}

  async store(entry: MemoryEntry): Promise<void> {
    // Store in AgentDB with HNSW indexing
    await this.agentdb.store(entry);
    await this.indexer.index(entry);
  }

  async query(query: MemoryQuery): Promise<MemoryEntry[]> {
    if (query.semantic) {
      // Use HNSW vector search (150x-12,500x faster)
      return this.indexer.search(query);
    } else {
      // Use structured query
      return this.agentdb.query(query);
    }
  }
}
HNSW Vector Indexing
typescript
class HNSWIndexer {
  private index: HNSWIndex;

  constructor(dimensions: number = 1536) {
    this.index = new HNSWIndex({
      dimensions,
      efConstruction: 200,
      M: 16,
      maxElements: 1000000
    });
  }

  async index(entry: MemoryEntry): Promise<void> {
    const embedding = await this.embedContent(entry.content);
    this.index.addPoint(entry.id, embedding);
  }

  async search(query: MemoryQuery): Promise<MemoryEntry[]> {
    const queryEmbedding = await this.embedContent(query.content);
    const results = this.index.search(queryEmbedding, query.limit || 10);
    return this.retrieveEntries(results);
  }
}

Migration Strategy

Phase 1: Foundation Setup
bash
# Week 3: AgentDB adapter creation
- Create AgentDBAdapter implementing IMemoryBackend
- Setup HNSW indexing infrastructure
- Establish embedding generation pipeline
- Create unified query interface
Phase 2: Gradual Migration
bash
# Week 4-5: System-by-system migration
- SQLiteBackend → AgentDB (structured data)
- MarkdownBackend → AgentDB (document storage)
- MemoryManager → Unified interface
- DistributedMemorySystem → Cross-agent sharing
Phase 3: Advanced Features
bash
# Week 6: Performance optimization
- SONA integration for learning patterns
- Cross-agent memory sharing
- Performance benchmarking (150x validation)
- Backward compatibility layer cleanup

Performance Targets

Search Performance
  • Current: O(n) linear search through memory entries
  • Target: O(log n) HNSW approximate nearest neighbor
  • Improvement: 150x-12,500x depending on dataset size
  • Benchmark: Sub-100ms queries for 1M+ entries
Memory Efficiency
  • Current: Multiple backend overhead
  • Target: Unified storage with compression
  • Improvement: 50-75% memory reduction
  • Benchmark: <1GB memory usage for large datasets
Query Flexibility
typescript
// Unified query interface supports both:

// 1. Semantic similarity queries
await memory.query({
  type: 'semantic',
  content: 'agent coordination patterns',
  limit: 10,
  threshold: 0.8
});

// 2. Structured queries
await memory.query({
  type: 'structured',
  filters: {
    agentType: 'security',
    timestamp: { after: '2026-01-01' }
  },
  orderBy: 'relevance'
});

SONA Integration

Learning Pattern Storage
typescript
class SONAMemoryIntegration {
  async storePattern(pattern: LearningPattern): Promise<void> {
    // Store in AgentDB with SONA metadata
    await this.memory.store({
      id: pattern.id,
      content: pattern.data,
      metadata: {
        sonaMode: pattern.mode, // real-time, balanced, research, edge, batch
        reward: pattern.reward,
        trajectory: pattern.trajectory,
        adaptation_time: pattern.adaptationTime
      },
      embedding: await this.generateEmbedding(pattern.data)
    });
  }

  async retrieveSimilarPatterns(query: string): Promise<LearningPattern[]> {
    const results = await this.memory.query({
      type: 'semantic',
      content: query,
      filters: { type: 'learning_pattern' },
      limit: 5
    });
    return results.map(r => this.toLearningPattern(r));
  }
}

Data Migration Plan

SQLite → AgentDB Migration
sql
-- Extract existing data
SELECT id, content, metadata, created_at, agent_id
FROM memory_entries
ORDER BY created_at;

-- Migrate to AgentDB with embeddings
INSERT INTO agentdb_memories (id, content, embedding, metadata)
VALUES (?, ?, generate_embedding(?), ?);
Markdown → AgentDB Migration
typescript
// Process markdown files
for (const file of markdownFiles) {
  const content = await fs.readFile(file, 'utf-8');
  const embedding = await generateEmbedding(content);

  await agentdb.store({
    id: generateId(),
    content,
    embedding,
    metadata: {
      originalFile: file,
      migrationDate: new Date(),
      type: 'document'
    }
  });
}

Validation & Testing

Performance Benchmarks
typescript
// Benchmark suite
class MemoryBenchmarks {
  async benchmarkSearchPerformance(): Promise<BenchmarkResult> {
    const queries = this.generateTestQueries(1000);
    const startTime = performance.now();

    for (const query of queries) {
      await this.memory.query(query);
    }

    const endTime = performance.now();
    return {
      queriesPerSecond: queries.length / (endTime - startTime) * 1000,
      avgLatency: (endTime - startTime) / queries.length,
      improvement: this.calculateImprovement()
    };
  }
}
Success Criteria
  • 150x-12,500x search performance improvement validated
  • All existing memory systems successfully migrated
  • Backward compatibility maintained during transition
  • SONA integration functional with <0.05ms adaptation
  • Cross-agent memory sharing operational
  • 50-75% memory usage reduction achieved

Coordination Points

Integration Architect (Agent #10)
  • AgentDB integration with agentic-flow@alpha
  • SONA learning mode configuration
  • Performance optimization coordination
Core Architect (Agent #5)
  • Memory service interfaces in DDD structure
  • Event sourcing integration for memory operations
  • Domain boundary definitions for memory access
Performance Engineer (Agent #14)
  • Benchmark validation of 150x-12,500x improvements
  • Memory usage profiling and optimization
  • Performance regression testing

© ruvnet, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/agent-v3-memory-specialist of ruvnet/ruflo.

Open the folder on GitHubat commit 58e0ae7

Used in 2 other repositories

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in ruvnet/ruflo, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Agent V3 Memory Specialist 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.

Agent V3 Memory Specialist compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Agent V3 Memory Specialist this skillruvnet/ruflo74k2 repos~2.3kAutomated safety check: PassMIT
Qdrant Horizontal Scalingqdrant/skills2542 repos~833Automated safety check: PassApache-2.0
Qdrant Indexing Performance Optimizationqdrant/skills2542 repos~1.2kAutomated safety check: PassApache-2.0
Redis Searchredis/agent-skills1651 repos~2.9kAutomated safety check: PassMIT
Qdrant Minimize Latencyqdrant/skills2542 repos~725Automated safety check: PassApache-2.0
Foldseekadaptyvbio/protein-design-skills1643 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Official

    Diagnoses and guides Qdrant horizontal scaling decisions. An agent skill from qdrant/skills.

    254 GitHub starsUsed in 2 repos~833 tokens
    DatabasesAuto-check passed
  • Redis Search

    redis/agent-skills

    Official

    Redis Search guidance covering FT.CREATE schema design, field type selection (TEXT, TAG, NUMERIC, GEO, GEOSHAPE, VECTOR, JSON path), DIALECT 2 query syntax, FT.SEARCH / FT.AGGREGATE / FT.HYBRID…

    165 GitHub starsUsed in 1 repo~2.9k tokens
    DatabasesAuto-check passed
  • Official

    Guides Qdrant query latency optimization. An agent skill from qdrant/skills.

    254 GitHub starsUsed in 2 repos~725 tokens
    DatabasesAuto-check passed
  • Foldseek

    adaptyvbio/protein-design-skills

    Structure similarity search with Foldseek. An agent skill from adaptyvbio/protein-design-skills.

    164 GitHub starsUsed in 3 repos~1.1k tokens
    DatabasesAuto-check passed
  • Weaviate

    sickn33/agentic-awesome-skills

    Search, query, inspect, create, and import data into Weaviate vector database collections using official scripts and references.

    47k GitHub starsUsed in 1 repo~1.7k tokens
    DatabasesAuto-check passed

More from ruvnet/ruflo

All 264 skills in this repo
  • Stores, searches, and retrieves successful patterns with HNSW-indexed semantic search so agents can reuse past solutions instead of relearning them.

    74k GitHub starsUsed in 2 repos~830 tokens
    Auto-check passed
  • Runs claude-flow CLI security scans for input validation, path traversal, SQL injection, XSS, hardcoded secrets and known CVEs, and writes an audit report.

    74k GitHub starsUsed in 2 repos~823 tokens
    Auto-check passed
  • Applies the SPARC method (specification, pseudocode, architecture, refinement, completion) with 17 specialized modes and multi-agent orchestration, from research to deployment.

    74k GitHub starsUsed in 2 repos~829 tokens
    Auto-check passed
  • Coordinates a hierarchical swarm of specialized agents through the claude-flow CLI for work that spans several files or modules at once.

    74k GitHub starsUsed in 2 repos~779 tokens
    Auto-check passed
  • Sets up and drives Ruflo, an npm-installed orchestration layer for multi-agent swarms, persistent memory, routing, hooks and its MCP tool catalog.

    74k GitHub starsUsed in 1 repo~975 tokens
    Auto-check passed
  • Agent Coordination

    ruvnet/ruflo

    Reference for spawning, listing, monitoring and stopping agents with claude-flow commands, with agent type families, routing codes and coordination tips.

    74k GitHub starsUsed in 2 repos~519 tokens
    Auto-check passed

Categories

Questions about Agent V3 Memory Specialist

What does Agent V3 Memory Specialist do?

Agent skill for v3-memory-specialist - invoke with $agent-v3-memory-specialist. Agent V3 Memory Specialist is an agent skill from ruvnet/ruflo.

When should I use Agent V3 Memory Specialist?

Agent V3 Memory Specialist fits situations like: tasks that involve Vector databases.

How do I install Agent V3 Memory Specialist in Claude Code?

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

How do I install Agent V3 Memory Specialist in Codex?

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

Can I use Agent V3 Memory Specialist 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/ruflo --skill agent-v3-memory-specialist -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agent-v3-memory-specialist, .gemini/skills/agent-v3-memory-specialist, .github/skills/agent-v3-memory-specialist and .opencode/skills/agent-v3-memory-specialist in your project.

What does Agent V3 Memory Specialist need to run?

SKILL.md names no scripts, command-line tools or credentials: Agent V3 Memory Specialist is instructions for the agent only. Our summary lists: Node.js.

Does Agent V3 Memory Specialist 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 Agent V3 Memory Specialist 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 Agent V3 Memory Specialist use?

Agent V3 Memory Specialist is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Agent V3 Memory Specialist use?

About 2.3k tokens (SKILL.md is roughly 9.2k 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 Agent V3 Memory Specialist?

Skills that share tags, products or a category with Agent V3 Memory Specialist: Qdrant Horizontal Scaling (qdrant/skills, 254 stars), Qdrant Indexing Performance Optimization (qdrant/skills, 254 stars), Redis Search (redis/agent-skills, 165 stars) and Qdrant Minimize Latency (qdrant/skills, 254 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Agent V3 Memory Specialist?

ruvnet (a GitHub user) maintains it in ruvnet/ruflo, which has 74,159 GitHub stars. The repository holds 264 skills in this directory. The repository was last updated on October 9, 2026.

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