Comment “memory” for the full script. CLAUDE.m...
INSTAGRAM

Comment “memory” for the full script. CLAUDE.md is static. Your project isn’t. Every time you open Claude Code it only knows what you told it weeks ago. New commits, new errors, new decisions… gone. Here’s how to fix it. One shell script builds a live snapshot of your project before every run. Recent commits, modified files, recent errors, current branch… all injected into Claude Code automatically. claude —system-prompt “$CONTEXT” -p “what should I work on next?” Every run, Claude gets the actual current state of your project. Not a snapshot from two weeks ago. Comment “memory” for the full script.

0:34 Mar 13, 2026 8,445 297
@keshavsuki
124 words 90% confidence
Cloud.md is just static. You write it once and it just sits there. But your project state changes every day. New commits, new errors, new decisions. So let me give you the real architecture. You write a shell script that builds your context dynamically before each cloud code run. Each time this runs, cloud gets the actual current state of your project, and not just a snapshot you wrote two weeks ago. You can pull in anything. Test results, open issues, deployment status, last session summary. Cloud.md handles the static stuff. Stack, conventions, preferences. The shell script handles the live state. Together you get a cloud code setup that actually knows what's happening right now. Come with the word memory for the full script.

The video explains how to create a shell script that dynamically updates Claude Code with the current state of your project, ensuring it reflects recent changes and decisions.

  1. Cloud.md is static and doesn't reflect current project state.
  2. New commits and errors can make old snapshots irrelevant.
  3. A shell script builds dynamic context before each run.
  4. Inject recent commits, modified files, and errors into Claude.
  5. Claude gets the actual current state of your project.
  6. Combine Cloud.md with a shell script for better context.
  • LinkedIn post: How to automate project context updates
  • Tweet: Benefits of dynamic context in coding projects
  • Checklist: Set up your shell script for Claude Code

Save videos. Search everything.

Build your personal library of inspiration. Find any quote, hook, or idea in seconds.

Create Free Account No credit card required
Original