agentleFS
GoldziherGoldziher/basemind/skills/basemind-stats/SKILL.md

basemind-stats

Skill125 starsChanged 48 days agoMITView on GitHub

Show a quick dashboard of basemind activity today: how many code-map tool calls have run, the per-tool histogram, and the estimated tokens saved vs a hypothetical grep+Read baseline. Use when the user asks "what has basemind done?", "how much is basemind helping?", "show me basemind stats", or invokes `/bm-stats` directly.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run basemind admin telemetry --json and render the result as a markdown report.

    line 19
  2. Very specific:

    Run basemind admin telemetry --window today --json (today is the default).

    line 32
  3. Very specific:

    If total_calls is 0, say so plainly ("no basemind activity in the window yet").

    line 44
  4. Distinctive:

    Don't pretend to have data.

    line 45
  5. Distinctive:

    Always disclose the savings model: Add one sentence at the end:

    line 47
  6. Very specific:

    If they invoke /bm-stats --explain or ask how the savings number is derived, include the per-baseline breakdown from the per_baseline field …

    line 57
  7. Distinctive:

    Don't auto-display the dashboard at the start of every conversation.

    line 64
  8. Very specific:

    Don't pad missing data. If recent is empty, say so.

    line 66
  9. Distinctive:

    Don't claim a token-savings number without the disclosure sentence.

    line 69

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
<!-- AI-RULEZ :: GENERATED FILE — DO NOT EDIT Content-Hash: blake3:d14dc83f6412d127902cc99cd89932d178c9ee73fffcd9a88aaf820339bc2eda Source-Hash: blake3:607e3840e47d250c023513008342b4e723eff1841b0530d2a109acaf0dc5dbc6 Schema-Version: v1 -->

basemind-stats — on-demand usage dashboard

Run basemind admin telemetry --json and render the result as a markdown report. The usage summary is a CLI command, not an MCP tool; it reads the same telemetry log the server writes, with or without a running server. Launch it through the plugin's version-matched binary, "${CLAUDE_PLUGIN_ROOT:-$CURSOR_PLUGIN_ROOT}/scripts/mcp-launch.sh" admin telemetry --json (quoted so a root with spaces stays one argument; bare basemind from PATH when neither plugin root variable is set or that launcher file does not exist).

When to use

The user asks "what has basemind done?", "how much is basemind helping?", "show me basemind stats", or invokes /bm-stats directly. This skill is strictly user-invoked — see Notes.

How to run

  1. Run basemind admin telemetry --window today --json (today is the default). If the user asks for a specific range, map it to one of today, 1h, 24h, all.
  2. Render a markdown block in this shape:

    ## basemind activity (today)
    - **N tool calls** ; top tools: code_outline (18), code_symbols (12), …
    - **~K tokens saved** vs grep + Read baseline
    - recent: code_outline (4ms, 312B), code_symbols (2ms, 180B), …
  3. If total_calls is 0, say so plainly ("no basemind activity in the window yet"). Don't pretend to have data.
  4. Always disclose the savings model. Add one sentence at the end:

    Savings are heuristics. Tools with no realistic baseline (memory, document search, git wrappers) report 0 saved — see the saved_baseline column on each row.

    The exact wording can vary; the principle (it's an estimate, here's why) cannot.

When the user asks "--explain"

If they invoke /bm-stats --explain or ask how the savings number is derived, include the per-baseline breakdown from the per_baseline field of the response and call out which tools fall into which bucket. The estimator lives in src/engine/savings.rs if they want to read the code.

Notes

  • Don't auto-display the dashboard at the start of every conversation. This skill is strictly user-invoked.
  • Don't pad missing data. If recent is empty, say so; don't invent example rows.
  • Rows are keyed by tool name (code_grep, git_log). A log written by an older version also holds code:outline-style keys; report them as they appear.
  • Don't claim a token-savings number without the disclosure sentence.

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.