prime

prime is a skill for Claude Code from caiowilson/MCP-memento. It costs 60 tokens per session (400 once invoked), scanned A, original, MIT.

A repository-orientation guide that reads a small, selected set of instructions, project files, and Git information to explain an unfamiliar codebase.

In plain words
What is it for?
Use it when joining a repository, returning to paused work, or asking an agent to understand the codebase before making changes.
Why use it?
It reduces the time and risk of starting work without knowing the project’s purpose, rules, current changes, or validation commands.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Part of the memento-workflows plugin — 3 skills shipped together

Good fit Use it when joining a repository, returning to paused work, or asking an agent to understand the codebase before making changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/caiowilson/mcp-memento/prime
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.

Any agent
npx skills add caiowilson/MCP-memento --skill prime
Clone the repo
git clone --depth 1 https://github.com/caiowilson/MCP-memento

Made for: Claude Code.

Or install memento-workflows, the plugin that ships this one along with the rest of its 3 skills.

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 prime

README.md
[![agentmods](https://agentmods.dev/badge/skills/caiowilson/mcp-memento/prime/github.svg)](https://agentmods.dev/skills/caiowilson/mcp-memento/prime)
Your own site
<a href="https://agentmods.dev/skills/caiowilson/mcp-memento/prime"><img src="https://agentmods.dev/badge/skills/caiowilson/mcp-memento/prime/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 prime

Your own site · 80×15
<a href="https://agentmods.dev/skills/caiowilson/mcp-memento/prime"><img src="https://agentmods.dev/badge/skills/caiowilson/mcp-memento/prime.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 400 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.00060 $0.00400
Opus 5 $0.00030 $0.00200
Sonnet 5 $0.00012 $0.00080
Haiku 4.5 $0.00006 $0.00040

Measured 11d ago against content hash fa1d95fa1ceb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

prime 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 11d 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.

plugins/memento-workflows/skills/prime/SKILL.md · 20 lines

What it actually says

Prime a repository

Build a compact, evidence-based orientation. Never write files.

  1. Locate the repository root with git rev-parse --show-toplevel and stay within it.
  2. Read up to four root instruction files when present: CLAUDE.md, AGENTS.md, .claude/CLAUDE.md, and the nearest equivalent named by the repository.
  3. Read up to six root manifests or task entrypoints, prioritizing files such as go.mod, package.json, pyproject.toml, Cargo.toml, Makefile, and Taskfile.yml.
  4. Inspect git status --short, the latest five one-line commits, and git diff --no-ext-diff --stat plus git diff --cached --no-ext-diff --stat. Never enable external diff drivers or mutate Git state.
  5. Read up to four high-signal files selected from the root README, TODO or roadmap, documentation index, and files implicated by current Git changes. Avoid secrets, dependencies, generated output, and broad tree dumps.

Limit each initial file read to about 200 lines. Read one additional targeted segment only when it resolves an important gap.

Report the repository purpose, stack, instructions, common validation commands, current work, and concrete risks or unknowns. Cite paths for important claims and distinguish evidence from inference.

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. 11d ago First seen · 20 lines · 60 tokens per session scan A fa1d95fa1ceb

Subscribe to this mod's changes

prime is a skill published in the GitHub repository caiowilson/MCP-memento (11 stars, last pushed 2d ago), licensed MIT. It adds 60 tokens to every session and 400 once invoked, about $0.0003 per session on Opus 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.