Skip to main content

promptext Documentation

promptext is a command-line tool designed to extract and analyze code context for AI assistants. It intelligently processes your project files, using tiktoken for accurate GPT token counting, and generates structured output suitable for AI interactions.

Key Features

  • Smart file filtering with .gitignore integration
  • Accurate token counting using tiktoken (GPT-3.5/4 compatible)
  • Comprehensive project analysis
  • Multiple output formats (Markdown, XML)
  • Project metadata extraction
  • Git repository information
  • Performance monitoring and debug logging

What's Next?

Get started with promptext: