Bifrost is an AI gateway that gives applications one OpenAI-compatible API for accessing models from more than 23 providers. It is used to route model requests, handle provider failover and load balancing, and apply features such as caching, guardrails, and MCP gateway support.
Borrowing it
Nothing to install: this file belongs to maximhq/bifrost. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/maximhq/bifrost/dev/.claude/skills/live-store/SKILL.mdgit clone --depth 1 https://github.com/maximhq/bifrostWrote 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.
[](https://agentmods.dev/skills/maximhq/bifrost/live-store)<a href="https://agentmods.dev/skills/maximhq/bifrost/live-store"><img src="https://agentmods.dev/badge/skills/maximhq/bifrost/live-store/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.
<a href="https://agentmods.dev/skills/maximhq/bifrost/live-store"><img src="https://agentmods.dev/badge/skills/maximhq/bifrost/live-store.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00090 | $0.07193 |
| Opus 5.5 | $0.00036 | $0.02877 |
| Sonnet 5.5 | $0.00018 | $0.01439 |
| Haiku 4.5 | $0.00009 | $0.00719 |
Grade A, and why
live-store 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 183 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Live store
Everything a Bifrost process keeps in memory lives in framework/livestore: configuration loaded from the config store, runtime state keyed by those records, caches, and tables a component writes. Components keep only handles (connections, goroutines, locks, compiled programs) and per-request buffers. This skill turns the AGENTS.md rules into steps; read those first:
- AGENTS.md "Data lives in the live store" and "Adding a config.json section"
- AGENTS.md "Writes reach memory the same way for every entity"
- AGENTS.md "Every change states its cost on the request flow" and the audit rule ("Audit changes")
Cite names, not line numbers: the examples below are function and file names on dev.
1. Pick the structure by what a miss means
| Structure | Holds | A miss means | Create with |
|---|---|---|---|
| Collection | every row of one config-database kind, loaded at boot, refreshed after every write | the row does not exist | a Register call in registerCollections (framework/livestore/registry.go) |
| Cache | only what was asked for, fetched by a loader | go fetch | live.NewCache |
| Table | what this process writes itself, no loader | nothing was written yet | live.NewTable (KeyedBy(kind) for state per entity) |
| View | state derived from collections that several packages read | the derived value is empty (a provider with no keys has no ProviderKeyLists entry, so Get returns nil, false) |
a table in Store.Views, rebuilt by a subscriber |
Where each lives:
Store.Collectionsholds config-store collections only. No convenience methods on it that merge records or hide state.Store.Viewsholds global derived tables, created inlivestore.Newand rebuilt by a collection subscriber once per publish (ProviderKeyLists, rebuilt byrebuildProviderKeyLists).- A table only one component uses stays with that component (
WSTicketStoreinhandlers/ws_ticket.go; the routing rulesStoreinplugins/routing/rules/store.go, which keeps compiled programs in a state table markedHoldsHandles). - In-flight working state may stay in a map: state for one request, stream or run, keyed by its request, stream or job ID and removed when that ends (stream accumulators, pending log entries, traces being built, running jobs). It still needs an
inflightentry intests/rawmaps/allowlist.txtwith its reason, and every path that ends the request, stream or run, errors and cancellation included, must remove it. Anything that outlives the request (a cache, configuration, state the next request reuses) is not in-flight and belongs in the live store. TestRepositoryKeepsDataInTheLiveStore(section 8) fails on the shapes AGENTS.md lists: async.Mapfield or package-levelsync.Map, a map on a struct with a mutex, maps behind an atomic pointer, and a package-level map a function writes. It does not see every raw map (an unguarded map field, for one), so a passing lint does not prove a component keeps none.
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.
- 3d ago Changed · +8 lines bb5f127ccc75
- 5d ago First seen · 175 lines · 90 tokens per session scan A 1c109c7be1fb
live-store is a skill published in the GitHub repository maximhq/bifrost (10,145 stars, last pushed today), licensed Apache-2.0. It adds 90 tokens to every session and 7,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-11-27.
live-store compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| live-storemaximhq/bifrost | Skill | 10k | today | Apache-2.0 | A | 90 | Claude Code |
| omni-inferencediegosouzapw/OmniRoute | Skill | 91k | 3d ago | MIT | A | 47 | Claude Code, Codex |
| omni-providersdiegosouzapw/OmniRoute | Skill | 91k | 3d ago | MIT | A | 45 | Claude Code, Codex |
| omni-authdiegosouzapw/OmniRoute | Skill | 91k | 3d ago | MIT | A | 36 | Claude Code, Codex |
| omni-combos-routingdiegosouzapw/OmniRoute | Skill | 91k | 3d ago | MIT | A | 44 | Claude Code, Codex |
| omni-api-keysdiegosouzapw/OmniRoute | Skill | 91k | 3d ago | MIT | A | 40 | Claude Code, Codex |
| omni-mcpdiegosouzapw/OmniRoute | Skill | 91k | 3d ago | MIT | A | 48 | Claude Code, Codex |