# Tablekeeper

Tabletop RPG campaigns for Ulpi group chats.

- Type: Plugin
- Version: 0.4.0
- Updated: 22 Nov 2026
- Publisher: kaverimeshram
- Category: Desktop

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Tabletop RPG campaigns for Ulpi group chats. Code rolls the dice and owns hit points, positions, initiative and turn order, each player controls only their own character, and the model narrates the results.

SRD 5.1 monsters, characters and spells, including a young red dragon with a fire breath cone. Disclosure — Disclosure: Storage.

The Desktop pane and dashboard route open it read-only; Prompt. The guard lets a reply quote any hit point or AC figure the state block listed or a tool returned, flags invented damage, rolls and hit points, and appends one compact correction line.

Other sessions and chats without a campaign are untouched; Network and processes. The plugin opens no connection of its own, starts no subprocess and reads no credentials.

Platform, chat id and sender id from the turn context, used as the campaign and owner keys.

## Tools it adds

The tools an agent gets once this plugin is installed.

- `tk_state`
- `tk_new_campaign`
- `tk_claim_character`
- `tk_roll`
- `tk_check`
- `tk_save`
- `tk_attack`
- `tk_cast`
- `tk_move`
- `tk_next_turn`
- `tk_death_save`
- `tk_rest`
- `tk_start_combat`
- `tk_damage`
- `tk_heal`
- `tk_condition`
- `tk_recap`

## How to set it up

With, each player throws their own d20 from a Telegram button; code still rolls the number.

```
/table dice phone
```

In a chat that has a campaign, and in a local CLI or Desktop session once it has used or a tool, a compact state summary of at most about 600 tokens is added to each turn and the reply passes through the narration guard.

```
/table
```

```
tk_
```

A campaign with no table activity for 24 hours adds no prompt tokens until the next call or command wakes it.

```
tk_
```

```
/table
```

With on a Telegram session it registers one callback handler scoped to and sends one button message per pending throw through the gateway's own bot; a tap is accepted only from the character's owner id; each throw result, including an automatic throw when the owner does not tap within the timeout (15-600 s, default 120), is queued into that chat as a message from the owner and starts an agent turn without anyone typing; Identity.

```
/table dice phone
```

```
^tk:throw:<id>
```

## Review notes

What an owner reads and accepts before the install is approved.

- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

## More in Desktop

- [tailscale](https://www.ulpi.io/en/marketplace/plugins/tailscale): Browse Tailscale devices and connect to remote Ulpi instances in Ulpi.
- [TaskWatch](https://www.ulpi.io/en/marketplace/plugins/taskwatch): Background-task watchboard for the Ulpi status bar and a side pane: every process the focused chat dispatched through terminal(background=true).
- [Telegram Mini App](https://www.ulpi.io/en/marketplace/plugins/telegram-mini-app): Phone control panel for Ulpi inside Telegram: live status and usage, sessions and their messages, agent cron jobs (create, edit, pause, run now, stop, catch-up per job).

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
