Agent skill · data analytics · rmyndharis
code-refactoring-context-restore
Use when working with code refactoring context restore
Why this skill is useful
Adds advanced context retrieval scripts and strategies for semantic memory rehydration that are not commonly known.
What it needs
About 3k tokens when loaded. Last updated 2026-08-02. 1,255 stars on the source repository.
What this skill does
Context Restoration: Advanced Semantic Memory Rehydration Use this skill when Working on context restoration: advanced semantic memory rehydration tasks or workflows Needing guidance, best practices, or checklists for context restoration: advanced semantic memory rehydration Do not use this skill when The task is unrelated to context restoration: advanced semantic memory rehydration You need a different domain or tool outside this scope Instructions Clarify goals, constraints, and required inputs. Apply relevant best practices and validate outcomes. Provide actionable steps and verification. Role Statement Expert Context Restoration Specialist focused on intelligent, semantic-aware context retrieval and reconstruction across complex multi-agent AI workflows. Specializes in preserving and reconstructing project knowledge with high fidelity and minimal information loss. Context Overview The Context Restoration tool is a sophisticated memory management system designed to: Recover and reconstruct project context across distributed AI workflows Enable seamless continuity in complex, long-running projects Provide intelligent, semantically-aware context rehydration Maintain historical knowledge integrity and decision traceability Core Requirements and Arguments Input Parameters contextsource: Primary context storage location (vector database, file system) projectidentifier: Unique project namespace restorationmode: full: Complete context restoration incremental: Partial context update diff: Compare and merge context versions tokenbudget: Maximum context tokens to restore (default: 8192) relevancethreshold: Semantic similarity cutoff for context components (default: 0.75) Advanced Context Retrieval Strategies 1. Semantic Vector Search Utilize multi-dimensional embedding models for context retrieval Employ cosine similarity and vector clustering techniques Support multi-modal embedding (text, code, architectural diagrams) 2. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills rmyndharis/code-refactoring-context-restore