THE MODULE
MARKETPLACE
Composable middleware for the prxy.monster gateway. Caches, optimizers, routers, safety modules — pick what you need, drop them into your PRXY_PIPE, ship.
12 official · 0 community · 12 verified · all free at v1.
Featured
curated by the prxy teamCompaction Bridge✓ Verified
@prxy-official/compaction-bridge
Survives Claude Code's auto-compaction without state loss. Detects post-compaction requests and re-injects the most relevant pieces of the most recent eviction archive into the system prompt.
IPC — Inter-Prompt Compression✓ Verified
@prxy-official/ipc
Compresses older messages instead of dropping them when a request exceeds the context window utilization target. Keeps long conversations going past context limits.
MCP Optimizer✓ Verified
@prxy-official/mcp-optimizer
Prunes MCP tools to the ones actually relevant to the user's last message. Solves the 67k-tokens-of-MCP-tools problem by scoring each tool against the request via embeddings.
Patterns — Golden Loop✓ Verified
@prxy-official/patterns
Injects relevant past patterns into the system prompt and forges new ones from successful resolutions. The Golden Loop — your gateway gets smarter over time.
Semantic Cache✓ Verified
@prxy-official/semantic-cache
Returns cached responses for semantically similar (not just identical) requests. Embeds the request, vector-searches past requests, replays the cached response if similarity is above threshold.
cache
view all →Exact Cache✓ Verified
@prxy-official/exact-cache
Returns cached responses for byte-identical requests. Hash-keyed by a stable serialization of the canonical request — fastest cache type with zero false positives.
Semantic Cache✓ Verified
@prxy-official/semantic-cache
Returns cached responses for semantically similar (not just identical) requests. Embeds the request, vector-searches past requests, replays the cached response if similarity is above threshold.
Tool Cache✓ Verified
@prxy-official/tool-cache
Observes (and in v2 will cache) MCP tool-call results. Records tool_use → tool_result pairs and stamps observability metadata for repeated calls. Excludes side-effecting tools by default.
context
view all →Compaction Bridge✓ Verified
@prxy-official/compaction-bridge
Survives Claude Code's auto-compaction without state loss. Detects post-compaction requests and re-injects the most relevant pieces of the most recent eviction archive into the system prompt.
IPC — Inter-Prompt Compression✓ Verified
@prxy-official/ipc
Compresses older messages instead of dropping them when a request exceeds the context window utilization target. Keeps long conversations going past context limits.
Rehydrator✓ Verified
@prxy-official/rehydrator
Pulls archived context back when the user references past turns. Companion to ipc — when the user says 'remember when…', searches eviction archives semantically and re-injects the most relevant turns.
injection
view all →optimization
view all →MCP Optimizer✓ Verified
@prxy-official/mcp-optimizer
Prunes MCP tools to the ones actually relevant to the user's last message. Solves the 67k-tokens-of-MCP-tools problem by scoring each tool against the request via embeddings.
Prompt Optimizer✓ Verified
@prxy-official/prompt-optimizer
Restructures requests to maximize Anthropic prompt-cache hits. Sorts tools deterministically and stamps cache-control markers on the longest stable prefix.
routing
view all →safety
view all →Cost Guard✓ Verified
@prxy-official/cost-guard
Per-request, per-day, and per-month USD budget enforcement. Short-circuits requests that would breach a configured limit with a 429-shaped response.
Guardrails✓ Verified
@prxy-official/guardrails
Content filtering at the gateway layer. PII redaction (email, SSN, credit-card), profanity blocking, and user-supplied regex patterns. v2 adds NIM and Anthropic Constitutional backends.
Publish your own
community modules · MIT, Apache, or customBuild a module with @prxy/module-sdk, publish it to npm under your scope, then submit a PR adding a manifest to the public registry. Verified modules earn the ✓ badge.