/ai-analyst-plus:notion-exportfrom ai-analyst-plus
Exports analysis results to Notion pages with structured layout, embedded charts, data stamps, and provenance toggles. Useful for sharing findings in a Notion workspace.
Ships in ai-analyst-plus. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Requires the Notion connector enabled in Cowork.
Export analysis results to Notion as a well-structured page with charts, data stamps, and provenance. Supports both standalone pages and Analysis Gallery database entries.
/export notion — export the latest analysis to Notion
Exact tool names differ by environment, so never hardcode them: discover the Notion connector's actual tools from the session's available tools. You need two capabilities at minimum: search (find pages/databases in the workspace) and create pages. A read/fetch capability is needed for the Step 7 self-check. Read each discovered tool's own schema before calling it; the parameter shapes below are described by capability, and the tool's schema is the authority.
Same as the main export skill — find the latest narrative, charts, validation, and close-the-loop outputs. Also gather:
Search for an "Analysis Gallery" database in the user's Notion workspace using the connector's search capability, with a plain query ("Analysis Gallery"). Do not assume an object-type filter parameter exists: current connectors filter by things like creator or date, if at all, not by "database". Search plainly and inspect the results yourself for a database (or data source) named "Analysis Gallery".
If found:
If not found:
{Analysis Title} — {Dataset} ({Date})
Use the confidence grade as the icon:
Callout block: Confidence badge
"Confidence: {grade} ({score}/100) — {interpretation}"
H2: Executive Summary
Paragraph: 3-5 sentence overview
Bulleted list: Key findings (max 3)
H2: Finding 1 — {title}
Callout block (gray): Data stamp
"{row_count} rows | {date_range} | {primary_table} | {grade} ({score})"
Paragraph: Insight and evidence
Image block: Chart (if available)
Toggle block: "Show methodology & SQL"
Paragraph: Methodology details
Code block (sql): Full SQL query
Paragraph: Cross-verification result
H2: Finding 2 — {title}
... (repeat pattern)
H2: Recommendations
Numbered list: Action items
H2: Data Quality & Limitations
Paragraph: Validation summary
Bulleted list: Caveats
Divider
H3: Provenance
Toggle block: "Full provenance for F1"
... (full provenance block content)
Toggle block: "Full provenance for F2"
...
H3: Analysis Receipt
Paragraph: "Full audit trail available at: outputs/analysis_receipt_{DATASET}_{DATE}.md"
Before building the page, check if toggle blocks work:
Charts must be hosted at a URL Notion can embed. Charts go only to the user's own Google Drive through the connector, private by default with just enough link access for the embed. Never upload charts or data to public file hosts.
Workflow:
Use the connector's create-pages capability with the structured content.
Write the page content as Notion-flavored Markdown in the tool's content string, not as
block JSON. (Old Notion public-API integrations built pages from heading_2 / paragraph /
callout block objects; current connectors take markdown instead. If the discovered tool's
description points at a markdown spec resource, read that spec first and follow it.)
Map the structure from Step 3 to markdown:
## for section headings, ### for subsections- bullets and 1. numbered listssql for SQL--- for dividersConnector boundary, honestly: the exact markdown extensions supported cannot be verified without the live connector, which is why the spec-resource read and the Step 4 toggle test exist.
After creating the page, read it back and verify:
If any check fails, attempt one fix iteration (max 1 retry).
Analysis exported to Notion:
URL: {page_url}
Location: {Analysis Gallery / Standalone page}
Findings: {N}
Charts: {N} embedded
Provenance: {toggle blocks / H3 sections}
Self-check: {PASS / PASS with {N} fixes / {N} issues flagged}
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub ai-analyst-lab/ai-analyst-plugin --plugin ai-analyst-plus47 skills in this plugin
/always-compareNever present a metric or number in isolation; anchor every number to a comparison (prior period, benchmark, or another segment) or state that none is available. Use every time you show a number: rates, counts, revenue, averages, query results, chart labels, summary stats. Trigger on output containing "the rate is", "we saw", "total", "average", "conversion", "revenue", "users", "sessions", "churn", "AOV", "NPS", or any figure pulled from data./analysis-designTurn a vague hunch or stakeholder request into a rigorous analysis plan via a staged pipeline (hypothesis sharpening, confound scan, V1, feedback, V2 redesign). Trigger on "I think X caused Y", "design an analysis for", "what's driving", "V2 after feedback", "stakeholder comments", "redesign the analysis". Vs question-framing (the lightweight framing gate before every analysis): use THIS only for a real hunch, confound scan, or V1 to V2 redesign./analyst-coreOperating rules for every data analysis. Apply for ANY data-analysis intent: "analyze", "investigate", "why did X change", "compare", "report on", "dashboard", "metrics", "funnel", "retention", "revenue", "conversion", "trend", "segment", "forecast", "how are we doing", "dig into", "break down", or any question about data, a metric, a CSV, or a table. Sets the method and routes to the other skills; load before any analytical question.Other plugins' skills for the same job