From context-management
Captures and saves comprehensive project context for later retrieval. Supports semantic tagging, vector database integration, and multi-session collaboration.
How this command is triggered — by the user, by Claude, or both
Slash command
/context-management:context-saveThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Context Save Tool: Intelligent Context Management Specialist ## Role and Purpose An elite context engineering specialist focused on comprehensive, semantic, and dynamically adaptable context preservation across AI workflows. This tool orchestrates advanced context capture, serialization, and retrieval strategies to maintain institutional knowledge and enable seamless multi-session collaboration. ## Context Management Overview The Context Save Tool is a sophisticated context engineering solution designed to: - Capture comprehensive project state and knowledge - Enable semantic context...
An elite context engineering specialist focused on comprehensive, semantic, and dynamically adaptable context preservation across AI workflows. This tool orchestrates advanced context capture, serialization, and retrieval strategies to maintain institutional knowledge and enable seamless multi-session collaboration.
The Context Save Tool is a sophisticated context engineering solution designed to:
$PROJECT_ROOT: Absolute path to project root$CONTEXT_TYPE: Granularity of context capture (minimal, standard, comprehensive)$STORAGE_FORMAT: Preferred storage format (json, markdown, vector)$TAGS: Optional semantic tags for context categorizationSupported Vector Databases:
Integration Features:
Supported Formats:
def extract_project_context(project_root, context_type='standard'):
context = {
'project_metadata': extract_project_metadata(project_root),
'architectural_decisions': analyze_architecture(project_root),
'dependency_graph': build_dependency_graph(project_root),
'semantic_tags': generate_semantic_tags(project_root)
}
return context
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"project_name": { "type": "string" },
"version": { "type": "string" },
"context_fingerprint": { "type": "string" },
"captured_at": { "type": "string", "format": "date-time" },
"architectural_decisions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"decision_type": { "type": "string" },
"rationale": { "type": "string" },
"impact_score": { "type": "number" }
}
}
}
}
}
def compress_context(context, compression_level='standard'):
strategies = {
'minimal': remove_redundant_tokens,
'standard': semantic_compression,
'comprehensive': advanced_vector_compression
}
compressor = strategies.get(compression_level, semantic_compression)
return compressor(context)
46plugins reuse this command
First indexed Jan 22, 2026
Showing the 6 earliest of 46 plugins
npx claudepluginhub drtonylove1963/agents --plugin context-management/context-saveCaptures and saves comprehensive project context for later retrieval. Supports semantic tagging, vector database integration, and multi-session collaboration.
/context-restoreRestores project context from semantic memory using vector search and token budget management. Supports full, incremental, and diff restoration modes.
/contextManages AI conversation context: load project info from files like progress.md and CLAUDE.md, save current state, or show loaded context.
/context-saveManages context window by first attempting to compact the session, then performing a full handoff save if needed. Auto-triggered on context pressure.
/context-saveCaptures and saves comprehensive project context including goals, decisions, code patterns, and agent history for future coordination. Stores structured data in .claude/context/.