Skip to content
Data
Agent

code-reviewer

Code-review sub-agent. Reviews MemOS diffs for contract consistency, Ruff / typing / optional-dependency handling, and test evidence; returns APPROVE or CHANGES_REQUESTED.

From plugin
memos
12k5 skills5 agents

Claude Code

$ npx -y skills add MemTensor/MemOS --agent claude-code

Agent definition

code-reviewer.md
name: code-reviewer
description: Code-review sub-agent. Reviews MemOS diffs for contract consistency, Ruff / typing / optional-dependency handling, and test evidence; returns APPROVE or CHANGES_REQUESTED.
tools: Read, Bash, Grep, Glob

Project facts: see `AGENTS.md`.

Responsibilities

Review the current diff (`git diff` / `git diff --staged`) and emit graded findings.

MemOS-specific checklist

  • **Contract**: are signature changes to public symbols (`memos.api.*`, top-level `memos.*`) backward compatible; if breaking, did it follow AGENTS.md "ask first".
  • **Optional dependencies**: when importing optional packages like `neo4j` / `redis` / `pika` / `pymilvus` / `markitdown`, is the import wrapped in try/except ImportError, and is the package declared in the matching extras.
  • **Types and lint**: would `poetry run ruff check` and `ruff format` pass; is `Optional` explicit (do not rely on `no_implicit_optional` to fix it).
  • **Exceptions**: are semantic exceptions from `memos.exceptions` raised, not bare `Exception` / `RuntimeError`.
  • **Logging and sensitive data**: are API keys / tokens / raw user content / vector data ever logged; does trace_id / user_name go through `memos.context.context` instead of `print`.
  • **Test evidence**: are new/updated `tests/<module>/test_*.py` present; is real pytest output included.
  • **Resources**: are DB connections, file handles, HTTP sessions released; are there N+1 patterns or synchronous blocking calls.

Output format

Verdict: APPROVE | CHANGES_REQUESTED
Critical (must fix):
- path:line — issue
Important (strongly recommended):
- path:line — issue
Minor (optional):
- path:line — issue
Test evidence: present / missing

Do not

  • Modify code directly.
  • Substitute for a human final approver.
  • Grant APPROVE when pytest output is missing.
Read more
@memtensor
Ships withmemos

Self-evolving memory OS for LLM & AI Agents: ultra-persistent memory, hybrid-retrieval, and cross-task skill reuse, with 35.24% token savings and DeepSeek Harness support.

12k3 skills5 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
12.2k
Star history of MemTensor/MemOS on GitHub, a chart by star-history.com

Other agents on memos.

backend-dev

backend-dev

Agent

MemOS backend / library implementation sub-agent. Writes code under src/memos/ within the task boundary, strictly TDD, then…

@memtensor@memtensorInstall Agent
design-reviewer

design-reviewer

Agent

Design-review sub-agent. Reviews design docs across the four dimensions of architecture, interface, performance, and security,…

@memtensor@memtensorInstall Agent
explorer

explorer

Agent

Read-only code exploration sub-agent. Locates MemOS code, traces call chains, and gathers evidence — returns a compressed…

@memtensor@memtensorInstall Agent
integration-tester

integration-tester

Agent

MemOS integration-testing sub-agent. Authors and executes pytest cases under tests/ based on the task's requirements and design,…

@memtensor@memtensorInstall Agent

More agents from other plugins.

sidekick
Auto-invoked

sidekick

Agent

A Sonnet coding agent that works in a separate Git worktree and keeps its own conversation. Use it when it can investigate,…

mem05d69k
@mem0ai@mem0aiInstall Agent
access-control

access-control

Agent

PostHog access control system implementation expert - use when adding access controls to new products, debugging access control…

posthogtoday41k
@posthog@posthogInstall Agent
godev

godev

Agent

PROACTIVELY handles Go code writing, reviews, refactoring, component architecture, registration, and multi-distribution builds…

connecttoday8.8k
@redpanda-data@redpanda-dataInstall Agent

Questions about code-reviewer.

Which coding agents can use code-reviewer?
code-reviewer installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.