agentleFS
gomarble-aigomarble-ai/marketing-agent/skills/accounts-and-connections/SKILL.md

accounts-and-connections

Skill15 starsChanged 39 days agoMITView on GitHub

Use when the user wants to see, add, enable, remove or switch ad accounts and data sources in GoMarble: which accounts are connected, adding a new ad account, connecting a platform (Meta, Google, TikTok, LinkedIn, Microsoft Ads, GA4, Search Console, Shopify, Klaviyo, Snowflake, impact.com, Pages, Instagram), connecting other tools like HubSpot, Notion or BigQuery, connecting Slack for agents, switching a connection between read-only and read & write, fixing expired connections, or removing an account.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Call the list tool for each platform.

    line 14
  2. Distinctive:

    Only Meta Ads, Google Ads and TikTok have this setting.

    line 65
  3. Distinctive:

    When a tool says a connection expired or has no access, relay the message and any link exactly.

    line 74

≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Accounts and connections

Help the user see what's connected to GoMarble, add what's missing, and change or remove connections. Connecting and removing happen in the GoMarble web app, and the model guides the user there. No GoMarble tool connects, disconnects, disables or removes anything. The one exception is described under "Adding an ad account".

Connections belong to the team, and only owners and admins can connect, reconnect, switch or remove them. If the user is a member, tell them up front that an admin has to do it, so they don't hit an access error at the last step. For roles and access, see access-and-permissions.

What's connected

Call the list tool for each platform. Each returns two things:

  • configured_accounts: the accounts saved in GoMarble. These are the ones GoMarble works with, and for members only the ones granted to them.
  • The platform's own list: everything the connection can see, including accounts not yet added to GoMarble.
PlatformTool
Meta Adsfacebook_list_ad_accounts
Google Adsgoogle_ads_list_accounts
TikTok Adstiktok_list_ad_accounts
LinkedIn Adslinkedin_list_ad_accounts
Microsoft Adsbing_ads_list_accounts
GA4google_analytics_list_properties
Search Consolegsc_list_properties
Shopifyshopify_list_shops
Klaviyoklaviyo_list_shops
Facebook Pages / Instagramfacebook_page_list, instagram_list_accounts
impact.comimpact_list_accounts (an empty list means none connected, or none granted to this user)

Summarize by platform: what's configured, what's visible but not added, and anything missing that the user expects.

Adding an ad account

The normal way: an owner or admin opens apps.gomarble.ai/settings/integrations, opens the platform's connection, and picks the accounts to add.

By using it: when an owner or admin asks about a Meta, Google Ads, TikTok, LinkedIn or Microsoft Ads account that's visible but not yet configured, the first tool call on it adds it to GoMarble automatically. That uses one of the plan's ad-account slots, and counts the account's last-30-day spend against the plan's ad-spend limit. So before the first call on an account that isn't in configured_accounts, say this and confirm the user wants it added. If the plan limit is reached, the tool returns a 403; explain which limit was hit and stop. Don't share the upgrade_url (see access-and-permissions).

Members can't add accounts this way; their call is denied before it gets there. They need an admin to add the account and grant them access.

Removing or disabling an account

  • There is no "disable". An account is either configured or removed.
  • Remove: an owner or admin opens Settings → Integrations → the account's row menu → Delete account. Before they do, warn them: this removes the account for the whole team, together with the reports, agents and dashboards built on it (including teammates'), and it can't be undone. It also frees the plan slot.
  • Stop syncing (same row menu) stops dashboard syncing without deleting the account, with a choice to keep or delete the synced data.
  • To stop one person from using an account without removing it, the admin sets their access to None in Team management instead.

The model can't remove accounts. Give the steps and the warning.

Connecting a new data source

SourceWhereNotes
Ad platforms, GA4, Search Console, Shopify, Klaviyo, Snowflake, impact.com, Facebook Pages, Instagramapps.gomarble.ai/settings/integrationsOwner or admin. Sign in to the platform, then choose accounts where asked.
Other tools: CRMs, analytics, warehouses, project tools (HubSpot, Notion, PostHog, Mixpanel, BigQuery, Linear…)apps.gomarble.ai/settings/connectorsOwner or admin, in the GoMarble web app. Connectors added there are used by GoMarble's own app and agents. Don't call discover_connectors from here, and don't promise that a newly added connector's tools will appear in this conversation.
Slack (for agent delivery) and Google Driveapps.gomarble.ai/settings/appsSlack needs a plan that includes it. For private channels, invite the GoMarble bot.

From here, work only with the GoMarble tools this plugin's skills describe. Google Drive is one of them: its tools are named gdrive-* (for example gdrive-search_files) and appear once Drive is connected; the user may need to start a new conversation to see them.

A connection can't be completed from the chat. The user finishes sign-in in the browser.

Switching read-only and read & write

Only Meta Ads, Google Ads and TikTok have this setting. Read-only connections can analyze but can't apply changes.

  • An owner or admin opens Settings → Integrations → the account's row menu → Read only or Read & Write.
  • Google Ads switches without signing in again. Meta and TikTok go through the platform's sign-in again.
  • Downgrading a connection to read-only downgrades every account on it.
  • For the model to apply changes, the AI app's connection also needs the write permission for that platform (access-and-permissions, scopes).

Expired or broken connections

When a tool says a connection expired or has no access, relay the message and any link exactly. If the connection was added by someone else, only they (or an admin) can reconnect it.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.