Agent skill

Count Total Users

by larry-zy in larry-zy/cognida

“Count the total number of users”

— description from SKILL.md by larry-zy
MITAuto-check passed

Install Count Total Users

skills CLI
$ npx skills add larry-zy/cognida --skill count-total-users -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install larry-zy/cognida count-total-users --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/larry-zy/cognida.git skills-src && mkdir -p .claude/skills && cp -r skills-src/services/cognida-go/skills/count-total-users .claude/skills/count-total-users && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
count-total-users
GitHub stars
182
Token cost
~324 tokens
SKILL.md length
137 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

  • Works in 4 steps: Inspect semantic models: Call the… → Pick the metric: If one exists, use that… → Run the query: Call sql_execute to run… → …
  • SKILL.md covers When to use, Procedure and Tools involved
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

About this skill

Count Total Users is a skill in larry-zy/cognida (182 stars). Its SKILL.md is about 324 tokens. Licence: MIT.

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Inspect semantic models: Call the list_semantic_models tool and check whether any semantic model exposes a user-count or customer-count…
  2. Pick the metric: If one exists, use that metric directly (e.g. "customer count"); the system automatically generates the corresponding SQL…
  3. Run the query: Call sql_execute to run the generated SQL and obtain the total user count.
  4. Present the result: Render the result as a card or panel, and state the data source and definition.

What it can do on your machine

Read from SKILL.md and the folder at commit bf76257. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Count Total Users loads about 324 tokens when it runs. Until then it costs about 12 tokens; SKILL.md has 137 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~12
When it runs · the whole SKILL.md, loaded when a task matches
~324

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from larry-zy/cognida at commit bf76257, republished under its MIT licence (© larry-zy). 137 words, ~324 tokens.

Download SKILL.mdSave it as .claude/skills/count-total-users/SKILL.md (or your agent's skills folder).
name
count-total-users
description
Count the total number of users
when_to_use
When the user needs the total number of users
category
experience
experimental
true
author
experience-distill
tags
data-query, ecommerce-analytics, user-stats
disable_model_invocation
true

Count Total Users

This skill was automatically distilled from session experience, for reuse on similar problems.

When to use

The user needs the total number of users.

Procedure

Count total users

When the user needs to count the total number of users, follow these steps:

  1. Inspect semantic models: Call the list_semantic_models tool and check whether any semantic model exposes a user-count or customer-count metric.
  2. Pick the metric: If one exists, use that metric directly (e.g. "customer count"); the system automatically generates the corresponding SQL (e.g. SELECT COUNT(DISTINCT customer_id) FROM ...).
  3. Run the query: Call sql_execute to run the generated SQL and obtain the total user count.
  4. Present the result: Render the result as a card or panel, and state the data source and definition.

Tools involved

  • list_semantic_models
  • sql_execute

Source session: sess-3f6c8a7b, distilled at 2026-07-21T02:33:58+08:00

© larry-zy, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in services/cognida-go/skills/count-total-users of larry-zy/cognida.

Open the folder on GitHubat commit bf76257

Compare with similar skills

Count Total Users next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Count Total Users compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Count Total Users this skilllarry-zy/cognida182—~324Automated safety check: PassMIT
Excel and CSV Data Analysisbytedance/deer-flow83k4 repos~2.2kAutomated safety check: PassMIT
Clickhouse Logs Queriessupabase/supabase111k—~2.4kAutomated safety check: PassApache-2.0
Review PRapache/shardingsphere21k—~6.4kAutomated safety check: PassApache-2.0
Django Filter Benchmarksaleor/saleor23k—~2.3kAutomated safety check: PassBSD-3-Clause
Geoflowyaojingang/GEOFlow3.8k—~722Automated safety check: PassAGPL-3.0

Similar skills

  • Excel and CSV Data Analysis

    bytedance/deer-flow

    Analyzes uploaded Excel and CSV files with SQL through DuckDB, producing schema inspections, statistical summaries and exports to CSV, JSON or Markdown.

    83k GitHub starsUsed in 4 repos~2.2k tokens
    Data & AnalyticsAuto-check passed
  • Clickhouse Logs Queries

    supabase/supabase

    Official

    Write, review, and migrate Supabase logs queries against the ClickHouse-backed logs table (the logs.all.otel analytics endpoint).

    111k GitHub stars~2.4k tokensUpdated today
    DatabasesAuto-check passed
  • Review PR

    apache/shardingsphere

    Review Apache ShardingSphere or user-authorized downstream pull requests and PR discussions from public or authorized repository evidence.

    21k GitHub stars~6.4k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Benchmarks Django ORM filters in Saleor by generating bulk data, extracting the SQL and running EXPLAIN ANALYZE to check index usage.

    23k GitHub stars~2.3k tokensUpdated yesterday
    DatabasesAuto-check passed
  • Geoflow

    yaojingang/GEOFlow

    Operate/develop GEOFlow CLI/Laravel/admin/API, topics/专题 and topic tasks, theme libraries/replication, sites/leads/Agent, channel sync and legacy yao-geoflow-cli/design/template migration.

    3.8k GitHub stars~722 tokensUpdated today
    Backend & APIsAuto-check passed
  • Revops

    AvdLee/RocketSimApp

    When the user wants help with revenue operations, lead lifecycle management, or marketing-to-sales handoff processes.

    803 GitHub starsUsed in 6 repos~3.7k tokens
    Sales & SupportAuto-check passed

More from larry-zy/cognida

All 9 skills in this repo
  • Attribution Analysis

    larry-zy/cognida

    归因/根因分析技能,把指标的期间变化拆解到候选维度,定位驱动因子并给出置信与下钻建议. An agent skill from larry-zy/cognida.

    182 GitHub stars~524 tokensUpdated 1 mo ago
    Auto-check passed
  • Report Composition

    larry-zy/cognida

    综合报告生成技能,把多段取数(总览+趋势+分群等)整合成一份带洞察的结构化报告. An agent skill from larry-zy/cognida.

    182 GitHub stars~397 tokensUpdated 1 mo ago
    Auto-check passed
  • Semantic Metric

    larry-zy/cognida

    语义指标取数技能,先查治理好的指标语义模型,再按统一口径取指标,避免对物理表猜测. An agent skill from larry-zy/cognida.

    182 GitHub stars~329 tokensUpdated 1 mo ago
    Auto-check passed
  • Generate a comprehensive report of core e-commerce operating metrics (GMV, orders, average order value, repurchase)

    182 GitHub stars~470 tokensUpdated 1 mo ago
    Auto-check passed
  • Graph Retrieval

    larry-zy/cognida

    图谱与血缘检索技能,查询实体之间的关系、上下游依赖与数据血缘。

    182 GitHub stars~236 tokensUpdated 1 mo ago
    Auto-check passed
  • Text2sql Adhoc

    larry-zy/cognida

    即席取数技能,把一句话的具体数据问题翻译成 SQL 并执行返回结果。

    182 GitHub stars~390 tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Count Total Users

How do I install Count Total Users in Claude Code?

Run `npx skills add larry-zy/cognida --skill count-total-users -a claude-code`. Or copy the skill folder (services/cognida-go/skills/count-total-users in larry-zy/cognida) into .claude/skills/count-total-users in your project. Claude Code loads it when a task matches its description.

How do I install Count Total Users in Codex?

Run `npx skills add larry-zy/cognida --skill count-total-users -a codex`. Or copy the skill folder (services/cognida-go/skills/count-total-users in larry-zy/cognida) into .agents/skills/count-total-users in your project. Codex loads it when a task matches its description.

Can I use Count Total Users in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add larry-zy/cognida --skill count-total-users -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/count-total-users, .gemini/skills/count-total-users, .github/skills/count-total-users and .opencode/skills/count-total-users in your project.

What does Count Total Users need to run?

SKILL.md names no scripts, command-line tools or credentials: Count Total Users is instructions for the agent only.

Does Count Total Users access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Count Total Users safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Count Total Users use?

Count Total Users is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Count Total Users use?

About 324 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Count Total Users?

Skills that share tags, products or a category with Count Total Users: Excel and CSV Data Analysis (bytedance/deer-flow, 83k stars), Clickhouse Logs Queries (supabase/supabase, 111k stars), Review PR (apache/shardingsphere, 21k stars) and Django Filter Benchmark (saleor/saleor, 23k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Count Total Users?

larry-zy (a GitHub user) maintains it in larry-zy/cognida, which has 182 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on August 31, 2026.

Source: larry-zy/cognida on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.