f3-insights/automation-toolbox/comms-reply-to-email
Claude Code and agent skill by f3-insights/automation-toolbox
- community
Checking that the SKILL.md file is still in the repository.
Reply to one person's email in the owner's voice, end to end: pins the exact contact and email in code, has a researcher write a sourced brief, plans the reply, asks the owner only their decisions (a price, a yes or no, a commitment, a date), has the drafter write it and an independent checker verify every fact against the brief, then puts the checked draft in their Outlook Drafts and tells them. Never sends. Use for \"respond to Dana Whitfield's last email\"; run as the email-replier agent. No…
Install
npx vskill@latest install f3-insights/automation-toolbox/comms-reply-to-emailSKILL.md
The same SKILL.md was published earlier as f3-insights/automation-toolbox/comms-reply-to-email.
Reply to an email
One email, one reply, one draft. Run it in the main session or as the email-replier agent, because it dispatches productivity-worker and productivity-reviewer and may have to ask the owner something. For a batch of inbound mail use comms-inbox-replies; for a new message that answers no email use comms-draft-email.
Nothing here sends. The last step puts the draft in the owner's own Outlook Drafts folder, where they read it and press Send. The Portal holds no send scope, and no command this skill runs can send.
The commands, all read-only except email-deliver, whose one write is draft_push. The one other write is draft_delete, on a stale draft, and only when the owner has answered "discard":
Two more commands here serve the unattended jobs, never this skill's own steps. productivity-drafts-deliver --run RUN --dry-run-if=false is the one path every scheduled job takes into Outlook Drafts: a finish step after the session, it reads RUN/deliveries.json (tool: drafts-deliveries, one entry per reviewer-passed draft with its kind reply, delivery, holding or nudge, contact_id, email_ref and content_hash) and runs productivity-email-deliver once per draft with every guard; a reply, delivery or holding passes the cooldown (--allow-recent-contact), a delivery, holding or nudge may follow the owner's own later message (--follow-up), and a nudge keeps every other hold. Refusals stay in the Portal and are listed in RUN/deliver.json. --channel picks how productivity-notify-owner reaches the owner: Teams with email as the fallback (the default), email only, or both.
rules.md beside this file holds the owner's current settings (the revision rounds, what counts as their decision, the cooldown, an email that needs no reply) and the mechanics (the run folder, exit codes, the worker models). The three hand-offs are the sections Research the email, Draft the reply and Check a reply below, each with its brief in briefs/ and a fixed return format; the check record is validated by email-deliver against briefs/checker.schema.json. If the owner keeps standing rules on outbound mail elsewhere (setting owner_profile), read them, never quote them into a draft, a brief or a message.
Steps
- [script] Pin the target. Run
productivity-find-contact "NAME OR ADDRESS"and take the contact id frompinned; thenproductivity-find-email CONTACT_IDand takeemail._ref; thenproductivity-outbound-check --to ADDRESS --thread EMAIL_REF --jsonwith the pinned email'sfrom_address. When the owner's request names a different email than the latest ("the one about the invoice"), take it fromother_recent_inboundonly when one plainly matches, else ask. Make the run folder (rules.md) and save the three outputs there asfind.json. From here on the contact id and the email ref are pinned: every later step uses exactly those two. A STALE_DRAFT hold is an unsent draft on the thread that answers an earlier email and predates this one; ask the owner whether to discard it and write a new reply (recommended) or stop and keep it. On "discard", save each draft'semail-draft-showoutput asRUN/stale-draft-ID.json(the researcher reads what it proposed), calldraft_deleteon each id inevidence.draft_ids, re-runoutbound-check, and carry on from its new verdict. Nothing is deleted without that answer. RECENT_CONTACT does not stop a reply the owner asked for (rules.md). → find-contactseveralorpartial: ask → find-contactnone: stop → find-emailnone: stop → find-emailreplied: stop → outbound-checkSTALE_DRAFT: ask → outbound-checkOPEN_DRAFT_SAME_THREAD: stop → outbound-checkDAILY_CAP: stop → outbound-checkRECENT_CONTACT: step 2 → a command could not run, or any result not named here: ask - [hand-off: productivity-worker] Research the email (section Research the email): the pinned contact id and email ref and the run folder. It runs
email-context-pack, reads what the pack cannot settle, writesbrief.mdin the run folder with every fact carrying its source ref, and returns the path and a short summary in the brief's fixed format. Do not read the pack yourself;brief.mdis the record. → BLOCKED: stop - [judgment] Plan the reply from
brief.mdand the owner's request, and writeplan.mdin the run folder: what the email asks, what the reply says to each point, and the decisions that are the owner's (rules.mdsays what counts), each with its options and your recommendation. Decide nothing that is theirs. When the email needs no reply (a thank-you, an FYI, a confirmation of something already settled), stop and tell them why in one line. → no reply needed: stop → no decisions: step 5 - [ask] Put the decisions to the owner in the format below and wait for their answers. Save them as
answers.mdin the run folder, verbatim. → the owner says not to reply: stop → answered: step 5 - [hand-off: productivity-worker] Draft the reply (section Draft the reply): the pinned contact id and email ref, and the paths of
brief.md,plan.mdandanswers.md. On a revision round, add the draft id and the checker's numbered fixes; the drafter revises that same draft in place rather than creating a second one. It returns the draft id. → BLOCKED: ask - [hand-off: productivity-reviewer] Check the draft (section Check a reply): the draft id, the pinned contact id and email ref, and the paths of
brief.mdandanswers.md, neverplan.md: the check is worth something only if the checker has not seen the reasoning. It reads the draft withproductivity-email-draft-showand returns PASS, or FAIL with numbered fixes, as one JSON block. Save that block verbatim ascheck.jsonin the run folder. → FAIL: step 5 (max 2) → FAIL after the last round: stop - [script] Run
productivity-email-deliver --draft DRAFT_ID --check RUN/check.json --contact CONTACT_ID --email EMAIL_REF --allow-recent-contactand save its JSON asdeliver.json. It refuses without a PASS for this exact draft content, re-runsoutbound-check, then pushes the draft into the Outlook inbox that received the email, threaded. Ondelivered, runproductivity-notify-owner --title "Draft reply to NAME is in your Drafts" --link WEB_LINK --record-ref portal://draft/DRAFT_ID. Onhandoff_link(the email came to a Gmail inbox), give the owner the compose link instead and do not notify. → email-deliverrefusedorpush_failed: stop → email-deliverdeliveredorhandoff_link: done
Stop only where a branch says stop, and only when its premise holds. A branch names what a command returned; before you act on it, read the evidence the command gave. When that evidence contradicts what the branch assumes (a "duplicate" draft that is days older than the email and answers an earlier one, a "reply already sent" dated before the email), do not stop: ask the owner, with the command's reason and the evidence, verbatim. A result no branch names is asked the same way, never guessed at and never treated as a stop. A stop the owner did not need costs them a second launch; a question costs them one answer.
On a stop, say why in one line and what the owner can do about it: the candidates to choose from, the existing draft's id, the date of the reply they already sent, the checker's open issues with the draft id (never the body), or email-deliver's refusals.
Research the email
For productivity-worker, dispatched with model: sonnet. Follow briefs/researcher.md exactly: run productivity-email-context-pack, read only what the pack cannot settle, write brief.md in the run folder (the only file you write, under <state_dir>/comms-reply/) with every fact carrying its source ref, and return the brief's fixed format. Extract and cite; never decide what the owner should say and never draft.
Draft the reply
For productivity-worker, dispatched with model: opus. Load email-drafter-method and unslop-email for the owner's voice, then follow briefs/drafter.md exactly: one Portal draft to the pinned contact, revised in place on a later round, and the brief's return format.
Check a reply
For productivity-reviewer. Follow briefs/checker.md exactly: read the draft with productivity-email-draft-show DRAFT_ID, check every date, number and commitment against brief.md and answers.md, the tone against the voice guide, the recipient and thread against the pinned ids. You are never given plan.md. Return one fenced JSON block matching briefs/checker.schema.json, with content_hash exactly as productivity-email-draft-show printed it: the record is valid for that content and no other, and productivity-email-deliver refuses anything else.
Asking the owner
In an interactive session, ask in chat as one numbered list they can answer in a line ("1) 450 2) yes 3) Thursday"), each decision with its options and your recommendation.
With no person in the session (a runner started it), end the turn with exactly one fenced JSON block and nothing after it:
kind is choice (with options), toggle (yes or no) or text; recommended is an option id, yes or no, or omitted. The session is resumed with a message starting The owner's answers: followed by one id: answer line per question; save it as answers.md and carry on from the step that asked.
Finishing
The last message of a run is one fenced JSON block:
or, for any stop:
delivered_to is the inbox email-deliver reports, or "gmail compose link" for a handoff.
When no one is present
The steps are the same. Every ask becomes the needs_owner block above and the turn ends; nothing that is the owner's decision is guessed, and a blocked drafter is asked about, not worked around. Delivery still happens at step 7, because the owner asked for this reply and their own Drafts folder is where they answer mail; notify-owner tells them it is there.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingproductivity/skills/comms-reply-to-email/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/f3-insights/automation-toolbox/comms-reply-to-email)