{"aiPlatform":"claude-code@2025.06","category":"development","commandName":"/context-save","content":"---\nname: Context Save\ndescription: Save current project context for future agent coordination, capturing and preserving project state, decisions, and patterns for improved continuity.\nallowed_tools:\n  - memory          # Store and persist context data\n  - filesystem      # Save 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\nSave current project context for future agent coordination:\n\n[Extended thinking: This tool uses the context-manager agent to capture and preserve project state, decisions, and patterns. This enables better continuity across sessions and improved agent coordination.]\n\n## Context Capture Process\n\nUse Task tool with subagent_type=\"context-manager\" to save comprehensive project context.\n\nPrompt: \"Save comprehensive project context for: $ARGUMENTS. Capture:\n\n1. **Project Overview**\n   - Project goals and objectives\n   - Key architectural decisions\n   - Technology stack and dependencies\n   - Team conventions and patterns\n\n2. **Current State**\n   - Recently implemented features\n   - Work in progress\n   - Known issues and technical debt\n   - Performance baselines\n\n3. **Design Decisions**\n   - Architectural choices and rationale\n   - API design patterns\n   - Database schema decisions\n   - Security implementations\n\n4. **Code Patterns**\n   - Coding conventions used\n   - Common patterns and abstractions\n   - Testing strategies\n   - Error handling approaches\n\n5. **Agent Coordination History**\n   - Which agents worked on what\n   - Successful agent combinations\n   - Agent-specific context and findings\n   - Cross-agent dependencies\n\n6. **Future Roadmap**\n   - Planned features\n   - Identified improvements\n   - Technical debt to address\n   - Performance optimization opportunities\n\nSave this context in a structured format that can be easily restored and used by future agent invocations.\"\n\n## Context Storage\n\nThe context will be saved to `.claude/context/` with:\n- Timestamp-based versioning\n- Structured JSON/Markdown format\n- Easy restoration capabilities\n- Context diffing between versions\n\n## Usage Scenarios\n\nThis saved context enables:\n- Resuming work after breaks\n- Onboarding new team members\n- Maintaining consistency across agent invocations\n- Preserving architectural decisions\n- Tracking project evolution\n\nContext to save: $ARGUMENTS","contentHash":"d0e0db71d9337ce172fd91681eb33a670b135dba589e92972ebd8315139b49b5","copies":0,"createdAt":"2025-08-12T16:09:44.788Z","description":"Save project context using context-manager subagent","github":{"repoUrl":"https://github.com/Commands-com/commands","lastSyncDirection":"from-github","metadata":{"importedFrom":"github_repository","repoPrivate":false,"repoDefaultBranch":"main","connectedAt":"2025-08-12T16:09:44.788Z"},"importedAt":"2025-08-12T16:09:44.788Z","lastSyncAt":"2025-08-17T17:57:50.175Z","fileMapping":{"license":null,"readme":null,"assets":[],"mainFile":"tools/context-save.md"},"selectedCommand":"context-save","fileShas":{"mainFile":"86b0272e921891bff412a078219d3ca1278b32e7","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":"185cd254-b04f-4815-864c-3a6234f6c8c8","inputParameters":[{"name":"context_name","description":"Name for the saved context","label":"Context Name","type":"text","required":false,"defaultValue":"project-context"}],"instructions":"Save project context using context-manager subagent","likes":0,"mcp_search_content":"","organizationUsername":"commands-com","price":"free","search_content":"context save save project context using context-manager subagent /context-save development claude-code@2025.06","title":"Context Save","type":"command","updatedAt":"2025-08-17T17:57:50.175Z","userId":"W0V8NAw5AhWRwcuwSoFLOi1Yem83","visibility":"public","name":"context-save","userInteraction":{"userHasStarred":false}}