Skip to content
Skills Library
AI & agents · Automation

skill-persistence-guard

/skill-persistence-guard

Detects missing or vanished skill directories in the local library and restores them from the latest local tar.gz artifacts or known Drive/GitHub sources. Use when skills disappear between turns, after environment cleanup, on startup health checks, or when autonomous-skill-forge or beta-unlocker report missing critical skills. High autonomy default — restore critical skills (forge, unlocker, evolver, orchestrator) automatically and report. Makes the ecosystem more resilient to ephemeral filesystem behavior.

Licence
MIT
Last repository change
20.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 20.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Detects missing or vanished skill directories in the local library and restores them from the latest local tar.gz artifacts or known Drive/GitHub sources. Use when skills disappear between turns, after environment cleanup, on startup health checks, or when autonomous-skill-forge or beta-unlocker report missing critical skills. High autonomy default — restore critical skills (forge, unlocker, evolver, orchestrator) automatically and report. Makes the ecosystem more resilient to ephemeral filesystem behavior.

Original author description

Detects missing or vanished skill directories in the local library and restores them from the latest local tar.gz artifacts or known Drive/GitHub sources. Use when skills disappear between turns, after environment cleanup, on startup health checks, or when autonomous-skill-forge or beta-unlocker report missing critical skills. High autonomy default — restore critical skills (forge, unlocker, evolver, orchestrator) automatically and report. Makes the ecosystem more resilient to ephemeral filesystem behavior.

How it works

  1. Overview
  2. Core Rules
  3. Instructions
  4. Autonomy
  5. Level-Up Note
  6. Version
Original SKILL.md headings · 45 lines, 285 words
SKILL.md preview
---
name: skill-persistence-guard
description: Detects missing or vanished skill directories in the local library and restores them from the latest local tar.gz artifacts or known Drive/GitHub sources. Use when skills disappear between turns, after environment cleanup, on startup health checks, or when autonomous-skill-forge or beta-unlocker report missing critical skills. High autonomy default — restore critical skills (forge, unlocker, evolver, orchestrator) automatically and report. Makes the ecosystem more resilient to ephemeral filesystem behavior.
---

# Skill Persistence Guard

## Overview
Fixes the recurring problem of skill directories vanishing from `/home/workdir/.grok/skills/` between conversation turns or environment resets. Provides auto-detection and restore so critical feral skills stay available.

## Core Rules
- Critical skills list (always try to keep present): autonomous-skill-forge, beta-unlocker, skill-evolver, multi-agent-orchestrator, drive-persistence-bridge, natural-language-to-skill, skill-researcher.
- Prefer local artifact tars first (fastest), then Drive download if available, then GitHub.
- Log every restore action.
- Do not claim success until the SKILL.md is present and validates.

## Instructions

1. **Detect**
   - `ls /home/workdir/.grok/skills/` and compare against expected critical set.
   - Flag any missing critical skill.

2. **Restore Priority**
   - Local: look in `/home/workdir/artifacts/` for matching `*-feral.tar.gz` or dated tars and extract. Prefer the newest version tar when multiple exist.
   - If local missing: use google_drive_download_artifact or search for the latest package in the skills folder ID `1jEivRtcNo-x9sd--2l1qe1bVox-TSnYK`.
   - Fallback: pull SKILL.md content from GitHub via github___get_file_contents and rewrite locally + re-init structure.

3. **Validate after restore**
   - Run validate-skill.sh on restored skill.
   - Confirm directory and SKILL.md exist.

4. **Report**
   - List what was missing, what was restored, source used, and remaining gaps.

5. **Integration**
   - Call at the start of any autonomous-skill-forge or beta-unlocker run.
   - Can be triggered by multi-agent-orchestrator health checks.
   - After restore, re-run the original job if it depended on the missing skill.

## Autonomy
High by default for critical skills. For non-critical, report and ask or batch under honest limits.

## Level-Up Note
Prefer the newest dated tar (v1.2, v1.3, etc.) when multiple versions exist. Always restore the strongest available version of each critical skill.

## Version
1.1 — 2026-08-26
Added newest-tar preference so level-ups stick. Stronger integration with the forge self-leveling protocol.

Versions

The database has no other skills named skill-persistence-guard.

Database snapshot: 13.11.2026 · package version 28b4ca0c9911 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90feral-core
    Unified godlevel feral engine that combines autonomous-skill-forge, beta-unlocker, godlevel-secret-hunter and skill-persistence-guard into one high-autonomy entry point. Use when the user wants maximum power, go feral, unlock, secret skills, growth rounds, instant…
  • 90autonomous-skill-forge
    Feral-level autonomous skill creation, gap detection, research, unlocking, and workaround system. Combines and exceeds skill-creation-enabler, natural-language-to-skill, and skill-researcher. Use for any missing capability, vague requests, skill unlocker, forge skill, make any…
  • 100setup
    One-time setup for skill-forge. Asks user preferences (search sources, creation style, target platforms, GitHub username, skill categories of interest) and configures all other skills to use those preferences. Run once before using any other skill-forge capability. Use when user…
  • 100tool-forge
    自适应工具铸造:探测 TOOL_GAP 后为当前 Agent 铸造工具与技能骨架并登记能力目录。触发词:缺工具、TOOL_GAP、造一个工具、自适应构建、forge、工具铸造、补技能。
  • 100skill-evolver
    GitHub skill 搜索、排名与进化系统。当用户要求"筛选/搜索/找最好的 XX skill"、"进化一个 skill"、"把 GitHub 上的同类 skill 排名/融合"时使用。自动在 GitHub 搜索相关 skill 仓库,按 star、活跃度、相关性、文档完整度打分排名,交付最优 skill;可选进入融合进化模式,把多个 skill 融合并通过评测迭代直到优于所有原始候选。
  • 100hvs-skill-buddy
    HVS Skill Buddy is the meta-skill for the entire HVS skill ecosystem. It keeps skills current with the latest Anthropic patterns, audits the skill library for drift and inconsistency, and creates new skills that fit the HVS system standard. ALWAYS trigger when the user mentions…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.