Backup

A backup command that exports records from connected Salesforce, HubSpot, Monday.com, and Slack accounts and uploads the files to Google Drive.

In plain words
What is it for?
Creating monthly or on-demand backups of selected services and placing them in a specified Google Drive folder.
Why use it?
It gathers backups from several business systems in one process, reducing repeated manual exports.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/openit-app/openit-app/backup
Clone the repo
git clone --depth 1 https://github.com/openit-app/openit-app
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,342 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00021 $0.01342
Opus 5 $0.00010 $0.00671
Sonnet 5 $0.00004 $0.00268
Haiku 4.5 $0.00002 $0.00134

Measured 2d ago against content hash 48d5eae5310b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Backup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

scripts/openit-plugin/seed/commands/backup.md · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Prerequisites

This skill exports data from multiple systems and uploads backups to Google Drive. Check which sources the admin wants to back up and verify the required tools are connected:

  • Salesforce — Salesforce CLI (sf). Auth: sf org login web.
  • HubSpot — HubSpot MCP. Connect from the Tools station (MCP tab).
  • Monday.com — Monday.com MCP. Connect from the Tools station (MCP tab).
  • Slack — Slack is built into OpenIT. No extra setup needed if already connected.
  • Google Drive — Google Drive MCP or Google Workspace CLI (gws). This is where backups land.

Not all sources need to be connected. Ask the admin which ones they want to back up and skip any that aren't set up.

What this skill does

You run a monthly (or on-demand) data backup: export records from each connected system and upload the resulting files to a designated Google Drive folder.

How to interact

The admin may not know what's exportable from each system. Guide them:

  1. Ask what to back up: "Which systems do you want to back up? Salesforce, HubSpot, Monday, Slack — or all of them?"
  2. Ask where to put it: "What Google Drive folder should I upload to? (e.g. Backups/2026-05/)"
  3. Run each export silently, report progress per system.
  4. Upload all files to Drive, confirm when done.

Salesforce backup

Export key objects as CSV files using the Salesforce CLI:

Common objects to export:

  • Contacts: sf data query --query "SELECT Id, Name, Email, Phone, Account.Name FROM Contact" --result-format csv
  • Opportunities: sf data query --query "SELECT Id, Name, StageName, Amount, CloseDate, Account.Name FROM Opportunity" --result-format csv
  • Accounts: sf data query --query "SELECT Id, Name, Industry, BillingCity, BillingState FROM Account" --result-format csv
  • Leads: sf data query --query "SELECT Id, Name, Email, Company, Status FROM Lead" --result-format csv
  • Cases: sf data query --query "SELECT Id, CaseNumber, Subject, Status, Priority, Contact.Name FROM Case" --result-format csv

Read the full file on GitHub · 133 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 133 lines · 21 tokens per session scan A 48d5eae5310b

Subscribe to this mod's changes

Backup is a command published in the GitHub repository openit-app/openit-app (24 stars, last pushed 21d ago), licensed Apache-2.0. It adds 21 tokens to every session and 1,342 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.