anvia-chat
Wire an Anvia chat UI end to end — server stream route, client transport, React hook, and UI primitives.
Skill by anvia-hq
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/anvia-hq-anvia-chat
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, frontend, backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/anvia-chat
What's inside
- Skill name
anvia-chat- Description
- Wire an Anvia chat UI end to end — server stream route, client transport, React hook, and UI primitives.
- License
- MIT
- Instructions
- 58 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (5)
- SKILL.md
- react-ui.md · references/
- server-protocol.md · references/
- transports-state.md · references/
- check-chat-boundary.sh · scripts/
SKILL.md (first lines)
# Anvia Chat Skill
Use this skill when the user wants a chat or completion UI backed by Anvia:
new chat routes, transports, `useChat`/`useCompletion` wiring, message rendering,
resumable streams, agent tool-approval interactions, or `anvia add chat` work.
## Process
1. Build the server route first (`references/server-protocol.md`).
2. Pick the transport and state conversions (`references/transports-state.md`).
3. Wire the React controller and render UI primitives (`references/react-ui.md`).
4. Run `scripts/check-chat-boundary.sh` from the app root before claiming done.
## Minimal slice
```ts
// Server route: core events -> client protocol -> framed response.
import { completionToClientStream, parseClientStreamRequest } from "@anvia/client";
import { streamCompletion } from "@anvia/core";
import { createClientStreamResponse } from "@anvia/server";
const body = parseClientStreamRequest(await request.json());
if (body.type !== "messages") throw new Error("This completion endpoint accepts messages only.");
const events = completionToClientStream({
events: streamCompletion({ model, messages: body.messages }),
});
return createClientStreamResponse({ events }); // JSONL by default
```
```tsx
// App: explicit transport, hook owns state, primitives render it.
import { createHttpClientTransport } from "@anvia/client";
import { useChat } from "@anvia/react";
import { ChatProvider, ComposerPrimitive, ThreadPrimitive } from "@anvia/react-ui";
const transport = createHttpClientTransport({ endpoint: "/api/chat" });
const chat = useChat({ transport });
<ChatProvider controller={chat}>
<ThreadPrimitive.Root>
<ThreadPrimitive.Viewport>
<ThreadPrimitive.Messages />
</ThreadPrimitive.Viewport>
<ComposerPrimitive.Root>
<ComposerPrimitive.Input placeholder="Send a message..." />
<ComposerPrimitive.Submit>Send</ComposerPrimitive.Submit>
</ComposerPrimitive.Root>
</ThreadPrimitive.Root>
</ChatProvider>;
```
## Output
Keep the answer to the smallest working vertical slice: one route, one transport,
one hook, one render tree. Point to the relevant reference file instead of
pasting its contents into chat.From anvia-hq/anvia, MIT.
More from anvia-hq/anvia
- 0.670score
anvia-durable
anvia-hq
Build recoverable Anvia workflows with @anvia/durable — durable main agents, owned subagents, task graphs, tool/effect recovery, persisted waits, and remote…
SkillAFreshness: A★ 57Claude Code +9 - 0.667score
anvia-channels
anvia-hq
Connect Discord, Slack, and Telegram to Anvia agents — channel adapters, agent-backed bots, proactive delivery, sessions, streaming, and platform actions.
SkillAFreshness: A★ 57Claude Code +9 - 0.667score
anvia-studio
anvia-hq
Run and inspect Anvia agents in Studio — local serving, playground, traces, approvals, sessions, evals, and observability.
SkillAFreshness: A★ 57Claude Code +9 - 0.667score
anvia-evals
anvia-hq
Evaluate Anvia agents and retrieval — deterministic metrics, semantic similarity, LLM judges, RAG quality, and CLI eval runs.
SkillAFreshness: A★ 57Claude Code +9 - 0.667score
anvia-agent
anvia-hq
Build Anvia agents and tools — Agent options, tool definitions, approvals, memory, streaming, multi-agent teams, and provider wiring.
SkillAFreshness: A★ 57Claude Code +9 - 0.667score
anvia-pipeline
anvia-hq
Build deterministic multi-step work with Anvia Pipelines — steps, composition, parallel branches, decision routing, batch runs, agent, extractor, and decision…
SkillAFreshness: A★ 57Claude Code +9 - 0.664score
anvia-mcp
anvia-hq
Connect MCP servers to Anvia agents — clients, transports, tool discovery, URL safety, and lifecycle.
SkillAFreshness: A★ 57Claude Code +9 - 0.664score
anvia-rag
anvia-hq
Build retrieval and RAG with Anvia — chunking, embeddings, vector stores, knowledge graphs, filters, and search tools.
SkillAFreshness: A★ 57Claude Code +9 - 0.659score
release-notes
anvia-hq
Draft concise product release notes from a list of shipped changes.
SkillAFreshness: A★ 57Claude Code +9
Signals
- Stars
- 57
- Forks
- 6
- Open issues
- 0
- Last commit (this folder)
- Sep 11, 2026 (1 month ago)
- Last release
- Oct 23, 2026 (5 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/anvia-hq/anvia
- Website
- anvia.dev
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from anvia-hq
- 0.670score
anvia-durable
anvia-hq
Build recoverable Anvia workflows with @anvia/durable — durable main agents, owned subagents, task graphs, tool/effect recovery, persisted waits, and remote…
SkillAFreshness: A★ 57Claude Code +9 - 0.667score
anvia-channels
anvia-hq
Connect Discord, Slack, and Telegram to Anvia agents — channel adapters, agent-backed bots, proactive delivery, sessions, streaming, and platform actions.
SkillAFreshness: A★ 57Claude Code +9 - 0.667score
anvia-studio
anvia-hq
Run and inspect Anvia agents in Studio — local serving, playground, traces, approvals, sessions, evals, and observability.
SkillAFreshness: A★ 57Claude Code +9 - 0.667score
anvia-evals
anvia-hq
Evaluate Anvia agents and retrieval — deterministic metrics, semantic similarity, LLM judges, RAG quality, and CLI eval runs.
SkillAFreshness: A★ 57Claude Code +9 - 0.667score
anvia-agent
anvia-hq
Build Anvia agents and tools — Agent options, tool definitions, approvals, memory, streaming, multi-agent teams, and provider wiring.
SkillAFreshness: A★ 57Claude Code +9 - 0.667score
anvia-pipeline
anvia-hq
Build deterministic multi-step work with Anvia Pipelines — steps, composition, parallel branches, decision routing, batch runs, agent, extractor, and decision…
SkillAFreshness: A★ 57Claude Code +9
Cite this page
anvia-chat skill. Agent Mart. https://agentmart.dev/skills/anvia-hq-anvia-chat (last updated 2026-10-24)