Skip to content

About

πŸš€ Optimize your Claude AI sessions with intelligent context management

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

10 Commits

Folders and files

Repository files navigation

πŸš€ Universal Project Launcher

Python License Platform

Optimize your Claude AI sessions with intelligent context management

A powerful launcher system that creates optimized, context-aware Claude AI sessions for different projects. Reduces token usage by ~70% while maintaining full context awareness.

✨ Key Features

  • 🎯 Smart Context Generation - Automatically generates minimal but complete context
  • πŸ’Ύ Intelligent Caching - Only reloads changed files to save processing time
  • πŸ“ Multi-Project Support - Manage unlimited projects with custom profiles
  • πŸš€ One-Click Launch - Windows .bat launchers for instant session start
  • πŸ“Š Token Optimization - Reduces context from 3000+ to ~960 tokens
  • πŸ”§ Extensible Templates - Easy creation of new project profiles

🎯 Use Cases

42 School Preparation

Perfect for Piscine preparation with:

  • Progress tracking
  • Error memorization for learning
  • Exercise-by-exercise guidance
  • Muscle memory development

Software Development

Optimize your dev sessions with:

  • Git status integration
  • Architecture awareness
  • Quick command shortcuts
  • Environment-specific configs

DevOps & Infrastructure

Streamline operations with:

  • Docker compose integration
  • Log analysis shortcuts
  • Environment management
  • Service health checks

πŸ“¦ Installation

Prerequisites

  • Python 3.8+
  • Windows with WSL2 (for Windows users)
  • Git

Quick Setup

# Clone the repository
git clone https://github.com/yourusername/universal-project-launcher.git
cd universal-project-launcher

# Install dependencies
pip install -r requirements.txt

# Create your first profile
python3 src/add_project.py

πŸš€ Quick Start

1. Launch existing 42 Training session (Windows)

# Double-click on:
examples/LAUNCH_42_CLAUDE.bat

2. Create a new project profile

python3 src/add_project.py

# Follow the interactive setup:
# - Enter project ID and name
# - Select project type
# - Configure Claude's role
# - Add context files

3. Generate context manually

python3 src/context_generator.py profiles/your-project.yaml

πŸ“ Project Structure

universal-project-launcher/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ launcher.py          # Main launcher with system tray
β”‚   β”œβ”€β”€ context_generator.py # Smart context generation
β”‚   └── add_project.py       # Interactive profile creator
β”œβ”€β”€ profiles/
β”‚   └── 42-training.yaml    # Example: 42 School profile
β”œβ”€β”€ templates/
β”‚   └── project_template.yaml # Base template for new projects
β”œβ”€β”€ examples/
β”‚   └── LAUNCH_42_CLAUDE.bat # Windows launcher example
└── docs/
    └── README_UNIVERSAL_LAUNCHER.md # Detailed documentation

πŸ”§ Configuration

Profile Structure (YAML)

id: "my-project"
name: "My Awesome Project"
type: "development"  # or: learning, devops, research
path: "/path/to/project"

claude_context:
  role: |
    You are my assistant for...
  guidelines: |
    Follow these rules...

context_files:
  - "README.md"
  - "package.json"

quick_commands:
  - name: "Test"
    command: "npm test"
    description: "Run tests"

πŸ“Š Performance

Metric Before After Improvement
Context Size 3000+ tokens ~960 tokens -70%
Load Time 3-5 seconds <1 second -80%
Cache Hit Rate N/A 85% New
Session Setup Manual One-click ∞

πŸŽ“ Example: 42 School Training

The included 42-training profile demonstrates:

# Tracks your progress automatically
current_level: |
  Exercise: 2 - File manipulation
  Step: 2.3 - echo with redirection

# Remembers your mistakes for learning
mistakes_tracking: true
auto_reminder: true

# Enforces 42 philosophy
42_specific_rules: |
  - No Google/AI during exercises
  - Use man for documentation
  - Learn from each error

πŸ› οΈ Advanced Usage

Custom Environment Variables

environment_vars:
  NODE_ENV: "development"
  DATABASE_URL: "postgresql://..."
  API_KEY: "${SECRET_API_KEY}"

Pre/Post Launch Scripts

pre_launch_script: |
  echo "Preparing environment..."
  docker-compose up -d

post_launch_script: |
  echo "Session started!"
  npm run watch

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“ Roadmap

  • Native Claude CLI integration
  • Full GUI with Tkinter/Qt
  • Cloud sync for profiles
  • Session analytics dashboard
  • Profile marketplace
  • VS Code extension
  • Multi-language support

πŸ› Troubleshooting

Context not generating

# Check profile exists
ls profiles/

# Verify permissions
chmod +x src/*.py

Windows launcher not working

  • Ensure WSL2 is installed and running
  • Check paths in .bat files
  • Verify Python is installed in WSL

πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • Created for 42 School Piscine preparation (Lausanne, June 2026)
  • Inspired by the need for efficient AI context management
  • Built with love for the coding community

πŸ‘€ Author

Eric de Carvalho

  • Background: Tech Lead, Solution Architect, CSV Pharma
  • Goal: Rediscovering the joy of hands-on coding
  • Preparing for: 42 Piscine Lausanne (June 2026)

⭐ Star this repo if you find it helpful!

πŸ”€ Fork it to create your own custom profiles!

πŸ› Report issues to help improve the project!# βœ… Configuration GitHub rΓ©ussie - Thu Mar 5 11:55:01 CET 2026

About

πŸš€ Optimize your Claude AI sessions with intelligent context management

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages