call-multilingual-code-switching-aligner

call-multilingual-code-switching-aligner is a skill for Claude Code, Codex from CALLE-AI/awesome-phone-call-agents. It costs 45 tokens per session (652 once invoked), scanned A, original, MIT.

An offline English-and-Spanish text checker that counts selected Spanish words in a transcript and suggests a style for mixing the two languages. Code-switching means using more than one language in the same conversation.

In plain words
What is it for?
Calculate a code-mixing ratio from supplied text and use the suggested style when a separate host system decides how to respond.
Why use it?
It gives a basic way to review language mixing in phone-workflow examples without pretending to support every language pair or automatically change a caller's conversation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Calculate a code-mixing ratio from supplied text and use the suggested style when a separate host system decides how to respond.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/calle-ai/awesome-phone-call-agents/call-multilingual-code-switching-aligner
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 CALLE-AI/awesome-phone-call-agents --skill call-multilingual-code-switching-aligner
Clone the repo
git clone --depth 1 https://github.com/CALLE-AI/awesome-phone-call-agents

Made for: Claude Code, Codex.

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 call-multilingual-code-switching-aligner

README.md
[![agentmods](https://agentmods.dev/badge/skills/calle-ai/awesome-phone-call-agents/call-multilingual-code-switching-aligner/github.svg)](https://agentmods.dev/skills/calle-ai/awesome-phone-call-agents/call-multilingual-code-switching-aligner)
Your own site
<a href="https://agentmods.dev/skills/calle-ai/awesome-phone-call-agents/call-multilingual-code-switching-aligner"><img src="https://agentmods.dev/badge/skills/calle-ai/awesome-phone-call-agents/call-multilingual-code-switching-aligner/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 call-multilingual-code-switching-aligner

Your own site · 80×15
<a href="https://agentmods.dev/skills/calle-ai/awesome-phone-call-agents/call-multilingual-code-switching-aligner"><img src="https://agentmods.dev/badge/skills/calle-ai/awesome-phone-call-agents/call-multilingual-code-switching-aligner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 652 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.00045 $0.00652
Opus 5.5 $0.00018 $0.00261
Sonnet 5.5 $0.00009 $0.00130
Haiku 4.5 $0.00005 $0.00065

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

Security

Grade A, and why

call-multilingual-code-switching-aligner 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 2mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/align_code_switching.py, scripts/test_align_code_switching.py), 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/call-multilingual-code-switching-aligner/SKILL.md · 52 lines

How it starts

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

Multilingual Code-Switching Aligner

This offline prototype counts a small Spanish vocabulary in supplied text and suggests an English/Spanish mixing style. It does not identify arbitrary matrix languages, support Hinglish, or establish improvements in inclusivity, trust, or cognitive load.

The helper returns a style label only. A separate host could use it as a suggestion, subject to the caller's stated language preference; rapport or cognitive-load benefits are not established.

Scientific Foundation

Paper / Framework Relevance
Output Language Alignment for CSW Demonstrates that AI mirroring code-switching frequencies increases user trust and reduces linguistic anxiety.
Matrix Language Frame (MLF) model Myers-Scotton framework for distinguishing embedded words vs the matrix language.
FCA Consumer Duty (Vulnerability) Reduces cognitive load for non-native speakers by allowing them to use their natural hybrid dialects.

How it works

  1. Supply a transcript string. An optional host ASR component is outside this contribution.
  2. It strips punctuation and detects embedded vocabularies to calculate a Code-Mixing Index (CMI).
  3. The system returns a structured CodeSwitchingReport containing the CMI and the suggested PromptStyle.
  4. A host may review the suggested style before updating a prompt; the helper performs no prompt or speech mutation.

Decision Matrix

Code-Mixing Index (CMI) Derived Prompt Style Expected LLM Output Behavior
CMI == 0.0 monolingual_english Strict monolingual English (standard).
0.0 < CMI < 0.30 low_code_switching Occasional embedded loan words (e.g., "gracias", "pero").
CMI >= 0.30 high_code_switching Fluid Spanglish; alternating sentence clauses.

Expected Outcomes & Metrics

Latency is a design target, not a measured integration benchmark.

Metric Target Notes
CMI Computation Latency < 5ms Runs via ultra-fast lexicon matching.
Rapport / Trust Score Not measured No A/B evaluation of this helper is supplied.

Read the full file on GitHub · 52 lines

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. 2mo ago First seen · 52 lines · 45 tokens per session scan A 24fcbe1d8b80

Subscribe to this mod's changes

call-multilingual-code-switching-aligner is a skill published in the GitHub repository CALLE-AI/awesome-phone-call-agents (118 stars, last pushed 6d ago), licensed MIT. It adds 45 tokens to every session and 652 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-19.

Related

call-multilingual-code-switching-aligner compared with skills from other repositories

call-multilingual-code-switching-aligner next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
call-multilingual-code-switching-alignerCALLE-AI/awesome-phone-call-agentsSkill1186d agoMITA45Claude Code, Codex
intl-expansionalirezarezvani/claude-skillsSkill31kyesterdayMITA27Claude Code
chinese-documentationjnMetaCode/superpowers-zhSkill8.7k3d agoMITA62Claude Code
azure-ai-translation-text-pymicrosoft/skillsSkill3.3kyesterdayMITA60Claude Code
hardenfengshao1227/ccg-workflowSkill6.0k15d agoMITA62Claude Code
edit-sitemicrosoft/power-platform-skillsSkill1.2ktodayMITA104Claude Code
asc-subscription-localizationrorkai/app-store-connect-cli-skillsSkill1.2kyesterdayMITA60Claude Code