ds-stats

ds-stats is a skill for Claude Code from harshii0509/designStack. It costs 44 tokens per session (892 once invoked), scanned A, original, MIT.

A local usage report for designStack. It reads saved analytics to show skill run counts, recent activity, and success rates when analytics collection is enabled.

In plain words
What is it for?
Use it to inspect designStack usage history and skill performance on your computer.
Why use it?
It helps you understand which designStack skills you use and whether they are succeeding.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Good fit Use it to inspect designStack usage history and skill performance on your computer.

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

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/harshii0509/designstack/stats"><img src="https://agentmods.dev/badge/skills/harshii0509/designstack/stats.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 892 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.00044 $0.00892
Opus 5.5 $0.00018 $0.00357
Sonnet 5.5 $0.00009 $0.00178
Haiku 4.5 $0.00004 $0.00089

Measured 3mo ago against content hash b023551e2474, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ds-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 3mo 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.

stats/SKILL.md · 96 lines

How it starts

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

Preamble

_DESIGNSTACK_VER="0.1.0"
_ANALYTICS="$HOME/.dstack/analytics/skill-usage.jsonl"
_TEL_CONFIG="$HOME/.dstack/config"
_TEL=$(grep "^telemetry=" "$_TEL_CONFIG" 2>/dev/null | cut -d= -f2 || echo "community")
_HAS_DATA="no"
[ -f "$_ANALYTICS" ] && [ -s "$_ANALYTICS" ] && _HAS_DATA="yes"
_TOTAL=$(wc -l < "$_ANALYTICS" 2>/dev/null | tr -d ' ' || echo "0")
echo "DESIGNSTACK: $_DESIGNSTACK_VER"
echo "TELEMETRY: $_TEL"
echo "HAS_DATA: $_HAS_DATA"
echo "TOTAL_RUNS: $_TOTAL"
echo "ANALYTICS_FILE: $_ANALYTICS"

What this skill does

Show how you've used designStack — which skills you run most, how many succeeded, and when you last used each one.

Step 1 — Check telemetry status

If TELEMETRY is off:

"Analytics is turned off — no data has been collected. To enable it, edit ~/.dstack/config and change telemetry=off to telemetry=community. Future skill runs will be tracked from that point."

Stop here if telemetry is off.

If HAS_DATA is no:

"No usage data yet — run a few designStack skills first and then come back. Analytics are stored in ~/.dstack/analytics/skill-usage.jsonl."

Stop here if no data.

Step 2 — Read the analytics file

Run this bash to extract usage data:

# Count per skill
awk -F'"' '/"skill":/ {for(i=1;i<=NF;i++) if($i=="skill") print $(i+2)}' "$HOME/.dstack/analytics/skill-usage.jsonl" | sort | uniq -c | sort -rn

# Count by outcome
awk -F'"' '/"outcome":/ {for(i=1;i<=NF;i++) if($i=="outcome") print $(i+2)}' "$HOME/.dstack/analytics/skill-usage.jsonl" | sort | uniq -c

# Last 5 runs (most recent)
tail -5 "$HOME/.dstack/analytics/skill-usage.jsonl"

Step 3 — Show the report

Present a plain-English summary:


designStack usage so far

Total skill runs: [TOTAL_RUNS]

Most used skills: [For each skill in usage count order:]

  • /ds-[skill] — used [N] times

Outcomes:

  • Success: [N] ([X]%)
  • Error/abort: [N] ([Y]%)

Last 5 sessions: [For each of last 5 entries — show skill name + outcome + timestamp in plain English, e.g. "ran /ds-look · success · 2 days ago"]

Read the full file on GitHub · 96 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. 3mo ago First seen · 96 lines · 44 tokens per session scan A b023551e2474

Subscribe to this mod's changes

ds-stats is a skill published in the GitHub repository harshii0509/designStack (13 stars, last pushed 6mo ago), licensed MIT. It adds 44 tokens to every session and 892 once invoked, about $0.0002 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-30.

Related

ds-stats compared with skills from other repositories

ds-stats next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ds-statsharshii0509/designStackSkill136mo agoMITA44Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k5d agoMITA21Claude Code