Agent skill

Agentmemory Agent Connector

by rohitg00 in rohitg00/agentmemory

Explains how the agentmemory connect command wires the memory server into host coding agents, and how to fix an adapter that writes the wrong config path.

Apache-2.0Auto-check passedAgent Workflows

Install Agentmemory Agent Connector

skills CLI
$ npx skills add rohitg00/agentmemory --skill agentmemory-agents -a claude-code

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

GitHub CLI
$ gh skill install rohitg00/agentmemory agentmemory-agents --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/rohitg00/agentmemory.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugin/skills/agentmemory-agents .claude/skills/agentmemory-agents && 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
agentmemory-agents
GitHub stars
29k
Token cost
~402 tokens
SKILL.md length
180 words
Files
2
Skills in repo
17
Repo updated
First seen
Licence
Apache-2.0

At a glance

Explains how the agentmemory connect command wires the memory server into host coding agents, and how to fix an adapter that writes the wrong config path.

  • Works in 3 steps: Detect the calling agent. If unknown,… → Run agentmemory connect using a name… → Verify: the host should show the full…
  • Installing agentmemory into Claude Code, Cursor, Codex or Gemini CLI
  • SKILL.md covers Quick start, Workflow, Notes and See also, plus 1 more section
  • Calls npx

What it does

Running agentmemory connect with an agent name merges the agentmemory server into that host agent's config while keeping any servers already listed. REST is the underlying protocol, and for hosts that only speak MCP the adapter sets up a stdio MCP bridge. The agent is detected from the caller, defaulting to claude-code, and valid names come from a table in REFERENCE.md that is generated from the connect adapter source.

After wiring, you restart the host or run its MCP reload and confirm that the agent lists agentmemory's tools; seeing only 7 tools means the MCP shim could not reach a server. Action skills such as remember and recall are installed separately with npx skills add rohitg00/agentmemory, because connect only exposes tools. On Windows the advice is to use WSL2, since connect is not supported on native Windows.

When your agent uses it

  • Installing agentmemory into Claude Code, Cursor, Codex or Gemini CLI
  • Checking which host agents the connect command supports
  • Fixing a connect adapter that wrote its config to the wrong path

Example prompts

  • “Connect agentmemory to Cursor and tell me how to reload it.”
  • “Which agents can agentmemory connect to?”
  • “agentmemory connect put the config in the wrong place for my agent. What should I check?”

Requirements

  • The agentmemory CLI and server
  • WSL2 on Windows

Workflow steps

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

  1. Detect the calling agent. If unknown, default to claude-code.
  2. Run agentmemory connect using a name from the table in REFERENCE.md.
  3. Verify: the host should show the full tool set with a server running. Only 7 tools means the MCP shim could not reach a server (see…

What it can do on your machine

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

Agentmemory Agent Connector loads about 402 tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 180 words of instructions outside code blocks.

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

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 rohitg00/agentmemory at commit 007a1a7, republished under its Apache-2.0 licence (© rohitg00). 180 words, ~402 tokens.

Download SKILL.mdSave it as .claude/skills/agentmemory-agents/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
agentmemory-agents
description
How agentmemory wires into host coding agents via the connect command. Use when installing agentmemory into a specific agent, when asked which agents are supported, or when a connect adapter writes the wrong config path.
user-invocable
false

agentmemory connect <agent> merges the memory server into a host agent's config and preserves any existing servers. REST is the underlying protocol; for MCP-only hosts the adapter wires the stdio MCP bridge.

Quick start

bash
agentmemory connect claude-code   # or cursor, codex, gemini-cli, ...

After wiring, restart the host or run its MCP reload (for example /mcp in Claude Code) so it picks up the server. Then confirm the agent lists agentmemory's tools.

Workflow

  1. Detect the calling agent. If unknown, default to claude-code.
  2. Run agentmemory connect <name> using a name from the table in REFERENCE.md.
  3. Verify: the host should show the full tool set with a server running. Only 7 tools means the MCP shim could not reach a server (see ../_shared/TROUBLESHOOTING.md).

Notes

  • The action skills (remember, recall, and the rest) are installed separately with npx skills add rohitg00/agentmemory. connect makes tools available; skills teach the agent when to use them.
  • Windows: use WSL2. Native Windows runs the server but connect is not supported there.

See also

  • agentmemory-mcp-tools, agentmemory-rest-api, agentmemory-hooks.

Reference

The full adapter list with display names and protocol notes lives in REFERENCE.md, generated from src/cli/connect/.

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

Files

SKILL.md and 1 other file in plugin/skills/agentmemory-agents of rohitg00/agentmemory.

  • SKILL.md
  • REFERENCE.md

Open the folder on GitHubat commit 007a1a7

Compare with similar skills

Agentmemory Agent Connector 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.

Agentmemory Agent Connector compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Agentmemory Agent Connector this skillrohitg00/agentmemory29k—~402Automated safety check: PassApache-2.0
MemPalace Setup and OperationMemPalace/mempalace59k—~2.2kAutomated safety check: PassMIT
Qmdbreferrari/obsidian-mind4.9k—~1.7kAutomated safety check: PassMIT
Memori MCP Memory UsageMemoriLabs/Memori17k—~3.8kAutomated safety check: PassMIT
Shared Agent Knowledge Commonsmozilla-ai/cq1.3k—~6.5kAutomated safety check: PassApache-2.0
Agent RecallGoldentrii/AgentRecall-X371—~5.2kAutomated safety check: NotesMIT

Similar skills

  • Installs and configures MemPalace as a private local palace, a shared-brain hub or a client of an existing hub, including MCP registration and version-correct initialization.

    59k GitHub stars~2.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Qmd

    breferrari/obsidian-mind

    Search the vault using QMD semantic search. An agent skill from breferrari/obsidian-mind.

    4.9k GitHub stars~1.7k tokensUpdated yesterday
    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
  • Queries a shared knowledge store before acting, proposes newly discovered insights, and confirms or flags existing entries, so agents stop rediscovering the same failures.

    1.3k GitHub stars~6.5k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Agent Recall

    Goldentrii/AgentRecall-X

    Persistent compounding memory for AI agents. An agent skill from Goldentrii/AgentRecall-X.

    371 GitHub stars~5.2k tokensUpdated 10 days ago
    Agent WorkflowsAuto-check: notes
  • Saves the decisions, facts, failures and architecture notes from a conversation into Atlas's shared memory so other agents and later sessions can reuse them.

    9.3k GitHub stars~347 tokensUpdated today
    Agent WorkflowsAuto-check passed

More from rohitg00/agentmemory

All 17 skills in this repo
  • Sets up and troubleshoots a local agentmemory install, covering the MCP connection, environment variables, ports, authentication and optional feature flags.

    29k GitHub stars~1k tokensUpdated yesterday
    Auto-check: notes
  • Commit Context Lookup

    rohitg00/agentmemory

    Traces a file, function or line back to the agent session behind its current commit, using git blame and a memory lookup, and reports only what the records show.

    29k GitHub stars~522 tokensUpdated yesterday
    Auto-check passed
  • Agent Commit History

    rohitg00/agentmemory

    Lists recent git commits linked to agent sessions, filterable by branch, repository or a result limit, showing the session id and observation count behind each one.

    29k GitHub stars~524 tokensUpdated yesterday
    Auto-check passed
  • Agentmemory Forget

    rohitg00/agentmemory

    Deletes chosen memories from agentmemory only after showing the matches and getting an explicit yes, for privacy requests and cleanup of outdated notes.

    29k GitHub stars~612 tokensUpdated yesterday
    Auto-check passed
  • Session Handoff Resume

    rohitg00/agentmemory

    Resumes the most recent agent session for the current directory, leading with any question left unanswered and ending with a concrete next step.

    29k GitHub stars~678 tokensUpdated yesterday
    Auto-check passed
  • Lesson Memory Recorder

    rohitg00/agentmemory

    Distills a user correction or hard-won rule into a confidence-weighted lesson that resurfaces automatically before similar future work.

    29k GitHub stars~721 tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Agentmemory Agent Connector

What does Agentmemory Agent Connector do?

Explains how the agentmemory connect command wires the memory server into host coding agents, and how to fix an adapter that writes the wrong config path. Running agentmemory connect with an agent name merges the agentmemory server into that host agent's config while keeping any servers already listed. REST is the underlying protocol, and for hosts that only speak MCP the adapter sets up a stdio MCP bridge.

When should I use Agentmemory Agent Connector?

Agentmemory Agent Connector fits situations like: installing agentmemory into Claude Code, Cursor, Codex or Gemini CLI; checking which host agents the connect command supports; fixing a connect adapter that wrote its config to the wrong path.

How do I install Agentmemory Agent Connector in Claude Code?

Run `npx skills add rohitg00/agentmemory --skill agentmemory-agents -a claude-code`. Or copy the skill folder (plugin/skills/agentmemory-agents in rohitg00/agentmemory) into .claude/skills/agentmemory-agents in your project. Claude Code loads it when a task matches its description.

How do I install Agentmemory Agent Connector in Codex?

Run `npx skills add rohitg00/agentmemory --skill agentmemory-agents -a codex`. Or copy the skill folder (plugin/skills/agentmemory-agents in rohitg00/agentmemory) into .agents/skills/agentmemory-agents in your project. Codex loads it when a task matches its description.

Can I use Agentmemory Agent Connector 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 rohitg00/agentmemory --skill agentmemory-agents -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agentmemory-agents, .gemini/skills/agentmemory-agents, .github/skills/agentmemory-agents and .opencode/skills/agentmemory-agents in your project.

What does Agentmemory Agent Connector need to run?

Going by SKILL.md and its folder, Agentmemory Agent Connector needs the command-line tools its instructions call (npx). Our summary lists: The agentmemory CLI and server; WSL2 on Windows.

Does Agentmemory Agent Connector 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 Agentmemory Agent Connector 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 Agentmemory Agent Connector use?

Agentmemory Agent Connector is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Agentmemory Agent Connector use?

About 402 tokens (SKILL.md is roughly 1.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 Agentmemory Agent Connector?

Skills that share tags, products or a category with Agentmemory Agent Connector: MemPalace Setup and Operation (MemPalace/mempalace, 59k stars), Qmd (breferrari/obsidian-mind, 4.9k stars), Memori MCP Memory Usage (MemoriLabs/Memori, 17k stars) and Shared Agent Knowledge Commons (mozilla-ai/cq, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Agentmemory Agent Connector?

rohitg00 (a GitHub user) maintains it in rohitg00/agentmemory, which has 29,222 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 6, 2026.

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