build-with-tinybase

build-with-tinybase is a skill for Claude Code, Codex from tinyplex/tinybase. It costs 90 tokens per session (1,193 once invoked), scanned A, original, MIT.

A toolkit for building JavaScript or TypeScript applications with TinyBase, a library for reactive tables and key-value data kept in the app.

In plain words
What is it for?
Use it to start or extend apps with in-memory data, browser or database persistence, synchronization, and connections between data and the user interface.
Why use it?
It helps structure local-first data, where an application can work with data locally and optionally save or synchronize it. It also clarifies when TinyBase is not suitable as the main server database.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions AGENTS.md.

Part of the tinybase plugin — 1 skill shipped together

Good fit Use it to start or extend apps with in-memory data, browser or database persistence, synchronization, and connections between data and the user interface.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tinyplex/tinybase/build-with-tinybase
About the project

TinyBase is a reactive data store and synchronization engine for applications. Developers use it to manage changing application data and synchronize it across connected contexts.

tinyplex/tinybase · 5,193 stars · on GitHub · tinybase.org

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tinyplex/tinybase --skill build-with-tinybase
Clone the repo
git clone --depth 1 https://github.com/tinyplex/tinybase

Made for: Claude Code, Codex.

Or install tinybase, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for build-with-tinybase

README.md
[![agentmods](https://agentmods.dev/badge/skills/tinyplex/tinybase/build-with-tinybase/github.svg)](https://agentmods.dev/skills/tinyplex/tinybase/build-with-tinybase)
Your own site
<a href="https://agentmods.dev/skills/tinyplex/tinybase/build-with-tinybase"><img src="https://agentmods.dev/badge/skills/tinyplex/tinybase/build-with-tinybase/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for build-with-tinybase

Your own site · 80×15
<a href="https://agentmods.dev/skills/tinyplex/tinybase/build-with-tinybase"><img src="https://agentmods.dev/badge/skills/tinyplex/tinybase/build-with-tinybase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,193 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00090 $0.01193
Opus 5.5 $0.00036 $0.00477
Sonnet 5.5 $0.00018 $0.00239
Haiku 4.5 $0.00009 $0.00119

Measured 21d ago against content hash 56fdbf622ab3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

build-with-tinybase scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 21d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/skills/build-with-tinybase/SKILL.md · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Build With TinyBase

Prefer a current generated application over reconstructing TinyBase setup from memory. Preserve persistence and synchronization lifecycle ordering, and verify the behavior the user actually needs.

Read The References

Do not recall TinyBase API details from memory. Read the reference covering the task before writing code:

Reference Read it when
references/architecture.md Choosing between Store and MergeableStore, a persistence backend, a synchronization approach, or UI bindings
references/import-paths.md Importing anything outside the tinybase root, or checking which Persisters accept a MergeableStore
references/lifecycle.md Creating, starting, reconnecting, or destroying a Persister or Synchronizer, or setting WebSocket paths and channel Ids
references/durable-objects.md Building or debugging a Cloudflare Durable Object sync server

Select The Architecture

Read references/architecture.md when choosing between Store and MergeableStore, persistence backends, synchronization, or UI bindings.

Confirm that TinyBase fits the task:

  • Keep the active application dataset in a JavaScript runtime.
  • Use TinyBase for reactive tabular or key-value data, local-first behavior, persistence, synchronization, or framework bindings.
  • Do not present TinyBase as a hosted database service.
  • Pair it with another database or service when the authoritative dataset is unbounded, primarily queried on a server, or requires managed backend facilities.

Read the full file on GitHub · 133 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 21d ago Changed · +35 lines · +14 tokens per session 56fdbf622ab3
  2. 1mo ago First seen · 98 lines · 76 tokens per session scan A 66a9cbe2f960

Subscribe to this mod's changes

build-with-tinybase is a skill published in the GitHub repository tinyplex/tinybase (5,193 stars, last pushed 8d ago), licensed MIT. It adds 90 tokens to every session and 1,193 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

monitoring-ingestion-pipeline

Guide for using the Grafana MCP to monitor and diagnose the Node.js ingestion pipeline workers in production. Use when investigating event lag, drops, pipeline errors, person/group processing, Kafka consumer health, Redis, Postgres, ClickHouse downstream health, or any ingestion worker question. Covers prod-us and…

PostHog/posthog · 71 tokens

optimizing-clickhouse-and-hogql-queries

Workflow for optimizing ClickHouse and HogQL queries. Use when a HogQL query, query runner, insight, or report is too slow; when a hand-written ClickHouse query (via syncexecute or in a migration) is too slow; when ClickHouse times out or hits memory limits; when investigating a slow system.querylog row; or when…

PostHog/posthog · 177 tokens

django-migrations

Django migration patterns and safety workflow for PostHog. Use when creating, adjusting, or reviewing Django/Postgres migrations, including non-blocking index/constraint changes, multi-phase schema changes, data backfills, migration conflict rebasing, and product model moves that require SeparateDatabaseAndState. Also…

PostHog/posthog · 99 tokens

generating-clickhouse-query-performance-reports

Produce and structure slow-query performance reports for PostHog's production ClickHouse (US and EU). Use when asked for a slow query report, query performance analysis over the last N days, per-team query cost, OOM or timeout investigation, cluster cost/memory regressions, or materialization candidates. Covers the…

PostHog/posthog · 142 tokens

monitoring-capture-service

Guide for using the Grafana MCP to monitor and diagnose the capture service (rust/capture) in production. Use when investigating latency, event loss, Kafka backpressure, Redis issues, rate limiting, Envoy proxy issues, or any capture health question. Covers prod-us and prod-eu environments.

PostHog/posthog · 66 tokens

querying-local-postgres

Run read-only SQL against the local Postgres app database (SELECT, EXPLAIN, EXPLAIN ANALYZE on SELECT). Default local URL postgres://posthog:posthog@localhost:5432/posthog; else DATABASEURL. Use when querying the local DB, inspecting tables, debugging data, or analyzing query plans. Mutations are strictly forbidden.

PostHog/posthog · 79 tokens