mantle-agent-config
БесплатноБез исполняемых скриптовНе проверенAuthor or review agent.yml for a Rasa Mantle project. Use when editing agent identity, persona, rules, references, voice settings, or when an agent ignores…
от RasaHQ★ 45 звёзд на GitHubОб этом скилле
agent.yml — the file with the silent failure mode
The trap this file is famous for
Prompt-tuning keys nested under agent: parse without error and are then
silently discarded. The engine's spec builder reads them only from the top
level of the file; unknown keys inside agent: are ignored. A real catalog
of ~10 projects once carried 39 rules the engine never applied — no
warning at train time, no error at load, found only by reading the built
prompt. Two independent users discovered it separately.
Top-level keys (siblings of agent:), checked against the catalog pin; see COMPATIBILITY.json:
name, description, rules, conversation, references, before_end,
tool_timeout.
tool_timeout was added in 3.20.0.dev6 — new top-level keys appear on dev
releases, so after an upgrade, re-check this list against the installed
engine rather than trusting it from memory.
Correct shape
agent:
id: my-agent # stable slug
language: en
persona: | # multi-line, the model's standing identity
You are <Name>, a concise assistant for <domain>.
Ask one question at a time and keep answers short.
# --- TOP LEVEL from here down ---
name: <Name>
description: <one line>
rules:
- "Be polite, clear, and brief."
- "Never state data that did not come from a tool."
Voice agents
Voice engines do NOT go in agent.yml. Set ASR and TTS on each channel that
carries audio, in integrations.yml:
channels:
inspector:
enabled: true
asr:
name: deepgram # built-in name, or a dotted path
tts:
name: deepgram # e.g. voicerouter.RoutedTTS
Do not add a nested agent.voice block. Rasa Pro 3.21 parses it but never
wires it to a channel, and 3.22 rejects it with
mantle.validation.config.invalid_agent_section. Rasa Pro 3.22 adds a
top-level voice: block, but its asr and tts are model group ids, not
engine names, and 3.21 does not read it, so the channel is the one place that
works on both.
Custom ASR/TTS engines are referenced by dotted import path exactly like any custom engine class — the class must be importable from the project root. Voice persona tip observed to work well: instruct short spoken replies ("one or two short spoken sentences") — long text answers are painful read aloud.
Review checklist (run through it every time)
- Every prompt-tuning key at column 0? (
grep -n '^\s\+rules:' agent.ymlmust return nothing.) - Persona says what the agent must NOT invent, and routes it to tools?
- Rules are short imperatives, not paragraphs?
- If voice: no
voice:insideagent:; each audio channel inintegrations.ymlnames resolvableasrandttsengines? - Run
python3 scripts/lint_mantle.py --check agent-top-level-keys— it derives the block's own indentation, so 4-space files don't slip past.
Установить mantle-agent-config в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл mantle-agent-config?
Author or review agent.yml for a Rasa Mantle project. Use when editing agent identity, persona, rules, references, voice settings, or when an agent ignores its rules/guardrails despite them being "configured".
Как установить скилл mantle-agent-config?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mantle-agent-config запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic