Logo di Gdoc

Gdoc

Community
arsenyinfo
gdoc

Use the local gdoc CLI to find, read, create, edit, review, comment on, share, export, or synchronize Google Docs and Drive files. Trigger for Google Docs or Drive work when gdoc is available; do not use for unrelated local document files or browser-only editing.

Panoramica

Pubblicato daarsenyinfo
Repositoryskills
Nome della skillgdoc
Stelle
29
Fork
1
File inclusi
Solo istruzioni
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da arsenyinfo su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Gdoc in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/arsenyinfo/skills/tree/main/skills/gdoc
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/arsenyinfo/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/gdoc .claude/skills/gdoc
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Gdoc in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Gdoc non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Gdoc non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

gdoc CLI

Use gdoc through the shell. Do not substitute browser automation or MCP unless the user requests it.

Start safely

  1. Confirm the CLI is available with command -v gdoc. If it is missing, report that and provide the upstream installation command only when useful.
  2. Treat the installed CLI as the syntax authority. Run gdoc --help or gdoc <command> --help before using an unfamiliar option; do not rely on a memorized command catalog.
  3. Accept either a Google Docs/Sheets URL or a bare file ID. Resolve names with gdoc find or gdoc ls; do not guess when multiple files match.
  4. If multiple accounts may be configured, use --account when the user identifies an account. Do not infer an account for sharing or other consequential changes.

Authentication is a user setup boundary. When gdoc reports that authentication is missing or expired, explain the relevant gdoc auth command. Do not delete credential or token files as a troubleshooting shortcut.

Choose output intentionally

  • Use terse default output for ordinary interaction.
  • Use --json when values will be parsed or passed into another operation.
  • Use --plain for stable TSV or raw-text matching.
  • Use --verbose for diagnosis or details, not by default.
  • Avoid --quiet during collaborative editing because it suppresses gdoc's change-awareness checks. Use it only when the user requests reduced API traffic or a controlled batch workflow makes the tradeoff clear.

Read and inspect

  • Start document work with gdoc info DOC and an appropriately scoped gdoc cat DOC.
  • Use gdoc cat DOC --comments when comments or review context could affect the task. Add --all only when resolved comments matter.
  • For multi-tab documents, run gdoc tabs DOC, then target a tab with --tab or deliberately read all tabs with --all-tabs.
  • For spreadsheets, use gdoc tabs and a narrow --range when possible.
  • Use --max-bytes for reconnaissance on large documents, then retrieve the relevant tab or range without truncation before editing it.
  • Use gdoc structure only when native document structure, styles, or exact Docs API ranges are genuinely required.

Modify with the smallest operation

Read the current target immediately before changing it. Pay attention to gdoc's pre-flight banner; if it reports external edits, refresh the relevant content before proceeding.

Prefer operations in this order:

  1. gdoc edit for a targeted committed replacement.
  2. gdoc suggest when the user asks for reviewable suggested edits and the OAuth project supports the required preview API. If suggesting fails, do not silently fall back to a committed edit.
  3. gdoc insert to add content without replacing existing content.
  4. gdoc write only when the user intends to replace an entire document or tab.

For edit, use text observed from the current document. The command matches raw document text; inspect gdoc cat DOC --plain when formatted Markdown output obscures the match. Prefer a unique exact match. Use --all, --normalize, cell addressing, or file-backed text arguments only when their effect is intended.

Full-document write is destructive and can collapse a multi-tab document. Prefer --tab for a scoped replacement. Never use --force or --force-collapse-tabs without explicit user authorization after explaining the consequence.

After a mutation, verify the smallest relevant result with cat, info, comments, or another read-only command. Do not claim success from exit status alone when the resulting content matters.

Comments and collaboration

  • Use comments or cat --comments to understand existing discussion before replying or resolving.
  • Add a comment, reply, resolve, reopen, or delete only when requested or clearly required by the user's stated workflow.
  • Preserve comment IDs exactly. Re-read a thread before resolving it when collaborators may have replied.
  • Treat suggestions and comments differently: a suggestion proposes a content change, while a comment starts or continues discussion.

Sharing and Drive organization

Sharing, moving, renaming, copying, and creating files change external state. Perform them when the user requests that outcome, using the narrowest scope:

  • Prefer sharing with a named email over domain-wide or public access.
  • Use --domain, --anyone, or --discoverable only when explicitly requested.
  • Confirm the intended role (reader, commenter, or writer) rather than defaulting consequential access.
  • Verify the target file and destination folder before mv, rename, or cp when names or IDs are ambiguous.

Local files, revisions, and diffs

  • Prefer pull, push, and export over ad hoc shell redirection when their semantics fit the task.
  • Inspect revisions before selecting a historical revision. Revision IDs are sparse and old unpinned revisions may be unavailable.
  • gdoc diff follows diff(1) semantics: exit code 1 means differences were found, not that the command failed.
  • Do not overwrite an existing local output file unless the user requested it or its replacement is an obvious part of the workflow.

Errors

Preserve the relevant command, exit code, and stderr when diagnosing failures. Distinguish authentication errors, API permissions, missing files, ambiguous matches, conflicts, and transport failures. Use current command help and, when needed, a narrow read-only reproduction before proposing credential resets or broad permission changes.

Upstream documentation: https://github.com/LucaDeLeo/gdoc

Domande frequenti

Cosa fa la skill IA Gdoc?

Use the local gdoc CLI to find, read, create, edit, review, comment on, share, export, or synchronize Google Docs and Drive files. Trigger for Google Docs or Drive work when gdoc is available; do not use for unrelated local document files or browser-only editing.

Perché usare Gdoc su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Gdoc è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Gdoc in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/arsenyinfo/skills/tree/main/skills/gdoc. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Gdoc?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Gdoc?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Gdoc: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Gdoc è gratuita?

È pubblicata su GitHub da arsenyinfo. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇