Logo de Basic Statistics Calculator

Basic Statistics Calculator

Communauté
ur-grue
basic-statistics-calculator

Performs and explains basic statistical calculations — percentages, percentage changes, per-capita rates, averages, medians, and ratios — from data you provide, showing the working so you can verify it and use the figures confidently in a story.

Présentation

Éditeurur-grue
Dépôtautopunk-media-skills
Nom de la compétencebasic-statistics-calculator
Étoiles
45
Forks
3
Fichiers inclus
1
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont en simple Markdown, et non en code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • 1 fichiers inclus

    Des scripts, des modèles de documents et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par ur-grue sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Basic Statistics Calculator dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Collez l’URL du dossier de la compétence indiquée ci-dessous, puis confirmez.
    https://github.com/ur-grue/autopunk-media-skills/tree/main/skills/data-journalism/analysis/basic-statistics-calculator
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter → Via URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ur-grue/autopunk-media-skills.git /tmp/autopunk-media-skills
mkdir -p .claude/skills
cp -r /tmp/autopunk-media-skills/skills/data-journalism/analysis/basic-statistics-calculator .claude/skills/basic-statistics-calculator
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Basic Statistics Calculator dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Basic Statistics Calculator dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, Basic Statistics Calculator n’est pas lié au modèle pour lequel cette compétence a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

Basic Statistics Calculator

What This Skill Does

Performs and explains basic statistical calculations — percentages, percentage changes, per-capita rates, averages, medians, and ratios — from data you provide, showing the working so you can verify it and use the figures confidently in a story.

When To Use This Skill

  • You have raw numbers from a dataset, report, or public record and need to calculate percentages, rates, or changes for your story
  • You want to double-check a statistic before publishing — paste the source figures and have the calculation verified step by step
  • You are writing a data-driven story and need to express a finding as a per-capita rate, a percentage change, or a comparison ratio that readers will understand
  • You are not confident in your math and want the working shown so you can follow the logic and catch any errors

What You Need To Provide

Required: The raw numbers or data points; the calculation you need (percentage, percentage change, per-capita rate, average, median, ratio, or "tell me what is most useful for this story"); the context — what these numbers represent and where they come from.

Optional: The population or base figure for per-capita calculations; the time period the data covers; the comparison you want to make (year-over-year, city-to-city, before-and-after); the audience level (general public, specialist readers, other journalists); how you plan to use the result (headline figure, in-text comparison, chart label).

How the Assistant Approaches This

  1. Confirms the inputs and the ask. Restates the numbers provided, what they represent, and what calculation is being requested. This step catches misunderstandings before any math is done — if the user provided annual figures but asked for a monthly rate, that discrepancy is flagged here.

  2. Performs the calculation with full working shown. Every step of the arithmetic is written out in plain language and with the formula. Nothing is hidden in a black box. The journalist can follow each step, check it against the source data, and verify the result independently. Rounding decisions are stated explicitly (e.g., "rounded to one decimal place").

  3. Interprets the result in plain English. After the math, writes one sentence explaining what the number means in the context of the story. This is the sentence a journalist could use in their article — clear, accurate, and free of statistical jargon. If the result is surprising or potentially misleading without context, that is flagged.

  4. Flags caveats and common pitfalls. Notes any issues with the calculation: small sample sizes that make percentages misleading, base-rate effects that make percentage changes deceptive, denominators that changed between periods (making direct comparison unreliable), or the difference between correlation and causation if the user is implying a causal relationship.

  5. Suggests a second calculation when relevant. If a single figure tells an incomplete story — for example, a percentage change without the absolute numbers, or an average that hides a skewed distribution — suggests the additional calculation and explains why it matters for editorial accuracy.

Output Format

A structured calculation report of 200-400 words. Opens with "Inputs" (restating the data), then "Calculation" (step-by-step working with formula), then "Result" (the final figure), then "In Plain English" (one sentence for the story), then "Caveats" (any statistical warnings). If a second calculation is suggested, it follows the same structure. Tone is precise and educational — written for a journalist who is competent but not a statistician.

**Inputs**
[Restated data and what was asked]

**Calculation**
[Step-by-step working with formula]

**Result:** [Final figure]

**In Plain English:** [One usable sentence for the story]

**Caveats**
- [Any statistical warnings or context needed]

**Additional Calculation (if relevant)**
[Same structure]

Quality Criteria

  • All arithmetic is correct and verifiable — every step of the working is shown
  • The formula used is stated explicitly, not just the result
  • The "In Plain English" sentence is accurate, clear, and usable in a news article without further editing
  • Rounding decisions are stated and appropriate for the context (not rounding 49.7% to 50% without noting it)
  • Caveats are specific to the calculation — not generic warnings about statistics
  • If the data is too small or unreliable for the requested calculation, this is flagged clearly rather than producing a misleading number
  • The skill does not editorialize — it provides the math and the context, not an opinion about what the numbers mean politically or socially

Example

Input

Data: In 2019, the city recorded 340 reported burglaries. In 2024, the city recorded 285 reported burglaries. The city's population was 210,000 in 2019 and 225,000 in 2024.

Calculation needed: Percentage change in burglaries, and per-capita burglary rate for both years, so I can write accurately about whether burglary has actually declined.

Context: I am writing a local news story about crime trends. The police chief has claimed that "burglary is down significantly."

Output

Inputs

  • Burglaries: 340 (2019) and 285 (2024)
  • Population: 210,000 (2019) and 225,000 (2024)
  • Requested: percentage change in raw burglaries + per-capita rate for both years

Calculation 1: Percentage Change in Reported Burglaries

Formula: ((New Value - Old Value) / Old Value) x 100

((285 - 340) / 340) x 100 = (-55 / 340) x 100 = -16.2%

Result: Reported burglaries fell 16.2% between 2019 and 2024.

In Plain English: The city recorded 16% fewer burglaries in 2024 than in 2019, dropping from 340 to 285 reported incidents.


Calculation 2: Per-Capita Burglary Rate (per 10,000 residents)

Formula: (Number of burglaries / Population) x 10,000

2019: (340 / 210,000) x 10,000 = 16.2 burglaries per 10,000 residents 2024: (285 / 225,000) x 10,000 = 12.7 burglaries per 10,000 residents

Percentage change in per-capita rate: ((12.7 - 16.2) / 16.2) x 100 = -21.6%

Result: The per-capita burglary rate fell from 16.2 to 12.7 per 10,000 residents — a 21.6% decline.

In Plain English: After adjusting for population growth, the burglary rate fell 22% over five years — from roughly 16 burglaries per 10,000 residents to roughly 13.


Caveats

  • The raw number fell 16%, but the per-capita rate fell 22%. The difference matters: the city's population grew by 15,000 people during this period. Using the raw number alone understates the decline because it does not account for the larger population base. The per-capita figure is more accurate for a "has burglary gone down?" story.
  • These are reported burglaries, not total burglaries. Changes in reporting rates — due to shifts in policing practice, public trust, or insurance claim behavior — can affect the numbers independently of actual crime trends. If reporting rates changed between 2019 and 2024, the decline may be partly statistical rather than real.
  • A five-year comparison using only the start and end points can be misleading if there was a spike or dip in the middle. If burglaries surged to 500 in 2021 and then fell sharply, the trend story is very different from a steady decline. Request the year-by-year figures if available.

Known Limitations

  • The assistant performs arithmetic reliably for straightforward calculations (percentages, averages, ratios, per-capita rates) but is not a statistical software package. For regression analysis, significance testing, confidence intervals, or anything involving large datasets, use dedicated tools (Excel, R, Python) and use this skill only to verify and explain the outputs.
  • This skill works with the data provided and cannot assess data quality. If the source figures are wrong, the calculation will be correctly performed on incorrect inputs. Always verify source data against primary documents before publishing.
  • The "In Plain English" sentence is designed for general news audiences. For specialist publications (financial press, scientific journals), the phrasing may need adjustment to meet field-specific conventions for reporting statistics.

Related Skills

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA Basic Statistics Calculator ?

Performs and explains basic statistical calculations — percentages, percentage changes, per-capita rates, averages, medians, and ratios — from data you provide, showing the working so you can verify it and use the figures confidently in a story.

Pourquoi utiliser Basic Statistics Calculator sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Basic Statistics Calculator se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Basic Statistics Calculator dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/ur-grue/autopunk-media-skills/tree/main/skills/data-journalism/analysis/basic-statistics-calculator. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Basic Statistics Calculator ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Basic Statistics Calculator ?

Autant que vous le souhaitez. Tant qu’un modèle prend en charge les compétences, vous pouvez utiliser Basic Statistics Calculator avec lui : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Basic Statistics Calculator est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par ur-grue sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, modèles de documents ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇