Skip to content
cccskills
FreePublished on GitHub

gdocs

Gestionar Google Docs: crear, leer, editar documentos via Google Docs API v1. Usar cuando el usuario mencione: Google Docs, Gdocs, documento de Google, doc, crear doc, editar doc, template en Docs.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3 stars(GitHub 3 + cccskills 0)
Works withGoogle Docs

Run score Not tested

See how to install

Files included (1)

  • SKILL.md3.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Google Docs Manager

Interactúa con Google Docs via Docs API v1 + Drive API v3.

Auth Setup

Opción 1 — Service account (recomendado para automation):

export GOOGLE_APPLICATION_CREDENTIALS="/path/to/service-account.json"

Opción 2 — OAuth user flow:

# Requiere gcloud CLI
gcloud auth application-default login

Scopes necesarios:

  • https://www.googleapis.com/auth/documents (read/write docs)
  • https://www.googleapis.com/auth/drive.file (crear/compartir archivos)

Operaciones Clave

Crear doc nuevo

curl -X POST https://docs.googleapis.com/v1/documents \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"title": "Mi Documento"}'

Devuelve documentId.

Leer contenido

curl https://docs.googleapis.com/v1/documents/$DOC_ID \
  -H "Authorization: Bearer $TOKEN"

Devuelve estructura de body (paragraphs, tables, etc.).

Editar (batch updates)

curl -X POST https://docs.googleapis.com/v1/documents/$DOC_ID:batchUpdate \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "requests": [
      {"insertText": {"location": {"index": 1}, "text": "Hola mundo\n"}},
      {"updateTextStyle": {
        "range": {"startIndex": 1, "endIndex": 10},
        "textStyle": {"bold": true},
        "fields": "bold"
      }}
    ]
  }'

Copiar template

# Drive API
curl -X POST "https://www.googleapis.com/drive/v3/files/$TEMPLATE_ID/copy" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name": "Nueva copia del documento"}'

Reemplazar placeholders

{
  "requests": [
    {"replaceAllText": {
      "containsText": {"text": "{{TITLE}}", "matchCase": true},
      "replaceText": "Mi título real"
    }},
    {"replaceAllText": {
      "containsText": {"text": "{{DATE}}"},
      "replaceText": "2026-04-12"
    }}
  ]
}

Comandos

Crear doc desde template

/gdocs from-template <template_id> [variables]

Flujo:

  1. Copy del template a Drive destino
  2. Reemplazá placeholders {{...}} con valores
  3. Compartir con stakeholders si se especifica
  4. Devolver URL

Generar doc desde markdown

/gdocs from-markdown <file.md> "título"

Convierte markdown a Docs API requests:

  • # H1 → heading style
  • **bold** → text style bold
  • listas → bulleted lists
  • tablas → insertTable
  • links → textStyle con link
  • code blocks → courier font + background gris

Extraer contenido a markdown

/gdocs export <doc_id>

GET del doc → parsear structure → output markdown.

Reglas

  • Document structure es NO plain text. Usar batchUpdate, nunca sobrescribir con texto plano.
  • Índices en Docs son basados en caracteres (Unicode). Calcular con cuidado al insert/delete.
  • Revisiones: cada batchUpdate crea una revision. Frecuent saves = muchas revisiones, OK.
  • Permisos via Drive API: POST /drive/v3/files/{id}/permissions para compartir.
  • Límites: 1MB por doc máx, 1000 req/100s/user para Docs API.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Musica interactiva para juegos: layering vertical, re-secuenciacion horizontal, stingers, reglas de transicion con sync points, y mapeo de estados de gameplay a musica. Usar para: musica adaptativa, sistema de musica dinamica, transiciones musicales, combat music.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

See all skills by SebastianLuser

Report a problem with this skill