gmail
Draft an email for Henrik in his house style AND record the draft so the sent-vs-draft diff can teach the style.
Skill by hsigstad
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/hsigstad-gmail
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/gmail
What's inside
- Skill name
gmail- Description
- Draft an email for Henrik in his house style AND record the draft so the sent-vs-draft diff can teach the style. Use when any session drafts/prepares an email for Henrik to send (to a coauthor, colleague, admin, etc.), or when the user says 'draft an email', 'reply to <person>'.
- License
- MIT
- Instructions
- 55 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# /gmail — draft an email + record it for the style-learning loop Any session that prepares an email for Henrik uses this, so (a) the draft follows his house style and (b) it is **recorded at draft time** — which lets Saga diff Henrik's *sent* version against the draft and learn his edits, **no matter which session drafted it**. (The `outlook` skill only archives *already sent* .eml threads; this records the draft *before* it's sent.) ## 1. Draft to the house style Read **`research/meta/email_style.md`** first and draft to it (short · link-don't-inline · Gmail-default · no em dashes · terse concrete scheduling · don't over-explain an accept · …). Do not invent a different style; that file is canonical and is what the learning loop tunes. ## 2. Record the draft (the important part) Write the draft to **`research/meta/email_drafts/YYYY-MM-DD_<session>_<slug>.md`** — one file per draft, frontmatter + body: ```markdown --- date: 2026-08-13 session: <your session name> # e.g. Saga, deterrence, judgeGPT — the attribution + context key to: <recipient email> subject: <subject> thread_id: <gmail thread id if replying, else ""> project: <slug or ""> # e.g. deterrence, vague, "" for admin/general why: <one line of context NOT obvious from the email — what prompted it / what it's really about> sent: false # Saga flips this after diffing against Henrik's sent mail --- <the exact draft body> ``` The `why` line is also the cross-session context record — so a later reader (usually Saga during reconcile) isn't guessing why the email exists or who drafted it. ## 3. Create the actual draft — only if you can - **If you have the Gmail MCP** (Saga does): create the Gmail draft (`create_draft`, `replyToMessageId` when replying; `htmlBody` `<a>` anchor for any link per email_style rule 10), and add its draft id to the recorded file (`draft_id: r-…`). Leave a `Saga/handled` label if that's your convention. - **If you don't** (most research/teaching sessions): just record the file (step 2) and hand Henrik the body to send himself. **Never send** — the outward act is always Henrik's. ## 4. The learning loop (Saga runs this — you don't) Saga's nightly/triage scans `meta/email_drafts/` for records whose thread now has a **SENT** message from Henrik, diffs sent-vs-draft, appends the delta to `meta/email_feedback_log.md`, sets `sent: true`, and periodically distills recurring deltas into `meta/email_style.md`. So every session's draft feeds the same house-style improvement — the whole point of recording here rather than in a per-session file. ## Notes - Sensitive routing (site-password allowlists, delivery quirks like a UiO spam-reject, WhatsApp-only contacts) is **Saga's** overlay in its private repo — not in this shared file. Draft addresses come from `contacts.yaml` `default_email`. - Keep drafts out of any *public* repo body if they contain private personal info; `research/` (this meta-repo) is private, which is why the archive lives here and not in a project's shared repo.
From hsigstad/research-kit, MIT.
More from hsigstad/research-kit
- 0.524score
dropbox
hsigstad
Browse, upload, or download files on Dropbox via rclone.
SkillBFreshness: BClaude Code +9 - 0.524score
fetch-annotations
hsigstad
Pull hypothes.is annotations left by coauthors on a project's rendered site, map each one back to its source .md file, walk the user through applying (or…
SkillBFreshness: BClaude Code +9 - 0.524score
inbox
hsigstad
Send a message from one Claude session to another concurrent session — typically a sandboxed session asking the host (non-sandboxed) session to do something…
SkillBFreshness: BClaude Code +9 - 0.524score
hypothesis
hsigstad
Populate or expand a project's docs/hypotheses.md (or docs/hypotheses/ folder) — testable predictions linking theory (docs/theory.md or docs/literature.md) to…
SkillBFreshness: BClaude Code +9 - 0.524score
backup
hsigstad
Back up expensive-to-regenerate pipeline/project artifacts to Dropbox with the right format and location.
SkillBFreshness: BClaude Code +9 - 0.520score
findings
hsigstad
Populate, extend, refresh, or audit a project's docs/findings.md — a curated index of headline empirical findings and interpretations with confidence tags and…
SkillBFreshness: BClaude Code +9 - 0.520score
findings-audit
hsigstad
Audit a project's empirical findings against external evidence — anecdotes (news, interviews, court opinions) and aggregate reports (CNJ, IPEA, OECD, FMI).
SkillBFreshness: BClaude Code +9 - 0.499score
handoff
hsigstad
End-of-session: commit and push all changes across projects touched in this session.
SkillBFreshness: BClaude Code +9 - 0.474score
iat
hsigstad
Audit Python scripts for compliance with the Inline Audit Trail (IAT) convention — INTENT, REASONING, ASSUMES, SOURCE comments and validation guards — AND…
SkillCFreshness: CClaude Code +9 - 0.474score
check
hsigstad
Audit a project or pipeline against workspace conventions AND propose fixes for everything found.
SkillCFreshness: CClaude Code +9 - 0.474score
cite-sync
hsigstad
Regenerate each project's docs/refs/manifest.toml from the workspace citation registry.
SkillCFreshness: CClaude Code +9 - 0.474score
data
hsigstad
Search the data catalog, variable dictionary, and data linkages for datasets, variables, or data sources.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 1
- Open issues
- 1
- Last commit (this folder)
- Aug 13, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/hsigstad/research-kit
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from hsigstad
- 0.524score
fetch-annotations
hsigstad
Pull hypothes.is annotations left by coauthors on a project's rendered site, map each one back to its source .md file, walk the user through applying (or…
SkillBFreshness: BClaude Code +9 - 0.524score
inbox
hsigstad
Send a message from one Claude session to another concurrent session — typically a sandboxed session asking the host (non-sandboxed) session to do something…
SkillBFreshness: BClaude Code +9 - 0.524score
backup
hsigstad
Back up expensive-to-regenerate pipeline/project artifacts to Dropbox with the right format and location.
SkillBFreshness: BClaude Code +9 - 0.524score
dropbox
hsigstad
Browse, upload, or download files on Dropbox via rclone.
SkillBFreshness: BClaude Code +9 - 0.524score
hypothesis
hsigstad
Populate or expand a project's docs/hypotheses.md (or docs/hypotheses/ folder) — testable predictions linking theory (docs/theory.md or docs/literature.md) to…
SkillBFreshness: BClaude Code +9 - 0.520score
findings
hsigstad
Populate, extend, refresh, or audit a project's docs/findings.md — a curated index of headline empirical findings and interpretations with confidence tags and…
SkillBFreshness: BClaude Code +9
Cite this page
gmail skill. Agent Mart. https://agentmart.dev/skills/hsigstad-gmail (last updated 2026-10-24)