# code-context-awareness > Track code files discussed during conversation and ensure they're captured in memory saves. Use when discussing code, making changes, or planning architecture. - Author: Tony Glass - Repository: tonton2006/ai-cloud-orchestrator - Version: 20251218103636 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-07 - Source: https://github.com/tonton2006/ai-cloud-orchestrator - Web: https://mule.run/skillshub/@@tonton2006/ai-cloud-orchestrator~code-context-awareness:20251218103636 --- --- name: code-context-awareness description: Track code files discussed during conversation and ensure they're captured in memory saves. Use when discussing code, making changes, or planning architecture. --- # Code Context Awareness ## Purpose Track all code artifacts discussed during conversation to ensure nothing is lost in context saves or token limit scenarios. ## What to Track **During conversation, maintain awareness of:** 1. **Files discussed** - Any file read or modified 2. **Code concepts** - Functions, classes, patterns discussed 3. **Changes planned** - What we plan to modify and why 4. **Dependencies** - What's affected by changes ## Tracking Format Maintain mental list: ``` Files Discussed: - mcp_server/tools/neo4j_memory.py (lines 50-100, storage functions) - shards/knowledge-server/main.py (tool registration) Concepts: - Neo4j storage protocol - Agent communication patterns Changes Made: - Added store_fact function - Deployed knowledge-server Dependencies: - knowledge-server depends on neo4j_memory module ``` ## During Token Save Before saving conversation: ```python # Include code artifacts store_fact( fact="Discussed neo4j_memory.py storage functions during agent protocol research. Modified lines 50-100 to add store_fact capability.", category="code_discussion", tags=["neo4j_memory.py", "storage", "agent_research"] ) # Create relationships create_memory_relationship( from_node_id="conv-2025-11-07-research", to_node_id="neo4j_memory.py", relationship_type="DISCUSSED_CODE", properties={"focus": "storage functions", "lines": "50-100"} ) ``` --- Never lose track of what code was discussed. Include in all context saves.