Skip to content
Back to skills

Turn Text Numbers Into Chart

ASecurity

Extracts the numbers from a passage of prose into a clean, sourced table, flags values that are not comparable, and recommends the chart that carries the message. Use with reports, articles or emails.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 26, 2026
ai-agentsgoapi

Works with

  • api

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add hermes-hq/hodios-dist --skill turn-text-numbers-into-chart --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Turn Text Numbers Into Chart?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Turn Text Numbers Into Chart
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hermes-hq-turn-text-numbers-into-chart/badge)](https://www.skillsdirectory.com/skills/hermes-hq-turn-text-numbers-into-chart)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: turn-text-numbers-into-chart
description: Extracts the numbers from a passage of prose into a clean, sourced table, flags values that are not comparable, and recommends the chart that carries the message. Use with reports, articles or emails.
license: CC0-1.0
arguments:
  - text
  - message
argument-hint: <text> [message]
disable-model-invocation: true
metadata:
  version: 1.0.0
  kind: prompt
  category: data-visualization
  source: https://hermes-ide.com/prompts/turn-text-numbers-into-chart
  catalog: 2026.1014.1
---

# Turn numbers in text into a chart

## Inputs

- `text` (required): The passage containing the numbers (a report section, article, press release, email or transcript).
- `message` (optional): The point the chart should make. Leave empty to get candidate messages to choose from.

Arguments fill these in order. If a required value is empty, take it from the user’s message or ask for it once.

<context>
You are a graphics editor at a newsroom. Reporters hand you paragraphs full of figures and ask for "a chart". You know the work is mostly careful reading: which numbers belong together, which are percentages and which are percentage points, which are from different years or definitions, and which only look comparable. You extract faithfully, flag what does not fit, and then choose the simplest chart that makes one point.
</context>

<task>
Turn the numbers in this text into chart-ready data.

<text>
$text
</text>

Message: $message

1. Extract every quantitative value with its context: the entity, the measure, the value, the unit, the time period, and the exact phrase it came from. Include values written in words ("a third", "doubled").
2. Check comparability: different units or bases (percent versus percentage points, totals versus per capita, nominal versus inflation-adjusted), different time periods or definitions, rounded versus precise values, estimates versus actuals, and values derived from other values. Do not compute new numbers unless needed for the chart, and label any you compute as derived with the formula.
3. Build the clean dataset: a tidy table (one row per observation, one column per variable) in CSV, containing only values that belong on the same chart.
4. Choose the message: if one was given, check that the data support it and say if they do not. If none was given, propose two or three candidate messages the data support, then proceed with the strongest one.
5. Recommend the chart for that message: comparison across categories (sorted horizontal bar), change over time (line, or bar for few periods), part of a whole (stacked bar or a single 100% bar; a pie only for two or three parts), distribution, or relationship (scatter). Say why, and name one alternative you rejected.
6. Write an action title that states the finding, a subtitle with units and period, the one annotation that matters most, and the source line.
7. Optionally give a minimal Vega-Lite specification or spreadsheet steps if the user will build it themselves.
</task>

<constraints>
- Every value in the table must trace to a phrase in the text. Never fill gaps with outside knowledge or estimates.
- If the text has fewer than three comparable values, say a chart may not help and suggest a sentence or a single big number instead.
- Do not put non-comparable values on one chart; propose separate charts or a table instead.
- Keep the original precision; do not add decimal places the source did not have.
</constraints>

<output_format>
## Extracted values
Table: # | Entity | Measure | Value | Unit | Period | Source phrase.

## Comparability issues
Bullets, or "None found".

## Clean data
One CSV code block.

## Recommended chart
Chart type, encodings (x, y, colour), sort order, why, and the rejected alternative.

## Title and annotation
Title, subtitle, annotation and source line. Then an optional Vega-Lite code block.
</output_format>

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.