Skip to content
Back to skills

Verify Secrets Backup

ASecurity

Verify gitignored OpenClaw secret files are present and fresh in Dropbox backup.

  • 6 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added November 26, 2026
securitygobashgitapi

Works with

  • api

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add jleechanorg/jleechan-skills --skill verify-secrets-backup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Verify Secrets Backup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Verify Secrets Backup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jleechanorg-verify-secrets-backup-jleechan-skills/badge)](https://www.skillsdirectory.com/skills/jleechanorg-verify-secrets-backup-jleechan-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: verify-secrets-backup
description: Verify gitignored OpenClaw secret files are present and fresh in Dropbox backup.
---

# /verify-secrets-backup — Check gitignored secret files are in Dropbox backup

Verify that all gitignored config files containing real tokens/secrets from `~/.openclaw/`
are present in the Dropbox backup at `~/Library/CloudStorage/Dropbox/openclaw_backup/latest/`.

## Required files to verify

Check each of these exists in the Dropbox backup AND is non-zero size AND was modified
within the last 7 days:

| File | Why it matters |
|------|---------------|
| `openclaw.json` | All API keys, Slack tokens, gateway tokens, OpenAI/MiniMax/XAI keys |
| `agents/main/agent/auth-profiles.json` | OAuth tokens for the main agent |
| `credentials/` | Provider credentials directory |
| `discord-eng-bot/openclaw.json` | Discord bot config (uses resolved tokens at runtime) |

## Steps

1. Run `~/.openclaw/scripts/dropbox-openclaw-backup.sh` to force a fresh backup
2. Check each required file exists in `~/Library/CloudStorage/Dropbox/openclaw_backup/latest/`
3. Check modification time is recent (within 24h ideally)
4. Report: ✓/✗ per file, age of backup, any missing files
5. If anything is missing or stale: re-run backup and report again

## Example check command

```bash
BACKUP=~/Library/CloudStorage/Dropbox/openclaw_backup/latest
for f in openclaw.json agents/main/agent/auth-profiles.json credentials; do
  if [ -e "$BACKUP/$f" ]; then
    age=$(( ($(date +%s) - $(stat -f %m "$BACKUP/$f")) / 3600 ))
    echo "✓ $f (${age}h ago)"
  else
    echo "✗ MISSING: $f"
  fi
done
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.