fix-agent-behavior

fix-agent-behavior is a skill for Claude Code from voicelogica/voice-logica-plugin. It costs 61 tokens per session (1,010 once invoked), scanned A, original, MIT.

A skill for correcting how Voice Logica AI phone agents behave during live calls.

In plain words
What is it for?
Use it when an agent goes off topic, asks too many questions, repeats itself, uses the wrong language, interrupts, mishears names, pronounces words incorrectly, or hangs up abruptly.
Why use it?
It helps trace bad call behavior to the agent's instructions or setup and choose an appropriate correction.

Skill for Claude Code

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

Part of the voice-logica plugin — 17 skills, 1 MCP server shipped together

Good fit Use it when an agent goes off topic, asks too many questions, repeats itself, uses the wrong language, interrupts, mishears names, pronounces words incorrectly, or hangs up abruptly.

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

Made for: Claude Code.

Or install voice-logica, the plugin that ships this one along with the rest of its 17 skills, 1 MCP server.

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 fix-agent-behavior

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/voicelogica/voice-logica-plugin/fix-agent-behavior"><img src="https://agentmods.dev/badge/skills/voicelogica/voice-logica-plugin/fix-agent-behavior.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,010 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.00061 $0.01010
Opus 5 $0.00030 $0.00505
Sonnet 5 $0.00012 $0.00202
Haiku 4.5 $0.00006 $0.00101

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

Security

Grade A, and why

fix-agent-behavior 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.

skills/fix-agent-behavior/SKILL.md · 66 lines

How it starts

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

Fix Voice Logica agent behavior

Most "the platform is down" reports are prompt or config tweaks. Read the live agent and a Call ID before changing anything.

Start with

  1. Call ID
  2. Expected vs actual
  3. Language of the call
  4. Whether this used to work

Then decide: the agent broke a written rule, followed a rule the user now wants changed, or the prompt is silent. Those need different edits.

If the rule is already in the prompt and was violated, restating it again wastes system-prompt budget (get_subscription before adding text). Fix the mechanism (tool, transfer prompt, end-call, language) instead.

If get_agent_prompt is approaching or above ~20,000 characters, do not add more rules. Move facts to knowledge and trim first (edit-voice-agents). A 30k+ prompt needs router + specialist, not another paragraph.

If the agent speaks JSON, tool names, or brackets out loud, collect Call ID + timestamp and file a ticket (create-support-ticket). Do not try to prompt-paper over leaked system content.

Common fixes

Off-topic callers. Add an early rule: detect wrong-industry intent, say you cannot help, end the call without collecting contacts.

Too many questions. Collect only fields required for that branch. A message-only path often needs name + callback number. "Anything else?" delays end-call; if they want it gone, use End Call config for that branch.

Re-asks. Add "never re-ask if already provided in this call". Also check language mismatch and interruption / skip_turn.

Wrong language. Confirm languages enabled on the agent, put a follow-the-caller-language rule at the top of the prompt, then retest.

Greeting restarts. Deduplicate welcome message vs prompt greeting. Add a resume-after-failed-transfer rule.

Ends call too early or says goodbye then continues. End-call reasons must match real completion states. Never put "transferring" in endCallReasons. Finish message-taking before end-call.

Interrupts the caller. Do not hunt a silence-threshold knob on Soniox agents (waitForFullTranscription and silenceDurationMs are inert). skip_turn is the turn-taking lever. Knobs: the tool prompt and timeoutSeconds (1 to 10).

Read the full file on GitHub · 66 lines

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 · 66 lines · 0 tokens per session scan A 34b19b12833a

Subscribe to this mod's changes

fix-agent-behavior is a skill published in the GitHub repository voicelogica/voice-logica-plugin (0 stars, last pushed 18d ago), licensed MIT. It adds 61 tokens to every session and 1,010 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.