Agent skill

Rehydrate

by glebis in glebis/claude-skills

Put the real values back into an analysis that was produced from GREEN (placeholder) text — LOCALLY, using the user's own reversible map.

MITAuto-check passed

Install Rehydrate

skills CLI
$ npx skills add glebis/claude-skills --skill rehydrate -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install glebis/claude-skills rehydrate --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/glebis/claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/confide/skills/rehydrate .claude/skills/rehydrate && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
rehydrate
GitHub stars
391
Token cost
~907 tokens
SKILL.md length
380 words
Files
2 (incl. scripts)
Skills in repo
92
Repo updated
First seen
Licence
MIT

At a glance

Put the real values back into an analysis that was produced from GREEN (placeholder) text — LOCALLY, using the user's own reversible map.

  • Works in 3 steps: Redact locally with confide:anon… → Analyze the GREEN text anywhere —… → Rehydrate here: replace every…
  • The user says rehydrate
  • SKILL.md covers Privacy invariants (do not…, Run it and After running
  • Runs Python scripts from its folder; calls python3

What it does

Rehydrate is an agent skill from glebis/claude-skills. Put the real values back into an analysis that was produced from GREEN (placeholder) text — LOCALLY, using the user's own reversible map. Completes the confide round-trip (redact - cloud-analyze the green - rehydrate locally). Use when the user says "rehydrate", "restore real names", "unmask the analysis", "put the names back", "de-redact this output", "reverse the placeholders", or hands you an analysis full of [CONFIDEPERSON0001]/[CONFIDEDATE0002] plus a .map.json. Runs only on the user's own map; the map never…

Its SKILL.md is about 910 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/rehydrate.py`).

The repository describes itself as: Collection of Claude Code skills for enhanced AI workflows. The licence is MIT.

When your agent uses it

  • The user says rehydrate
  • Restore real names
  • Unmask the analysis
  • Put the names back

Example prompts

  • “rehydrate”
  • “restore real names”
  • “unmask the analysis”
  • “/rehydrate”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Redact locally with confide:anon (default reversible mode) → a GREEN copy
  2. Analyze the GREEN text anywhere — including a cloud LLM. The analysis comes
  3. Rehydrate here: replace every placeholder with its original value from your

What it can do on your machine

Read from SKILL.md and the folder at commit 3b88261. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Rehydrate loads about 907 tokens when it runs. Until then it costs about 176 tokens; SKILL.md has 380 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~176
When it runs · the whole SKILL.md, loaded when a task matches
~907

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from glebis/claude-skills at commit 3b88261, republished under its MIT licence (© glebis). 380 words, ~907 tokens.

Download SKILL.mdSave it as .claude/skills/rehydrate/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
rehydrate
description
Put the real values back into an analysis that was produced from GREEN (placeholder) text — LOCALLY, using the user's own reversible map. Completes the confide round-trip (redact -> cloud-analyze the green -> rehydrate locally). Use when the user says "rehydrate", "restore real names", "unmask the analysis", "put the names back", "de-redact this output", "reverse the placeholders", or hands you an analysis full of [CONFIDE_PERSON_0001]/[CONFIDE_DATE_0002] plus a *.map.json. Runs only on the user's own map; the map never leaves the machine; nothing fetched or transmitted. Prints counts only — never echoes restored PII. Warns on placeholders not in the map (possible LLM hallucination).

confide:rehydrate — restore real values into a placeholder analysis

This is the last step of the CONFIDE round-trip:

  1. Redact locally with confide:anon (default reversible mode) → a GREEN copy with unique reserved-sentinel placeholders ([CONFIDE_PERSON_0001], [CONFIDE_EMAIL_0001], [CONFIDE_DATE_0002]…) plus a secret <name>.map.json (structured: green_sha256, entries[]…) that stays on the machine.
  2. Analyze the GREEN text anywhere — including a cloud LLM. The analysis comes back full of those same placeholders (sometimes mangled to CONFIDE_PERSON_0001, [CONFIDE PERSON 0001]… — but always keeping the full CONFIDE_TYPE_NNNN core).
  3. Rehydrate here: replace every placeholder with its original value from your own map, producing the real analysis — without the cloud ever seeing the originals.

Privacy invariants (do not violate)

  • Local-only, on the user's OWN map. The map never leaves the machine. This skill never fetches or transmits anything.
  • Counts only on stdout. The summary reports restored N, unmatched M. The restored text (which contains originals) is written to a local file; it is NEVER echoed to stdout beyond the counts.
  • Unmatched = possible hallucination. A placeholder that is not in the map is reported as unmatched and left in place — we never invent a value for it. Warn the user that these may be LLM hallucinations.
  • The <name>.restored.md output contains originals: it is local-only, do not share or commit it.
Show full SKILL.md (170 more words)Show less

Run it

bash
python3 skills/rehydrate/scripts/rehydrate.py ANALYSIS_FILE [--map <name>.map.json]
  • ANALYSIS_FILE — the text/analysis containing placeholders.
  • --map <name>.map.json — the secret map from confide:anon. If omitted, the sibling *.map.json is auto-found (e.g. an analysis next to session.map.json, or one derived from session.green.md).
  • --out PATH — output path (default: <name>.restored.md next to the input).
  • --verify-green <green_file> — check the map's green_sha256 against that GREEN file; warns loudly if they don't match (wrong map for this document).

Robust to LLM mangling that still keeps the full CONFIDE_TYPE_NNNN core: [CONFIDE_PERSON_0001], [CONFIDE PERSON 0001], CONFIDE_PERSON_0001, and confide_person_0001 all restore to the same map entry. Ordinary prose lacking the CONFIDE prefix (e.g. "Person 1", "patient 1", "section 2") is never touched, and 0001 never eats 0010. Rehydration is idempotent (re-running on restored text is a no-op). Accepts both the structured map schema and a legacy flat map.

After running

  1. Report the restore summary (restored N, unmatched M) — never paste PII.
  2. If unmatched > 0, flag the placeholders as possible hallucinations not in the map.
  3. Remind the user the *.restored.md is local-only (it now contains originals).

© glebis, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in confide/skills/rehydrate of glebis/claude-skills.

  • SKILL.md
  • scripts/rehydrate.py

Open the folder on GitHubat commit 3b88261

Compare with similar skills

Rehydrate next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Rehydrate compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rehydrate this skillglebis/claude-skills391—~907Automated safety check: PassMIT
Value Propositionphuryn/pm-skills27k—~1.5kAutomated safety check: PassMIT
Value Prop Statementsphuryn/pm-skills27k—~758Automated safety check: PassMIT
Aria Valid Attr Valuethedaviddias/Front-End-Checklist74k—~456Automated safety check: PassMIT
Back Forward Cachethedaviddias/Front-End-Checklist74k—~541Automated safety check: PassMIT
Update Megatron Golden ValuesNVIDIA/Megatron-LM18k—~2.8kAutomated safety check: PassCustom licence

Similar skills

  • Value Proposition

    phuryn/pm-skills

    Design a detailed value proposition using a 6-part JTBD template — Who, Why, What before, How, What after, Alternatives.

    27k GitHub stars~1.5k tokensUpdated yesterday
    Marketing & SEOAuto-check passed
  • Value Prop Statements

    phuryn/pm-skills

    Generate value proposition statements for marketing, sales, and onboarding from existing value propositions.

    27k GitHub stars~758 tokensUpdated yesterday
    Marketing & SEOAuto-check passed
  • Aria Valid Attr Value

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Use valid values for ARIA attributes.

    74k GitHub stars~456 tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • Back Forward Cache

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing navigation performance, browser lifecycle events, or resume-from-memory behavior.

    74k GitHub stars~541 tokensUpdated 4 days ago
    Auto-check passed
  • Official

    Refreshes stored golden values from a GitHub Actions run, reports signed percentage changes per model, and writes a summary ready for a pull request description.

    18k GitHub stars~2.8k tokensUpdated today
    Testing & QAAuto-check passed
  • Conversion Value Mapper

    aaron-he-zhu/aaron-marketing-skills

    A skill your agent uses when the user asks to "set up conversion values so tROAS optimizes profit not orders", "map margin onto my purchase value", "build value rules for lead / phone / signup…

    2.9k GitHub starsUsed in 2 repos~2.9k tokens
    Marketing & SEOAuto-check passed

More from glebis/claude-skills

All 92 skills in this repo
  • Runs a human-first workflow for labeling PII spans in a transcript, then scores inter-annotator agreement and drafts an adjudicated gold set.

    391 GitHub stars~1.3k tokensUpdated 2 days ago
    Auto-check passed
  • Automates a dedicated, logged-in Chrome instance per profile without ever closing the user's own open tabs or browser windows.

    391 GitHub stars~973 tokensUpdated 2 days ago
    Auto-check passed
  • Deep Research

    glebis/claude-skills

    This skill should be used when conducting comprehensive research on any topic using the OpenAI Deep Research API.

    391 GitHub stars~2.6k tokensUpdated 2 days ago
    Auto-check: notes
  • Elimination Research

    glebis/claude-skills

    This skill should be used for elimination-style research where the user wants to choose from a shortlist of products, tools, services, vendors, or other options using explicit criteria, numeric…

    391 GitHub stars~1.6k tokensUpdated 2 days ago
    Auto-check passed
  • Narrated HTML Presentations

    glebis/claude-skills

    Generates a self-contained HTML presentation with article and slides modes, ElevenLabs voiceover narration and optional GPT Image 2 illustrations.

    391 GitHub stars~2.3k tokensUpdated 2 days ago
    Auto-check: notes
  • Writes fictional but realistic coaching or therapy session transcripts for evals, demos and few-shot examples, in several modalities and export formats.

    391 GitHub stars~2.9k tokensUpdated 2 days ago
    Auto-check passed

Questions about Rehydrate

What does Rehydrate do?

Put the real values back into an analysis that was produced from GREEN (placeholder) text — LOCALLY, using the user's own reversible map. Rehydrate is an agent skill from glebis/claude-skills. Put the real values back into an analysis that was produced from GREEN (placeholder) text — LOCALLY, using the user's own reversible map.

When should I use Rehydrate?

Rehydrate fits situations like: the user says rehydrate; restore real names; unmask the analysis; put the names back.

How do I install Rehydrate in Claude Code?

Run `npx skills add glebis/claude-skills --skill rehydrate -a claude-code`. Or copy the skill folder (confide/skills/rehydrate in glebis/claude-skills) into .claude/skills/rehydrate in your project. Claude Code loads it when a task matches its description.

How do I install Rehydrate in Codex?

Run `npx skills add glebis/claude-skills --skill rehydrate -a codex`. Or copy the skill folder (confide/skills/rehydrate in glebis/claude-skills) into .agents/skills/rehydrate in your project. Codex loads it when a task matches its description.

Can I use Rehydrate in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add glebis/claude-skills --skill rehydrate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rehydrate, .gemini/skills/rehydrate, .github/skills/rehydrate and .opencode/skills/rehydrate in your project.

What does Rehydrate need to run?

Going by SKILL.md and its folder, Rehydrate needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Rehydrate access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Rehydrate safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Rehydrate use?

Rehydrate is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Rehydrate use?

About 907 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Rehydrate?

Skills that share tags, products or a category with Rehydrate: Value Proposition (phuryn/pm-skills, 27k stars), Value Prop Statements (phuryn/pm-skills, 27k stars), Aria Valid Attr Value (thedaviddias/Front-End-Checklist, 74k stars) and Back Forward Cache (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rehydrate?

glebis (a GitHub user) maintains it in glebis/claude-skills, which has 391 GitHub stars. The repository holds 92 skills in this directory. The repository was last updated on October 8, 2026.

Source: glebis/claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.