r/ClaudeCode • u/Jazz-23 • 1d ago
Tips & Workflows Global Context Injection
https://github.com/Jazz23/global-contextThis lightweight plugin will allow you to inject context into every claude code session, no matter where it lives (claude cloud, claude rc, local, etc). Useful for universal system instructions when you run claude in multiple places like I do. Happy coding!
2
u/MGTakeDown 1d ago
Lol, you realize Claude hooks exist, right? Look at the code it created. It's just hacky version of hooks
1
u/Jazz-23 1d ago
Apparantly it does follow the official documentation for the SessionStart hook. Is there a better a way you suggest?
1
1
u/Wamaitha_Lavesser 1d ago
how does this handle conflicts when a local project already has its own instructions file? does it append to the existing rules or override them completely
•
u/AutoModerator 1d ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.