Collection of operational skills for VaultMesh infrastructure including: - backup-sovereign: Backup and recovery operations - btc-anchor: Bitcoin anchoring - cloudflare-tunnel-manager: Cloudflare tunnel management - container-registry: Container registry operations - disaster-recovery: Disaster recovery procedures - dns-sovereign: DNS management - eth-anchor: Ethereum anchoring - gitea-bootstrap: Gitea setup and configuration - hetzner-bootstrap: Hetzner server provisioning - merkle-forest: Merkle tree operations - node-hardening: Node security hardening - operator-bootstrap: Operator initialization - proof-verifier: Cryptographic proof verification - rfc3161-anchor: RFC3161 timestamping - secrets-vault: Secrets management 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
20 lines
459 B
Bash
Executable File
20 lines
459 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Check: Sufficient disk space available
|
|
# Returns 0 if >100MB available, 1 otherwise
|
|
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
SKILL_ROOT="$(dirname "$SCRIPT_DIR")"
|
|
|
|
: "${OUTPUT_DIR:=$SKILL_ROOT/outputs}"
|
|
|
|
# Ensure output dir exists for df check
|
|
mkdir -p "$OUTPUT_DIR"
|
|
|
|
# Get available space in KB
|
|
avail=$(df -P "$OUTPUT_DIR" | awk 'NR==2 {print $4}')
|
|
|
|
# Require at least 100MB (102400 KB)
|
|
[[ "$avail" -ge 102400 ]]
|