cratis-arc-observable-query-http

cratis-arc-observable-query-http is a skill for Claude Code, Codex from Cratis/AI. It costs 82 tokens per session (1,434 once invoked), scanned A, original, MIT.

A guide to inspecting a Cratis Arc observable query over HTTP with tools such as curl. An observable query can return a one-time snapshot, a stream of updates through Server-Sent Events, or a long-lived connection.

In plain words
What is it for?
Use it to debug or explore Arc query endpoints from a terminal, including snapshot responses, waiting for initial results, and streamed updates.
Why use it?
It helps you choose the correct request headers and transport when examining an endpoint. It is read-only, so it investigates an existing query without changing application state.

Skill for Claude CodeCodex

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

Good fit Use it to debug or explore Arc query endpoints from a terminal, including snapshot responses, waiting for initial results, and streamed updates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cratis/ai/cratis-arc-observable-query-http
View source ↗ Cratis/AI
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-observable-query-http
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-observable-query-http

README.md
[![agentmods](https://agentmods.dev/badge/skills/cratis/ai/cratis-arc-observable-query-http.svg)](https://agentmods.dev/skills/cratis/ai/cratis-arc-observable-query-http)
Your own site
<a href="https://agentmods.dev/skills/cratis/ai/cratis-arc-observable-query-http"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-arc-observable-query-http.svg" alt="Measured on agentmods" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,434 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00082 $0.01434
Opus 5 $0.00041 $0.00717
Sonnet 5 $0.00016 $0.00287
Haiku 4.5 $0.00008 $0.00143

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

Security

Grade A, and why

cratis-arc-observable-query-http scanned grade A with 1 finding 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.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

description: Inspect a Cratis Arc observable query from a terminal with curl or another plain HTTP client — snapshot GET, waiting for the first result, Server-Sent Events streaming, and long polling, plus the exact query
skills/cratis-arc-observable-query-http/SKILL.md · 158 lines

How it starts

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

Inspect an Arc observable query over HTTP

An observable query endpoint answers three different ways depending on how the request is made. Choose the transport first, then the command.

Verified product sources

Package Version Purpose
Cratis.Arc.Core 22.10.4 ObservableQueryHttp, ObservableQueryHandler, the demultiplexer routes

Reverify before claiming support for another version. This skill is read-only inspection of an endpoint the user already has; it neither implements the query nor changes any state.

How Arc picks the transport

For a query whose result is an ISubject<T> or IAsyncEnumerable<T>, the handler decides in this order:

  1. WebSocket — the request is a WebSocket upgrade;
  2. Server-Sent Events — the Accept header contains text/event-stream (case-insensitive);
  3. plain HTTP — everything else, answered once and closed.

A plain curl sends neither, so it always lands on the third case.

Snapshot: the current value, once

curl "https://<host>/<api-prefix>/<route>"

The response is one JSON QueryResult.

⚠️ When the observable has not produced its first value yet, this returns HTTP 202 Accepted with a not-ready result — no exception, no data. That is a normal transient state (a subscription that has not emitted, a page past the end of the data), not a failure. A caller that treats 202 as an error is misreading a pending query as a crash.

Wait for the first result

curl "https://<host>/<api-prefix>/<route>?waitForFirstResult=true"
curl "https://<host>/<api-prefix>/<route>?waitForFirstResult=true&waitForFirstResultTimeout=10"
Key Meaning
waitForFirstResult Parsed as a boolean; anything that is not a parseable true means "do not wait"
waitForFirstResultTimeout Seconds, must be greater than 0. Defaults to 30

Outcomes:

Outcome Status Body
A value arrives 200 QueryResult with the data
The timeout elapses 408 Request Timeout An error result naming the timeout in seconds
The observable completes without ever emitting 500 An error result saying so

Read the full file on GitHub · 158 lines

Files

What ships with it

1 file 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 First seen · 158 lines · 82 tokens per session scan A a57427814ea3

Subscribe to this mod's changes

cratis-arc-observable-query-http is a skill published in the GitHub repository Cratis/AI (2 stars, last pushed today), licensed MIT. It adds 82 tokens to every session and 1,434 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-06.

Related

Other skills, from other repositories

architecture-paradigm-cqrs-es

Applies CQRS and Event Sourcing for read/write separation and audit trails. Use when designing systems with complex domain logic or full state-change history.

athola/claude-night-market · 39 tokens

orchardcore-diagnostics

Skill for configuring Orchard Core diagnostics error handling. Covers custom error pages, status code pages, DiagnosticsStartupFilter, IConfigureOptions integration, error shapes, alternate shape names, and production exception handling. Use this skill when requests mention Orchard Core Diagnostics, custom error page…

CrestApps/CrestApps.AgentSkills · 157 tokens

maf-fan-out-validator

Validates fan-out / fan-in workflow topology — detects the silent fan-in starvation pattern (handlers returning void / non-generic Task that produce no downstream message). Canonical rules + procedure for what the compiler cannot catch and the build cannot surface.

joslat/maf-doctor · 55 tokens

event-driven-architecture

Event-driven architecture patterns with event sourcing, CQRS, and message-driven communication. Use when designing distributed systems, microservices communication, or systems requiring eventual consistency and scalability.

NickCrew/Claude-Cortex · 39 tokens

cqrs-event-sourcing

CQRS and Event Sourcing patterns for scalable, auditable systems with separated read/write models. Use when building audit-required systems, implementing temporal queries, or designing high-scale applications with complex domain logic.

NickCrew/Claude-Cortex · 46 tokens

use-discatsharp

Build, explain, migrate, or troubleshoot Discord applications that use DisCatSharp. Use for DisCatSharp setup, configuration, clients, events, intents, slash commands, CommandsNext, interactivity, hosting, Lavalink, voice, entities, REST operations, exact API lookup, overload selection, and version-aware C# examples.

Aiko-IT-Systems/DisCatSharp · 71 tokens