ag2space-voice

ag2space-voice is a skill for Claude Code from sonichi/sutando. It costs 52 tokens per session (1,124 once invoked), scanned A, original, MIT.

A voice-session integration for the AG2 Space desktop or web client. It connects a voice conversation to the current chat room and can move the client to a direct message, room, or home view by voice.

In plain words
What is it for?
It handles room or direct-message context, confirms where the session is bound, and sends navigation requests to the client. It is only relevant to applications using the AG2 Space client.
Why use it?
It prevents voice requests made in one room from receiving answers in the wrong place and gives the voice session a defined room context.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Good fit It handles room or direct-message context, confirms where the session is bound, and sends navigation requests to the client. It is only relevant to applications using the AG2 Space client.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sonichi/sutando/ag2space-voice
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 sonichi/sutando --skill ag2space-voice
Clone the repo
git clone --depth 1 https://github.com/sonichi/sutando

Made for: Claude Code.

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 ag2space-voice

README.md
[![agentmods](https://agentmods.dev/badge/skills/sonichi/sutando/ag2space-voice/github.svg)](https://agentmods.dev/skills/sonichi/sutando/ag2space-voice)
Your own site
<a href="https://agentmods.dev/skills/sonichi/sutando/ag2space-voice"><img src="https://agentmods.dev/badge/skills/sonichi/sutando/ag2space-voice/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 ag2space-voice

Your own site · 80×15
<a href="https://agentmods.dev/skills/sonichi/sutando/ag2space-voice"><img src="https://agentmods.dev/badge/skills/sonichi/sutando/ag2space-voice.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,124 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 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.00052 $0.01124
Opus 5.5 $0.00021 $0.00450
Sonnet 5.5 $0.00010 $0.00225
Haiku 4.5 $0.00005 $0.00112

Measured 3d ago against content hash a41d44b92221, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ag2space-voice 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 3d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (navigate-protocol.ts, navigate.ts, room-actions.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/ag2space-voice/SKILL.md · 69 lines

How it starts

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

AG2 Space voice

Optional plugin for installs that talk to an AG2 Space client (desktop app or webapp). The host engine carries a product-neutral voice session origin (VoiceSessionOrigin, src/task-bridge.ts) and offers client frames to skills (setup(ctx), see skills/MANIFEST.md). This skill owns everything AG2 Space specific on top of that. Remove the directory and the engine boots, types and tests unchanged.

Wire contract (client side: webapp features/room/voice/)

Direction Frame
client → engine {type:'session.context', version:1, room_id, room_name, surface:'room'|'dm', capabilities?} — after session.config and on every room change; a DM frame has room_id: null
engine → client {type:'session.context.ack', version:1, room_id, bound, surface:'dm'|'room'|'refused', reason?}
engine → client {type:'ui.navigate', version:1, request_id, target:'dm'|'room'|'home', query?}
client → engine {type:'ui.navigated', version:1, request_id, ok, room_id?, room_name?, error?:'not_found'|'ambiguous'|'unsupported', candidates?}

What it does

  • session-context.ts — parses and bounds the frame (Matrix room id grammar, name cap, capability list) and builds the ack.
  • room-binding.ts — the room a client names is a claim. It becomes the session's origin only when the gateway bridge answers state/voice-room-checks/<key>.request.json with a verified <key>.verdict.json (owner and agent both joined). A different room releases the bound one before the wait; a newer frame supersedes a pending one; a refusal, a throw or silence leaves the session on the owner DM.
  • Origin handed to the core: channel ag2space, target = the room id, header keys channel_kind: room + source_room_id, the room_context: body line, the [dm-only] delivery note, and a verify that re-asks the gateway bridge when the result is delivered. Results therefore land as results/proactive-result-<task>-<ts>.to-ag2space.txt with [channel: <room>] first.
  • In-flight work keeps the origin and recent context from when the work call began (or the turn the relay agent's turn check sends), including across the relay agent's wait for the user to finish, its request check, a room switch or disconnect/reconnect. A pending transcription is omitted if the room changes, the turns provider is replaced, or the client disconnects; the new session's words never fill that old task. Re-announcing the room already bound, and a spoken farewell ("research X, bye"), change none of these, so the owner's words for that task are kept. Delivery still re-checks the original room's membership and honors [dm-only].
  • Prompt: a ROOM: context line while docked, and one system notice per actual room change.
  • navigate.ts / navigate-protocol.ts — the navigate_ui tool ("let's talk in my DM", "take me to GTM in Investors", "go home"). It is contributed through voiceSurface(), so it is on the web voice session only, never the phone tool table, and only when this install has the gateway channel (REMOTE_TASK_TOKEN / AG2_REMOTE_TOKEN in the environment or in channels/ag2space/.env under the Claude config dir). Its NAVIGATION prompt rule is present under the same condition. The frame goes only to a client that announced the ui.navigate capability; any other attached client gets an immediate "update the app" answer.

Read the full file on GitHub · 69 lines

Files

What ships with it

8 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. 3d ago Changed · +9 lines a41d44b92221
  2. 25d ago First seen · 60 lines · 52 tokens per session scan A d40524cd997c

Subscribe to this mod's changes

ag2space-voice is a skill published in the GitHub repository sonichi/sutando (397 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 1,124 once invoked, about $0.0002 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-09-22.

Related

Other skills, from other repositories