report-to-google-doc
Ce qu’il fait
Cette compétence transforme un rapport d'analyse HTML existant en document partageable sur Google Drive. Elle s'adresse aux personnes qui doivent envoyer un rapport modifiable à d'autres.
Quand l’utiliser
- ✓Quand vous avez un rapport HTML et voulez en faire un Google Doc.
- ✓Quand vous avez besoin du rapport sous forme de fichier Word à partager ou à modifier.
- ✓Quand un rapport doit être déposé sur Drive pour que d'autres puissent le lire.
Lien du skill
https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/build-report/report-to-google-doc/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Je veux transformer mon rapport de ventes HTML en Google Doc partageable dans mon Drive.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent lance un script d'aide qui transforme le rapport HTML en fichier Word, puis le dépose sur Drive. Avant la conversion, il vérifie que la source est un vrai rapport et non une page de connexion.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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
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.
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_planOmit
--render-workerson the normal path. Only pass a worker count after benchmarking the same report family locally. If dependencies are missing, use a local virtual environment withbeautifulsoup4,pillow, andpython-docx;cairosvgor headless Playwright are optional renderers.Inspect helper outputs.
Required outputs:
skeleton.txt: source text with stable placeholdersmanifest.json: parsed headings, tables, callouts, lists, styles, links, and rendered visual inventorypreflight_checks.json: source, width, DOCX, and rendered-image checksreport.docx: generated local Word documentdocx_upload_plan.json: compact upload instructionsplaceholder_queries.json: source mapping debug labels
Do not upload until
preflight_checks.jsonhasstatus: "passed"with zero errors. Warnings must either be fixed or called out in the handoff.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" })Treat the returned Drive URL as the deliverable. Do not attempt to force native Google Docs conversion, and do not fall back to
_batch_update_document.Validate the uploaded result.
Confirm the uploaded file is readable and non-empty. Compare uploaded text against the source inventory: title, section headings, executive summary or answer callout, caveats, recommendations, source notes, and source links. Inspect the local
report.docxstructure when available: heading counts, lists, tables, hyperlink relationships, and image relationships should matchmanifest.json.Hand off the link.
Return the Drive/Docs URL and, when useful, the local DOCX path or source HTML path. Connector success alone is not enough; the handoff is complete only after the uploaded file and local DOCX structure have been checked against the source report. Keep routine check and preflight details in support artifacts. Do not list internal checks in the user-facing handoff unless a check failed, was unavailable, or produced a user-relevant caveat.
Standards
- Preserve every section, headline claim, metric card, metric definition, source note, chart takeaway, recommendation, caveat, and link from the HTML report.
- Preserve semantic formatting: headings, paragraphs, inline bold/emphasis, inline code, positive/negative colors, links, lists, callouts, metric-card grids, tables, notes, captions, and charts.
- Use DOCX-native structures wherever practical: headings, paragraphs, tables, bullets/numbered lists, links, inline images, paragraph shading, table cell shading, and text styles.
- Keep the report text column readable. Tables, charts, rendered table grids, screenshots, and visual blocks must not exceed the DOCX page text width.
- Preserve charts as inline images rendered from the source visual or its same-data SVG fallback, aligned to the same left edge as text and tables. A chart with missing bars, missing legend swatches, or all-black/all-white marks fails validation even if the DOCX contains an image object.
- Preserve multi-column report blocks. A two-column grid made only of titled mini-tables can remain a two-column rendered image capped to the text width; mixed two-column blocks with narrative text,
Questions fréquentes
Convertit-elle n'importe quel fichier que je lui donne ?
Non. La source doit être un rapport HTML, et la compétence s'arrête sur les pages de connexion ou les ébauches vides.
Sera-t-il un Google Doc natif ?
La compétence indique que Drive peut l'héberger comme un fichier de visualisation basé sur Word, et non comme un fichier Google Docs natif.
Peut-elle partir d'un rapport distant ?
Oui. L'agent télécharge d'abord le rapport, puis transmet le fichier local à l'outil d'aide.
Détails
Description originale de l’auteur
Narrow conversion skill. Invoke only when the user explicitly asks to convert an existing local or blob-hosted HTML analytics report into a Google Doc, DOCX, or shareable document.
repo: XiaomiMiMo/MiMo-Code
Popularité
- Étoiles GitHub
- 14k
- Position au classement
- #11311
- Licence
- MIT
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
effect
14kAide votre agent à répondre aux questions sur le framework TypeScript Effect en vérifiant le code source et la documentation plutôt qu'en s'appuyant sur sa mémoire.
arxiv
14kAide votre agent à chercher, lire, citer et suivre des articles scientifiques sur arXiv : résumés, citations BibTeX, téléchargements PDF et liens de citation.
claude-code
14kAide votre agent à confier une tâche de programmation à l'outil en ligne de commande Claude Code, en exécution unique, en session interactive ou en tâche de fond.
codex
14kAide votre agent à exécuter l'outil en ligne de commande OpenAI Codex sans fenêtre de discussion, pour des tâches de code, des scripts et des pipelines automatisés.
Skills similaires
feishu-doc
394kAide votre agent à lire, créer et modifier des documents cloud Feishu, y compris du texte, des images et des tableaux, grâce à l'outil de document.
feishu-drive
394kPermet à votre agent de parcourir, organiser et commenter des fichiers d'un dossier cloud Feishu partagé avec le bot.
feishu-perm
394kAide votre agent à vérifier et modifier qui peut accéder à un fichier Feishu, en choisissant la plus petite autorisation qui répond à votre demande.