maf-voice-agent

maf-voice-agent is a skill for Cursor from JinLee794/agent-framework-skills. It costs 54 tokens per session (1,774 once invoked), scanned A, original, MIT.

A guide for structuring a voice agent that uses Microsoft Foundry for reasoning, Azure AI Search for retrieval, and VoiceLive for spoken interaction. It specifies where code and configuration go and how these parts connect.

In plain words
What is it for?
Use it when scaffolding, placing files and configuration, or checking a Foundry-and-VoiceLive voice agent before release.
Why use it?
It prevents incompatible project layouts and integration choices that can make the voice agent fail or leave callers waiting silently.

Skill for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when scaffolding, placing files and configuration, or checking a Foundry-and-VoiceLive voice agent before release.

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

Made for: Cursor.

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 maf-voice-agent

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jinlee794/agent-framework-skills/maf-voice-agent"><img src="https://agentmods.dev/badge/skills/jinlee794/agent-framework-skills/maf-voice-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,774 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.00054 $0.01774
Opus 5 $0.00027 $0.00887
Sonnet 5 $0.00011 $0.00355
Haiku 4.5 $0.00005 $0.00177

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

Security

Grade A, and why

maf-voice-agent 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 10d 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.

.cursor/skills/maf-voice-agent/SKILL.md · 159 lines

How it starts

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

Voice Agent — Structure & Topology

The repo-wide house rules are in .cursor/rules/repository.mdc.md and always apply. This skill owns three things no other skill does: which topology, where files go, and the conformance checklist. Routing to sibling skills is in rules/repository.mdc.md.

Fixed integration topology

This seed uses exactly one topology: B — maf_bridge. A local MAF Agent reasons behind a VoiceLive function tool, and session.interim_response is required so retrieval and model latency do not become dead air.

Use the Foundry project settings for both reasoning and VoiceLive. The settings layer derives the VoiceLive resource endpoint by removing /api/projects/<project> and reuses FOUNDRY_API_KEY / FOUNDRY_MODEL. The MAF bridge keeps instructions and tools local:

from agent_framework.foundry import FoundryChatClient
from azure.ai.voicelive.aio import connect
from azure.core.credentials import AzureKeyCredential
from azure.identity.aio import AzureCliCredential

voice_endpoint, voice_key, voice_model = resolve_voicelive_settings()

async with (
  AzureCliCredential() as credential,
  FoundryChatClient(
    project_endpoint=os.environ["FOUNDRY_PROJECT_ENDPOINT"],
    model=os.environ["FOUNDRY_MODEL"],
    credential=credential,
  ) as chat_client,
  connect(
    endpoint=voice_endpoint,
    credential=AzureKeyCredential(voice_key),
    model=voice_model,
  ) as connection,
):
  ...

The loader constraints for maf_bridge are in maf-agent-config.

Canonical repository layout

Full annotations in references/repo-layout.md.

<repo>/
  config/
    agents/                  # kind: Prompt documents — stock MAF AgentFactory schema
    workflows/               # kind: Workflow documents — reference agent files by path
    voice/                   # seed-owned VoiceLive session documents; mount an agent/workflow
    profiles/                # environment overlays
    schemas/voice.schema.json
  src/<package>/
    config/                  # loader: voice models, overlay merge, bindings registry, builders
    agents/                  # thin factories — no literal instructions
    tools/                   # tool functions, grouped by domain; no agent imports
    workflows/               # only once a second agent exists
    voice/                   # VoiceLive event loop and audio I/O — no literal session config
    retrieval/               # RAG: Azure AI Search context providers and tools
    diagnostics.py           # logging setup + preflight; called once at the entry point
    settings.py              # typed env resolution, one place only
  skills/                    # runtime Agent Skills served via SkillsProvider
  entities/                  # DevUI discovery roots; each exports `agent` or `workflow`
  tests/
  .cursor/skills/            # engineering skills for the coding agent (this directory)
  .env.example

Read the full file on GitHub · 159 lines

Files

What ships with it

3 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. 10d ago First seen · 159 lines · 54 tokens per session scan A b70c52231e3a

Subscribe to this mod's changes

maf-voice-agent is a skill published in the GitHub repository JinLee794/agent-framework-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 54 tokens to every session and 1,774 once invoked, about $0.0003 per session on Opus 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

get-api-docs

Use this skill when you need documentation for a third-party library, SDK, or API before writing code that uses it — for example, "use the OpenAI API", "call the Stripe API", "use the Anthropic SDK", "query Pinecone", or any time the user asks you to write code against an external service and you need current API…

thangchung/agent-engineering-experiment · 94 tokens

aspire

WORKFLOW SKILL - Top-level router for Aspire 13.4 distributed apps. Detects the AppHost, enforces safety guardrails, and routes to the right sub-skill. USE FOR: Aspire AppHost detected, aspire CLI, distributed app, cloud-native .NET, aspire start, aspire stop, aspire resource, aspire deploy, aspire destroy, aspire…

thangchung/agent-engineering-experiment · 224 tokens

entra-app-registration

Guides Microsoft Entra ID app registration, OAuth 2.0 authentication, and MSAL integration. USE FOR: create app registration, register Azure AD app, configure OAuth, set up authentication, add API permissions, generate service principal, MSAL example, console app auth, Entra ID setup, Azure AD authentication. DO NOT…

thangchung/agent-engineering-experiment · 93 tokens

aspnet-minimal-api-openapi

Create ASP.NET Minimal API endpoints with proper OpenAPI documentation.

thangchung/agent-engineering-experiment · 19 tokens

Azure Search Ops

Operate the Azure AI Search index and knowledge base behind FoundryIQ for Fibey field ops.

microsoft/Build26-BRK242-turn-your-agents-into-action-connect-tools-apis-and-documents · 23 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens