cds-stats

cds-stats is a skill for Claude Code, Codex from Enakoneschniy/claude-dev-stack. It costs 29 tokens per session (442 once invoked), scanned A, original, MIT.

A project-memory dashboard that reports session history, stored observations, referenced entities, and planning progress.

In plain words
What is it for?
Use it to display memory statistics, frequently referenced project entities, recent activity, and roadmap or state information.
Why use it?
It gives a quick view of how much project knowledge has been recorded and where the project stands in its plan.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/enakoneschniy/claude-dev-stack/cds-stats
Any agent
npx skills add Enakoneschniy/claude-dev-stack --skill cds-stats
Clone the repo
git clone --depth 1 https://github.com/Enakoneschniy/claude-dev-stack

Made for: Claude Code, Codex.

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 cds-stats

README.md
[![agentmods](https://agentmods.dev/badge/skills/enakoneschniy/claude-dev-stack/cds-stats.svg)](https://agentmods.dev/skills/enakoneschniy/claude-dev-stack/cds-stats)
Your own site
<a href="https://agentmods.dev/skills/enakoneschniy/claude-dev-stack/cds-stats"><img src="https://agentmods.dev/badge/skills/enakoneschniy/claude-dev-stack/cds-stats.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 442 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00029 $0.00442
Opus 5 $0.00015 $0.00221
Sonnet 5 $0.00006 $0.00088
Haiku 4.5 $0.00003 $0.00044

Measured 5d ago against content hash 22887dc35218, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cds-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 5d 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.

skills/cds-stats/SKILL.md · 65 lines

What it actually says

/cds-stats -- Project memory dashboard

Display a summary of the project's session memory and planning status.

How to execute

  1. Get planning status (MCP tool):

    mcp__cds__planning.status()
    

    This returns the current ROADMAP phase counts and STATE position.

  2. Get session memory stats: Use Bash to call the mem-stats CLI command:

    Bash("npx claude-dev-stack mem-stats")
    

    This returns: project name, session count (total + this week), observation counts by type, entity count + top entities (most referenced), last activity.

  3. Combine and present: Format both outputs into a single dashboard:

    Project Memory Dashboard
    ========================
    
    [planning.status output -- phase progress, current position]
    
    [mem-stats output -- session count, observations, entities, last activity]
    

    The mem-stats output includes entity data per D-143/D-145:

    • Total entity count
    • Top entities (most referenced across observations)

Fallback

If mcp__cds__planning.status is not available, skip the planning section and show only the mem-stats CLI output.

Output format

The combined dashboard shows:

  • Planning: phase progress, current position (from MCP)
  • Sessions: total count + this week count
  • Observations: total + breakdown by type (decision, bug, pattern, etc.)
  • Entities: total count + top referenced entities
  • Last activity: date of most recent session

When to use

  • User asks "how's the project going"
  • User asks about session/memory statistics
  • User asks about top entities or most referenced concepts
  • User wants to see project health overview
  • User explicitly invokes /cds-stats
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. 5d ago First seen · 65 lines · 29 tokens per session scan A 22887dc35218

Subscribe to this mod's changes

cds-stats is a skill published in the GitHub repository Enakoneschniy/claude-dev-stack (5 stars, last pushed 4mo ago), licensed MIT. It adds 29 tokens to every session and 442 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

knowledge-ops

Use when an Obsidian knowledge system needs classification, deduplication, retrieval, synchronization, debt queues, or governed Agent/Wiki promotion.

Mark393295827/third-brain-v7-skills · 33 tokens

context-manager

Use when a long-running agent task needs context budgeting, checkpointing, compaction, retrieval, or capability-based model routing.

Mark393295827/third-brain-v7-skills · 28 tokens

session-learn

Use when a completed work session should yield durable concepts, corrections, decisions, reusable patterns, and a traceable next action.

Mark393295827/third-brain-v7-skills · 29 tokens

obsidian-untangle-knot

Offload an Obsidian hub note that too many notes link to (an in-degree tangle). The main signal of a tangle is a high in-degree (tens to hundreds of incoming links); out-degree is secondary. The skill creates sub-MOCs under the hub's existing categories and redirects incoming links from resource notes to the specific…

alexeyshishin/as-skill · 226 tokens

memory-bank-defrag

Defragment and re-actualize a project memory bank (the .assistant/ knowledge base + the project's auto-memory). Reads everything that changed in the repo since the last defrag, finds where the memory bank has gone stale or accumulated amendment-on-amendment "patches", folds the patches into clean current-state docs…

alexeyshishin/as-skill · 143 tokens

memory-bank

Maintains a lightweight, always-current "project encyclopedia" in .memory-bank/ — capturing architecture, stack, conventions, key entities, and active tasks. After each meaningful change, the AI suggests concise updates or explicitly confirms no update is needed.

alexeyshishin/as-skill · 53 tokens