iwe-restore

iwe-restore is a skill for Claude Code from TserenTserenov/FMT-exocortex-template. It costs 68 tokens per session (1,966 once invoked), scanned A, original, MIT.

A recovery skill that restores an agent’s saved memory and instruction files from an exocortex backup when moving to a new computer or workspace. It shows what it found and asks for confirmation before copying files.

In plain words
What is it for?
Use it to restore the memory folder, CLAUDE.md, and AGENTS.md, then finish the installation audit.
Why use it?
It helps recover working context after a device move or workspace rebuild without overwriting existing files silently.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Good fit Use it to restore the memory folder, CLAUDE.md, and AGENTS.md, then finish the installation audit.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tserentserenov/fmt-exocortex-template/iwe-restore
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 TserenTserenov/FMT-exocortex-template --skill iwe-restore
Clone the repo
git clone --depth 1 https://github.com/TserenTserenov/FMT-exocortex-template

Made for: Claude Code.

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 iwe-restore

README.md
[![agentmods](https://agentmods.dev/badge/skills/tserentserenov/fmt-exocortex-template/iwe-restore/github.svg)](https://agentmods.dev/skills/tserentserenov/fmt-exocortex-template/iwe-restore)
Your own site
<a href="https://agentmods.dev/skills/tserentserenov/fmt-exocortex-template/iwe-restore"><img src="https://agentmods.dev/badge/skills/tserentserenov/fmt-exocortex-template/iwe-restore/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 iwe-restore

Your own site · 80×15
<a href="https://agentmods.dev/skills/tserentserenov/fmt-exocortex-template/iwe-restore"><img src="https://agentmods.dev/badge/skills/tserentserenov/fmt-exocortex-template/iwe-restore.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 1,966 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium analysis-evasion · line 1
    Suspicious Unicode normalization or mixed-script content
    Fix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
How audits are shown
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.01966
Opus 5 $0.00034 $0.00983
Sonnet 5 $0.00014 $0.00393
Haiku 4.5 $0.00007 $0.00197

Measured 7d ago against content hash 371215ed2ee8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

iwe-restore 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 7d ago.

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.

.claude/skills/iwe-restore/SKILL.md · 200 lines

How it starts

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

IWE Restore — восстановление памяти агента

Когда использовать: переехал на новый ноутбук, пересоздал workspace, потерял memory/. Если memory/ уже заполнен и ты просто хочешь проверить — используй /audit-installation.

Аргументы: $ARGUMENTS

When to use

Восстановление памяти агента из exocortex-бэкапа при переезде на новое устройство. Находит DS-strategy/exocortex/, показывает что будет восстановлено, спрашивает подтверждение, копирует memory/ + CLAUDE.md + AGENTS.md, финализирует /audit-installation.

Обещание

За 5 минут и одно подтверждение — восстановить память агента из GitHub-бэкапа. Агент не перезапишет ничего молча: сначала показывает что найдено, потом ждёт «да».


Algorithm

Шаг 1. Найти бэкап

Определить путь к governance-репо. Приоритет:

  1. Аргумент скилла $ARGUMENTS (если передан)
  2. Переменная окружения $DS_STRATEGY или $GOVERNANCE_REPO
  3. Стандартный путь ~/IWE/${IWE_GOVERNANCE_REPO:-DS-strategy}/
  4. Поиск: find ~/IWE -maxdepth 2 -name "exocortex" -type d 2>/dev/null
GOVERNANCE="${1:-${DS_STRATEGY:-$HOME/IWE/${IWE_GOVERNANCE_REPO:-DS-strategy}}}"
EXOCORTEX="$GOVERNANCE/exocortex"

Если exocortex/ не найден → сказать:

«Не нашёл бэкап. Папка exocortex/ отсутствует в $GOVERNANCE. Убедись, что governance-репо склонирован: git clone <url> ~/IWE/${IWE_GOVERNANCE_REPO:-DS-strategy}. Если репо на другом пути — вызови /iwe-restore путь/к/DS-strategy

Завершить.


Шаг 2. Показать что найдено

Собрать информацию о бэкапе:

# Список файлов в бэкапе
find "$EXOCORTEX" -maxdepth 1 -type f \( -name "*.md" -o -name "*.yaml" -o -name "*.yml" \) | sort

# Дата последнего изменения самого свежего файла
find "$EXOCORTEX" -maxdepth 1 -type f | xargs ls -lt 2>/dev/null | head -1

Определить путь к memory/ на текущем устройстве:

HOME_SLUG=$(echo "$HOME" | sed 's|/|-|g')
MEMORY_DST="$HOME/.claude/projects/${HOME_SLUG}-IWE/memory"

Показать пользователю:

Найден бэкап:
  Источник:   ~/IWE/${IWE_GOVERNANCE_REPO:-DS-strategy}/exocortex/   (N файлов, последний бэкап: ДАТА)
  Назначение: ~/.claude/projects/.../memory/

Что будет восстановлено:
  memory/: [список файлов .md и .yaml]
  CLAUDE.md → ~/IWE/CLAUDE.md
  AGENTS.md → ~/IWE/AGENTS.md  (если есть)

Текущее состояние memory/:
  [пусто / N файлов уже есть]

Read the full file on GitHub · 200 lines

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. 7d ago Changed · +1 lines 371215ed2ee8
  2. 12d ago First seen · 199 lines · 68 tokens per session scan A af636e1cc61d

Subscribe to this mod's changes

iwe-restore is a skill published in the GitHub repository TserenTserenov/FMT-exocortex-template (53 stars, last pushed today), licensed MIT. It adds 68 tokens to every session and 1,966 once invoked, about $0.0003 per session on Opus 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-08-30.

Related

Other skills, from other repositories

agent-memory-mcp

A hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).

davila7/claude-code-templates · 26 tokens

remember

Stores decisions, patterns, and outcomes in the MCP memory knowledge graph as entities with typed observations and relations. Supports recording architectural decisions, anti-patterns, tool preferences, workflow outcomes, and project conventions that persist across sessions. Use when saving patterns, remembering…

yonatangross/orchestkit · 62 tokens

obsidian-memory

Cross-project long-term memory over an Obsidian brain vault: recall relevant notes before a task, and persist distilled conclusions (decisions, pitfalls, solutions, progress) back after a task. The vault is an optional aggregation/projection layer — repo-local artifacts stay the per-project source of truth, and sync…

Ancienttwo/repo-harness · 212 tokens

neo4j-agent-memory-skill

Authoritative reference for the neo4j-agent-memory Python package — a graph-native memory system for AI agents built on Neo4j — and for the hosted service (NAMS) at memory.neo4jlabs.com. Use this skill whenever the user mentions neo4j-agent-memory, agent memory with Neo4j, context graphs, the POLE+O model…

neo4j-contrib/neo4j-skills · 223 tokens

context-engineering

Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks, or when you need to configure rules files and context for a project.

jcarlosrodicio/opencode-agent-orchestration-kit · 43 tokens

continuous-attention

Use when the user asks to keep watching an external state, notify them when something changes or a condition is met, remember fresh external state across turns, or manage an existing Context Binding or Event Subscription.

Peiiii/nextclaw · 44 tokens