SKILLEMALL.ai

DC restic-home-backup

Design, implement, and operate encrypted restic backups for Linux home directories with encryption, deduplication, automated scheduling, and restore testing. Use when a user asks to back up ~/, set up daily/weekly/monthly backup jobs, harden backup security, troubleshoot restore/integrity issues, or roll out backup automation across multiple workstations.

Not recommendedcritical or high security findings · low grade D
ClawHub Agent Skills author: Kiris-z v2.0.0 MIT-0 8 files · 3 scripts body ≈ 1 566 tokens Open the sourceclawhub.ai↗ analyzed 6 d ago

Design, implement, and operate encrypted restic backups for Linux home directories with encryption, deduplication, automated scheduling, and restore testing.

As a process C 62/100 · Has gaps — weak spots: when it triggers, inputs and preconditions, consistency

ProcedureSecuritySoftware developmenttype and topics are labelled automatically from the skill text
JSON
Technical rating
D
71/100
safety, quality, tests
Safety 60%
55
Quality 40%
94
Run on models
none yet
Process rating
C
62/100
Has gaps
Inputs and preconditions w 11
0
When it triggers w 12
20
Consistency w 8
40
the three weakest of ten parameters · all ten

What is at stake

The skill contains fragments that, in the wrong hands, cost money or data. Below: what the installer risks and what the author should do.

Dangerous commands
If you install

The skill contains commands that delete files, rewrite disks or execute code fetched from the network. The agent may run them without asking if it believes the instructions require it.

For the author

Replace destructive commands with safe equivalents that ask for confirmation, scope them to one folder, and stop piping curl into a shell: pin a version and a checksum.

How to improve

  1. Address the high-severity findings: each costs 18 safety points. If one is a false positive, add the rule id to guard.allow in spec.yaml.
For the model run — optional
  • Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
  • A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.

Guard findings · 11

  • high Dangerous commands cmd-persistence scripts/bootstrap_restic_home.sh:650
    Persistence mechanism (cron / launchd / scheduled task / autorun registry)
    CLEANED=$(crontab -l 2>/dev/null | grep -v '/usr/local/bin/home-backup' || true)
  • high Dangerous commands cmd-persistence scripts/bootstrap_restic_home.sh:651
    Persistence mechanism (cron / launchd / scheduled task / autorun registry)
    echo "${CLEANED}" | crontab -
Medium and low: 9
  • low Dangerous commands cmd-background-process references/runbook.md:322
    Starts a background / autostarted process (documentation of a security skill)
    systemctl daemon-reload && systemctl enable --now restic-home-audit.timer
    security skill
  • low Dangerous commands cmd-privilege scripts/bootstrap_restic_home.sh:19
    Privilege escalation / world-writable permissions (code comment)
    #   sudo bash bootstrap_restic_home.sh \
    comment
  • low Dangerous commands cmd-cron-mention scripts/bootstrap_restic_home.sh:645
    Mentions editing / listing crontab
    if crontab -l >/dev/null 2>&1; then
  • low Dangerous commands cmd-cron-mention scripts/bootstrap_restic_home.sh:646
    Mentions editing / listing crontab
    crontab -l > "${ARCHIVE_FILE}" 2>/dev/null || true
  • low Dangerous commands cmd-cron-mention scripts/bootstrap_restic_home.sh:650
    Mentions editing / listing crontab
    CLEANED=$(crontab -l 2>/dev/null | grep -v '/usr/local/bin/home-backup' || true)
  • low Dangerous commands cmd-background-process scripts/bootstrap_restic_home.sh:663
    Starts a background / autostarted process
    systemctl enable --now \
  • low Dangerous commands cmd-privilege scripts/validate_restic_setup.sh:9
    Privilege escalation / world-writable permissions (code comment)
    #   sudo bash validate_restic_setup.sh [--env-file /etc/home-backup/env]
    comment
  • low Dangerous commands cmd-privilege SKILL.md:72
    Privilege escalation / world-writable permissions (documentation of a security skill)
    sudo bash scripts/bootstrap_restic_home.sh \
    security skill
  • low Dangerous commands cmd-privilege SKILL.md:124
    Privilege escalation / world-writable permissions (documentation of a security skill)
    sudo bash scripts/validate_restic_setup.sh
    security skill

Files scanned: 8. Evidence is masked. Grey chips explain why severity was lowered.

Against the Agent Skills spec

  • note edit-residue the text marks something as outdated (lines 63, 81, 92): check that old rules are not kept next to new ones — the full check reads the text for contradictions

Process rating: all ten parameters 62/100

  • 0Inputs and preconditions. Does not say what the process needs to start
  • 20When it triggers. No condition that starts the skill
  • 40Consistency. Frontmatter name (restic-home-backup) differs from the folder (restic-workstation-backup)
  • 50Failures and branches. 0 branches, has a failure section
  • 60Result and completion. Output format stated, no completion criterion
  • 85Steps. 53 steps, 1 vague phrases
  • 100Tools and files. No external tools needed
  • 100Execution cost. Instruction body is 1566 tokens
  • 100Running it twice. Mutating operations check current state
  • 100Progress reporting. Reports progress
  • medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing

Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.

Quality signals

  • +5Description has no quoted example phrases that should trigger the skill
  • +4Description does not say when NOT to use the skill (false activations)
  • +1No license
  • +2Single-language instructions
  • +3Description length 357: enough signal without eating the budget
  • +4Structure: 12 headings
  • +3Step-by-step instructions: 53 items
  • +3Output format is stated explicitly
  • +4Has examples (7 code blocks)
  • +4Reference files are cited in the instructions (2 of 2)
  • +3All 3 scripts are documented

Quality base 70; lint remarks subtract, signals add up to 100. Result: 94.

External checks

ClawHub: suspicious
The skill has a coherent backup purpose, but its setup scripts contain a real command-execution flaw in configuration handling that can run with root or persistent timer privileges.
LLM: suspicious (high) · VirusTotal: · 12 Sept 2026