avatar-webapi-protocol

avatar-webapi-protocol is a skill for Claude Code from firstdebug/avatar-platform. It costs 150 tokens per session (2,359 once invoked), scanned A, original, no licence file.

A guide for connecting directly to iFlytek's virtual-human WebAPI over WebSocket using manually built JSON messages instead of an SDK. WebSocket is a long-lived connection for sending and receiving messages between systems.

In plain words
What is it for?
Use it to build Python, Java, or Node.js demos, check whether request messages are valid, and inspect the request-and-response protocol.
Why use it?
It helps you understand the required message fields, responses, event types, status values, and error codes when integrating the service yourself.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the iflytek-digital-human plugin — 30 skills, 7 agents, 4 hooks shipped together

Good fit Use it to build Python, Java, or Node.js demos, check whether request messages are valid, and inspect the request-and-response protocol.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/firstdebug/avatar-platform/avatar-webapi-protocol
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 firstdebug/avatar-platform --skill avatar-webapi-protocol
Clone the repo
git clone --depth 1 https://github.com/firstdebug/avatar-platform

Made for: Claude Code.

Or install iflytek-digital-human, the plugin that ships this one along with the rest of its 30 skills, 7 agents, 4 hooks.

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 avatar-webapi-protocol

README.md
[![agentmods](https://agentmods.dev/badge/skills/firstdebug/avatar-platform/avatar-webapi-protocol/github.svg)](https://agentmods.dev/skills/firstdebug/avatar-platform/avatar-webapi-protocol)
Your own site
<a href="https://agentmods.dev/skills/firstdebug/avatar-platform/avatar-webapi-protocol"><img src="https://agentmods.dev/badge/skills/firstdebug/avatar-platform/avatar-webapi-protocol/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 avatar-webapi-protocol

Your own site · 80×15
<a href="https://agentmods.dev/skills/firstdebug/avatar-platform/avatar-webapi-protocol"><img src="https://agentmods.dev/badge/skills/firstdebug/avatar-platform/avatar-webapi-protocol.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 150 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,359 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 unknown 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.00150 $0.02359
Opus 5.5 $0.00060 $0.00944
Sonnet 5.5 $0.00030 $0.00472
Haiku 4.5 $0.00015 $0.00236

Measured 1mo ago against content hash 023164cbd8fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

avatar-webapi-protocol 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 1mo ago.

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.

claude/iflytek-digital-human/skills/avatar-webapi-protocol/SKILL.md · 171 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

5 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. 1mo ago Changed · +15 lines 023164cbd8fc
  2. 1mo ago First seen · 156 lines · 150 tokens per session scan A ca701046e9ea

Subscribe to this mod's changes

avatar-webapi-protocol is a skill published in the GitHub repository firstdebug/avatar-platform (5 stars, last pushed 1mo ago), with no licence file. It adds 150 tokens to every session and 2,359 once invoked, about $0.0006 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-08-31.

Related

Other skills, from other repositories

hunt-websocket

Hunt WebSocket vulnerabilities — Cross-Site WebSocket Hijacking (CSWSH), missing/weak Origin validation on the WS handshake, no per-message authentication, message tampering, socket.io namespace/room authorization bypass, and handshake-layer Upgrade smuggling. Use when target has WebSocket endpoints (ws:// or wss://)…

uphiago/recon-skills · 95 tokens

subgraph-development-guide

Guide to building blockchain data indexes with The Graph — subgraph architecture, schema design, mapping handlers, deployment, and querying. Covers GraphQL APIs for DEX data, token transfers, and DeFi protocol events. Use when explaining blockchain indexing or building custom data pipelines.

nirholas/three.ws · 59 tokens

chainlink-oracle-guide

How Chainlink oracle price feeds work — architecture, reading feeds on-chain, available pairs, the aggregator model, and oracle security. Covers how DeFi protocols (Aave, Sperax, Compound) rely on Chainlink for accurate pricing. Use when explaining oracles, price feeds, or DeFi infrastructure.

nirholas/three.ws · 68 tokens

crypto-market-data-service-guide

Guide to the Crypto Market Data TypeScript service — clean market data APIs for token prices, candles, market cap, and volume across multiple chains. Features caching, rate limiting, fallback sources, and WebSocket subscriptions. Built for production DeFi applications.

nirholas/three.ws · 56 tokens

openrouter-ai-models-guide

Guide to OpenRouter — the unified API for 200+ AI models from OpenAI, Anthropic, Google, Meta, Mistral, and more. Covers model selection, pricing, routing strategies, fallback chains, and integration with SperaxOS for optimal model usage per task.

nirholas/three.ws · 64 tokens

web3auth-integration-guide

Guide to integrating Web3Auth for social login in Web3 dApps. Covers email, Google, Apple, Discord, and Twitter login flows. MPC key management, session handling, RainbowKit integration, and migration from traditional wallet-only flows. Zero-friction onboarding.

nirholas/three.ws · 60 tokens