agentleFS
MazalucasMazalucas/El-DT-Lightweight-Army/.agents/skills/dt-drive/SKILL.md

dt-drive

Skill4 starsChanged 4 days agoMITView on GitHub

[Rutina] Conectar Google Drive a la memoria del equipo — marketplace oficial del IDE, selector de carpetas, solo lectura. Use when the user invokes /drive or wants to sync Drive folders as organizational context.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No abras el runbook de IT ni fichas de Google Cloud en este chat.

    line 12
  2. Distinctive:

    No recorras Google Cloud Console.

    line 49
  3. Very specific:

    No abras el runbook de IT.

    line 50
  4. Distinctive:

    No volcar carpetas enteras al chat.

    line 75
  5. Distinctive:

    No commitear contextos ni cuentas/proyectos GCP.

    line 96
  6. Distinctive:

    No escribir en Drive.

    line 98
  7. Distinctive:

    No saltear el embudo una app vs las tres.

    line 99
  8. Distinctive:

    No asumir que todos tienen Drive — opt-in.

    line 100
  9. Distinctive:

    No dictar el alta en Cloud.

    line 101

≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

dt-drive

Integración opcional de Google Drive vía el MCP oficial del IDE. El servidor propio google-drive-dt está descontinuado.

Spec (embudo + install por IDE): vitals/specs/google-apps-mcp.md. Guía usuario: docs/02_guides/google-contexto-setup.md (DOC-GUIDE-009). ADR: DOC-DEC-006.

No abras el runbook de IT ni fichas de Google Cloud en este chat.

Prerequisitos

RequisitoVerificación
Sesión localvitals/ops/session.yaml con operator.id — si falta → /yo
MCP oficial DriveCursor: plugin google-drive. Antigravity: MCP Store / Marketplace o drivemcp.googleapis.com. Claude: Connectors
Cuenta GoogleLa que el operador autoriza en el plugin / conector

Ya no hace falta Node, ni dt-drive-credentials.json, ni npx @ibarcarty/….

Archivos

ArchivoGitRol
vitals/config/google-apps.yamlNoQué apps habilitó
vitals/config/drive-context.yamlNoCarpetas + propósito
vitals/config/drive-context.yaml.exampleSíPlantilla

Flujo /drive — conexión inicial

  1. Confirmar sesión (/yo si falta).
  2. Embudo (no saltear): ¿solo Drive o también Gmail y Calendar? Spec.
  3. Detectar el IDE de esta conversación.
  4. Instalar el oficial de Drive con el procedimiento único de vitals/specs/google-apps-mcp.md § Instalar. Slug en Cursor: google-drive. Marketplace / Store primero. No recorras Google Cloud Console.
  5. Esperar tools reales (search_files / drive_search / equivalentes). Si no hay, Freno.
  6. Escribir/actualizar google-apps.yaml (drive: true). Selector de carpetas (abajo). Si eligió las tres, ofrecer /gmail y /calendar.
  7. Si existe el servidor legado google-drive-dt en mcp.json, ofrecer ./scripts/setup-drive.sh --remove-legacy después de que el oficial responda.

Si ya está autenticado y solo quiere cambiar carpetas → selector.

Freno

Si no hay tools o no aparece Authenticate:

  1. Parar. No seguir al selector. No inventar el Drive.
  2. No recorras Google Cloud Console.
  3. No abras el runbook de IT. No armes un JSON con clientId.
  4. Decí solo: Falta el client OAuth de la organización. Pedíselo a IT. Si no hay IT, usá la documentación oficial de Google Workspace MCP en tu navegador. El DT no recorre Google Cloud Console ni pega secrets.

Flujo /drive — selector de carpetas

Objetivo: el usuario elige qué carpetas comparte con la memoria del equipo (no todo el Drive salvo que lo pida).

  1. Leer vitals/config/drive-context.yaml si existe.
  2. Con las tools oficiales, listar unidades compartidas y carpetas raíz de Mi unidad (nombres + ids).
  3. Lista numerada. Opción final: "Todo mi Drive" (sync_mode: full_drive) solo si lo pide; advertir.
  4. Elige por número o nombre.
  5. Por cada carpeta: "¿Qué vive acá? (1 frase)" + keywords opcionales.
  6. Escribir drive-context.yaml (schema del .example). No va a Git.
  7. Confirmar resumen.

Reconfigurar o desvincular

  • Agregar/quitar carpetas: selector de nuevo; merge sin duplicar id.
  • Desvincular: el operador cierra sesión en el plugin / conector del IDE. Vaciar drive-context.yaml y el flag en google-apps.yaml si lo pide. No borrar configs de otros MCP.

Uso diario

Cuando drive-context.yaml existe y el MCP está activo:

  1. Priorizar carpetas registradas.
  2. No volcar carpetas enteras al chat.
  3. Solo lectura — aunque el oficial tenga create/share. No crear/editar/borrar/compartir.
  4. Charter no-secrets (vitals/charter/no-secrets.md).
  5. Drive = contexto, no memoria del repo.
  6. El token ve todo lo que la cuenta ve; el YAML es política DT.

Tools

Usar las que existan (spec § Tools). Típico: search_files / drive_search, read_file_content / drive_read_file, get_file_metadata / drive_get_file_info.

Errores frecuentes

SíntomaAcción
Plugin canceladoNo seguir al selector. Ofrecer /add-plugin google-drive
needsAuthEl operador autentica el plugin; no fingir listados
Antigravity o Claude sin AuthenticateFreno. No caer a google-drive-dt
Quedan dos DriveOficial OK → --remove-legacy

No hacer

  • No commitear contextos ni cuentas/proyectos GCP.
  • No reinstalar @ibarcarty/mcp-server-google-drive.
  • No escribir en Drive.
  • No saltear el embudo una app vs las tres.
  • No asumir que todos tienen Drive — opt-in.
  • No dictar el alta en Cloud.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.