/prometheus-skill-pack:entity-gql-subscriptionfrom prometheus-skill-pack
Slash command /entity-gql-subscription — connect GraphQL subscriptions via graphql-ws (or compatible) to either GQLClient.subscribe/useGQLSubscription with EntityDescriptors, or createGraphQLSubscriptionAdapter + RealtimeManager for coalesced ChangeSet delivery.
Ships in prometheus-skill-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
User needs live GraphQL updates integrated with the entity graph.
wsClient implementing:type WsClient = {
subscribe: (
payload: { query: string; variables?: Record<string, unknown> },
sink: { next: (v: { data: T }) => void; error: (e: unknown) => void; complete: () => void }
) => () => void;
};
useGQLSubscription with same descriptors as query/mutation so incoming payloads upsert entities.Pros: Simple; identical normalization to queries.
Cons: No 16ms coalescing; high-frequency events may cause extra renders.
Import createGraphQLSubscriptionAdapter from @prometheus-ags/prometheus-entity-management.
Configure subscriptions: [{ type, document, variables, getPayload }].
getPayload(data) returns GQLPayload | GQLPayload[] | null where each payload has:
type: "created" | "updated" | "deleted" (or default upsert behavior per adapter)node / id as documented in src/adapters/realtime-adapters.tsmanager.register(adapter, [{ type: "Post", ... }]) with channel config per your app.
Pros: Coalesced writes; consistent with WebSocket/Supabase adapters.
Cons: Must map subscription shape manually.
client is recreated or subscription resubscribes when token changes.useGQLSubscription effect cleanup handles local scope; adapter registration should mirror app lifecycle (singleton vs provider).src/graphql/client.ts (subscribe)src/graphql/hooks.ts (useGQLSubscription)src/adapters/realtime-adapters.ts (createGraphQLSubscriptionAdapter)src/adapters/realtime-manager.tsWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub prometheus-ags/prometheus-skill-system --plugin prometheus-skill-pack218 skills in this plugin
/actor-modelTokio-native actor model pattern for Prometheus AGS projects. Implements actors as tokio tasks communicating via mpsc channels with a typed message enum, enabling safe concurrent state management without shared locks. Used in UAR session management, pk-librarian event broadcasting, and parking-lot scheduler design. Use when a component needs to own state exclusively while serving concurrent callers.
/adversarial-reviewIsolated, cross-model adversarial review of KBD artifacts and change diffs. Dispatches a fresh-context LLM judge over an OpenAI-compatible REST gateway (openai-proxy or `liter-llm api`) with an explicit mandate to find problems — the model that produced an artifact or change is never the model that reviews it. Runs as a pipeline stage inside kbd-assess/analyze/plan (artifact mode) and kbd-execute's single phase-boundary QA step (diff mode, once over the whole phase diff). Findings are severity-bucketed (CRITICAL/WARNING/SUGGESTION) and the judge's own report is screened by sycophancy-correction before it is surfaced.
/agent-team-creatorCreate, revise, package, and deploy agent-team definitions with staged questions and native exports for UAR, Codex, Claude Code, Copilot, Kimi Code, MiniMax CLI, OpenCode and DeepSeek. Use for team definition and catalog lifecycle; use agent-team-manage for active runtime task state.Other plugins' skills for the same job
2 plugins in one repository ship this exact skill · first indexed Nov 27, 2026