# PromptForce

> PromptForce distills a dozen celebrated AI cost-cutting ideas into one local-first binary. Flagship: Prefex, a proxy that makes every Claude token cheaper, with receipts.

Prefex sits in front of the Anthropic/OpenAI API (one `base_url` or `ANTHROPIC_BASE_URL` change) and adds routing, prompt-cache assist, project-scoped session memory with structured session handover, compression, output shaping, an embedded OPA policy gateway (tool-call governance + MCP tool-description admission scanning), and multi-tool delivery (`prefex wrap` for Codex/aider/cursor/zed via `/v1/responses`) — reporting an honest "saved by prefex" figure instead of a vibes-based savings claim. ReadyBase is the sister product: a dependency/co-change graph that scores a repo's AI-readiness and feeds coding agents structural context before they edit.

## Docs

- [Solo install guide](https://www.promptforce.ai/guide.html): one binary, one env var, `prefex start`/`stop`/`reload`.
- [Team guide](https://www.promptforce.ai/team-guide.html): multi-seat dashboard, org attribution, invites.
- [ReadyBase](https://www.promptforce.ai/readybase.html): AI-readiness scoring for a codebase.
- [ReadyBase guide](https://www.promptforce.ai/rb-guide.html): `readybase setup`, `explore`, `relate`, `story`.
- [Trust / data handling](https://www.promptforce.ai/trust.html): what's stored, what never leaves localhost.

## Machine-readable

- [AGENTS.md](https://www.promptforce.ai/AGENTS.md): install/configure/usage for coding agents.
- [catalog.json](https://www.promptforce.ai/catalog.json): skills/templates marketplace catalog.
- [openapi.json](https://www.promptforce.ai/openapi.json): public API endpoints.
- [MCP server](https://www.promptforce.ai/api/mcp): `search_catalog`, `get_install_command`, `get_product_overview` tools (card at `/.well-known/mcp.json`).

## Install

```bash
curl -fsSL https://promptforce.ai/install.sh -o install.sh && bash install.sh
```

## Optional

- [Leaderboard](https://www.promptforce.ai/leaderboard.html): community savings leaderboard.
- [Marketplace](https://www.promptforce.ai/marketplace.html): browse the skills/templates catalog.
