Sponsor Suno AI Music arrow_forward
Plugin

Domain Memory Agent

Knowledge base with semantic search, document storage, and automatic summarization. Perfect for domain-specific knowledge management.

Type
Plugin
GitHub stars
2.8k
License
MIT
Repo last updated
Sep 27, 2026
Version
1.17.0
Author
Intent Solutions

What Domain Memory Agent is

Domain Memory Agent is a plugin published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”

A plugin is a package that bundles skills, slash commands, subagents, hooks, and MCP connectors so they install together. Plugins are plain files with a manifest at .claude-plugin/plugin.json, and they work in both Claude Code and Claude Cowork.

Installing Domain Memory Agent adds everything it ships in one step. Connectors inside a plugin still need to be connected separately, and hooks and subagents only run in Cowork and Claude Code, not in regular chat.

How to install Domain Memory Agent

Claude Code

  1. Add the repository as a plugin marketplace: claude plugin marketplace add jeremylongshore/tons-of-skills-marketplace
  2. Install the plugin: claude plugin install domain-memory-agent@<marketplace-name>, using the marketplace name from the repository's .claude-plugin/marketplace.json.
  3. Restart the session if the new skills or commands don't appear straight away.

Claude Cowork

  1. Open Customize → Plugins and choose Add marketplace.
  2. Enter jeremylongshore/tons-of-skills-marketplace (the owner/repo shorthand works for GitHub).
  3. Find Domain Memory Agent in the list, click Install, then connect any connectors it needs from its Connectors tab.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from plugins/mcp/domain-memory-agent/.claude-plugin/plugin.json, shared under the repository's MIT license. Read the full file on GitHub.

Knowledge base with semantic search, document storage, and automatic summarization

A lightweight MCP server for domain-specific knowledge management using TF-IDF semantic search (no external ML dependencies). Perfect for building AI memory systems and RAG applications.

Features

  • Document Storage - Store documents with tags and metadata
  • Semantic Search - TF-IDF based search (no external dependencies)
  • Summarization - Automatic extractive summaries with caching
  • Full CRUD - Create, read, update, delete documents
  • Tagging System - Organize knowledge by tags
  • Pagination - Efficient browsing of large knowledge bases

Installation

/plugin install domain-memory-agent@claude-code-plugins-plus

6 MCP Tools

1. store_document

Store documents in knowledge base with automatic indexing.

{
  "title": "Machine Learning Basics",
  "content": "Machine learning is a subset of AI...",
  "tags": ["ai", "ml", "tutorial"],
  "metadata": {
    "author": "John Doe",
    "category": "Technical"
  }
}

2. semantic_search

Search using TF-IDF relevance scoring.

{
  "query": "machine learning algorithms",
  "limit": 10,
  "tags": ["ai"],
  "minScore": 0.1
}

Returns: Ranked results with relevance scores and excerpts.

3. summarize

Generate extractive summaries (cached).

{
  "documentId": "doc123",
  "maxSentences": 5,
  "regenerate": false
}

4. list_documents

Browse knowledge base with filtering.

{
  "tags": ["ai"],
  "sortBy": "updated",
  "limit": 50,
  "offset": 0
}

5. get_document

Retrieve full document by ID.

{
  "documentId": "doc123"
}

6. delete_document

Remove document and unindex.

{
  "documentId": "doc123"
}

Quick Start

// 1. Store knowledge
store_document({
  title: "API Design Best Practices",
  content: "RESTful APIs should be...",
  tags: ["api", "architecture"]
})

// 2. Search knowledge
semantic_search({
  query: "REST API design patterns",
  limit: 5
})

// 3. Get summary
summarize({
  documentId: "doc123",
  maxSentences: 3
})

How Semantic Search Works

Uses TF-IDF (Term Frequency-Inverse Document Frequency):

  1. Tokenization: Text → lowercase words (filter short words)
  2. Term Frequency: Count word occurrences in each document
  3. Document Frequency: Track how many documents contain each term
  4. IDF: Rare terms get higher scores
  5. TF-IDF Score: Rank documents by relevance

Advantages:

  • No external ML dependencies
  • Fast and lightweight
  • Explainable results
  • Works offline

Architecture

In-Memory Storage:
├── documents: Map<id, Document>
├── tfidfIndex:
│   ├── termFrequencies: Map<term, Map<docId, freq>>
│   ├── documentFrequencies: Map<term, count>
│   └── documentLengths: Map<docId, totalTerms>

Note: Data persists during session but clears on restart. Future versions will add persistence.

Use Cases

  1. RAG Systems - Store domain knowledge for AI retrieval
  2. Documentation Search - Index and search project docs
  3. Research Notes - Organize research with semantic search
  4. Customer Support - Build knowledge bases for support agents
  5. Personal Knowledge - Second brain / Zettelkasten system

Performance

  • Document Storage: < 10ms per document
  • Search: < 50ms for 1000 documents
  • Summarization: < 100ms per document
  • Indexing: Real-time (synchronous)

Best Practices

  1. Use descriptive titles - Improves search relevance
  2. Tag consistently - Makes filtering effective
  3. Store focused documents - Better than huge files
  4. Cache summaries - Regenerate only when needed
  5. Regular cleanup - Delete outdated documents

Example Workflows

Building a Technical Knowledge Base

# Store API documentation
store_document(title: "REST API Guide", content: "...", tags: ["api", "docs"])

# Store best practices
store_document(title: "Error Handling Patterns", content: "...", tags: ["patterns", "errors"])

# Search when needed
semantic_search(query: "handle API errors", tags: ["api"])

Research Note System

# Store research papers
store_document(title: "Transformer Architecture", content: "...", tags: ["ml", "nlp", "research"])

# Find related research
semantic_search(query: "attention mechanisms", tags: ["ml"])

# Get quick summary
summarize(documentId: "paper123", maxSentences: 5)

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Domain Memory Agent?

Domain Memory Agent is a plugin for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Knowledge base with semantic search, document storage, and automatic summarization. Perfect for domain-specific knowledge management.

How do I install Domain Memory Agent in Claude Code?

Add the repository as a plugin marketplace: claude plugin marketplace add jeremylongshore/tons-of-skills-marketplace Install the plugin: claude plugin install domain-memory-agent@<marketplace-name>, using the marketplace name from the repository's .claude-plugin/marketplace.json. Restart the session if the new skills or commands don't appear straight away.

Can I use Domain Memory Agent in Claude Cowork?

Open Customize → Plugins and choose Add marketplace. Enter jeremylongshore/tons-of-skills-marketplace (the owner/repo shorthand works for GitHub). Find Domain Memory Agent in the list, click Install, then connect any connectors it needs from its Connectors tab.

Is Domain Memory Agent safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.