den-refresh

den-refresh is a skill for Claude Code, Codex from Arasz/ai-raccoon. It costs 68 tokens per session (4,560 once invoked), scanned A, original, MIT.

A refresh workflow for an existing repository that was set up with the ai-badger framework. It detects framework changes, backs up the project's agent configuration, and rebuilds the generated files from that configuration.

In plain words
What is it for?
Use it when ai-badger reports drift, a newer framework version is available, or the user asks to refresh the repository's agent setup.
Why use it?
It updates framework-generated files without treating the project's existing settings as new setup work. It also produces a report so the resulting changes can be reviewed before they are kept.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Good fit Use it when ai-badger reports drift, a newer framework version is available, or the user asks to refresh the repository's agent setup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arasz/ai-raccoon/den-refresh
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Arasz/ai-raccoon --skill den-refresh
Clone the repo
git clone --depth 1 https://github.com/Arasz/ai-raccoon

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for den-refresh

README.md
[![agentmods](https://agentmods.dev/badge/skills/arasz/ai-raccoon/den-refresh/github.svg)](https://agentmods.dev/skills/arasz/ai-raccoon/den-refresh)
Your own site
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/den-refresh"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/den-refresh/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for den-refresh

Your own site · 80×15
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/den-refresh"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/den-refresh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,560 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.04560
Opus 5.5 $0.00027 $0.01824
Sonnet 5.5 $0.00014 $0.00912
Haiku 4.5 $0.00007 $0.00456

Measured yesterday against content hash 4c6ae50b24df, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

den-refresh scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/refresh.py, scripts/skill_usage.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.ai-badger/skills/den-refresh/SKILL.md · 293 lines

How it starts

The opening of the file, as written. The whole thing — 293 lines — stays where its author put it; the contents beside it link to each section on GitHub.

den-refresh

Pulls framework updates from the ai-badger catalog into a project that was already scaffolded. The script does all mechanical work; you (the agent) present the report and help the user review the diff.

This is the update direction of the framework: framework → project (update). For initial setup use welcome-ai-badger; to contribute back use feed-badger.

Responsibility split

  • Script (mechanical): refresh.py validates prerequisites (config.json, manifest.json), runs drift detection, re-scaffolds with the existing config, and emits a JSON report. Skills with extensions (e.g., task with github/hermes extensions) are re-scaffolded and their extensions re-embedded automatically.
  • You (creative only): present the report, help the user review what changed, and offer to commit or discard. There is no config authoring, no stack detection, no plugin scope prompt — those belong to welcome-ai-badger.

Prerequisites

  • Project has .ai-badger/config.json and .ai-badger/manifest.json (it was scaffolded by welcome-ai-badger)
  • An ai-badger framework checkout is accessible ($AI_BADGER)

Flow

  1. Run refresh. From the target repo root:

    python3 "$AI_BADGER/features/common/skills/den-refresh/scripts/refresh.py" --target . --root "$AI_BADGER"
    

    Add --prune-cache or --prune-namespaces only when the user has asked for it (steps 3 and 3c) — both delete from the user's home directory. Add --force only as recovery (see Error Recovery) — it re-scaffolds unconditionally, bypassing every drift signal. This:

    • Validates that config.json and manifest.json exist
    • Reads the manifest to extract scaffolded skill names
    • Runs drift detection against the framework's current content
    • If drift is found, re-scaffolds using the existing config.json
    • Outputs a JSON report with drift details and scaffold notes

    Exit codes: 0 = success (up to date or changes applied), 2 = error (missing config/manifest, invalid config).

Read the full file on GitHub · 293 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 293 lines · 68 tokens per session scan A 4c6ae50b24df

Subscribe to this mod's changes

den-refresh is a skill published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 68 tokens to every session and 4,560 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-05.

Related

den-refresh compared with skills from other repositories

den-refresh next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
den-refreshArasz/ai-raccoonSkill7todayMITA68Claude Code, Codex
cartographer-kb-createBeppeTemp/cartographerSkill74yesterdayApache-2.0A53Claude Code, Codex
cartographer-kb-importBeppeTemp/cartographerSkill74yesterdayApache-2.0A51Claude Code, Codex
cartographer-kb-source-authorBeppeTemp/cartographerSkill74yesterdayApache-2.0A106Claude Code, Codex
cartographer-feedbackBeppeTemp/cartographerSkill74yesterdayApache-2.0A83Claude Code, Codex
cartographer-cliBeppeTemp/cartographerSkill74yesterdayApache-2.0A37Claude Code, Codex
cartographer-kb-doctorBeppeTemp/cartographerSkill74yesterdayApache-2.0A91Claude Code, Codex