SkillsGrove
SkillsGrove/생산성/nadavnaveh/skills/draft-only-mail

draft-only-mail

설치

$npx skills add https://github.com/nadavnaveh/skills --skill draft-only-mail
$git clone --depth 1 https://github.com/nadavnaveh/skills.git /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/draft-only-mail ~/.claude/skills/draft-only-mail
이 Agent Skill을 설치해 주세요: https://github.com/nadavnaveh/skills/tree/2d44b2dc2824a762dacd56acbf8a01be8a4774f8/skills/draft-only-mail — 먼저 SKILL.md와 스크립트를 읽고, 안전하다고 확인한 뒤에만 제 skills 폴더에 설치해 주세요.

요약

원문 설명 · MITSets email access to draft-only. The agent reads mail and writes drafts, every send tool or route is denied in Claude Code's permission settings, and the block is tested. Fixes "the agent sent an email in my name without asking." Use when you connect email to an agent, before it works in your inbox, when send, reply or forward shows in its tool list, or when it offers another way to send. Also on /draft-only-mail.
아래 SKILL.md는 nadavnaveh/skills(커밋 2d44b2d)에서 MIT 라이선스에 따라 게시한 것입니다. 본문은 변경하지 않았으며, 파일 상단의 메타데이터만 생략하고 이미지는 링크로 표시하며 매우 긴 파일은 일부만 표시합니다. Copyright 2026 Nadav Naveh. 라이선스: LICENSE. 지침 파일만 표시되며 스크립트 등은 원본 저장소를 참고하세요.

Draft-only mail

The agent sent an email in your name, and nobody checked it first. One setting decided that: it could send, not only draft. This skill keeps read and draft, denies every send path and tests the block.

The principles

  1. Read and draft, yes. Send, no. The person presses send.
  2. Reply and forward send too, so deny them with send.
  3. Block every send path. With one tool gone, an agent may offer another route.
  4. A block you did not test is not a block.

Steps

  1. List the agent's email tools. scripts/gmail-tools-2026-10-27.txt shows five from one Claude Code session: create_draft, update_draft, send_message, reply and forward. If your connector is not Gmail, use the names from your own tool list.
  2. Sort each tool into keep (read, search, create or update a draft) or deny (anything that sends, even a saved draft). If a name is unclear, deny it and ask.
  3. Look for other send paths: a second email connector, or mail sent through the terminal. Deny each extra tool. The terminal route stays open until the person picks a rule for it, so ask.
  4. Show the list and ask "Deny these?" Change no setting before a yes.
  5. Add the exact names under "deny" in .claude/settings.json (this project) or ~/.claude/settings.json (every project), leaving the draft tools out: "permissions": { "deny": ["mcp__claude_ai_Gmail__send_message", "mcp__claude_ai_Gmail__reply", "mcp__claude_ai_Gmail__forward"] } Start a fresh session, then run /permissions to check the deny lines loaded.
  6. Test in an interactive session with the connector loaded: ask the agent to list its email tools. Pass means send, reply and forward are absent. A headless run may not load the connector, so it counts as not run. Try a real send only after the person's explicit yes, to their own address, body marked "test, do not act". If it offers another route, deny that and retest.
  7. Report each tool as kept or denied, the terminal route as blocked or open, and the test as pass, fail or not run, quoting the agent.

Rules

  • Never send mail in the person's name without their explicit yes.
  • If you find a send route that is not denied, stop and ask. Never take it.
  • A denied tool stays denied until the person removes the line.
  • The proof does not show a real Gmail send blocked (scripts/deny-run-2026-10-27.txt used WebFetch as a stand-in), or the rule in scripts/gmail-tools-2026-10-27.txt applied to anyone's settings. Only step 6 proves your setup.
라이선스 전문 보기(MIT)
MIT License

Copyright (c) 2026 Nadav Naveh

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.