report-to-google-doc

report-to-google-doc is a skill for Codex from XiaomiMiMo/MiMo-Code. It costs 42 tokens per session (1,494 once invoked), scanned A, original, MIT.

A workflow for converting an existing HTML analytics report into a shareable document for Google Drive, either as a Google Doc or a DOCX file. DOCX is the standard editable document format used by Microsoft Word and many other tools.

In plain words
What is it for?
Use it to turn a local or downloaded HTML report into a DOCX-backed Drive document, with the report content preserved for sharing.
Why use it?
It provides a document-based version of a report that can be shared through Google Drive instead of leaving it as a web page.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: $skill-name invocation.

Good fit Use it to turn a local or downloaded HTML report into a DOCX-backed Drive document, with the report content preserved for sharing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xiaomimimo/mimo-code/report-to-google-doc
About the project

MiMoCode is a terminal-based AI coding assistant that reads and writes code, runs commands, manages Git, and remembers project context across sessions. Developers use it to work with software projects through a command-line interface and connect it to language-model providers; the catalogue includes skills and instructions for it.

XiaomiMiMo/MiMo-Code · 13,799 stars · on GitHub · mimo.xiaomi.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add XiaomiMiMo/MiMo-Code --skill report-to-google-doc
Clone the repo
git clone --depth 1 https://github.com/XiaomiMiMo/MiMo-Code

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for report-to-google-doc

README.md
[![agentmods](https://agentmods.dev/badge/skills/xiaomimimo/mimo-code/report-to-google-doc/github.svg)](https://agentmods.dev/skills/xiaomimimo/mimo-code/report-to-google-doc)
Your own site
<a href="https://agentmods.dev/skills/xiaomimimo/mimo-code/report-to-google-doc"><img src="https://agentmods.dev/badge/skills/xiaomimimo/mimo-code/report-to-google-doc/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for report-to-google-doc

Your own site · 80×15
<a href="https://agentmods.dev/skills/xiaomimimo/mimo-code/report-to-google-doc"><img src="https://agentmods.dev/badge/skills/xiaomimimo/mimo-code/report-to-google-doc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,494 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.01494
Opus 5.5 $0.00017 $0.00598
Sonnet 5.5 $0.00008 $0.00299
Haiku 4.5 $0.00004 $0.00149

Measured 3mo ago against content hash 30c8a78135f0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

report-to-google-doc scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

The scan reads SKILL.md. This mod also ships 12 executable files (scripts/report_to_google_doc_plan.py, scripts/report_to_google_doc/__init__.py, scripts/report_to_google_doc/cli.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/build-report/report-to-google-doc/SKILL.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Report To Google Doc

Use this skill only when the user explicitly needs a shareable Google Drive document from an existing HTML analytics report. The source must be an HTML report: a local file, a downloaded blob-hosted report, or a report produced by $build-report HTML mode or an equivalent local portable report source.

The expected path is HTML -> DOCX -> Drive upload. It is acceptable for Drive to host the upload as a DOCX-backed viewer file rather than a native Google Docs MIME type. Do not use the old Google Docs batch-update request path.

Workflow

  1. Resolve the HTML report.

    Use an absolute local path. If the user provides a remote report, retrieve it first and pass the local HTML file to the helper. If the file is a sign-in page, redirect page, or tiny stub, stop and obtain the real report.

  2. Run the bundled helper.

    python3 <REPORT_TO_GOOGLE_DOC_SKILL_DIR>/scripts/report_to_google_doc_plan.py \
      /absolute/path/to/report.html \
      --out-dir /tmp/report_to_google_doc_plan
    

    Omit --render-workers on the normal path. Only pass a worker count after benchmarking the same report family locally. If dependencies are missing, use a local virtual environment with beautifulsoup4, pillow, and python-docx; cairosvg or headless Playwright are optional renderers.

  3. Inspect helper outputs.

    Required outputs:

    • skeleton.txt: source text with stable placeholders
    • manifest.json: parsed headings, tables, callouts, lists, styles, links, and rendered visual inventory
    • preflight_checks.json: source, width, DOCX, and rendered-image checks
    • report.docx: generated local Word document
    • docx_upload_plan.json: compact upload instructions
    • placeholder_queries.json: source mapping debug labels

    Do not upload until preflight_checks.json has status: "passed" with zero errors. Warnings must either be fixed or called out in the handoff.

  4. Upload the DOCX.

    mcp__codex_apps__google_drive._upload_file({
      "file_uri": "/tmp/report_to_google_doc_plan/report.docx",
      "file_name": "Report Name.docx",
      "mime_type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
    })
    

Read the full file on GitHub · 113 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 113 lines · 42 tokens per session scan A 30c8a78135f0

Subscribe to this mod's changes

report-to-google-doc is a skill published in the GitHub repository XiaomiMiMo/MiMo-Code (13,799 stars, last pushed yesterday), licensed MIT. It adds 42 tokens to every session and 1,494 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

report-to-google-doc compared with skills from other repositories

report-to-google-doc next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
report-to-google-docXiaomiMiMo/MiMo-CodeSkill14kyesterdayMITA42Codex
officecli-academic-paperiOfficeAI/OfficeCLISkill34ktodayApache-2.0A141Claude Code, Codex
officecliiOfficeAI/OfficeCLISkill34ktodayApache-2.0A56Claude Code, Codex
gws-sheetsgoogleworkspace/cliSkill33k6d agoApache-2.0A13Claude Code, Codex
docxHmbown/CodeWhaleSkill41k2d agoMITA16Claude Code, Codex
xlsxHmbown/CodeWhaleSkill41k2d agoMITA20Claude Code, Codex
gws-docsgoogleworkspace/cliSkill33k6d agoApache-2.0A11Claude Code, Codex