gdrive-backup

gdrive-backup is a skill for Claude Code from aksika/abtars. It costs 15 tokens per session (292 once invoked), scanned A, original, Apache-2.0.

A weekly backup procedure that uploads a ZIP archive and an encrypted memory database to a specific Google Drive folder. It keeps up to three backups of each file type.

In plain words
What is it for?
It is for uploading weekly backups to Google Drive, listing stored files, and deleting older backups when the limit is exceeded.
Why use it?
It stores copies of configuration and encrypted memory away from the local machine and limits old backup buildup.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit It is for uploading weekly backups to Google Drive, listing stored files, and deleting older backups when the limit is exceeded.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aksika/abtars/gdrive-backup
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.

Any agent
npx skills add aksika/abtars --skill gdrive-backup
Clone the repo
git clone --depth 1 https://github.com/aksika/abtars

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gdrive-backup

README.md
[![agentmods](https://agentmods.dev/badge/skills/aksika/abtars/gdrive-backup/github.svg)](https://agentmods.dev/skills/aksika/abtars/gdrive-backup)
Your own site
<a href="https://agentmods.dev/skills/aksika/abtars/gdrive-backup"><img src="https://agentmods.dev/badge/skills/aksika/abtars/gdrive-backup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gdrive-backup

Your own site · 80×15
<a href="https://agentmods.dev/skills/aksika/abtars/gdrive-backup"><img src="https://agentmods.dev/badge/skills/aksika/abtars/gdrive-backup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 292 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00015 $0.00292
Opus 5 $0.00008 $0.00146
Sonnet 5 $0.00003 $0.00058
Haiku 4.5 $0.00002 $0.00029

Measured 9d ago against content hash 61ed8c5eb65d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

gdrive-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 9d 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.

templates/skills/gdrive-backup/SKILL.md · 22 lines

What it actually says

Google Drive Backup

Weekly backup of ~/.backup-abtars/ zip + encrypted memory.db to Google Drive.

Folder

  • Drive folder: abtars-backup (ID: 1bz7Ao1LpYILs9BcazVtayw-14g2CvCkM)

Steps

  1. Find the latest zip: ls -t ~/.backup-abtars/abtars-*.zip | head -1
  2. Upload zip: gws-cli drive upload <path> --folder 1bz7Ao1LpYILs9BcazVtayw-14g2CvCkM
  3. Upload encrypted DB: gws-cli drive upload ~/.abtars/backup/memory.db.enc --folder 1bz7Ao1LpYILs9BcazVtayw-14g2CvCkM
  4. List files in folder: gws-cli drive list --folder 1bz7Ao1LpYILs9BcazVtayw-14g2CvCkM
  5. Keep max 3 backups (3 zips + 3 .enc = 6 files). Delete oldest if more: gws-cli drive delete <file-id>
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. 9d ago First seen · 22 lines · 15 tokens per session scan A 61ed8c5eb65d

Subscribe to this mod's changes

gdrive-backup is a skill published in the GitHub repository aksika/abtars (9 stars, last pushed today), licensed Apache-2.0. It adds 15 tokens to every session and 292 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-31.

Related

Other skills, from other repositories

context-preservation

State capture and restore across context window compactions. Monitors usage thresholds and serializes quality, task, and spec state for seamless continuation.

a5c-ai/babysitter · 32 tokens

daily-briefing

Proactive daily briefing that fires on a recurring schedule, pulls recent memory and workspace context, composes a structured summary (action items, progress, radar, next steps), and delivers it to all active channels. Enable with a time like "set up my daily briefing at 9am". Disable, reschedule, or check status at…

vellum-ai/vellum-assistant · 75 tokens

baidu-drive

A Chinese-language command-line workflow for managing files in Baidu Drive, a cloud storage service. It supports file transfers and organization, plus backup and recovery of certain agent memory data.

baidu-netdisk/bdpan-storage · 174 tokens

context-optimizer

Analyze skill content for optimal placement (Skill vs Passive Context vs Hybrid), compress markdown to pipe-delimited format (60-80% token reduction), and validate compliance against the decision framework. Passive context wins for what the model cannot know (post-cutoff APIs, repo gotchas); pre-trained knowledge…

rjmurillo/ai-agents · 103 tokens

project-context

Marks project context as unconfigured until domain constraints, repository quality standards, phase, conventions, and external-resource access are recorded. Use when project-specific context has not yet been configured.

shinpr/ai-coding-project-boilerplate · 39 tokens

memory-enhancement

Manage memory citations, verify code references, and track confidence scores. Use when adding citations to memories, checking memory health, or verifying code references are still valid. Use when you say "add a citation", "verify this memory's code refs", "check memory health". Do NOT use for searching or creating…

rjmurillo/ai-agents · 80 tokens