formatting-insight-axes
Skill by PostHog
Sets the right y-axis unit for PostHog graph insights created or updated with posthog:insight-create or posthog:insight-update. Aimed at agents building trends and SQL charts with durations, currency, ratios, or large counts.
Install formatting-insight-axes
Built from the published package, never by AI.
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.claude/skills && cp -r /tmp/posthog/products/product_analytics/skills/formatting-insight-axes ~/.claude/skills/formatting-insight-axesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install formatting-insight-axes in Claude Code
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/posthog/products/product_analytics/skills/formatting-insight-axes ~/.gemini/antigravity-cli/skills/formatting-insight-axesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install formatting-insight-axes in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill tells an assistant which y-axis format to set when it creates or updates a PostHog graph insight. For TrendsQuery insights it sets trendsFilter.aggregationAxisFormat. For SQL insights it sets per-column formatting on DataVisualizationNode charts and tables. It warns against adding formulas that only convert units, such as dividing seconds by 60.
The built-in formatter picks a friendly unit for each value, so durations show as 1m 30s and ratios as percentages. The underlying series stays numerically correct for further math. The skill is for agents using PostHog insight tools, and for anyone who wants axis labels that match their data, including when updating an existing insight.
Written from the project's SKILL.md and checked against it.
What it can do
- posthog:insight-createCreates an insight with a y-axis format that matches the unit of the data.
- posthog:insight-updateFixes axis formatting on insights the agent is already editing.
- aggregationAxisFormatSets duration, duration_ms, currency, percentage, short or numeric formats on TrendsQuery insights.
- chartSettings formattingSets style, decimal places and prefix or suffix per column on SQL charts.
- tableSettings formattingSets per-column formatting for SQL insights shown as tables.
What you need
- PostHog insight tools (posthog:insight-create, posthog:insight-update)
Try asking
- Show average session length on the y-axis in readable time units
- Graph p95 page load time in milliseconds on my insight
- Format this revenue insight y-axis as currency with two decimals
Good to know
- SQL formatting styles are none, number, short and percent only.
- Percent formats already add the % sign, so a % suffix shows double percent.
- The currency format uses the project base currency, which defaults to USD.
- It only fixes insights the agent is already editing and does not scan others.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: products/product_analytics/skills/formatting-insight-axes/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB
Alternatives to formatting-insight-axes
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
formatting-insight-axes: common questions
Does this skill convert seconds to minutes with a formula?
No. It advises using the duration format instead, since the formatter picks seconds, minutes or hours per value and the underlying values stay in seconds.
Which formats can SQL insights use?
The source lists none, number, short and percent as styles. Duration and currency are not available for SQL, so use prefix or suffix or the SQL itself.
How should a currency axis be set?
Use the currency format to show the project base currency. Use a fixed prefix such as $ with two decimal places when the values are always in one currency.
How do I install formatting-insight-axes?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is formatting-insight-axes free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is formatting-insight-axes safe to use?
It scores 85 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to formatting-insight-axes?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
