Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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)

  1. Every prompt-tuning key at column 0? (grep -n '^\s\+rules:' agent.yml must return nothing.)
  2. Persona says what the agent must NOT invent, and routes it to tools?
  3. Rules are short imperatives, not paragraphs?
  4. If voice: no voice: inside agent:; each audio channel in integrations.yml names resolvable asr and tts engines?
  5. 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.
Полный SKILL.md на GitHub

Установить 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), без исполняемых скриптов.

Похожие скиллы

Сравнить mantle-agent-config с