# Automating Context Injection across Workflows

Category: Context & Config
Stack: Context Hubs, Shell Aliases, Clipboard Automations

## Overview
Eliminating manual copy-pasting of context by scripting dynamic context injection directly into agent CLI sessions.

## The Problem
Engineers lose productivity manually copying project background, user stories, and logs into chat windows.

## Production Rule
Automate context ingestion via shell piping and CLI commands. Pre-load relevant context files dynamically into the agent runtime.

## Code / Specification
File: `inject_context.sh`

```workflow automation
# Pipe git diff and active ticket directly into agent session:
(cat context/project_overview.md; git diff main) | claude "Review these changes for security vulnerabilities" 
```
