Skip to content

CruxExperts/LocalSetup / ls/skills/ls-backblaze-b2-storage

ls-backblaze-b2-storage

Verified

Safely plan and execute Backblaze B2 S3-compatible storage operations and B2 native bucket, key, and notification administration.

scripts/backblaze_live_smoke.py

View on GitHub
#!/usr/bin/env python3
"""Opt-in, read-only Backblaze configuration smoke; never runs by default."""
from __future__ import annotations

import argparse
import json
import subprocess
import sys
from pathlib import Path


def main() -> int:
    parser = argparse.ArgumentParser(description="Opt-in read-only Backblaze S3 smoke")
    parser.add_argument("--apply", action="store_true", help="acknowledge that this contacts the configured provider")
    parser.add_argument("--config", required=True)
    parser.add_argument("--bucket", help="optionally also issue HeadBucket")
    args = parser.parse_args()
    if not args.apply:
        parser.error("--apply is required; this script otherwise makes no network request")
    tool = Path(__file__).with_name("backblaze.py")
    commands = [[sys.executable, str(tool), "--tool", "s3.ListBuckets", "--args-json", "{}", "--config", args.config, "--apply"]]
    if args.bucket:
        commands.append([sys.executable, str(tool), "--tool", "s3.HeadBucket", "--args-json", json.dumps({"bucket": args.bucket}), "--config", args.config, "--apply"])
    for command in commands:
        result = subprocess.run(command, check=False)
        if result.returncode: return result.returncode
    return 0


if __name__ == "__main__": raise SystemExit(main())
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall