Logo von 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.

Übersicht

Herausgeberarsenyinfo
Repositoryskills
Skill-Namegdoc
Sterne
29
Forks
1
Mitgelieferte Dateien
Nur Anweisungen
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von arsenyinfo auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Gdoc in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/arsenyinfo/skills/tree/main/skills/gdoc
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

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
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Gdoc in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Gdoc automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Gdoc nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

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

Häufig gestellte Fragen

Was macht der KI-Skill 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.

Warum Gdoc in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Gdoc besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Gdoc in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/arsenyinfo/skills/tree/main/skills/gdoc ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Gdoc nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Gdoc verwenden?

So viele Sie möchten. In TypingMind können Sie Gdoc mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Gdoc kostenlos?

Der Skill wird von arsenyinfo auf GitHub veröffentlicht. Prüfen Sie im Repository, ob dort Lizenzbedingungen angegeben sind. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇