Command Palette

Search for a command to run...

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

mantle-configuring-agent

БесплатноБез исполняемых скриптовНе проверен

Configures the Mantle project config files: agent.yml (identity, persona, rules, prompt tuning, session settings), integrations.yml (LLM provider, channels…

RasaHQот RasaHQ★ 45 звёзд на GitHub

Об этом скилле

Configuring a Mantle agent

Project layout:

my-agent/
├── agent.yml              # Required. Identity, persona, rules, prompt tuning
├── integrations.yml       # Required. LLM provider, channels, optional Langfuse tracing
├── memory.yml             # Optional. Project-wide shared memory
├── responses.yml          # Optional. Project-wide responses, overrides built-in wording
├── references/            # Optional. Agent-wide knowledge, every **/*.md is indexed
├── tools/                 # Optional. Shared tools, declared with import_tools
└── skills/
    └── <skill>/           # The folder name is the skill id
        ├── skill.md       # Required. The only required file in a skill
        ├── memory.yml     # Optional. Skill-scoped memory schema
        ├── responses.yml  # Optional. Verbatim wording
        ├── tools.py       # Optional. Skill-local tools, auto-discovered
        ├── tools/         # Optional. Or a folder of them, also auto-discovered
        └── references/    # Optional. Indexed into the same project-wide index

Start minimal: agent.yml with an agent: block carrying persona, plus integrations.yml with an llm: block and a channels: block, is a complete config. Add sections only when a feature needs them. The engine is selected by project layout, so there is no version key to set.

agent.yml — identity and persona

agent:
  id: telco-support
  language: en
  persona: |
    You are Telco support, a friendly and concise customer service agent.

rules:
- Help with billing and plan questions only.
- >
  Look up the account with the account-lookup tool before quoting a balance:
  never guess a number.

prompts:
  text_rules: |
    Plain sentences only. No markdown or bullet lists.

session_config:
  session_expiration_time: 60

The file has two levels, and mixing them up is the most common mistake:

  • Inside agent:: id, language, persona. An agent: block is required, and persona must be a non-empty string inside it. A file with no agent: block fails to load with config.agent.missing_section; a missing persona fails with config.agent.missing_persona.
  • Top-level siblings of agent:: rules, prompts, references, conversation, session_config. Nesting these inside agent: means they are never read, and unknown keys are ignored rather than rejected, so the mistake is silent.

Notes:

  • persona sets global tone and identity.
  • rules are global do/don't guidance rendered into every prompt (scope limits, tone guards, ordering constraints). Quote any rule containing a colon followed by a space, or write it as a > folded scalar; an unquoted colon parses as a YAML mapping and breaks the load.
  • prompts overrides individual sections of the system prompt: text_rules, voice_rules, ack_rule, ack_reminder, ack_enabled, ack_examples, routing_no_active_skill. Leave one unset to keep its built-in default.
  • id is generated and written back into the file when absent.

integrations.yml — providers and infrastructure

Holds the LLM provider, the input channels customers reach the agent through and optional Langfuse tracing. Never put a literal key in this file. Use api_key_env in the llm: block, which names an environment variable and works for every provider. ${ENV_VAR} expansion happens in the channels: block, which is read with environment variables expanded; llm: and model_groups: are not.

llm:
  provider: openai
  model: gpt-5.1
  api_base: https://api.openai.com/v1
  api_key_env: OPENAI_API_KEY    # env var NAME, not ${...}; value read at load time

channels:
  rest: { enabled: true }        # REST input (evaluation / HTTP channel)
  inspector: { enabled: true }   # required for `rasa inspect`

# Langfuse tracing (optional). Install rasa-pro[monitoring], set
# LANGFUSE_PUBLIC_KEY / LANGFUSE_SECRET_KEY, then uncomment. Keys use ${VAR}
# syntax; they resolve when Langfuse configures at startup, not at YAML load.
# tracing:
#   type: langfuse
#   public_key: ${LANGFUSE_PUBLIC_KEY}
#   private_key: ${LANGFUSE_SECRET_KEY}
#   host: https://cloud.langfuse.com

llm is the single model that drives the agent: one flat block with provider at its top level, plus model (or deployment for Azure OpenAI). It is never a model_groups reference. Providers openai, azure, and self-hosted have dedicated clients; any other value is passed to LiteLLM, so anthropic or gemini work by naming the provider and its model. tracing is optional and lives here

channels declares the channels customers reach the agent through. rest and inspector are the minimum for local work: rest is what the evaluation runner talks to, and inspector is required for rasa inspect.

Voice channels

Speech recognition and synthesis are configured inside the voice channel entry, under asr: and tts:. Each takes a name: selecting the engine plus

Полный SKILL.md на GitHub

Установить mantle-configuring-agent в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл mantle-configuring-agent?

Configures the Mantle project config files: agent.yml (identity, persona, rules, prompt tuning, session settings), integrations.yml (LLM provider, channels including voice ASR/TTS, model groups, Langfuse tracing), memory.yml (schema, cross-skill visibility), and responses.yml (verbatim templates). Use when setting up or changing any of these files.

Как установить скилл mantle-configuring-agent?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл mantle-configuring-agent запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

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