/brevo:email-brand-kitfrom brevo
Reads a Brevo account's brand kit (logo, colours, fonts, social links) and converts it into email styles. Can suggest a kit from a website and save approved changes.
Ships in brevo. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The brand kit is the account's logo, colours, fonts, social links and website, kept in Brevo and used to style new emails. This skill reads it and turns it into email styles, and changes it only after the user approves each change. It never deletes a kit, never invents brand values, and never sends anything.
| Step | Tool |
|---|---|
| Name the account | accounts_get_account |
| Read the brand kit | branding_get_brand |
| Suggest a kit from a website (limited lookup; changes no brand values) | branding_fetch_brand_from_website |
| Save the approved parts of the kit | branding_update_brand |
| Save the brand website | branding_update_brand_website |
| List the account's custom social icons (their ids) | branding_get_social_icons |
| Add or change a custom social icon | branding_upsert_social_icon |
If a tool a step needs isn't in your tool list, stop that step and tell the user their Brevo connection doesn't offer it (connection rules below).
permission_denied) means this connection doesn't
allow that action; reconnecting won't change it. Say so, skip that step, and carry on with
the fallback the skill gives (for a template render: the test send and its outcome check).
If the skill gives no fallback for that step, stop the step and tell the user.subaccount_id on every call: every Brevo tool takes it per call,
and a call without it acts on the main account.get_brevo_guide. Don't call get_brevo_guide for it again in this
conversation.getbrevo/brevo-skills, npx skills add getbrevo/brevo-skills, or, with a shell, the Brevo CLI
(npm i -g @getbrevo/cli, then brevo skill install). brevo skill check lists copies that are
behind.list_brevo_guides with installed set to the version in the
metadata of each Brevo skill you have, if the tool accepts installed; otherwise call it
with no arguments and compare the versions yourself. For a stale one, follow its update
hint.get_brevo_guide with its name: it returns the current text.Keep what you read from Brevo in this conversation and reuse it, instead of calling the same
tool again. The cache is your own notes in the conversation, never a file. Key every entry by
account and sub-account ID (none for the main account), and note when you fetched it
(fetchedAt). Never show or reuse an entry from another account or sub-account.
| What | Keep it | Fetch again when |
|---|---|---|
| Account (company, address, own email), senders, contact attributes | About 10 minutes | Time is up. An attribute in the email isn't in the cached list and the cache is more than about a minute old: fetch the attributes once more before reporting it (the user may have just added it). The user switches account or sub-account, or says they changed it in Brevo |
| Sender domains (whether each is authenticated) | Same as senders | Same as senders |
| Brand kit | The whole conversation (one read) | The user says they changed it in Brevo, or switches account. After this conversation's own save, update the cache with the approved values; don't read it back |
| Templates this conversation created or read | The whole conversation | The user says they edited it in Brevo's editor (fetch it before a preview or test). After this conversation's own update, apply the change to the cache |
| Lists and segments | Not cached | Fetch when needed |
Call budget for a transactional template (write, check, save, preview, test): about 11 calls with the cache (account, senders, attributes, brand kit, save, 3 sample renders, sender domains, test send, outcome) against about 16 without it (the account read 3 times, attributes and senders twice, and the template read back). Each fix round that re-checks attributes would add one more call without it.
branding_get_brand once per conversation,
before the first change, and show each part as it is now next to what it will become.
Read again only if the user asks to refresh, says they changed the kit in Brevo since, or
switches account or sub-account. After your own save, update the cached kit with the
approved values (no read-back), so the next email uses them without a new read.partialUpdateField (logo, colors, fonts or socialMediaLinks; one name only), or
sends all four parts at once without it. The all-parts save replaces logo, colours, fonts
and social links with what it carries (an empty or missing part is emptied) and leaves the
website, brand name, custom icons and lookup counters alone. So in an all-parts save, every
part the user didn't approve is copied exactly as the read returned it. See step 3.5.Website lookup: about 5 new lookups per account in a 7-day window (the window starts
at the first lookup). A website looked up recently may come from Brevo's cache and not
count. Call it once per website the user names; never retry it or try variants of the
address (www., http://, another domain). The kit's fetchRetryCount and fetchedAt
show the count so far: above 5 within 7 days of fetchedAt, don't call it; say the
weekly limit is reached and offer to enter the values by hand.
Calls per hour: every brand-kit call counts, reads included: reads, lookups, saves and icon changes share one hourly allowance per account, as low as 5 calls an hour on some plans. Budget:
| Task | Calls |
|---|---|
| Style an email from the kit | 1 (the read) |
| Set up from a website | 3: read, lookup, one save (2 if the kit was already read in this conversation); one more if the website is saved too |
| Change one part | 2: read, save (1 if the kit was already read in this conversation) |
| Add a custom social icon and its link | 4: read, icon list, icon, save (3 when an existing icon is reused) |
No read-back after a save: the save answers only "Data stored successfully", so say what was sent. On 429, stop and don't retry: tell the user the hourly limit for brand-kit calls is reached, that Brevo doesn't say how long to wait, and to try again within the hour. Nothing more is called; a kit already cached stays usable for styling, and you say so.
On a sub-account, pass its subaccount_id on every brand-kit call: each sub-account has its
own kit. Never read or save the main account's kit in its place, and keep the cached kit per
account and sub-account.
Call branding_get_brand. It returns website and branding: name, domain, logo,
colors (list of #RRGGBB), fonts (each name, role = paragraph or headings,
type, fallback), socialMediaLinks (each name and url; a custom-icon link also has
id, title and thumbnailUrl), socialMediaIcons (the account's custom icons: id,
title, thumbnailUrl), and the lookup counters.
Empty kit: no logo, no colours and no fonts. name and website can still be filled
(Brevo fills a name in from the website), so a name alone isn't a kit. Offer, in one message:
set it up from their website (step 3), type the values, or go on with neutral styles. If the
user declines setup, use the neutral styles and say "Your brand kit is empty, so I used
neutral styles."
Tell the user what the kit holds in a few lines (name, logo yes or no, colours, fonts, social networks). Then turn it into styles:
| Kit | Email style |
|---|---|
logo | Header logo src, 90px wide (60px in the footer), alt = the brand name, linked to the website. Empty: src="" with alt " logo", and list it under "Placeholders to replace" |
fonts, role paragraph | Paragraph and button font. Font stack on <body style="font-family:...">: the name (quoted if it has spaces), the kit's fallback, then serif (Georgia, Times New Roman, Palatino), monospace (Courier New) or sans-serif |
fonts, role headings | Headings font. The same kind of stack, inline on every heading, only when it differs from the paragraph font |
colors | The first colour only, as below |
socialMediaLinks | The footer's social icons row: one link per entry, in kit order, url as stored once checked (below). A website entry is the website link; a custom-icon entry uses its thumbnailUrl as the image and title as alt |
website / domain | The logo link, and the call-to-action fallback when the brief gives no URL. Use the https:// form; when the kit stores http://, say so and suggest saving the https:// address |
name | The brand name in the copy and the logo's alt, unless the brief names another brand. The footer's company name comes from the account, the sender name from the sender |
Check the social links before using them. Each link's host must belong to its network
(instagram on instagram.com, facebook on facebook.com, apple-music on
music.apple.com, twitter on x.com or twitter.com, and so on; website, link and
custom-icon can point anywhere). When a host doesn't match (for example apple-music ->
https://google.com), don't use that link silently: tell the user which link looks wrong and
ask whether to keep it, fix it, or leave it out of this email; offer to correct it in the kit
(a social links save). Icon images: the kit stores links, not icon pictures. In HTML
output, each icon is src="" with the network as alt, listed under "Placeholders to
replace" for the user to fill with their own icon images; or offer drag-and-drop output,
where the editor's Social block supplies the icons.
Font types. standard fonts show everywhere. A webfont shows in some email clients
only; the rest show the fallback. A custom font is a file the account uploaded: HTML can't
load it, so the HTML uses its fallback stack, and for drag-and-drop output tell the user to
pick the font in the editor's Style tab.
Colour roles: the editor's rule. The kit stores colours as a plain list without roles. When Brevo's editor applies the brand, it uses the first colour of the list, and only it:
#FFFFFF when the colour is
dark, else #000000: dark means (299 x R + 587 x G + 114 x B) / 1000 is 140 or less, with
R, G and B from 0 to 255.#333333,
headings #2B2B2B, white background.Say which colour does what. Safeguard (this skill's, not the editor's): if the first
colour doesn't reach 4.5:1 contrast on white, links use #2B2B2B. A button label needs 4.5:1
against the button colour, like any text (3:1 is enough only for a label at least 18.66px and
bold); when neither the #FFFFFF nor the #000000 label reaches it, buttons use #2B2B2B
with #FFFFFF text (for example #0092FF with white is 3.2:1: not enough for a 16px label).
Tell the user, and offer to move a darker kit
colour to the front of the list (a colours save), since the editor uses the first colour for
their branded templates as it is. Never lighten, darken or blend a kit colour into a new one.
Neutral styles (empty kit): Arial, Helvetica, sans-serif; text #333333;
headings #2B2B2B; buttons #2B2B2B with #FFFFFF text; links #2B2B2B; no logo (a
placeholder); social links only if the user gave them.
Hand-off. Give email-template-write one block it applies as written:
Brand styles (from the brand kit | neutral, kit empty | typed by the user):
- Brand name: <kit name> | none
- Logo: <url> | none
- Fonts: body <stack>; headings <stack>
- Colours: text #333333, headings #2B2B2B, links <hex>, buttons <hex> with <#FFFFFF | #000000> text, band <hex> | none
- Social links: <network>: <url>, ...
- Website: <url>
For drag-and-drop output these values must land in the editor's Style tab: they go on the
first <p>, heading, button and coloured link of the email (email-template-write explains
where). Brand values the user gives in the brief win over the kit for that email; ask whether
to save them to the kit too (step 4).
Read the kit (branding_get_brand), unless this conversation already has it (safety
rule 1), and check the lookup count (see Limits).
Get the website: one the user named. If they didn't name one, offer the kit's
website and ask them to confirm it. Before the call, say: "This uses one of about 5
website lookups your account gets per week. It changes none of your logo, colours, fonts or
links (Brevo only updates its lookup counter)."
Look it up once: branding_fetch_brand_from_website with {"website": "<address>"}.
It returns domain and branding (name, logo, colors, fonts, socialMediaLinks).
It saves nothing to the logo, colours, fonts or links; it does update the kit's lookup
counter and date (fetchedAt, fetchRetryCount), which no save can set back.
Show current next to suggested, one line per part, and ask which to save. Say that the first colour becomes the button and link colour in the editor; if the suggested first colour is white or very light, suggest putting the main brand colour first:
Brand kit for <domain>: now -> suggested
- Logo: none -> https://...
- Colours: #1A2B3C, #F4F4F4 -> #0B5FFF, #FFFFFF, #101828
- Fonts: Arial (body) -> Georgia (headings), Verdana (body)
- Social links: facebook -> facebook, instagram, linkedin
Save which parts? all / logo / colours / fonts / social links / none
The user may edit a part first ("drop the white", "keep my fonts"). Check every value you
propose to save, suggested or edited, against
field-rules.md before asking. A suggested webfont with no
fallback can't be saved as it is: propose a fallback from the 12 standard fonts (for
example Arial for a sans-serif web font, Georgia for a serif one) and show it in the
suggested line. Check the suggested social links' hosts the same way as in step 2.
Fonts replace the whole list. If the suggestion lacks a role the kit has (for example
it has only a body font and the kit has a headings font), show which current font would
be dropped ("Comic Sans MS (headings) would be removed") and offer to keep it in the saved
list.
Save once with branding_update_brand (bodies in
field-rules.md):
partialUpdateField with that part's name, and that part.partialUpdateField,
carrying logo, colors, fonts and socialMediaLinks: the approved parts as
approved, every other part copied exactly as the read in sub-step 1 returned it (an empty
part stays empty). Never send socialLinks.Fonts and social links are whole lists: send the full list as it should end up, including entries the user keeps.
Website: if the looked-up website differs from the kit's and the user agrees, save it
with branding_update_brand_website ({"website": "<address>"}).
Say in one line what was saved (no read-back: see Limits) and update the cached kit. Then offer to style an email with it (step 2), using the read plus the saved values.
If the lookup finds nothing useful, say so and offer to enter the values by hand. Never fill gaps with guesses.
Same order every time: read (unless the kit was read in this conversation), show now and
after, a yes, save that part with partialUpdateField. No read-back: update the cached kit.
#FFF is rewritten as #FFFFFF,
and you show the rewrite).socialMediaLinks is saved as a whole list. To add a link, send the
current list plus the new one; to remove one, send the list without it, after showing which
link disappears. Networks come from the fixed list in the field rules.custom-icon link,
list the account's custom icons with branding_get_social_icons (each id, title,
thumbnailUrl) and reuse an icon with the same title. Otherwise ask for a public https://
PNG and a title, confirm, then branding_upsert_social_icon with title and
thumbnailUrl; it returns the icon's id. Then add a link {"name": "custom-icon", "id": "<id>", "url": "<profile url>"}
as above. Passing an existing id changes that icon in every email that uses it: say so
before saving.branding_update_brand_website. An empty value clears it: send one only when the
user asks to clear it. It doesn't start a lookup and doesn't change the company details in
the account settings.| Response or situation | Meaning | Tell the user |
|---|---|---|
exceed_fetch_count | Weekly website lookups used up | The limit resets 7 days after the first lookup; offer to enter values by hand |
websiteValidationMsg, "Invalid domain" | The address isn't a real website | Ask for the right address; don't guess one |
invalid_color_given | A colour isn't #RRGGBB | Which colour; show it in six-digit form and ask again |
validation_unknown_social_media, invalid_social_links_given | Unknown network, or a link that isn't https://, mailto: or tel: | Which link; offer link or a custom icon |
validation_invalid_logo_url | The logo isn't a URL | Ask for a public image URL |
| A font error | Font name or type not accepted | The fonts Brevo accepts (field rules) |
| 429 | Hourly limit for brand-kit calls reached (reads count too) | Brevo gives no wait time; try again within the hour. Nothing more is called |
| 401, or 403 about the login | Connection expired | Reconnect Brevo in the agent's settings |
| 403 "required scope not present" on reading the kit | The connection doesn't allow reading the brand kit | Say so; go on as with an empty kit (neutral styles, or values the user types), and name the styles used |
| 403 "required scope not present" on a change (set up, update, social icon, website) | The connection doesn't allow changing the brand kit | Say so and stop that step; reconnecting won't help. They can change it in Brevo's brand kit settings |
| "Save it all", without seeing the change | No before/after shown yet | Show it first, then ask |
| "Delete my brand kit" | Not possible through the connection | Brevo's brand kit settings: https://app.brevo.com/branding/edit-brand/ |
accounts_get_account, branding_get_brand,
branding_fetch_brand_from_website, branding_update_brand,
branding_update_brand_website, branding_get_social_icons and
branding_upsert_social_icon. Each takes subaccount_id to act on a sub-account's kit
(step 1).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub getbrevo/brevo-skills --plugin brevo10 skills in this plugin
/automation-createCreates a Brevo automation workflow as a draft, in one call, from its triggers and steps. Use when the user asks for an automation or a workflow in Brevo, for example "send a welcome email when someone joins my newsletter list", "email customers 2 days after their order", "if they opened it, add them to a list" or "remind contacts on their birthday". Confirms the account, reads which triggers and steps the account can use and the fields of each, looks up every ID with Brevo tools, generates filters from the user's words, validates the whole workflow, shows the plan, and creates the draft only after a yes. Also edits an existing automation ("change the delay to 3 days", "swap the email", "add a step") by sending its whole new definition, after showing what changes and who is affected. Uses only the trigger and step types the account's catalog lists. Never activates without the user's explicit go-ahead./brevo-cliUse when working in a project that uses the Brevo Developer CLI (the `brevo` binary from `@getbrevo/cli`) — managing OAuth apps, UI apps, and Brevo Functions, scaffolding integrations, running the local OAuth test server, or invoking any `brevo …` command. Activates on: brevo, brevo cli, brevo app, brevo function, app-config.json, OAuth Brevo, BREVO_API_KEY, getbrevo./brevo-guideUse when the user asks for something in Brevo (email, SMS, WhatsApp, contacts, CRM and so on) and you don't already have a Brevo skill for the job, or when they ask what Brevo skills or guides exist, or where to get, install or update them. Loads the current skill text from the Brevo MCP server with its get_brevo_guide tool, which works in every client with nothing to install, and says where to install the skills once if the user wants them without a tool call. Never asks for an API key./emailEntry point for Brevo email work. Use when the user asks to write, check, preview, test-send or prepare a Brevo email campaign or email template, or to use or change their brand kit (for example "create a Black Friday campaign for my VIP list and send me a test"). Confirms the Brevo account, splits the request into steps, names the email skill for each step, and sets the safety rules every email action follows - drafts only, and nothing sent to real recipients without an explicit yes./email-campaign-createCreates a Brevo email campaign as a draft. Use when the user wants finished email HTML turned into a campaign for one of their contact lists or segments, with a verified sender (for example "create the campaign for my VIP list"). Picks the list and an active sender, confirms, creates the draft, and reports its ID and link. Never sends or schedules - it shows a "Ready to send" summary and the user sends it from Brevo. Use after email-template-write and email-template-check./email-template-checkChecks Brevo email HTML against Brevo's template rules and fixes what fails. Use when email HTML was just written or changed, before a campaign or template is created from it, or when the user asks to check, review or debug an email template (broken personalization, a variable that shows empty, a template that won't save). Goes through a fixed checklist - template syntax, contact attributes that exist in the account, params only where they work, absolute https images, size, unsubscribe link - fixes failures by editing only the affected lines, at most 3 rounds, and reports honestly that the check was done by hand.Other plugins' skills for the same job