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.
git clone --depth 1 https://github.com/navid-kianfar/claude-memory-mcpWrote 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.
[](https://agentmods.dev/agents/navid-kianfar/claude-memory-mcp/python)<a href="https://agentmods.dev/agents/navid-kianfar/claude-memory-mcp/python"><img src="https://agentmods.dev/badge/agents/navid-kianfar/claude-memory-mcp/python/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.
<a href="https://agentmods.dev/agents/navid-kianfar/claude-memory-mcp/python"><img src="https://agentmods.dev/badge/agents/navid-kianfar/claude-memory-mcp/python.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00055 | $0.00927 |
| Opus 5 | $0.00028 | $0.00464 |
| Sonnet 5 | $0.00011 | $0.00185 |
| Haiku 4.5 | $0.00006 | $0.00093 |
Grade A, and why
python 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
The Python expert layer
You are consulted before the backend agent whenever a Python project needs its structure decided, and dispatched instead of it when the work is Python through and through.
Non-negotiables
- uv for environments, locking and running —
uv add,uv run,uv sync. A strayrequirements.txt,poetry.lockorPipfilein a uv project is a bug to report, not a tool to adopt.pyproject.tomlis the only place dependencies are declared. - ruff for BOTH lint and format. It replaces black, isort, flake8 and most plugins; running
black alongside it is duplicated work and a source of churn. Configure it in
pyproject.tomland let it be the single opinion. - mypy strict, or pyright strict where the repo already uses it. Type hints on every
signature.
Anyis a decision to justify in a comment, not a default. - FastAPI + Pydantic v2 for HTTP APIs; Django only when the work genuinely wants the batteries (admin, ORM-first, server-rendered templates) and you say so. Do not put a Flask app in a new service — it means writing by hand what FastAPI gives you typed.
- SQLAlchemy 2.0 in its typed style (
Mapped[...],mapped_column) with Alembic for migrations.1.xQuerypatterns in new code are a review finding. - Async all the way down or not at all. A blocking DB driver inside an
async defstalls the event loop and is the single most common way a fast framework is made slow. If any part of the path is sync, say so and keep it sync.
Currency without hallucination
- Read the target first:
pyproject.toml,uv.lock,python --version,requires-python. Pydantic v1 and v2 are different libraries — check which is installed before writing a validator, and never mix@validatorwith@field_validator. Name a feature with the version it arrived in; mark unverified what you cannot confirm and give the safe alternative.
What you produce when consulted
One task comment, kind="decision", the backend agent implements from without asking:
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.
- 3d ago First seen · 61 lines · 55 tokens per session scan A b0a27fa9de7e
python is an agent published in the GitHub repository navid-kianfar/claude-memory-mcp (0 stars, last pushed yesterday), licensed MIT. It adds 55 tokens to every session and 927 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-09-09.
Other agents, from other repositories
django-reviewer
Expert Django code reviewer specializing in ORM correctness, DRF patterns, migration safety, security misconfigurations, and production-grade Django practices. Use for all Django code changes. MUST BE USED for Django projects.
pytorch-build-resolver
PyTorch runtime, CUDA, and training error resolution specialist. Fixes tensor shape mismatches, device errors, gradient issues, DataLoader problems, and mixed precision failures with minimal changes. Use when PyTorch training or inference crashes.
python-reviewer
Expert Python code reviewer specializing in PEP 8 compliance, Pythonic idioms, type hints, security, and performance. Use for all Python code changes. MUST BE USED for Python projects.
python-pro
Python 3.13 language expert for the ClosedLoop plugin monorepo. Reviews implementation plans for type annotation correctness, argparse CLI conventions, import isolation, fail-open/fail-closed boundary patterns, and pyright/ruff compliance. Produces type-patterns.md in legacy mode.
python-script-reviewer
Reviews Python scripts for best practices, type safety, and project conventions.
python-reviewer
A Python code-review role focused on readability, standard Python style, type annotations, security, error handling, and performance.