mantle-testing-debugging
БесплатноБез исполняемых скриптовНе проверенTests and debugs Mantle agents: the train → converse loop, reading memory and tool activity in the inspector, and mapping observed misbehavior to the control…
от RasaHQ★ 45 звёзд на GitHubОб этом скилле
Testing and debugging a Mantle agent
The loop
Run after every meaningful edit — it's fast and catches drift early:
rasa train # validates and compiles the project into a model
rasa inspect # browser UI: converse + watch memory/tools live
- Fix
rasa trainerrors before debugging conversation behavior: it is the validation gate for the whole project.rasa data validateruns the same Mantle project validation without training, which is faster when you only want to check config and skills. - Prefer
rasa inspectoverrasa shellfor debugging: it shows memory state, active skill, and tool calls per turn. Known beta quirk:rasa shellprints the welcome message only after the first user input — not a bug in your agent. - Retrain after ANY change to
skill.md,memory.yml,responses.yml,agent.yml, orintegrations.yml. Tool body changes intools.pyalso require retraining if signatures/decorators changed.
Test conversations to run every time
For each skill, walk at minimum:
- Happy path — the goal completes end to end.
- Out-of-order user — give information before being asked ("I lost my card, the gold one, send it rush"). The agent should absorb it, not re-ask.
- Digression — switch to another skill mid-way, then return. The original skill should resume where it left off.
- Correction — change an earlier answer ("actually it was stolen, not lost"). Memory should update and branch-scoped instructions should re-scope.
- Refusal/uncertainty — decline a confirmation. Gated tools must NOT fire.
- Out of scope — ask something no skill covers. The agent should say so gracefully, not hallucinate a capability.
Symptom → fix table
Behavioral drift is fixed with control levers (see mantle-building-skills), not
by rewriting prose louder. Find the symptom, apply the narrowest fix:
| Symptom | Diagnosis | Fix |
|---|---|---|
| Tool called before its inputs exist | Tool visible too early | tool_constraints → requires: on the missing memory key |
| Irreversible action without asking | No confirmation before the tool | In-flow prose + requires: on a confirmation key, or requires_confirmation: on the tool |
| Tool ran but mandated success/failure wording missing | Outcome utter not wired | on_success: / on_failure: on the tool + responses.yml templates |
| Wrong workflow branch followed / branches blended | All branches visible in prompt | one if: marker per case, each stating its own condition |
| Compliance/legal wording paraphrased | LLM generating what must be verbatim | utter: trigger + responses.yml |
| Steps skipped/reordered where order is the requirement | Prose can't enforce sequence | ordered block for that section (@block.<id>), keep the rest prose |
| Skill activates when it shouldn't | Routing on description alone | sharpen description; add skill-level requires: |
| Skill doesn't activate when it should | Description doesn't match user phrasing | add trigger phrasings to description |
| Agent re-asks for known information | Value never landed in memory | tool must context.memory.set(key, value); check the inspector memory panel |
| Sub-skill runs but parent loses the result | Result declared private |
move the entry to public in the sub-skill's memory.yml |
| Gated tool never becomes available | requires: key never written, or name mismatch |
compare the exact key in the constraint vs what the tool sets |
| Tool confirmation ask never appears | enabled not true, utter_for_confirmation missing/empty in responses.yml, blank after placeholder resolution, or tool still gated |
check train validation; inspect substituted ask text in the turn |
| Tool re-called while confirmation pending | Model tried to run the gated tool again instead of resolving | call resolve_tool_confirmation with confirmed=true or false; re-call is rejected |
rasa train fails with undeclared_memory_write |
Tool writes a key not in any memory.yml schema |
declare the key (with its type) in the skill or project memory.yml |
requires_confirmation:, on_success:, and on_failure: are supported on
tool_constraints. Skill utter: triggers (on: activate, structured when:)
emit other fixed templates — see mantle-building-skills.
Debugging tool failures
- Tool missing from the LLM's list: it's gated by an unmet
requires:(intended), the function isn't in the skill'stools.py, or a shared tool from the agent-roottools/folder wasn't declared inimport_tools. A skill-local tool shadows a shared tool of the same name, resolved once at model load. - Tool missing after a knowledge search: once
search_knowledgehas run in a turn, the skill's own tools are withheld for the rest of that turn and return on the next one. Not a gating problem. - Tool crashes: run
rasa inspectfrom a terminal and watch the server log. Tool tracebacks app
Установить mantle-testing-debugging в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл mantle-testing-debugging?
Tests and debugs Mantle agents: the train → converse loop, reading memory and tool activity in the inspector, and mapping observed misbehavior to the control lever that fixes it. Use after any change to skills or config, when the agent misbehaves in conversation, or when train fails.
Как установить скилл mantle-testing-debugging?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mantle-testing-debugging запускает скрипты?
Нет, скилл состоит только из инструкций (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