18-drive-contexto

18-drive-contexto is a cursor rule for Cursor from Mazalucas/El-DT-Lightweight-Army. It costs 0 tokens per session (594 once invoked), scanned A, original, MIT.

A set of rules for using Google Drive as a read-only source of project context through an MCP connection.

In plain words
What is it for?
It helps find relevant briefs and documents in registered folders, then use them to create project deliverables.
Why use it?
It prevents broad searches, accidental Drive changes, and saving sensitive document content without approval.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit It helps find relevant briefs and documents in registered folders, then use them to create project deliverables.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/mazalucas/el-dt-lightweight-army/18-drive-contexto
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Mazalucas/El-DT-Lightweight-Army

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for 18-drive-contexto

README.md
[![agentmods](https://agentmods.dev/badge/rules/mazalucas/el-dt-lightweight-army/18-drive-contexto/github.svg)](https://agentmods.dev/rules/mazalucas/el-dt-lightweight-army/18-drive-contexto)
Your own site
<a href="https://agentmods.dev/rules/mazalucas/el-dt-lightweight-army/18-drive-contexto"><img src="https://agentmods.dev/badge/rules/mazalucas/el-dt-lightweight-army/18-drive-contexto/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for 18-drive-contexto

Your own site · 80×15
<a href="https://agentmods.dev/rules/mazalucas/el-dt-lightweight-army/18-drive-contexto"><img src="https://agentmods.dev/badge/rules/mazalucas/el-dt-lightweight-army/18-drive-contexto.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 594 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00594
Opus 5.5 $0.00000 $0.00238
Sonnet 5.5 $0.00000 $0.00119
Haiku 4.5 $0.00000 $0.00059

Measured 19d ago against content hash f09c1d342dd5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

18-drive-contexto scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 19d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/18-drive-contexto.mdc · 42 lines

How it starts

The opening of the file, as written. The whole thing — 42 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Google Drive como contexto del equipo

Integración opcional vía el MCP oficial del IDE. Aplica cuando existe vitals/config/drive-context.yaml o el usuario invocó /drive.

google-drive-dt está descontinuado — spec vitals/specs/google-apps-mcp.md.

Cuándo consultar Drive

  • El usuario pide contexto que probablemente vive en Drive ("buscá en mis briefs", "qué dice el doc de X").
  • Necesitás información de carpetas registradas en drive-context.yaml.
  • Generar entregables a partir de documentos en Drive sin copiarlos al repo (solo lectura).

Límites obligatorios

  1. Solo carpetas registradas — con sync_mode: selective, consultar únicamente dentro de los folders[].id del registro. Con full_drive, advertir que la búsqueda es amplia.
  2. Solo lectura — no crear, editar, mover, borrar ni compartir, aunque el plugin oficial tenga esas tools.
  3. Consulta dirigida — listar/buscar primero; leer solo archivos relevantes. No volcar carpetas enteras al contexto.
  4. Charter no-secrets — no persistir en Git tokens, credenciales ni contenido sensible de Drive sin confirmación (vitals/charter/no-secrets.md).
  5. Drive ≠ memoria del repo — destilar a vitals/ o docs/ solo si el usuario pide guardar algo en la memoria del equipo.
  6. Embudo — preguntar si el acceso es solo Drive o también Gmail y Calendar. Instalar el MCP oficial de ese IDE (vitals/specs/google-apps-mcp.md).

Resolución de carpeta

Antes de buscar, leer vitals/config/drive-context.yaml:

  • Matchear la intención del usuario con purpose y keywords de cada carpeta.
  • Si hay ambigüedad, preguntar qué carpeta usar.
  • Citar siempre nombre de carpeta + archivo consultado en la respuesta.

Referencias

  • Skill: .cursor/skills/dt-drive/ · command /drive · Gmail /gmail · Calendar /calendar
  • Spec: vitals/specs/google-apps-mcp.md
  • Guía usuario: docs/02_guides/google-contexto-setup.md (DOC-GUIDE-009)
  • Paridad de skills: /skills · vitals/specs/skill-standard.md

Read the full file on GitHub · 42 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 19d ago Changed f09c1d342dd5
  2. 1mo ago Changed 4a3d4e4b8c5d
  3. 1mo ago Changed · +2 lines dd580ed18b4b
  4. 2mo ago Changed · +2 lines 3d602829a765
  5. 2mo ago First seen · 38 lines · 0 tokens per session scan A 93148bc0e51a

Subscribe to this mod's changes

18-drive-contexto is a cursor rule published in the GitHub repository Mazalucas/El-DT-Lightweight-Army (4 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 594 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

18-drive-contexto compared with cursor rules from other repositories

18-drive-contexto next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
18-drive-contextoMazalucas/El-DT-Lightweight-ArmyCursor rule4yesterdayMITA0Cursor
vectrswapnanil/vectrCursor rule22mo agoMITA2,619Cursor
801-bedtime-protocolsavagelysubtle/BIG-BRAIN-Memory-BankCursor rule51y agoMITA0Cursor
archivesavagelysubtle/BIG-BRAIN-Memory-BankCursor rule51y agoMITA602Cursor
ponytailDietrichGebert/ponytailCursor rule201k8d agoMITA604Cursor
angular-20angular/angularCursor rule102k5d agoMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor