Logotipo de Basic Statistics Calculator

Basic Statistics Calculator

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

Descripción general

Editorur-grue
Repositorioautopunk-media-skills
Nombre de la habilidadbasic-statistics-calculator
Estrellas
45
Forks
3
Archivos incluidos
1
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • 1 archivos incluidos

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por ur-grue en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Basic Statistics Calculator en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/ur-grue/autopunk-media-skills/tree/main/skills/data-journalism/analysis/basic-statistics-calculator
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Basic Statistics Calculator en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Basic Statistics Calculator automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Basic Statistics Calculator no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Se ofrecen como archivos de lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de 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.

¿Por qué usar Basic Statistics Calculator en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Basic Statistics Calculator está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Basic Statistics Calculator en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/ur-grue/autopunk-media-skills/tree/main/skills/data-journalism/analysis/basic-statistics-calculator. TypingMind lee su archivo SKILL.md, empaqueta sus archivos y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Basic Statistics Calculator?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Basic Statistics Calculator?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Basic Statistics Calculator con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Basic Statistics Calculator?

Sí. ur-grue la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇