
Datastudio Cli
- 3 repo stars
- Updated April 17, 2026
- spookyuser/datastudio-cli
Claude Code skills for driving the datastudio CLI: general dashboard querying/exploration (datastudio-cli) and QA against a source Excel (datastudio-qa).
About
datastudio-cli is a Claude Code skill in the AI & Agent Building category. Claude Code skills for driving the datastudio CLI: general dashboard querying/exploration (datastudio-cli) and QA against a source Excel (datastudio-qa).
- datastudio-cli
- AI & Agent Building
- AI-coding skill
Datastudio Cli by the numbers
- Data as of Jul 7, 2026 (Skillselion catalog sync)
/plugin marketplace add spookyuser/datastudio-cli/plugin install datastudio-cli@datastudio-cliAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| repo stars | ★ 3 |
|---|---|
| Last updated | April 17, 2026 |
| Repository | spookyuser/datastudio-cli ↗ |
What it does
Claude Code skills for driving the datastudio CLI: general dashboard querying/exploration (datastudio-cli) and QA against a source Excel (datastudio-qa).
README.md
datastudio-cli
CLI for querying Looker / Data Studio dashboards via public batchedDataV2 endpoint.
Includes Claude Code plugin (plugin/) — datastudio-qa to verify dashboard numbers against source Excel file.
What you need
- Python 3.11+ and
uv. - Dashboard URL — Looker Studio reporting URL shared with anonymous viewers.
- (Optional, for QA) Source
.xlsxdashboard built from.
Installing the skills
Skills live in plugin/skills/ and work with any agent that supports the Claude SKILL.md format (Claude Code, Cursor, Codex, OpenCode, Cline, Gemini CLI, Copilot, Windsurf, and others).
With npx skills (any supported agent) — see vercel-labs/skills:
# install both skills globally for Claude Code
npx skills add spookyuser/datastudio-cli -g -a claude-code -y
# or target a different agent (cursor, codex, gemini-cli, ...)
npx skills add spookyuser/datastudio-cli -g -a cursor -y
# pick a single skill
npx skills add spookyuser/datastudio-cli --skill datastudio-qa -g -a claude-code -y
Claude Code plugin (marketplace):
/plugin marketplace add spookyuser/datastudio-cli
/plugin install datastudio-cli@datastudio-cli
Local dev: launch Claude Code with claude --plugin-dir ./plugin from repo root.
Skip the approval prompts (Claude Code)
Claude Code asks before each datastudio call unless you pre-approve. Add this to ~/.claude/settings.json (or the project's .claude/settings.json):
{
"permissions": {
"allow": ["Bash(datastudio:*)"]
}
}
Once loaded, prompts like these auto-trigger datastudio-qa skill:
- "QA the dashboard against the Excel"
- "Verify the Overall Engagement page"
- "Check what happens when I filter Contract Hire to Local"
- "Audit the dashboard against the source Excel"
Claude runs CLI — connect, navigate pages, extract component data, apply filters, compare to Excel, report discrepancies. See plugin/skills/datastudio-qa/SKILL.md for workflow.
Running the CLI yourself
uv run datastudio connect "https://lookerstudio.google.com/u/0/reporting/<id>/page/<page-id>"
uv run datastudio pages
uv run datastudio go "<page name>"
uv run datastudio data --format json
uv run datastudio filter <Dimension> <Value>
uv run datastudio filter reset
Session state persists in .datastudio/
Each component has own columns — not single flat table, but concatenation. For single-table dump, pick one component with --component <token>. For spreadsheet mixing heterogeneous components, use --format json and flatten to preferred shape.
Tests
uv run pytest