stats

stats is a skill for Claude Code from kalinbogatzevski/captain-memo. It costs 36 tokens per session (731 once invoked), scanned A, original, Apache-2.0.

A health-check command for Captain Memo, a local memory system used by coding tools. It reports whether its worker, search service, settings, and plugin setup are working.

In plain words
What is it for?
Use it to check service status, indexing progress, stored-content counts, configuration, and related installation issues.
Why use it?
It helps identify which part of the memory system is unavailable and gives a starting point for fixing the problem.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the captain-memo plugin — 6 skills, 6 hooks shipped together

Good fit Use it to check service status, indexing progress, stored-content counts, configuration, and related installation issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kalinbogatzevski/captain-memo/stats
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 kalinbogatzevski/captain-memo --skill stats
Clone the repo
git clone --depth 1 https://github.com/kalinbogatzevski/captain-memo

Made for: Claude Code.

Or install captain-memo, the plugin that ships this one along with the rest of its 6 skills, 6 hooks.

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 stats

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kalinbogatzevski/captain-memo/stats"><img src="https://agentmods.dev/badge/skills/kalinbogatzevski/captain-memo/stats.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 731 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.00036 $0.00731
Opus 5.5 $0.00014 $0.00292
Sonnet 5.5 $0.00007 $0.00146
Haiku 4.5 $0.00004 $0.00073

Measured 7d ago against content hash 97960eb54ff7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

stats 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 7d 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.

plugin/skills/stats/SKILL.md · 63 lines

How it starts

The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Captain Memo — corpus stats

When invoked, fetch the worker's stats and present them readably.

What to do

Call the captain-memo MCP tool stats (no arguments). It returns the worker's /stats body and sends the worker's secret for you: there is no token to handle. Where the CLI is installed, the same body is one command away, as one line of JSON:

captain-memo stats --json

If captain-memo is not on PATH, use the shim and checkout fallbacks described in the doctor skill.

The response includes: total_chunks, by_channel, observations (total/queue_pending/queue_processing), indexing (status/done/total/percent/elapsed_s/errors/last_error), project_id, embedder (model/endpoint), efficiency, and worker (started_at_epoch, uptime_s).

A successful /stats response means the backend worker is ONLINE — lead with that and its uptime. Format worker.uptime_s compactly: 45s / 12m / 2h 13m / 3d 4h. If the connection is refused or times out, the worker is OFFLINE: say so and point the user at captain-memo doctor (see "On error"). Any other error (a 401, say) means the worker answered: show the error text and point at captain-memo doctor.

Output format

Captain Memo — corpus statistics
────────────────────────────────
  Worker:         ● online · up 2h 13m
  Project:        <project_id>
  Indexing:       ready (or "indexing 47/275 (17%) ETA=3m 12s")
  Total chunks:   <total>
  By channel:
    memory          <count>
    skill           <count>
    capability      <count>
    observation     <count>
  Observations:   <total> · <pending> pending · <processing> processing
  Embedder:       <model> @ <endpoint>

Efficiency
──────────
  Compression:    16.4× — distilled 184,320 tokens of work into 11,240 stored
                  (94% saved · based on 312/340 observations)
  Embedder:       47 calls · ~690 ms avg · 4,100 tok/s   (since worker start)
  Dedup:          95% of docs skipped re-embed (488/512 unchanged)

Read the full file on GitHub · 63 lines

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. 7d ago Changed · +1 lines 97960eb54ff7
  2. 20d ago Changed · +5 lines d31381c3adfa
  3. 1mo ago First seen · 57 lines · 36 tokens per session scan A 3e0b68938d58

Subscribe to this mod's changes

stats is a skill published in the GitHub repository kalinbogatzevski/captain-memo (5 stars, last pushed yesterday), licensed Apache-2.0. It adds 36 tokens to every session and 731 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-31.

Related

Other skills, from other repositories

memem-mine

Opt in to memem's event-triggered mining. New sessions are mined automatically via the Stop hook.

TT-Wang/memem · 26 tokens

curate

Power-user audit of Wenlan's pending surfaces: accept or dismiss pending revisions (conflicts/merges), or audit pending captures (not yet confirmed). Most users want /brief for revisions; that handles the daily flow. Use /wenlan curate only for explicit deep-walk audits after bulk imports, or to walk the full queue…

wenlan-app/wenlan · 106 tokens

knowledge-base

Build and maintain a company knowledge base as a wiki of interlinked markdown notes in the workspace — a private, compounding Wikipedia. Use when the user wants to start or organize a knowledge base / wiki, ingest sources (URLs, documents, pasted notes) into it, ask questions answered from it, or audit (lint) it.…

Open-Curiosity/gini-agent · 119 tokens

pages

Browse, open, or print distilled pages, reusing the wenlan pages CLI for the actual open (one implementation on your PATH, no setup). /wenlan pages opens the page when one matches, or shows a small native picker when 2-4 match. /wenlan pages --print reads the page here instead of opening an editor. /wenlan pages lists…

wenlan-app/wenlan · 105 tokens

forget

Delete a memory from Wenlan by ID. Destructive and cannot be undone — prefer /capture with supersedes for corrections. Invoked as /wenlan forget .

wenlan-app/wenlan · 43 tokens

autosearch:context-retention-policy

Session-level policy for keeping the runtime AI's context window healthy across long research — keep-last-k tool results, offload older evidence to disk, trigger compaction at thresholds. Borrows MiroThinker's keeptoolresult, deepagents' summarization middleware, and deer-flow's SummarizationEvent pattern. Orthogonal…

0xmariowu/Autosearch · 89 tokens