# PromptThrift

> Use this tool when you need to optimize conversation history and reduce token usage in LLM API calls. PromptThrift compresses older conversation turns into summaries, providing tools for history compression, token counting, and cost-optimal model recommendations. It operates fully offline, making it ideal for applications where efficient and cost-effective language model usage is crucial.

Canonical page: https://skillsregistry.net/skills/woling-dev-promptthrift  
JSON: https://api.skillsregistry.net/v1/skills/woling-dev-promptthrift

## Description

Compresses older conversation turns into summaries to reduce token usage on subsequent LLM API calls. Provides tools for history compression, token counting across 14 models, cost-optimal model recommendations, and pinned facts preservation during compression. Uses Gemma 4 local compression via Ollama for fully offline operation.

## Trust

- **Trust score (0–1):** 0.64
- **Verification tier:** scanned
- **Last scanned:** 2026-09-01

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-09-01

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/woling-dev-promptthrift)
- **Repository:** <https://github.com/woling-dev/promptthrift-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "woling-dev-promptthrift"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/woling-dev-promptthrift` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/woling-dev-promptthrift/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
