inspector
Skill by QinghongLin
Checks sentence-level traceability in Data2Story blogs and builds an in-page Inspector panel. Readers can click any claim to see its evidence and re-run computations in the browser. Aimed at authors of data-driven blogs.
Install inspector
Built from the published package, never by AI.
git clone --depth 1 https://github.com/QinghongLin/data2story-skill /tmp/data2story-skill && mkdir -p ~/.claude/skills && cp -r /tmp/data2story-skill/skills/data2story-pro/inspector ~/.claude/skills/inspectorRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/QinghongLin/data2story-skill /tmp/data2story-skill && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/data2story-skill/skills/data2story-pro/inspector ~/.gemini/antigravity-cli/skills/inspectorAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Inspector is an agent skill for Data2Story blogs. It runs sentence-level traceability verification with verify.py, which links each visible sentence to its evidence in the role JSON files and writes verifier.json. The skill runs this check at Stage 6.4, before the Critic, and then generates the panel with generate_viewer.py at Stage 7.
The output is an in-page Inspector panel in index.html. Clicking a claim opens a drawer with its evidence. Computation claims with runnable snippets can be re-run in the browser with lazy-loaded Pyodide and graded against the published output. The verify/ folder holds verify_map.json, run_cells.json, a reproducible notebook and cell_registry.json. The notebook re-runs the headline numbers from raw data. The skill is aimed at people publishing data-driven blogs who want reader-checkable evidence.
Written from the project's SKILL.md and checked against it.
What it can do
- Sentence-level verificationRuns verify.py to map each blog sentence to its evidence in the role JSON files.
- In-page Inspector panelAdds a drawer to index.html that shows the evidence behind a clicked claim.
- In-browser re-runRe-executes runnable computation snippets with lazy-loaded Pyodide and grades the output.
- Reproducible notebookProvides a notebook that re-runs headline figures from raw data and checks them against published values.
- Verify artifactsWrites verify_map.json and run_cells.json that match the inlined panel data byte for byte.
- Cell registryDerives cell_registry.json, mapping notebook cells to the claim ids they back.
- Panel emitterRuns generate_viewer.py to validate authored files and inject the panel payloads into index.html.
What you need
- Python 3
- A built index.html file
- analyst.json, detective.json, designer.json and editor.json role files
- A browser for the in-page panel
Try asking
- Run the Inspector verification on my Data2Story blog project folder.
- Generate the Inspector panel and verify artifacts for this blog.
- Build the reproducible notebook for the headline numbers in my post.
Good to know
- Requires the Programmer to author the verify/ files before generate_viewer.py runs.
- Stochastic snippets run a reduced sample and are graded as approximate, not a hard pass.
- Snippets that need network access are shown read-only and point to the notebook cell.
Security check
B- Allowed to use Write without limitsIn
SKILL.md
Checked automatically: skills/data2story-pro/inspector/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Bash(*)ReadWrite
Alternatives to inspector
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
inspector: common questions
What does the Inspector skill check?
It checks that each visible sentence in a Data2Story blog links back to evidence in the role JSON files. The mapping is written to verifier.json.
Can readers re-run the numbers themselves?
Computation claims with runnable snippets can be re-run in the browser and graded against the published output. The bundled notebook re-runs the headline numbers from raw data.
When does verification run in the pipeline?
verify.py runs at Stage 6.4, after validate.py and before the Critic. generate_viewer.py runs later, at Stage 7.
How do I install inspector?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is inspector free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is inspector safe to use?
It scores 54 of 100. Grades: maintenance C, licence A, quality B. Security check: grade B (allowed to use write without limits). Review the code before you install. How grades work.
What are alternatives to inspector?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
