anvia-hq/anvia/anvia-channels

Claude Code and agent skill by anvia-hq/anvia

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Connect Discord, Slack, and Telegram to Anvia agents — channel adapters, agent-backed bots, proactive delivery, sessions, streaming, and platform actions.

Install

npx vskill@latest install anvia-hq/anvia/anvia-channels

SKILL.md

Anvia Channels Skill

Use this skill when the user wants an Anvia agent reachable from Discord, Slack, or Telegram, needs proactive delivery into a channel from a worker or monitor, or wants to handle raw platform events. The five libraries are private workspace packages — depend on them from the channels workspace (workspace:*), not npm.

Process

  1. Wire the platform adapter (references/adapters.md) — one factory call per

platform; credentials from the environment, never literals.

  1. Run an agent behind it (references/channel-agent.md) — sessions and memory,

streaming edits, acknowledgements, slash commands, paused approvals.

  1. Send or receive without an agent (references/delivery.md) —

sendChannelMessage, long-text splitting, validation, raw event handling.

  1. Run scripts/check-channels.sh from the app root before claiming done.

Minimal slice

ts
import { createChannelAgent } from "@anvia/channel-agent";
import { Agent } from "@anvia/core/agent";
import { OpenAIClient } from "@anvia/openai";
import { telegram } from "@anvia/telegram";
const openai = new OpenAIClient({ apiKey: process.env.OPENAI_API_KEY ?? "" });
const agent = new Agent({
id: "telegram-assistant",
model: openai.completionModel({ modelId: "gpt-6-astra", api: "responses" }),
instructions: "You are a concise assistant. Answer in the sender's language.",
});
const channel = telegram({
token: process.env.TELEGRAM_BOT_TOKEN ?? "",
onError: (error, context) => console.error(`[telegram:${context.operation}]`, error),
});
const service = createChannelAgent({
channel,
agent,
streaming: { placeholder: "Thinking…", editIntervalMs: 750 },
acknowledge: "👀",
onError: (error, context) => console.error(`[channel-agent:${context.stage}]`, error),
});
await service.start();
process.once("SIGTERM", () => void service.stop());

Output

Prefer one adapter, one agent, environment-read credentials, and a shutdown path for every started service. Point to the relevant reference file instead of pasting its contents into chat.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/anvia-hq/anvia/anvia-channels/badge)](https://verified-skill.com/skills/anvia-hq/anvia/anvia-channels)

Something wrong with this skill or its page? Tell us.