شعار Basic Statistics Calculator

Basic Statistics Calculator

المجتمع
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.

نظرة عامة

الناشرur-grue
المستودعautopunk-media-skills
اسم المهارةbasic-statistics-calculator
النجوم
45
التفريعات
3
الملفات المرفقة
1
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 1

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها ur-grue على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Basic Statistics Calculator في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/ur-grue/autopunk-media-skills/tree/main/skills/data-journalism/analysis/basic-statistics-calculator
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Basic Statistics Calculator في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج Basic Statistics Calculator تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Basic Statistics Calculator بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تترتب أي تكلفة على المهارة غير المستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

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

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة أثناء تحميل المهارة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي 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.

لماذا تستخدم Basic Statistics Calculator على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Basic Statistics Calculator عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Basic Statistics Calculator في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/ur-grue/autopunk-media-skills/tree/main/skills/data-journalism/analysis/basic-statistics-calculator. يقرأ TypingMind ملف SKILL.md الخاص بها، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Basic Statistics Calculator؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Basic Statistics Calculator؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Basic Statistics Calculator معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Basic Statistics Calculator مجانية؟

نعم. نشرها ur-grue على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇