Логотип Add Action

Add Action

Організація
microsoft
add-action

Guide users through adding a new connector action to a Copilot Studio agent. Connector actions require UI-based connection setup, so this skill walks users through the Copilot Studio portal steps, then delegates to edit-action for YAML modifications.

Огляд

Видавецьmicrosoft
Репозиторійskills-for-copilot-studio
Назва навичкиadd-action
Зірки
478
Форки
101
Файли в пакеті
Лише інструкції
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Опубліковано на GitHub користувачем microsoft. Перегляньте вихідний вміст перед установленням.

Встановлення

Установіть навичку ШІ Add Action у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/microsoft/skills-for-copilot-studio/tree/main/skills/add-action
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/microsoft/skills-for-copilot-studio.git /tmp/skills-for-copilot-studio
mkdir -p .claude/skills
cp -r /tmp/skills-for-copilot-studio/skills/add-action .claude/skills/add-action
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Add Action в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Add Action, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції Markdown, а не код для певного постачальника, тому навичка Add Action не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож невикористана навичка нічого не коштує.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Add Connector Action (Guide)

This skill guides users through adding a new connector action to their Copilot Studio agent. It does NOT write action YAML directly because connector actions require a connection reference that can only be created through the Copilot Studio UI.

Why This Is a Guide, Not a Generator

Connector actions need:

  1. A connection reference — an authenticated link to the external service (Teams, Outlook, SharePoint, etc.)
  2. The connection reference can only be created by the user authenticating in the Copilot Studio portal
  3. Once the action is added via the UI and pulled locally, the YAML can be edited with /copilot-studio:edit-action

Connector Lookup

Help the user find the right connector and operation before they go to the UI. Use the connector lookup tool. Important: The connector lookup script only covers a subset of connectors (run list to see which ones). If the user's requested connector is not in the list, tell the user they need to find and add the connector action entirely through the Copilot Studio portal, then ask them to pull again the files locally. Once pulled, /copilot-studio:edit-action can still be used to customize the YAML.

When the connector IS available, use the lookup tool to help the user before they go to the UI:

bash
node ${CLAUDE_SKILL_DIR}/../../scripts/connector-lookup.bundle.js list
node ${CLAUDE_SKILL_DIR}/../../scripts/connector-lookup.bundle.js operations <connector>
node ${CLAUDE_SKILL_DIR}/../../scripts/connector-lookup.bundle.js operation <connector> <operationId>
node ${CLAUDE_SKILL_DIR}/../../scripts/connector-lookup.bundle.js search <keyword>

<connector> matches by API name (shared_office365) or partial display name (outlook).

Use these to help the user understand:

  • Which connector has the operation they need
  • What the operation is called (so they can find it in the UI)
  • What inputs and outputs it expects

Instructions

  1. Understand what the user wants — ask clarifying questions if the request is vague (e.g., "send a message" — Teams? Outlook? Slack?)

  2. Search for the operation using connector-lookup:

    bash
    node ${CLAUDE_SKILL_DIR}/../../scripts/connector-lookup.bundle.js search "<user's description>"

    If no match, try broader terms. If the connector is not available in the lookup script at all after different tries, inform the user that this connector is not in the local reference and they will need to add the action through the Copilot Studio UI.

  3. Show the operation details so the user knows exactly what to look for in the UI:

    bash
    node ${CLAUDE_SKILL_DIR}/../../scripts/connector-lookup.bundle.js operation <connector> <operationId>
  4. Walk the user through the UI steps:

    Here's how to add this action in Copilot Studio:

    1. Open Copilot Studio
    2. Navigate to your agent
    3. Go to Actions in the left sidebar
    4. Click + Add an action
    5. Search for "{operation displayName}" from the {connector displayName} connector
    6. Configure the connection (authenticate with your credentials)
    7. Save the action

    Once saved, pull the updated agent files using the Copilot Studio VS Code Extension (Source Control → Pull).

  5. After the user confirms they've pulled, check for the new action file:

    Glob: **/actions/*.mcs.yml

    If the action file is present, let the user know it was pulled successfully.

  6. Offer to edit the action — if the user wants to customize inputs, descriptions, or connection mode:

    Would you like me to edit the action YAML? I can modify input descriptions, switch between automatic and manual inputs, change the connection mode, and more. Just say the word and I'll use /copilot-studio:edit-action.

MCP Server Actions

MCP (Model Context Protocol) server actions use a different YAML structure than regular connector actions. They use InvokeExternalAgentTaskAction with ModelContextProtocolMetadata instead of InvokeConnectorTaskAction.

Like regular connector actions, MCP actions require a connection reference that can only be created through the Copilot Studio portal. This skill cannot create MCP connections — the user must add the MCP server through the UI first.

If the user asks to add an MCP server action:

MCP server actions require a connection to be set up in the Copilot Studio portal first — I can't create that from here.

Here's how to add it:

  1. Open Copilot Studio
  2. Navigate to your agent
  3. Go to Actions in the left sidebar
  4. Click + Add an action
  5. Search for the MCP server connector (e.g., "Microsoft Learn Docs MCP Server")
  6. Configure the connection (authenticate with your credentials)
  7. Save the action

Once saved, pull the updated agent files. I can then help you edit the action with /copilot-studio:edit-action — for example, changing the modelDescription or modelDisplayName.

Key differences from regular connector actions: MCP actions do not use AutomaticTaskInput — the MCP protocol handles tool parameter discovery dynamically. However, ManualTaskInput entries are OK for passing context to the MCP server (e.g., user identity via Power Fx: value: =System.User.Email).

Structural Reference

For structural templates, see:

Read: ${CLAUDE_SKILL_DIR}/../../templates/actions/connector-action.mcs.yml
Read: ${CLAUDE_SKILL_DIR}/../../templates/actions/mcp-action.mcs.yml

Use these alongside connector-lookup operation output to understand both the YAML structure and the full inputs/outputs for a specific operation.

Поширені запитання

Що робить навичка ШІ Add Action?

Guide users through adding a new connector action to a Copilot Studio agent. Connector actions require UI-based connection setup, so this skill walks users through the Copilot Studio portal steps, then delegates to edit-action for YAML modifications.

Навіщо використовувати Add Action у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Add Action — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Add Action у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/microsoft/skills-for-copilot-studio/tree/main/skills/add-action. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Add Action?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Add Action?

Зі скількома забажаєте. Якщо модель підтримує навички, ви можете використовувати з нею Add Action — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama та інші — усе в TypingMind із власними ключами API.

Чи безкоштовна навичка ШІ Add Action?

Так. Навичку опубліковано на GitHub: microsoft, за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це багаторазовий набір інструкцій, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти для виклику — код, який десь виконується й повертає результат. Натомість навичка ШІ надає моделі знання та порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇