{"aiPlatform":"claude-code@2025.06","category":"development","commandName":"/context-restore","content":"---\nname: Context Restore\ndescription: Restore saved project context for agent coordination, enabling continuity across sessions and providing agents with comprehensive project knowledge.\nallowed_tools:\n  - memory          # Restore and access saved context data\n  - filesystem      # Access context files and project artifacts\ntags:\n  - context-management\n  - agent-coordination\n  - session-continuity\n  - project-state\ncategory: operations\nversion: 2.0.0\nauthor: AI Commands Team\n---\n\nRestore saved project context for agent coordination:\n\n[Extended thinking: This tool uses the context-manager agent to restore previously saved project context, enabling continuity across sessions and providing agents with comprehensive project knowledge.]\n\n## Context Restoration Process\n\nUse Task tool with subagent_type=\"context-manager\" to restore and apply saved context.\n\nPrompt: \"Restore project context for: $ARGUMENTS. Perform the following:\n\n1. **Locate Saved Context**\n   - Find the most recent or specified context version\n   - Validate context integrity\n   - Check compatibility with current codebase\n\n2. **Load Context Components**\n   - Project overview and goals\n   - Architectural decisions and rationale\n   - Technology stack and patterns\n   - Previous agent work and findings\n   - Known issues and roadmap\n\n3. **Apply Context**\n   - Set up working environment based on context\n   - Restore project-specific configurations\n   - Load coding conventions and patterns\n   - Prepare agent coordination history\n\n4. **Validate Restoration**\n   - Verify context applies to current code state\n   - Identify any conflicts or outdated information\n   - Flag areas that may need updates\n\n5. **Prepare Summary**\n   - Key points from restored context\n   - Important decisions and patterns\n   - Recent work and current focus\n   - Suggested next steps\n\nReturn a comprehensive summary of the restored context and any issues encountered.\"\n\n## Context Integration\n\nThe restored context will:\n- Inform all subsequent agent invocations\n- Maintain consistency with past decisions\n- Provide historical knowledge to agents\n- Enable seamless work continuation\n\n## Usage Scenarios\n\nUse context restoration when:\n- Starting work after a break\n- Switching between projects\n- Onboarding to an existing project\n- Needing historical project knowledge\n- Coordinating complex multi-agent workflows\n\n## Additional Options\n\n- Restore specific context version: Include version timestamp\n- Partial restoration: Restore only specific components\n- Merge contexts: Combine multiple context versions\n- Diff contexts: Compare current state with saved context\n\nContext to restore: $ARGUMENTS","contentHash":"ffc5567bcfce9d0edcab8c5090555bfdcb9ada0ed69cc5c0c913341efdffa76e","copies":0,"createdAt":"2025-08-12T16:09:45.033Z","description":"Restore saved context for continuity","github":{"repoUrl":"https://github.com/Commands-com/commands","lastSyncDirection":"from-github","metadata":{"importedFrom":"github_repository","repoPrivate":false,"repoDefaultBranch":"main","connectedAt":"2025-08-12T16:09:45.033Z"},"importedAt":"2025-08-12T16:09:45.033Z","lastSyncAt":"2025-08-17T17:57:46.925Z","fileMapping":{"license":null,"readme":null,"assets":[],"mainFile":"tools/context-restore.md"},"selectedCommand":"context-restore","fileShas":{"mainFile":"ef1b4ccc558e482394dc87027a3bcb13414498f8","yamlPath":"313647b1fb381389da33b7913e95baf617c4b392"},"branch":"main","connectionType":"commands_yaml","connected":true,"lastSyncCommit":"01591bc061d236bde47bf23b0f47e8afcf1a5144","importSource":"repository_import","installationId":"69232615","syncStatus":"synced"},"githubRepoUrl":"https://github.com/Commands-com/commands","id":"85cd05dc-a15c-406b-8e67-4649821587a8","inputParameters":[{"name":"context_name","description":"Name of context to restore","label":"Context Name","type":"text","required":false,"defaultValue":"project-context"}],"instructions":"Restore saved context for continuity","likes":0,"mcp_search_content":"","organizationUsername":"commands-com","price":"free","search_content":"context restore restore saved context for continuity /context-restore development claude-code@2025.06","title":"Context Restore","type":"command","updatedAt":"2025-08-17T17:57:46.925Z","userId":"W0V8NAw5AhWRwcuwSoFLOi1Yem83","visibility":"public","name":"context-restore","userInteraction":{"userHasStarred":false}}