Stats

Show MemMesh usage stats for a project/user — total count and breakdowns by type, scope, and status, plus the oldest/newest timestamps. Use when checking "how many memories do I have", auditing distribution before a cleanup, or giving a quick health read.

thinkfleetai 7832f97 1.0 KB Updated

File contents

stats

Summarize what's in memory.

{ "name": "memory_stats", "arguments": { "projectId": "<repo>" } }

Scope it with projectId / userId / scope; omit for everything under the platform. Returns total, byType, byScope, byStatus, oldest, newest, and scanCapped (true if the count hit the scan limit — raise limit for an exact number on very large stores).

Present it

Lead with the total, then the type breakdown (the useful one), then flag health signals:

  • a large superseded / rejected share ⇒ suggest dream (consolidation).
  • approaching the free-tier 500-item cap ⇒ mention it and suggest forget/dream.

For a per-subject picture (not aggregate counts) use context-loader.

thinkfleetai/memmesh/tree/main/integrations/memmesh-plugin/skills/stats commit 7832f97ed2

Frequently asked questions

npx skillmds@latest add thinkfleetai/stats