Logo van Basic Statistics Calculator

Basic Statistics Calculator

Community
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.

Overzicht

Uitgeverur-grue
Repositoryautopunk-media-skills
Skillnaambasic-statistics-calculator
Sterren
45
Forks
3
Meegeleverde bestanden
1
LicentieMIT
Links
  • Instructies in Markdown

    Een SKILL.md-bestand dat het model laadt wanneer nodig, zodat het alleen tokens kost als een verzoek er daadwerkelijk bij past.

  • Werkt met elk LLM

    AI-skills zijn gewone Markdown, geen aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • 1 meegeleverde bestanden

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. Bestanden zijn alleen-lezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door ur-grue op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Basic Statistics Calculator in TypingMind om deze met elke LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map — het leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/ur-grue/autopunk-media-skills/tree/main/skills/data-journalism/analysis/basic-statistics-calculator
  4. Schakel de skill in elke chat in waarin je deze beschikbaar wilt hebben.
Plug-ins → Skills → Nieuwe skill → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die 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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Basic Statistics Calculator in een willekeurige chat in TypingMind in en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek erbij past, laadt het model zelf de volledige instructies — je hoeft de skill nooit handmatig aan te roepen en deze kost pas tokens wanneer je de skill daadwerkelijk gebruikt.

Het model laadt Basic Statistics Calculator automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Basic Statistics Calculator niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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

Meegeleverde bestanden

Het model leest deze bestanden wanneer nodig terwijl de skill geladen is. Ze worden beschikbaar gesteld als leesbare bestanden en worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill 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.

Waarom Basic Statistics Calculator gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Basic Statistics Calculator bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model, en je kunt midden in een chat van model wisselen zonder dat de skill niet meer werkt. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Basic Statistics Calculator in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/ur-grue/autopunk-media-skills/tree/main/skills/data-journalism/analysis/basic-statistics-calculator. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Basic Statistics Calculator gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Basic Statistics Calculator gebruiken?

Zoveel als je wilt. Zolang een model skills ondersteunt, kun je Basic Statistics Calculator ermee gebruiken: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama en meer. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Basic Statistics Calculator gratis?

Ja. Deze skill is door ur-grue op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. Deze volgt het open Agent Skills-formaat: een bestand met de naam SKILL.md met een naam en beschrijving, plus eventuele scripts, sjablonen of referentiebestanden die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇