cratis-arc-diagnose-live-query

cratis-arc-diagnose-live-query is a skill for Claude Code, Codex from Cratis/AI. It costs 44 tokens per session (756 once invoked), scanned A, original, MIT.

A troubleshooting guide for a live query whose first result arrives but later changes do not. It uses a browser-style streaming connection and a command to check whether updates reach the subscriber.

In plain words
What is it for?
Use it to test a live author list, perform a matching registration, capture the streamed response, and inspect whether the new author appears.
Why use it?
A successful one-time response does not prove that a live subscription receives future writes. The checks help locate problems with the query, connection, tenant, credentials, or storage.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to test a live author list, perform a matching registration, capture the streamed response, and inspect whether the new author appears.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cratis/ai/cratis-arc-diagnose-live-query
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 Cratis/AI --skill cratis-arc-diagnose-live-query
Clone the repo
git clone --depth 1 https://github.com/Cratis/AI

Made for: Claude Code, Codex.

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 cratis-arc-diagnose-live-query

README.md
[![agentmods](https://agentmods.dev/badge/skills/cratis/ai/cratis-arc-diagnose-live-query/github.svg)](https://agentmods.dev/skills/cratis/ai/cratis-arc-diagnose-live-query)
Your own site
<a href="https://agentmods.dev/skills/cratis/ai/cratis-arc-diagnose-live-query"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-arc-diagnose-live-query/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 cratis-arc-diagnose-live-query

Your own site · 80×15
<a href="https://agentmods.dev/skills/cratis/ai/cratis-arc-diagnose-live-query"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-arc-diagnose-live-query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 756 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.
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.00044 $0.00756
Opus 5.5 $0.00018 $0.00302
Sonnet 5.5 $0.00009 $0.00151
Haiku 4.5 $0.00004 $0.00076

Measured today against content hash 0259fdd49a6f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cratis-arc-diagnose-live-query 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 today.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check-frames.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.cratis/ai/skills/cratis-arc-diagnose-live-query/SKILL.md · 41 lines

How it starts

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

Find the missing live update

Trace one write on one open subscription to the query (cratis-arc-expose-query skill in cratis/arc), as the same authenticated caller, tenant and database throughout. Work from storage outward and stop at the first stage that fails:

  1. The write succeeded. Require a successful command (cratis-arc-declare-command skill in cratis/arc) result before looking for an update.
  2. The row is stored where the reader looks. If not, check the projection (cratis-chronicle-project-view skill in cratis/chronicle) and the storage connection (cratis-arc-connect-storage skill in cratis/arc), not delivery.
  3. The server source emits. The query returns the provider's observable, not a materialized list, and the store can notify changes.
  4. The transport delivers. A direct stream carries the changed row.
  5. The client receives it. Only then inspect the frontend.

Three states look alike and are not: an empty first result, a first result that is not ready yet, and a subscription that was never opened. A one-shot request that succeeds does not prove that a sustained subscription delivers later writes, and repeating snapshots is not a subscription. Transports, routes and statuses differ between hosts; take them from the reference.

Read the reference for the host

The artifact being changed selects the one reference to read: *.csproj → C#; a Node server package.json → TypeScript; *.kt → Kotlin; *.java → Java; go.mod → Go; mix.exs → Elixir. Another language's reference is not a template. Python has no released Arc SDK: call the owning service over HTTP.

Expected outcome

The stage that drops the change is identified by a write whose known ID appears in the store and then does or does not appear in a later result on the same subscription. node scripts/check-frames.mjs < capture.sse, run from the skill directory, counts ready results in a saved event stream; two results alone do not prove delivery of that ID.

Read the full file on GitHub · 41 lines

Files

What ships with it

8 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. today Changed · -7 lines · +3 tokens per session 0259fdd49a6f
  2. 2d ago First seen · 48 lines · 41 tokens per session scan A f4010376f3e5

Subscribe to this mod's changes

cratis-arc-diagnose-live-query is a skill published in the GitHub repository Cratis/AI (4 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 756 once invoked, about $0.0002 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.

Related

cratis-arc-diagnose-live-query compared with skills from other repositories

cratis-arc-diagnose-live-query next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cratis-arc-diagnose-live-queryCratis/AISkill4todayMITA44Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code