I made code2prompt, a CLI tool to generate LLM prompts from your codebase with support for prompt templating and token counting.
I initially wrote this for personal use to utilize Claude 3.0's 200K context window and it has proven to be pretty useful so I decided to open-source it. Let me know what you think.