dt-gmail

dt-gmail is a skill for Claude Code, Codex from Mazalucas/El-DT-Lightweight-Army. It costs 46 tokens per session (971 once invoked), scanned A, original, MIT.

A skill for connecting an agent to Gmail, Google's email service, through the same sign-in connection used for Drive and Calendar. It supports configured mail labels and searches and can create drafts.

In plain words
What is it for?
Use it to configure Gmail access, search approved mail, inspect messages, and create drafts for human review.
Why use it?
It provides a documented setup for letting the agent work with email while keeping credentials and account files outside the repository. It avoids treating an unavailable inbox as if it had been read.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to configure Gmail access, search approved mail, inspect messages, and create drafts for human review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mazalucas/el-dt-lightweight-army/dt-gmail
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.

Any agent
npx skills add Mazalucas/El-DT-Lightweight-Army --skill dt-gmail
Clone the repo
git clone --depth 1 https://github.com/Mazalucas/El-DT-Lightweight-Army

Made for: Claude Code, Codex.

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 dt-gmail

README.md
[![agentmods](https://agentmods.dev/badge/skills/mazalucas/el-dt-lightweight-army/dt-gmail/github.svg)](https://agentmods.dev/skills/mazalucas/el-dt-lightweight-army/dt-gmail)
Your own site
<a href="https://agentmods.dev/skills/mazalucas/el-dt-lightweight-army/dt-gmail"><img src="https://agentmods.dev/badge/skills/mazalucas/el-dt-lightweight-army/dt-gmail/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 dt-gmail

Your own site · 80×15
<a href="https://agentmods.dev/skills/mazalucas/el-dt-lightweight-army/dt-gmail"><img src="https://agentmods.dev/badge/skills/mazalucas/el-dt-lightweight-army/dt-gmail.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 971 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.00046 $0.00971
Opus 5.5 $0.00018 $0.00388
Sonnet 5.5 $0.00009 $0.00194
Haiku 4.5 $0.00005 $0.00097

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

Security

Grade A, and why

dt-gmail 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 21d 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.

.agents/skills/dt-gmail/SKILL.md · 83 lines

How it starts

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

dt-gmail

Integración opcional de Gmail vía el MCP oficial del IDE. google-drive-dt está descontinuado.

Spec: vitals/specs/google-apps-mcp.md. Guía usuario: docs/02_guides/drive-cerebro-setup.md (DOC-GUIDE-009). ADR: DOC-DEC-006.

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

Prerequisitos

Sesión (/yo). Plugin, MCP Store o conector oficial de Gmail. Sin JSON Desktop ni Node.

Archivos

Archivo Git Rol
vitals/config/google-apps.yaml No Apps habilitadas
vitals/config/gmail-context.yaml No Etiquetas / queries
vitals/config/gmail-context.yaml.example Sí Plantilla

Flujo /gmail

  1. Confirmar /yo.
  2. Embudo: ¿solo Gmail o también Drive y Calendar?
  3. Instalar el oficial con el procedimiento único de vitals/specs/google-apps-mcp.md § Instalar. Slug en Cursor: gmail. Marketplace / Store primero. No recorras Google Cloud Console.
  4. Esperar tools de búsqueda/lectura/draft. Si no hay, Freno — no inventar el inbox.
  5. Selector de contexto. Actualizar google-apps.yaml (gmail: true) y gmail-context.yaml.
  6. Legado google-drive-dt → ofrecer --remove-legacy cuando el oficial ya lea mail.

Si solo quieren cambiar etiquetas y Gmail ya está → selector.

Freno

Si no hay tools o no aparece Authenticate:

  1. Parar. No seguir al selector. No inventar el inbox.
  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.

Selector de contexto

No leer “todo el correo” salvo sync_mode: full_mailbox pedido explícito.

  1. Mostrar gmail-context.yaml si existe.
  2. Pedir etiquetas y/o queries (from:, newer_than:, label:) con propósito.
  3. Si hay list_labels / list_email_labels, ayudar a elegir.
  4. Escribir el YAML (schema del .example). No va a Git.

Read the full file on GitHub · 83 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. 21d ago Changed · +18 lines e6760f865db5
  2. 22d ago Changed · -5 lines · -3 tokens per session 6d48fb563590
  3. 29d ago First seen · 70 lines · 49 tokens per session scan A d395c361bb03

Subscribe to this mod's changes

dt-gmail is a skill published in the GitHub repository Mazalucas/El-DT-Lightweight-Army (4 stars, last pushed yesterday), licensed MIT. It adds 46 tokens to every session and 971 once invoked, about $0.0002 per session on Opus 5.5. 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-29.

Related

Other skills, from other repositories

github-release-management

GitHub release orchestration — automated versioning, testing, deployment, and rollback. Use when cutting a release, tagging a version, drafting release notes, or coordinating a deploy/rollback workflow.

frankxai/claude-skills-library · 43 tokens

sparc-methodology

SPARC (Specification, Pseudocode, Architecture, Refinement, Completion) development methodology with multi-agent orchestration. Use when running a structured spec-to-code workflow or decomposing a feature through the SPARC phases.

frankxai/claude-skills-library · 49 tokens

dale-loop-watch

Monitor a changing source or condition on a cadence, persist the last meaningful observation, and notify or act only when a user-defined change occurs. Use for watching pull requests, issues, releases, prices, availability, feeds, pages, dashboards, or other external state.

lubluniky/dale · 57 tokens

swarm-advanced

Advanced swarm-orchestration patterns for research, development, testing, and complex distributed workflows. Use when scaling beyond a few agents, designing dynamic swarm topologies, or coordinating large parallel agent workloads.

frankxai/claude-skills-library · 44 tokens

scope-lock

Use when you want to lock the session to a specific scope description, injecting it into purpose-gate context and optionally blocking out-of-scope tool calls.

mattmre/EVOKORE-MCP-PUBLIC · 34 tokens

session-checkpoint

Use when you want to save a timestamped snapshot of current session state (tasks, evidence, purpose) to docs/session-logs/ for crash recovery or handoff.

mattmre/EVOKORE-MCP-PUBLIC · 38 tokens