PRX

Smart code context extractor

v0.7.5

Token-aware code extraction with relevance scoring, language-aware filtering, and multiple output formats for AI assistant integration.

macOS / Linuxcurl -sSL promptext.sh/install | bash

Features

04 Modules
001

Relevance Scoring

Automatically ranks files by importance using dependency analysis, change frequency, and naming conventions.

002

Token Counting

Know exactly how many tokens your context will consume before sending to any AI model.

003

Language-Aware Filtering

Built-in gitignore support plus smart detection of generated files, vendored code, and test fixtures.

004

Multiple Output Formats

PTX, Markdown, and XML outputs tuned for Claude, GPT, and other AI assistants.

Quick Start

# Extract context from current directory
prx .

# Filter to relevant files only
prx . --smart

# Count tokens before sending
prx . --tokens

# Output as markdown for Claude
prx . --format markdown