Help us improve
Share bugs, ideas, or general feedback.
From email-agent-learning
Rules for extracting email domain knowledge from agent transcripts and writing it into EMAIL-AGENT.md. Use when running the update-email-agent command or when the stop hook triggers the sync workflow.
npx claudepluginhub suitsupply/bec-marketplace-plugins --plugin email-agent-learningHow this skill is triggered — by the user, by Claude, or both
Slash command
/email-agent-learning:email-agent-learningThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Rules for what belongs in `EMAIL-AGENT.md` and how to write it. **Transcripts** are the sole source — no git, no code scanning. Each run reads new transcripts since the last index, extracts learnings, and merges them into the document.
Creates p5.js generative art with seeded randomness, noise fields, and interactive parameter exploration. Use for algorithmic art, flow fields, or particle systems.
Share bugs, ideas, or general feedback.
Rules for what belongs in EMAIL-AGENT.md and how to write it. Transcripts are the sole source — no git, no code scanning. Each run reads new transcripts since the last index, extracts learnings, and merges them into the document.
EMAIL-AGENT.md is a workspace-local file. It is never committed. It is the agent's growing memory of this email workspace.
A living knowledge document that the agent reads as context. It captures:
It is not a changelog, a task list, or a README. It does not log what happened in a session — it distills what was learned into a persistent reference.
Maintain these sections in order. Add subsections freely within each. Never delete a section even if currently empty.
Systems and services this workspace integrates with. For each: what it is, its role in the email pipeline, known quirks, retention limits, or constraints.
Covers: Customer.io (CIO), SendAPI, Azure, Parcel.io, email environments (PRD/TST), delivery tracking, API endpoints used.
Known email projects and their current state. For each project: folder location, purpose, languages supported, active/archived status, and any notable context from recent work.
Covers: campaigns (mid-interest, bestseller, welcome, etc.), transactionals (orders, returns, alterations, SBL, appointments), templates (master-ss, tx-ss), and NL/international variants.
What each tool, script, or app in the workspace does and when to use it. Include: folder path, primary function, and how it's invoked.
Covers: tools/ agent skill scripts, apps/ standalone tools (dashboards, compare tool, master-email-code), and any external scripts referenced in sessions.
How work gets done. Each workflow entry describes a repeatable process: the trigger, the steps, the output, and any gotchas.
Covers: deploy/release flow, QA process, export from CIO, email backtracking, data collection, file size analysis, and any other repeatable task pattern observed in transcripts.
Recurring code patterns, naming rules, structural decisions that apply across email files.
Covers: Liquid templating patterns, HTML structure conventions, language/locale handling, subject line format, CSS inlining approach, snippet usage, conditional rendering patterns.
Design choices that would not be obvious from reading the code. Each entry: the decision, the reason, and alternatives that were rejected or considered.
Only document decisions that carry forward — not session-specific workarounds.
A rolling summary of the last few sessions: what was being worked on, what state it was left in, and any open threads. Replace the previous entry when a newer one covers the same project.
This section is a pointer for the agent: "here is what is currently active and what you last knew about it."
When scanning a transcript, extract a learning if it meets all of these:
Skip:
Every sentence must earn its place. Apply the slop filter before writing.
Remove or rewrite any sentence containing:
Structural slop to delete:
Dense and factual. Write like internal documentation for someone who already works here — no onboarding preamble. State facts directly.
Good: SendAPI retains full email payloads for 90 days. After that, only CIO activity logs remain.
Bad: It's worth noting that SendAPI has a retention policy of 90 days, which is important to be aware of when investigating older issues.
When updating an existing section:
When in doubt whether something is new: check if the existing text already implies it. If yes, skip.
{
"version": 1,
"transcripts": {
"/abs/path/to/file.jsonl": {
"mtimeMs": 1730000000000,
"lastProcessedAt": "2026-03-19T12:00:00.000Z"
}
}
}
Never write into EMAIL-AGENT.md: