agentleFS
EnakoneschniyEnakoneschniy/claude-dev-stack/skills/cds-stats/SKILL.md

cds-stats

Skill5 starsChanged 8 months agoMITView on GitHub

Show project memory statistics: session count, observation counts by type, entity count, top entities, and project planning status.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use Bash to call the mem-stats CLI command:

    line 24
  2. Very specific:

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

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.