report-to-google-doc
Skill by XiaomiMiMo
Report To Google Doc converts an existing HTML analytics report into a DOCX file and uploads it to Google Drive. It is for users who need a shareable document from a local or blob-hosted report.
Install report-to-google-doc
Built from the published package, never by AI.
git clone --depth 1 https://github.com/XiaomiMiMo/MiMo-Code /tmp/MiMo-Code && mkdir -p ~/.claude/skills && cp -r /tmp/MiMo-Code/packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/build-report/report-to-google-doc ~/.claude/skills/report-to-google-docRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/XiaomiMiMo/MiMo-Code /tmp/MiMo-Code && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/MiMo-Code/packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/build-report/report-to-google-doc ~/.gemini/antigravity-cli/skills/report-to-google-docAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install report-to-google-doc in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Report To Google Doc is a narrow conversion skill for AI assistants. It turns an existing local or blob-hosted HTML analytics report into a Word DOCX file and uploads it to Google Drive. The skill runs a bundled Python helper that parses the report, renders visuals, and builds the document with headings, tables, lists, links and inline images.
Before any upload, the helper runs preflight checks on the source, page width, DOCX and rendered images, and the upload waits until those checks pass. After upload, the assistant compares the Drive file with the source inventory and returns the link. The skill is for users who explicitly need a shareable document from an existing HTML report.
Written from the project's SKILL.md and checked against it.
What it can do
- HTML report parsingParses headings, tables, callouts, lists, links and visuals from the source HTML report.
- DOCX generationBuilds a local Word document with native headings, tables, bullets and inline images.
- Preflight checksChecks source, page width, DOCX and rendered images before any upload is made.
- _upload_fileUploads the generated DOCX to Google Drive and returns the Drive URL as the deliverable.
- Upload validationCompares the uploaded text and local DOCX structure with the source report inventory.
What you need
- Python 3
- beautifulsoup4, pillow and python-docx Python packages
- Access to the Google Drive upload tool (mcp__codex_apps__google_drive)
- Optional: cairosvg or headless Playwright for rendering
Try asking
- Convert this local analytics report.html into a shareable Google Drive document
- Turn the blob-hosted HTML report into a DOCX and return the Drive link
- Upload my analytics report as a DOCX and check it against the source
Good to know
- Accepts HTML analytics reports only
- Does not use native Google Docs conversion; Drive may host a DOCX-backed file
- Upload is blocked until preflight checks pass with zero errors
- Does not convert sign-in pages, redirect pages or tiny stub files
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/build-report/report-to-google-doc/SKILL.md, packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/build-report/report-to-google-doc/scripts/report_to_google_doc/__init__.py, packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/build-report/report-to-google-doc/scripts/report_to_google_doc/cli.py, packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/build-report/report-to-google-doc/scripts/report_to_google_doc/constants.py, packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/build-report/report-to-google-doc/scripts/report_to_google_doc/docx_writer.py, packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/build-report/report-to-google-doc/scripts/report_to_google_doc/html_parser.py, packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/build-report/report-to-google-doc/scripts/report_to_google_doc/model.py, packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/build-report/report-to-google-doc/scripts/report_to_google_doc/plan.py, packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/build-report/report-to-google-doc/scripts/report_to_google_doc/quality.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB -
agents/openai.yaml304 B -
scripts/report_to_google_doc/__init__.py45 B -
scripts/report_to_google_doc/cli.py2 KB -
scripts/report_to_google_doc/constants.py2 KB
Show all 14 files
-
scripts/report_to_google_doc/docx_writer.py12 KB -
scripts/report_to_google_doc/html_parser.py28 KB -
scripts/report_to_google_doc/model.py1017 B -
scripts/report_to_google_doc/plan.py5 KB -
scripts/report_to_google_doc/quality.py14 KB -
scripts/report_to_google_doc/rendering.py23 KB -
scripts/report_to_google_doc/table_utils.py2 KB -
scripts/report_to_google_doc/utils.py355 B -
scripts/report_to_google_doc_plan.py212 B
Alternatives to report-to-google-doc
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
report-to-google-doc: common questions
Does it create native Google Docs files?
No. The source says the path is HTML to DOCX to Drive upload, and Drive may host a DOCX-backed viewer file instead of a native Google Docs type.
What kind of report can it convert?
An existing HTML analytics report, either a local file, a downloaded blob-hosted report, or a report produced by the build-report HTML mode.
Are charts and tables kept in the document?
The source says charts are preserved as inline images aligned to the text edge, and tables, callouts, links and lists are kept as DOCX-native structures where practical.
How do I install report-to-google-doc?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is report-to-google-doc free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is report-to-google-doc safe to use?
It scores 88 of 100. Grades: maintenance A, licence A, 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 report-to-google-doc?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
