agentleFS
hybridlabor-apihybridlabor-api/aos/skills/global_config/agent-memory-mcp/SKILL.md

agent-memory-mcp

Skill9 starsChanged 24 days agoApache-2.0View on GitHub

Use when a hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).

  • Installs packages

6 other projects use a version of this, 6 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. 2 are common, 6 are distinctive, and 0 are very specific to this project.

  • 2

    Common

    Most of the 6 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Common:

    Use the helper script to activate the memory bank for your current project:

    line 36
  2. Common:

    Search for memories by query, type, or tags.

    line 52
  3. Distinctive:

    Use this skill only when the task clearly matches the scope described above.

    line 91
  4. Distinctive:

    Do not treat the output as a substitute for environment-specific validation, testing, or expert review.

    line 92
  5. Distinctive:

    Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

    line 93
  6. Distinctive:

    Read the provided context and ensure preconditions are met.

    line 99
  7. Distinctive:

    Run the required script or tool and confirm the state change.

    line 100
  8. Distinctive:

    Verify exit codes, file modifications, or DB counts to guarantee success before reporting completion.

    line 101

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Agent Memory Skill

This skill provides a persistent, searchable memory bank that automatically syncs with project documentation. It runs as an MCP server to allow reading/writing/searching of long-term memories.

Prerequisites

  • Node.js (v18+)

Setup

  1. Clone the Repository: Clone the agentMemory project into your agent's workspace or a parallel directory:

    git clone https://github.com/webzler/agentMemory.git .agent/skills/agent-memory
  2. Install Dependencies:

    cd .agent/skills/agent-memory
    npm install
    npm run compile
  3. Start the MCP Server: Use the helper script to activate the memory bank for your current project:

    npm run start-server <project_id> <absolute_path_to_target_workspace>

    Example for current directory:

    npm run start-server my-project $(pwd)

Capabilities (MCP Tools)

memory_search

Search for memories by query, type, or tags.

  • Args: query (string), type? (string), tags? (string[])
  • Usage: "Find all authentication patterns" -> memory_search({ query: "authentication", type: "pattern" })

memory_write

Record new knowledge or decisions.

  • Args: key (string), type (string), content (string), tags? (string[])
  • Usage: "Save this architecture decision" -> memory_write({ key: "auth-v1", type: "decision", content: "..." })

memory_read

Retrieve specific memory content by key.

  • Args: key (string)
  • Usage: "Get the auth design" -> memory_read({ key: "auth-v1" })

memory_stats

View analytics on memory usage.

  • Usage: "Show memory statistics" -> memory_stats({})

Dashboard

This skill includes a standalone dashboard to visualize memory usage.

npm run start-dashboard <absolute_path_to_target_workspace>

Access at: http://localhost:3333

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

1. Overview

This skill provides domain-specific logic and rules for its respective BDB pipeline component to ensure standardization across multi-agent workflows.

3. Core Process

  1. Read the provided context and ensure preconditions are met.
  2. Run the required script or tool and confirm the state change.
  3. Verify exit codes, file modifications, or DB counts to guarantee success before reporting completion.

4. Common Rationalizations

RationalizationReality
"The code change was small, so I skipped updating OpenWiki docs."Every state change must be reflected in the relevant system records.
"The ingest script exited without an error, so the memB index must be updated."Silent failures happen; explicit verification of the side effect is mandatory.
"I'll let the /fabric proceed without a defined rollback path."Proceeding without a rollback path corrupts the workflow integrity and safety.
"I trust the cached agent registry instead of rescanning after a skill change."Caches stale out quickly; explicit rescans prevent ghost failures.

5. Red Flags

  • Bypassing the verification step after a script execution.
  • Proceeding to the next pipeline stage without confirming the previous stage's side effects.
  • Ignoring domain-specific constraints listed in this skill.

6. Verification

  • Verified script exit codes are explicitly checked.
  • Confirmed target files or database records reflect the expected change.
  • Ensured no silent failures were ignored before reporting success.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.