[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AHTGKWM01G48X23NQJ5TVQ":3,"skill-same:01M7AHTGKWM01G48X23NQJ5TVQ":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7AHTGKWM01G48X23NQJ5TVQ","mantle-skill-authoring",null,"Write or fix a Rasa Mantle skill.md. Use when creating a new skill, when a skill's conditional branches never fire, when memory values appear as literal text in replies, or when designing skill activation\u002Frouting.","RasaHQ\u002Frasa-community-resources","RasaHQ","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F21214473?v=4","01M7ABXR532XTM0MWW7ZK48J12","Rasa","01M7AGG0E6HH8BMYVXAEY9SHWJ",44,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FRasaHQ\u002Frasa-community-resources\u002Fblob\u002Fmain\u002Fstarter-pack\u002F.claude\u002Fskills\u002Fmantle-skill-authoring\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: mantle-skill-authoring\ndescription: >\n  Write or fix a Rasa Mantle skill.md. Use when creating a new skill, when a\n  skill's conditional branches never fire, when memory values appear as\n  literal text in replies, or when designing skill activation\u002Frouting.\n---\n\n# skill.md — three languages in one file\n\nA skill.md is three different languages stacked, and most authoring bugs come\nfrom treating them as one:\n\n1. **YAML frontmatter** — structured config, never prose.\n2. **Markdown body** — instruction prose the LLM reads, EXCEPT top-level `if:`.\n3. **`:::block … :::` regions** — YAML again; only `instructions:` scalar\n   bodies inside them are prose.\n\n## 1. Frontmatter\n\n```yaml\n---\nname: Check Balance\ndescription: >\n  Tell the caller the balance of one account. Activate for balance, how much\n  is in my account, or available funds.\nimport_tools:            # shared tools from the project-level tools\u002F dir\n  - get_customer_info\ntool_constraints:        # gate a tool on a memory field being set\n  - get_recent_transactions:\n      requires: session.view_transactions.selected_account_id\nrouting:\n  engine_managed: true   # for openers like session-start skills\n---\n```\n\nThe `description` doubles as the activation hint — write the trigger phrases\ninto it (\"Activate for X, Y, or Z\"), it is how the router matches requests\nto skills.\n\n## 2. Body prose — what substitutes and what doesn't\n\n- `@memory.\u003Cnamespace>.\u003Centry>` — **exactly three dot-separated parts** — is\n  substituted with the live value. `@memory.project.customer_name` works;\n  `@memory.customer_name` is dead text delivered to the LLM verbatim.\n- Raw `session.x.y` in prose is **never substituted**. It belongs in `if:`\n  conditions and `tool_constraints`, nowhere else. If you need the value in\n  prose, use the `@memory` form.\n\n## 3. Branching — `if:` at column 0 only\n\n```markdown\nif: not session.view_transactions.selected_account_id and session.project.default_account_id\nThe customer has a usual account on file: @memory.project.default_account_label.\nOffer that one first by name. If they say yes, set `selected_account_id` via\n`set_fields` to @memory.project.default_account_id.\n\nif: session.view_transactions.selected_account_id\nCall `get_recent_transactions` for the selected account and present the rows\nbriefly (date, merchant, amount).\n```\n\n- Conditions reference `session.\u003Cskill_id>.\u003Cfield>` (this skill's memory) and\n  `session.project.\u003Cfield>` (project memory), combined with `not` \u002F `and`.\n- **An indented `if:` is not parsed as a condition** — it stays instruction\n  prose and your branch silently never branches. If you want a conditional\n  inside a paragraph, express it in natural language instead.\n- Write branch sets that cover the state space: typically\n  `not set and have-default` \u002F `not set and no-default` \u002F `set`.\n\n## 4. Deterministic sequences — ordered blocks\n\nFor fixed step sequences (e.g. a session opener), skip prose entirely:\n\n```markdown\n:::ordered_block id=main\nsteps:\n  - id: identify\n    execute_tool: get_customer_profile\n  - id: greet\n    action: utter_greet\n:::\n```\n\n## 5. Skill-scoped memory — `skills\u002F\u003Cid>\u002Fmemory.yml`\n\nThis is where `llm_settable` belongs (NOT the root memory.yml):\n\n```yaml\nschema:\n  public:\n    account_number:\n      type: text\n      description: Account the caller asked about.\n      llm_settable: true\n```\n\nThe LLM writes these via `set_fields`; instruct it explicitly in prose:\n\"set `selected_account_id` via `set_fields` to the matching id from the tool\nresult\" — and name what it must NOT set or invent.\n\n## 6. Style rules that ship in every good skill here\n\n- One skill = one user goal. Local tools in `skills\u002F\u003Cid>\u002Ftools.py`; anything\n  two skills need moves to `tools\u002F` + `import_tools`.\n- State the negative space: \"Never state a balance in that case\", \"Do not\n  invent accounts\". Mantle personas follow prohibitions well when explicit.\n- Hand off across skills through project memory, not prose assumptions:\n  \"`fetch_balance` reads the signed-in customer from project memory, so it is\n  the authority on whether the caller is verified.\"\n\n## 7. Verify\n\n`python3 scripts\u002Flint_mantle.py --check nested-if --check skill-prose` — then\n`make validate` for the engine's own view.\n","# skill.md — three languages in one file\n\nA skill.md is three different languages stacked, and most authoring bugs come\nfrom treating them as one:\n\n1. **YAML frontmatter** — structured config, never prose.\n2. **Markdown body** — instruction prose the LLM reads, EXCEPT top-level `if:`.\n3. **`:::block … :::` regions** — YAML again; only `instructions:` scalar\n   bodies inside them are prose.\n\n## 1. Frontmatter\n\n```yaml\n---\nname: Check Balance\ndescription: >\n  Tell the caller the balance of one account. Activate for balance, how much\n  is in my account, or available funds.\nimport_tools:            # shared tools from the project-level tools\u002F dir\n  - get_customer_info\ntool_constraints:        # gate a tool on a memory field being set\n  - get_recent_transactions:\n      requires: session.view_transactions.selected_account_id\nrouting:\n  engine_managed: true   # for openers like session-start skills\n---\n```\n\nThe `description` doubles as the activation hint — write the trigger phrases\ninto it (\"Activate for X, Y, or Z\"), it is how the router matches requests\nto skills.\n\n## 2. Body prose — what substitutes and what doesn't\n\n- `@memory.\u003Cnamespace>.\u003Centry>` — **exactly three dot-separated parts** — is\n  substituted with the live value. `@memory.project.customer_name` works;\n  `@memory.customer_name` is dead text delivered to the LLM verbatim.\n- Raw `session.x.y` in prose is **never substituted**. It belongs in `if:`\n  conditions and `tool_constraints`, nowhere else. If you need the value in\n  prose, use the `@memory` form.\n\n## 3. Branching — `if:` at column 0 only\n\n```markdown\nif: not session.view_transactions.selected_account_id and session.project.default_account_id\nThe customer has a usual account on file: @memory.project.default_account_label.\nOffer that one first by name. If they say yes, set `selected_account_id` via\n`set_fields` to @memory.project.default_account_id.\n\nif: session.view_transactions.selected_account_id\nCall `get_recent_transactions` for the selected account and present the rows\nbriefly (date, merchant, amount).\n```\n\n- Conditions reference `session.\u003Cskill_id>.\u003Cfield>` (this skill's memory) and\n  `session.project.\u003Cfield>` (project memory), combined with `not` \u002F `and`.\n- **An indented `if:` is not parsed as a condition** — it stays instruction\n  prose and your branch silently never branches. If you want a conditional\n  inside a paragraph, express it in natural language instead.\n- Write branch sets that cover the state space: typically\n  `not set and have-default` \u002F `not set and no-default` \u002F `set`.\n\n## 4. Deterministic sequences — ordered blocks\n\nFor fixed step sequences (e.g. a session opener), skip prose entirely:\n\n```markdown\n:::ordered_block id=main\nsteps:\n  - id: identify\n    execute_tool: get_customer_profile\n  - id: greet\n    action: utter_greet\n:::\n```\n\n## 5. Skill-scoped memory — `skills\u002F\u003Cid>\u002Fmemory.yml`\n\nThis is where `llm_settable` belongs (NOT the root memory.yml):\n\n```yaml\nschema:\n  public:\n    account_number:\n      type: text\n      description: Account the caller asked about.\n      llm_settable: true\n```\n\nThe LLM writes these via `set_fields`; instruct it explicitly in prose:\n\"set `selected_account_id` via `set_fields` to the matching id from the tool\nresult\" — and name what it must NOT set or invent.\n\n## 6. Style rules that ship in every good skill here\n\n- One skill = one user goal. Local tools in `skills\u002F\u003Cid>\u002Ftools.py`; anything\n  two skills need moves to `tools\u002F` + `import_tools`.\n- State the negative space: \"Never state a balance in that case\", \"Do not\n  invent accounts\". Mantle personas follow prohibitions well when explicit.\n- Hand off across skills through project memory, not prose assumptions:\n  \"`fetch_balance` reads the signed-in customer from project memory, so it is\n  the authority on whether the caller is verified.\"\n\n## 7. Verify\n\n`python3 scripts\u002Flint_mantle.py --check nested-if --check skill-prose` — then\n`make validate` for the engine's own view.\n",{"name":5,"description":7},"main","082746ff3466e3beb59eba5fa274b6a90ac38419","starter-pack\u002F.claude\u002Fskills\u002Fmantle-skill-authoring",19,"https:\u002F\u002Fgithub.com\u002FRasaHQ\u002Frasa-community-resources","https:\u002F\u002Frasa.community\u002F","https:\u002F\u002Fgithub.com\u002FRasaHQ","https:\u002F\u002Frasa.com","Rasa is a conversational AI framework for building reliable, scalable AI agents.","2026-11-14 12:02:45",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add RasaHQ\u002Frasa-community-resources --skill mantle-skill-authoring",{"tool":40,"command":41},"bunx","bunx skills add RasaHQ\u002Frasa-community-resources --skill mantle-skill-authoring",{"tool":43,"command":44},"pnpm","pnpm dlx skills add RasaHQ\u002Frasa-community-resources --skill mantle-skill-authoring","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FRasaHQ\u002Frasa-community-resources\u002Fblob\u002Fmain\u002Fstarter-pack\u002F.claude\u002Fskills\u002Fmantle-skill-authoring\u002FSKILL.md",true,[],[49,56,63,70,77,82],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7AJ24E15F9CMBGM3QZSKV6S","Build a travel desk","Handle developer requests to build or extend a Mantle travel agent using four approved travel tools.","https:\u002F\u002Fgithub.com\u002FRasaHQ\u002Frasa-community-resources\u002Fblob\u002Fmain\u002Fworkshops\u002Fsoftware-factories-masterclass\u002Fstudio\u002Fskills\u002Fbuild_agent\u002Fskill.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7AJ20RB027VHFWF2MAM79WC","Travel briefing","Answer questions about flight status, tonight’s departures, airport weather and currency conversion.","https:\u002F\u002Fgithub.com\u002FRasaHQ\u002Frasa-community-resources\u002Fblob\u002Fmain\u002Fworkshops\u002Fsoftware-factories-masterclass\u002Freference\u002Ffinished-agent\u002Fskills\u002Ftravel_briefing\u002Fskill.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7AJ1XQ9HR7H1ENZRX9YF5EJ","Review Dispute","Ask the outside reviewer about a card dispute, then block the card if the caller confirms. Activate when the caller reports a card transaction they did not make.","https:\u002F\u002Fgithub.com\u002FRasaHQ\u002Frasa-community-resources\u002Fblob\u002Fmain\u002Fworkshops\u002Fsoftware-factories-masterclass\u002Fopenai-mcp\u002Fproject\u002Fskills\u002Freview_dispute\u002Fskill.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7AJ1W0KTP19WYFACXY9WTRD","Block Card","Block a customer's lost or stolen card. Activate when the caller wants a card blocked.","https:\u002F\u002Fgithub.com\u002FRasaHQ\u002Frasa-community-resources\u002Fblob\u002Fmain\u002Fworkshops\u002Fsoftware-factories-masterclass\u002Ffactory\u002Fcandidates\u002Fblock-card-tamper\u002Fproduct\u002Fskills\u002Fblock_card\u002Fskill.md",[],[],{"skillNo":78,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7AJ1T5489X484B6V0KPR2AA","https:\u002F\u002Fgithub.com\u002FRasaHQ\u002Frasa-community-resources\u002Fblob\u002Fmain\u002Fworkshops\u002Fsoftware-factories-masterclass\u002Ffactory\u002Fcandidates\u002Fblock-card-hangs\u002Fproduct\u002Fskills\u002Fblock_card\u002Fskill.md",[],[],{"skillNo":83,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7AJ1RBPS99DXH3YY373ERWW","https:\u002F\u002Fgithub.com\u002FRasaHQ\u002Frasa-community-resources\u002Fblob\u002Fmain\u002Fworkshops\u002Fsoftware-factories-masterclass\u002Ffactory\u002Fcandidates\u002Fblock-card-good\u002Fproduct\u002Fskills\u002Fblock_card\u002Fskill.md",[],[]]