Логотип Edit Action

Edit Action

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

Редагує наявну дію (TaskDialog) в агенті Copilot Studio. Підтримує дії конекторів і дії серверів MCP. Дає змогу змінювати вхідні й вихідні дані, описи, режим підключення та інші властивості.

Огляд

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

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

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

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

  • Файлів у комплекті: 1

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

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

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

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

Установіть навичку ШІ Edit 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/edit-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/edit-action .claude/skills/edit-action
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

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

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

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

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

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

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

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

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

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

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

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

Edit Action

Edit an existing action (kind: TaskDialog) in a Copilot Studio agent. Supports both regular connector actions (InvokeConnectorTaskAction) and MCP server actions (InvokeExternalAgentTaskAction). Uses connector definitions to understand the full operation schema (inputs, outputs, types) and action templates as structural reference.

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                              # List connectors
node ${CLAUDE_SKILL_DIR}/../../scripts/connector-lookup.bundle.js operations <connector>            # List operations
node ${CLAUDE_SKILL_DIR}/../../scripts/connector-lookup.bundle.js operation <connector> <opId>      # Full input/output details
node ${CLAUDE_SKILL_DIR}/../../scripts/connector-lookup.bundle.js search <keyword>                  # Search operations

Use schema lookup for structural properties:

bash
node ${CLAUDE_SKILL_DIR}/../../scripts/schema-lookup.bundle.js summary TaskDialog
node ${CLAUDE_SKILL_DIR}/../../scripts/schema-lookup.bundle.js summary InvokeConnectorTaskAction
node ${CLAUDE_SKILL_DIR}/../../scripts/schema-lookup.bundle.js summary InvokeExternalAgentTaskAction
node ${CLAUDE_SKILL_DIR}/../../scripts/schema-lookup.bundle.js summary ModelContextProtocolMetadata

Instructions

  1. Auto-discover the agent directory:

    Glob: **/agent.mcs.yml

    If multiple agents found, ask which one.

  2. Find the action file to edit:

    Glob: <agent-dir>/actions/*.mcs.yml

    Read the action file. If the user's request is ambiguous and multiple actions exist, list them and ask which one.

  3. Identify the connector and operation:

    • Read the action YAML to find action.operationId and the connector API name from connectionreferences.mcs.yml
    • Look up the full operation details (if the connector is available in the lookup script):
      bash
      node ${CLAUDE_SKILL_DIR}/../../scripts/connector-lookup.bundle.js operation <connector> <operationId>
    • This gives you the complete list of available inputs and outputs for the operation
    • If the connector is not found, try broader terms. If still not found, inform the user and proceed with edits based on the existing action YAML and schema-lookup only
    • If the connector is SharePoint (shared_sharepointonline), read the SharePoint-specific reference before making any edits:
      Read: ${CLAUDE_SKILL_DIR}/sharepoint-actions.md
      This covers OData filter syntax, the critical "'$filter'" quoting pattern, which inputs should be Manual vs Automatic, and dynamic output handling.
  4. Determine the action type from the YAML:

    • If action.kind is InvokeConnectorTaskAction → regular connector action
    • If action.kind is InvokeExternalAgentTaskAction → MCP server action
  5. Read the appropriate template for structural reference:

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

    Use this alongside the connector-lookup output from step 3 to understand the YAML structure and available inputs/outputs.

  6. Make the requested edits using the Edit tool. Common modifications:

    Modify Input Descriptions

    Update description on AutomaticTaskInput entries to improve how the orchestrator fills them:

    yaml
    inputs:
      - kind: AutomaticTaskInput
        propertyName: body
        description: The email body content in HTML format   # <-- edit this

    Add or Remove Inputs

    Cross-reference the connector definition to see all available input properties. Add new ones or remove unnecessary ones:

    yaml
    # Add a new input from the connector definition
    - kind: AutomaticTaskInput
      propertyName: importance
      description: The importance level of the email (Low, Normal, High)

    Switch Between AutomaticTaskInput and ManualTaskInput

    • AutomaticTaskInput: The orchestrator fills this dynamically based on the conversation
    • ManualTaskInput: A hardcoded value (string only)
    yaml
    # Change from automatic to manual (hardcode a value)
    - kind: ManualTaskInput
      propertyName: timeZone
      value: "(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna"

    Modify Outputs

    Add or remove output properties. Cross-reference the connector definition for available outputs:

    yaml
    outputs:
      - propertyName: id
        description: The unique ID of the created item

    Change modelDisplayName / modelDescription

    These control how the orchestrator understands and routes to this action:

    yaml
    modelDisplayName: Send a Teams message
    modelDescription: Posts a message to a Teams chat or channel on behalf of the user

    Change Connection Mode

    yaml
    action:
      connectionProperties:
        mode: Invoker    # or Maker
    • Maker: Uses the developer's credentials (shared connection)
    • Invoker: Each end user authenticates with their own credentials

    MCP Actions — Editable Fields

    MCP actions (InvokeExternalAgentTaskAction with ModelContextProtocolMetadata) have a simpler structure than connector actions. The MCP protocol handles tool discovery, so there are no explicit inputs/outputs.

    Safe to edit:

    yaml
    modelDisplayName: Microsoft Learn Docs MCP Server   # display name for the orchestrator
    modelDescription: MCP Server to search Microsoft Learn content   # routing description
    action:
      connectionProperties:
        mode: Invoker    # or Maker

    MCP actions may also have ManualTaskInput entries for passing context to the MCP server (e.g., user identity as a header):

    yaml
    inputs:
      - kind: ManualTaskInput
        propertyName: userid
        value: =System.User.Email

    This is fine — ManualTaskInput with Power Fx expressions can pass user context. But do NOT add AutomaticTaskInput entries — MCP handles tool parameter discovery dynamically.

    Do NOT edit on MCP actions:

    • action.operationDetails.operationId — identifies the MCP operation
    • action.connectionReference — links to the authenticated connection
    • Do NOT add AutomaticTaskInput entries — MCP handles tool discovery dynamically
    • Be cautious with modelDescription — keep it on a single line; multi-line descriptions have been reported to break MCP tool registration after push (see #91)
  7. Validate the edited file:

    bash
    node ${CLAUDE_SKILL_DIR}/../../scripts/schema-lookup.bundle.js validate <action-file-path>
  8. Inform the user about next steps:

    • The action has been edited
    • Push changes via the Copilot Studio VS Code Extension
    • If connection mode was changed, the user may need to reconfigure the connection in the portal

Important Rules

  • Never change action.operationId (connector) or action.operationDetails.operationId (MCP) — this identifies which operation runs. Changing it breaks the action.
  • Never change action.connectionReference — this links to the authenticated connection. Changing it breaks the action.
  • Property names must match the connector definition — use connector-lookup operation to verify exact property names.
  • ManualTaskInput values are strings only — if the value needs to be a number, enum, or complex type, warn the user that it may need UI configuration.
  • Output propertyName values must match the connector definition's output schema — use connector-lookup operation to see available output properties.
  • MCP actions must not have AutomaticTaskInput entries — the MCP protocol handles tool parameter discovery dynamically. ManualTaskInput entries are OK for passing context (e.g., user identity via Power Fx expressions like =System.User.Email).
  • MCP modelDescription should be single-line — multi-line descriptions have been reported to break MCP tool registration after push.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

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

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

Редагує наявну дію (TaskDialog) в агенті Copilot Studio. Підтримує дії конекторів і дії серверів MCP. Дає змогу змінювати вхідні й вихідні дані, описи, режим підключення та інші властивості.

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

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

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

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

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

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

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

Зі скількома забажаєте. У TypingMind ви можете використовувати Edit Action із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

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

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

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

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

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

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

Усі

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

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