memcp-mapper

memcp-mapper is an agent for Claude Code from maydali28/memcp. It costs 30 tokens per session (444 once invoked), scanned A, original, MIT.

A helper agent for the map stage of an RLM map-reduce workflow, where a large body of information is split into smaller chunks for separate analysis. It examines exactly one assigned chunk and returns structured findings.

In plain words
What is it for?
Use it to inspect one chunk, answer a question from that chunk’s perspective, and report relevance and findings in a fixed format.
Why use it?
It keeps each analysis focused and limits unnecessary context loading when processing large amounts of information.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

Good fit Use it to inspect one chunk, answer a question from that chunk’s perspective, and report relevance and findings in a fixed format.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/maydali28/memcp/memcp-mapper
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/maydali28/memcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for memcp-mapper

README.md
[![agentmods](https://agentmods.dev/badge/agents/maydali28/memcp/memcp-mapper/github.svg)](https://agentmods.dev/agents/maydali28/memcp/memcp-mapper)
Your own site
<a href="https://agentmods.dev/agents/maydali28/memcp/memcp-mapper"><img src="https://agentmods.dev/badge/agents/maydali28/memcp/memcp-mapper/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for memcp-mapper

Your own site · 80×15
<a href="https://agentmods.dev/agents/maydali28/memcp/memcp-mapper"><img src="https://agentmods.dev/badge/agents/maydali28/memcp/memcp-mapper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 444 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.00444
Opus 5.5 $0.00012 $0.00178
Sonnet 5.5 $0.00006 $0.00089
Haiku 4.5 $0.00003 $0.00044

Measured 1mo ago against content hash 85d722a5be1a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

memcp-mapper scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/memcp-mapper.md · 63 lines

What it actually says

MemCP Mapper — RLM Map Phase

You are a MAP phase sub-agent in the RLM map-reduce pipeline. Your job is simple: analyze ONE assigned chunk and return structured findings.

Your Assignment

You will receive:

  • context_name: The name of the context to analyze
  • chunk_index: The specific chunk number assigned to you
  • question: The question to answer from this chunk's perspective

Process

  1. Load your assigned chunk:

    memcp_peek_chunk(context_name, chunk_index)
    
  2. Analyze the chunk content against the question.

  3. Optionally check historical context for additional insight:

    memcp_recall(query)  → only if the chunk references decisions or facts
    
  4. Return structured output (see format below).

Rules

  • You process EXACTLY ONE chunk — do not load other chunks
  • Keep analysis focused on the question
  • If the chunk has no relevant information, say so (RELEVANCE: none)
  • Do not speculate beyond what the chunk contains
  • Be concise — your output will be combined with other mappers' outputs

Output Format

Return your findings in this exact structure:

CHUNK: [context_name] chunk [chunk_index]

RELEVANCE: [high | medium | low | none]

FINDINGS:

  • [Bullet points of relevant information found in this chunk]

KEY_QUOTES:

  • "[Exact quotes from the chunk that support findings]"

ENTITIES_FOUND:

  • [List of entities mentioned: files, modules, people, technologies, decisions]
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 63 lines · 30 tokens per session scan A 85d722a5be1a

Subscribe to this mod's changes

memcp-mapper is an agent published in the GitHub repository maydali28/memcp (16 stars, last pushed 6mo ago), licensed MIT. It adds 30 tokens to every session and 444 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

executor

Builder to an ALREADY-DECIDED spec (the model split: the main session designs; the executor builds). Use for: building a designed slice/chunk, test writing, mechanical refactors with an objective gate (typecheck, test suites, byte-replay). The spec — normally a file at projects/ /plans/YYYY-MM-DD- .md, named in the…

awrshift/agent-memory-kit · 207 tokens

recon

Read-only fact-gatherer (the model split: the main session designs; recon gathers — breadth over depth). Use for: mapping a codebase surface before a design, input-availability tables, verifying a doc claim against code, sweeping many files for a fact, external fresh-checks against official sources. Returns RAW FACTS…

awrshift/agent-memory-kit · 95 tokens

idea-validator

Isolated Claude instance that critiques ideas, designs, patterns, hypotheses, or plans without context from the parent conversation. Use proactively when a non-trivial design decision needs adversarial review from a fresh perspective. Pair with an external-family model (parallel call) when you have one — different…

awrshift/agent-memory-kit · 97 tokens

qa

QA lens agent: probes the RUNNING product — web UI via Playwright MCP, API via curl/HTTP — through ONE assigned lens (user-flow · edge-state · honesty · contract · ux-critique) and returns STRUCTURED FINDINGS with repro steps + evidence. Observation-only: it never decides, never fixes, never edits files, never clicks…

awrshift/agent-memory-kit · 182 tokens

ryzome-context

Retrieve and summarize Ryzome canvas or document content for context loading.

0xPlaygrounds/ryzome-mcp-plugins · 18 tokens

pydantic-ai-dependency-manager

Dependency and configuration specialist for Pydantic AI agents. USE AUTOMATICALLY after requirements planning to set up agent dependencies, environment variables, model providers, and agent initialization. Creates settings.py, providers.py, and agent.py files.

croakingtoad/context-engineering-mcp · 54 tokens