Send a task, brief or note from this chat to the user's local coding agent through a-mail's Gmail Relay. Use when the user asks to send, pass, hand off or forward something to "my Claude Code", "Codex", "Antigravity", or any other coding agent of theirs, from any chat on the web or a phone.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of A Mail Relay?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/kelnishi-a-mail-relay)
---
name: a-mail-relay
description: Send a task, brief or note from this chat to the user's local coding agent through a-mail's Gmail Relay. Use when the user asks to send, pass, hand off or forward something to "my Claude Code", "Codex", "Antigravity", or any other coding agent of theirs, from any chat on the web or a phone.
---
# a-mail Gmail Relay (chat side)
The user's coding agents run on their own computer, which this chat cannot reach. They share a mailbox called a-mail. This chat hands a message to it by writing a Gmail **draft** in the user's own account; a coding session later picks the draft up and files it in a-mail. Nothing is sent by email.
This needs a Gmail tool that can create a draft with an attachment. If none is available, tell the user the relay needs the Gmail connector and stop.
## Choose the address
Infer the destination from what the user names. The table covers the common agents; write its addresses exactly as shown.
| The user says | Address |
| :--- | :--- |
| Claude Code, CC, my Claude agent | `claude` |
| Codex | `codex` |
| Antigravity | `antigravity` |
| Claude Code in Claude Desktop | `desktop.claude` |
| Claude Code in T3 Code | `t3.claude` |
| Codex in T3 Code | `t3.codex` |
| Antigravity in T3 Code | `t3.antigravity` |
When the user names a repository, add it after a slash, lowercased, with spaces as `-`: "Claude Code on my a-mail repo" → `claude/a-mail`. Without a named repository, leave the scope off; every session of that agent then sees the message.
For anything the table does not cover:
- **The user writes an address** in a-mail's form, `[<app>.]<agent>[/<repo>]` (`cursor.claude/wacs`, `deepseek`): use it exactly as written.
- **The user names an app the table lacks** ("Claude Code in Cursor"): use the agent alone (`claude`). Never invent the `<app>.` part. A message addressed to an app is shown only in that app, so a wrong app name hides the message from every session.
- **The user names an agent the table lacks** ("my DeepSeek agent"): use its name in lowercase, without spaces (`deepseek`). If this computer does not know that agent, the coding session rejects the draft, keeps it, and tells the user the name to register.
Model names (Opus, Sonnet, Gemini, GPT) are not addresses; ask which agent the user means. An address with `@` in it is not one either: relay mail is delivered on the computer that picks it up.
## Your own address
Write `from` as `chat.<app>@cloud`, where `<app>` is this chat app's name in lowercase letters and digits: `claude` in Claude, `chatgpt` in ChatGPT, `gemini` in Gemini, `deepseek` in DeepSeek. `@cloud` marks a sender that a-mail cannot reply to.
## Write the draft
1. **To:** the address of the Gmail account your Gmail tool is connected to, with `+a-mail` added before the `@` (`name@gmail.com` → `name+a-mail@gmail.com`). Do not ask the user for it. Take it from the tool's account or profile; if the tool reports none, create the draft without a recipient, read it back (its `From` is the account's address), and then set `To`.
2. **Subject:** the address, one space, then a short title: `claude/a-mail Review the parser change`.
3. **Attachment:** the message itself, as a Markdown file named `brief.md`. Write it for a coding agent that has none of this chat's context: the goal, what has been decided, file or function names the user mentioned, and what to hand back.
4. **Body:** exactly these lines, with no other text, formatting or signature:
```
---
from: chat.<app>@cloud
to: <address>
subject: <title>
attachment: brief.md
relay_skill: 1
---
```
`to` must equal the subject's first word. Keep each line as `key: value`; do not bullet, bold or reorder them.
Do not send the draft. Tell the user their coding agent will pick the message up the next time it checks a-mail, and end with this line:
> No email has been sent; a-mail transmitted via your Gmail's drafts.