Logo von Blog Cost Charts

Blog Cost Charts

Community
akitaonrails
blog-cost-charts

Erstellt Diagramme mit dunklem Design: Blasendiagramme für Kosten und Score sowie Balkendiagramme für das Preis-Leistungs-Ranking nach Score/(Kosten*Zeit). Gedacht für Blogbeiträge, die LLM-Benchmark-Ergebnisse vergleichen (oder andere Datensätze mit Werten für Score/Kosten/Zeit). Die Diagramme werden auf Portugiesisch und Englisch erstellt, in S3 hochgeladen und in den Hugo-Artikel eingebettet. Verwenden Sie diesen Skill, wenn der Nutzer nach einer Ranglistentabelle auf akitaonrails.com Diagramme, Grafiken oder einen visuellen Vergleich von Modellen oder Optionen hinzufügen möchte.

Add to TypingMind

Übersicht

Herausgeberakitaonrails
Repositorymy-skills
Skill-Nameblog-cost-charts
Sterne
268
Forks
31
Mitgelieferte Dateien
2
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 2

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von akitaonrails auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Blog Cost Charts in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/akitaonrails/my-skills/tree/master/blog-cost-charts
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/akitaonrails/my-skills.git /tmp/my-skills
mkdir -p .claude/skills
cp -r /tmp/my-skills/blog-cost-charts .claude/skills/blog-cost-charts
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Blog Cost Charts in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Blog Cost Charts automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Blog Cost Charts nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Blog Cost/Value Charts

You help turn a ranking table (score, cost, time, per item) into two companion charts for a blog post on this Hugo site: a cost-vs-score bubble scatter, and a score/(cost×time) value-ranking bar chart. Both are produced dark-themed, one PNG per language the article ships in (normally pt and en), and get embedded right after the ranking table.

This came out of the v4 LLM benchmark article (content/2026/09/15/novo-llm-benchmark-v4-*), which needed exactly this pair of charts to make a 39-row table skimmable. The script here is the generalized version of the one-off script written for that post.

When to use

  • The article has a table with a numeric score, a cost, and a time (or any three comparable numeric axes) per row, and the user wants a visual "which one is the best deal" comparison instead of just the raw table.
  • Explicitly requested: "add graphs/charts after the table", "make this easier to compare visually", "cost-benefit chart", etc.

Workflow

1. Pick the dataset and scope

Not every row in a big table belongs in the chart. Decide, and say so in the chart's own footnote:

  • Which rows have a genuinely comparable cost figure? Exclude free, uncommitted, or flat-rate-plan entries that can't sit meaningfully on a dollar axis (a $0 point breaks a log scale; a flat-rate plan has no per-run dollar figure at all). Call these out by name in the footnote rather than silently dropping them.
  • If costs come from different harnesses/pricing bases (e.g. a real per-token API cost vs. a notional share of a flat subscription), don't hide that — color-code by group (see below) and say so in the footnote and in the article's own prose, the same way the source table already should.
  • A curated subset (15-25 points) reads far better than cramming all 39+ rows in; prefer restricting to the tier/category the article's own prose is actually discussing (e.g. "Tier A only") over trying to fit everything.

2. Build the JSON config

Copy scripts/config.example.json and edit it. Shape:

jsonc
{
  "slug": "v4",                    // filename prefix for the output PNGs
  "x_log": true,                    // log-scale cost axis (usually yes: cost ranges span 100x+)
  "x_lim": [0.7, 160],               // tune to the actual data range with a little padding
  "y_lim": [84.5, 102.2],
  "x_ticks": [1, 3, 10, 30, 100],
  "x_tick_fmt": "${}",
  "group_colors": { "codex": "#5fd35f", "claude": "#e8965a", "...": "..." },
  "models": [
    {"name": "GPT-6 Astra", "score": 100.0, "cost": 30.55, "minutes": 100, "group": "codex"}
  ],
  "text": {
    "pt": { "scatter_title": "...", "scatter_subtitle": "...", "scatter_xlabel": "...",
            "scatter_ylabel": "...", "groups": {"codex": "Codex (OpenAI)"},
            "footnote": "...", "ranking_title": "...", "ranking_subtitle": "...",
            "ranking_xlabel": "...", "ranking_footnote": "..." },
    "en": { /* same keys, English copy */ }
  }
}

Every key under text.<lang> must be filled per language — there's no translation step in the script, it just renders whatever string you give it. Match the site's voice rules for both languages (PT-BR: Akita's direct, skeptical voice, no em dashes; EN: New Yorker tone, same rules) — these strings are visible chart copy, not throwaway labels.

3. Tune label offsets to avoid overlap

Bubble charts with several models at a similar cost/score WILL collide on first render. Run the script once, actually look at the output image (Read tool, not just "it ran without error"), and add a label_offsets map to the config for any name whose label overlaps another:

jsonc
"label_offsets": { "GPT 5.6 sol": [14, -22], "GPT 5.6 terra": [-14, 20] }

Values are [dx, dy] in points from the bubble center. Expect 2-3 iterations of render → look → nudge before it's clean. This is the single most time-consuming part of the workflow; budget for it rather than shipping the first render.

4. Generate

bash
python3 scripts/make_charts.py path/to/config.json --outdir /path/to/scratchpad/charts

Outputs <slug>-cost-score-<lang>.png and <slug>-value-ranking-<lang>.png per language key in text. Read each image back before moving on — check for: overlapping labels, title/subtitle collisions, a legend sitting on top of data, and that the value-ranking numbers look sane (spot-check one or two by hand: score / (cost * minutes) * 1000).

5. Upload to S3 — do not skip this

Static blog posts can't reference local files. Every PNG must go up before it's embeddable:

bash
set -a; source ~/.config/zsh/secrets 2>/dev/null; set +a
for f in <slug>-cost-score-pt.png <slug>-cost-score-en.png <slug>-value-ranking-pt.png <slug>-value-ranking-en.png; do
  aws s3 cp "/path/to/scratchpad/charts/$f" "s3://new-uploads-akitaonrails/YYYY/MM/DD/$f" \
    --region us-east-2 --content-type image/png
done

Use the article's own publish date for the YYYY/MM/DD path, matching the convention already used for post images. After uploading, verify each URL actually resolves (don't just trust the upload exit code):

bash
curl -s -o /dev/null -w "%{http_code}\n" \
  "https://new-uploads-akitaonrails.s3.us-east-2.amazonaws.com/YYYY/MM/DD/<file>.png"

Expect 200 for all four.

6. Embed in the article

Insert right after the ranking table's own footnotes/caveats (before moving on to narrative sections), one language-appropriate image per post, with a short lead-in sentence and a plain-language alt text describing the axes:

markdown
![Bubble chart: dollar cost on the X axis (log scale) against score on the Y axis, bubble size is wall-clock time, color is the harness](https://new-uploads-akitaonrails.s3.us-east-2.amazonaws.com/YYYY/MM/DD/<slug>-cost-score-en.png)

Do this in both the index.md (PT) and index.en.md (EN) siblings in the same turn, each pointing at its own language's PNG — never mix languages in one post's images.

7. Rebuild and verify before committing

bash
hugo --minify
grep -o 'https://new-uploads-akitaonrails.s3[^")]*' public/<pt-path>/index.html
grep -o 'https://new-uploads-akitaonrails.s3[^")]*' public/en/<en-path>/index.html

Confirm the build has no errors and each language's page references its own PNG. Then commit both markdown files together (they're a translation pair — see the site's bilingual-editing rule) and push per the user's usual publish flow.

Design notes (why the script looks like this)

  • Dark theme, log-scale cost axis, bubble size = time: mirrors a reference chart style the user has used before (#0d1117 background, colored bubbles, muted gridlines). Cost in a benchmark context routinely spans two-plus orders of magnitude ($0.90 to $120+), so linear cost axes make cheap options indistinguishable — always log-scale it.
  • Color = group, not score: coloring by cost basis/harness (real API $ vs. notional subscription $ vs. free) visually carries the "these aren't directly comparable" caveat that the article's prose already has to state in words. Don't color by score/tier instead; that duplicates the Y axis.
  • Value index = score / (cost × time), scaled ×1000 for readable numbers: this combined ranking routinely surprises — a model with a merely-good score but very low cost AND fast wall time can out-rank the single highest-score cheap model. Call that out explicitly in the article's prose next to the chart; it's usually the actual news, not filler.
  • Never automate the "which rows to include" decision: that's an editorial judgment about the article's argument, not a data-cleaning step.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Blog Cost Charts?

Erstellt Diagramme mit dunklem Design: Blasendiagramme für Kosten und Score sowie Balkendiagramme für das Preis-Leistungs-Ranking nach Score/(Kosten*Zeit). Gedacht für Blogbeiträge, die LLM-Benchmark-Ergebnisse vergleichen (oder andere Datensätze mit Werten für Score/Kosten/Zeit). Die Diagramme werden auf Portugiesisch und Englisch erstellt, in S3 hochgeladen und in den Hugo-Artikel eingebettet. Verwenden Sie diesen Skill, wenn der Nutzer nach einer Ranglistentabelle auf akitaonrails.com Diagramme, Grafiken oder einen visuellen Vergleich von Modellen oder Optionen hinzufügen möchte.

Warum Blog Cost Charts in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Blog Cost Charts besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Blog Cost Charts in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/akitaonrails/my-skills/tree/master/blog-cost-charts ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Blog Cost Charts nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Blog Cost Charts verwenden?

So viele Sie möchten. In TypingMind können Sie Blog Cost Charts mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Blog Cost Charts kostenlos?

Der Skill wird von akitaonrails auf GitHub veröffentlicht. Prüfen Sie im Repository, ob dort Lizenzbedingungen angegeben sind. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇