agent-restore-context-setup — for Claude Code agent-restore-context-setup, nimbus, community, for Claude Code, ide skills, SessionStart, compact, agent-restore-context-<name>, agent-restore-context-<skill-name>, clear|compact

v1.0.0

À propos de ce Skill

Scenario recommande : Ideal for AI agents that need setup restore context. Resume localise : Nimbus Design System # Setup Restore Context Set up a generic SessionStart hook that re-injects context after /clear or /compact. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Fonctionnalités

Setup Restore Context
Set up a generic SessionStart hook that re-injects context after /clear or
/compact. Any skill that writes a .agent-restore-context-<name file in the
project root will have its contents automatically injected into the fresh
Skills write .agent-restore-context-<skill-name files with resume prompts.

# Core Topics

commercetools commercetools
[4]
[2]
Updated: 3/19/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 10/11

This page remains useful for teams, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
10/11
Quality Score
67
Canonical Locale
en
Detected Body Locale
en

Scenario recommande : Ideal for AI agents that need setup restore context. Resume localise : Nimbus Design System # Setup Restore Context Set up a generic SessionStart hook that re-injects context after /clear or /compact. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Pourquoi utiliser cette compétence

Recommandation : agent-restore-context-setup helps agents setup restore context. Nimbus Design System # Setup Restore Context Set up a generic SessionStart hook that re-injects context after /clear or /compact. This AI

Meilleur pour

Scenario recommande : Ideal for AI agents that need setup restore context.

Cas d'utilisation exploitables for agent-restore-context-setup

Cas d'usage : Applying Setup Restore Context
Cas d'usage : Applying Set up a generic SessionStart hook that re-injects context after /clear or
Cas d'usage : Applying /compact. Any skill that writes a .agent-restore-context-<name file in the

! Sécurité et Limitations

  • Limitation : Only .claude/ exists claude .claude/skills/
  • Limitation : result is READ, warn the user that the repo is read-only — any changes made
  • Limitation : to .claude/settings.json or .gitignore will need to be committed and pushed

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is agent-restore-context-setup?

Scenario recommande : Ideal for AI agents that need setup restore context. Resume localise : Nimbus Design System # Setup Restore Context Set up a generic SessionStart hook that re-injects context after /clear or /compact. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

How do I install agent-restore-context-setup?

Run the command: npx killer-skills add commercetools/nimbus/agent-restore-context-setup. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for agent-restore-context-setup?

Key use cases include: Cas d'usage : Applying Setup Restore Context, Cas d'usage : Applying Set up a generic SessionStart hook that re-injects context after /clear or, Cas d'usage : Applying /compact. Any skill that writes a .agent-restore-context-<name file in the.

Which IDEs are compatible with agent-restore-context-setup?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for agent-restore-context-setup?

Limitation : Only .claude/ exists claude .claude/skills/. Limitation : result is READ, warn the user that the repo is read-only — any changes made. Limitation : to .claude/settings.json or .gitignore will need to be committed and pushed.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add commercetools/nimbus/agent-restore-context-setup. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use agent-restore-context-setup immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

agent-restore-context-setup

Nimbus Design System # Setup Restore Context Set up a generic SessionStart hook that re-injects context after /clear or /compact. This AI agent skill supports

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Setup Restore Context

Set up a generic SessionStart hook that re-injects context after /clear or /compact. Any skill that writes a .agent-restore-context-<name> file in the project root will have its contents automatically injected into the fresh conversation.

How It Works

  1. Skills write .agent-restore-context-<skill-name> files with resume prompts.
  2. A SessionStart hook with matcher clear|compact runs agent-restore-context.sh.
  3. The script globs for .agent-restore-context-* and outputs their contents.
  4. The model receives that output and follows the resume instructions.
  5. Skills manage their own file lifecycle (write/delete).

Process

1. Detect Layout

Determine which configuration layer the project uses:

CheckLayoutSkills directory
.agents/ directory existsagents.agents/skills/
Only .claude/ existsclaude.claude/skills/

Settings files always live under .claude/ regardless of layout.

2. Check if Already Configured

Read .claude/settings.json and .claude/settings.local.json (if it exists). Search both for restore-context. If found in either file, report that the hook is already configured and stop.

3. Locate the Hook Script

The script is at <skills-dir>/agent-restore-context-setup/resources/agent-restore-context.sh (using the skills directory from step 1).

Verify the script exists and is executable. If not executable, run chmod +x.

4. Register the Hook

Permission check

Run gh repo view --json viewerPermission --jq '.viewerPermission'. If the result is READ, warn the user that the repo is read-only — any changes made to .claude/settings.json or .gitignore will need to be committed and pushed manually. Continue with the rest of the steps as normal.

Choose settings file

Ask the user:

"Should I add the restore-context hook to .claude/settings.json (shared/committed) or .claude/settings.local.json (local only)?"

Compute the script path relative to the project root (from step 3), then merge the following into the chosen file's hooks object. Do not overwrite existing hooks — add to or create the SessionStart array:

json
1{ 2 "SessionStart": [ 3 { 4 "matcher": "clear|compact", 5 "hooks": [ 6 { 7 "type": "command", 8 "command": "bash <skills-dir>/agent-restore-context-setup/resources/agent-restore-context.sh" 9 } 10 ] 11 } 12 ] 13}

5. Add Gitignore Entry

Check .gitignore for .agent-restore-context-*. If not present, append:

# Restore context files (used by skills to survive /clear and /compact)
.agent-restore-context-*

6. Confirm

Report to the user:

  • Where the hook was registered (which settings file)
  • The path to the script
  • That any skill can now write .agent-restore-context-<name> files to use this pattern

Guidelines

  • Always read target files before modifying them
  • Do not create .agents/ or .agents/skills/ directories — only use them if they already exist
  • This skill is idempotent — safe to run multiple times

Compétences associées

Looking for an alternative to agent-restore-context-setup or another community skill for your workflow? Explore these related open-source skills.

Voir tout

openclaw-release-maintainer

Logo of openclaw
openclaw

Resume localise : 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

widget-generator

Logo of f
f

Resume localise : Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat . It covers ai, artificial-intelligence, awesome-list workflows. This AI agent skill supports Claude Code, Cursor, and

flags

Logo of vercel
vercel

Resume localise : The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

138.4k
0
Navigateur

pr-review

Logo of pytorch
pytorch

Resume localise : Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review . It covers autograd, deep-learning, gpu workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
Développeur