mcpbeat Sign in

Add Node Agent Skill

Add or modify a node in an existing Copilot Studio topic. Use when the user asks to add a question, message, condition, variable, or other node to a topic. Do NOT use this for generative answers or knowledge search — use /add-generative-answers instead.

970 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
386
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/microsoft/skills-for-copilot-studio --skill add-node

What it tells the agent to use

found in the instruction text
Bash runs shell commands — read the instruction before connecting

The instruction itself

7 sections, as written by the author

Add Node to Topic

Add a new node to an existing Copilot Studio topic, or modify an existing one.

In Copilot Studio, the elements inside a topic's actions array are nodes (SendActivity, Question, ConditionGroup, etc.). These are different from actions (actions/*.mcs.yml), which are connector-based TaskDialogs. This skill handles nodes within topics.

For generative answers (SearchAndSummarizeContent, AnswerQuestionWithAI), use the /add-generative-answers skill instead — it has the specific patterns, follow-up ConditionGroup logic, and disambiguation guidance needed to set them up correctly.

Instructions

  • Auto-discover the agent directory:
   Glob: **/agent.mcs.yml

NEVER hardcode an agent name.

  • Parse the arguments to identify:
  • The node type (SendActivity, Question, SetVariable, ConditionGroup, etc.)
  • The target topic file
  • If modifying an existing node, which node to modify
  • Look up the node schema:
   node ${CLAUDE_SKILL_DIR}/../../scripts/schema-lookup.bundle.js resolve <NodeType>
  • Read the existing topic file to understand its current structure.
  • Generate or modify the node with:
  • A unique ID (format: <nodeType>_<6-8 random alphanumeric>)
  • All required properties from the schema
  • Appropriate default values
  • Determine the correct insertion point in the actions array and present the plan to the user before writing.

Common Node Types

| Node | Purpose | Key Properties |

|------|---------|----------------|

| SendActivity | Send message | kind, id, activity |

| Question | Ask user input | kind, id, variable, prompt, entity |

| SetVariable | Set/compute value | kind, id, variable, value |

| SetTextVariable | Set text with interpolation (YAML-only, no canvas) | kind, id, variable, value |

| ConditionGroup | Branching logic | kind, id, conditions |

| BeginDialog | Call another topic | kind, id, dialog |

| EndDialog | End topic | kind, id |

| CancelAllDialogs | Cancel all topics | kind, id |

Generative Orchestration Guidelines

When the agent has GenerativeActionsEnabled: true:

  • Prefer AutomaticTaskInput over Question nodes for collecting user info (the orchestrator handles prompting automatically).
  • Still use Question nodes when: conditional asks (ask X only if Y), or end-of-flow confirmations.
  • Prefer topic outputs over SendActivity for returning results.
  • Do NOT use SendActivity to show final outputs unless it's a precise mid-flow message.

Power Fx Quick Reference

  • Expressions start with =: condition: =System.FallbackCount < 3
  • String interpolation uses {}: activity: "Error: {System.Error.Message}"
  • Variable init on first assignment: variable: init:Topic.MyVar
  • Common: Text(), Now(), IsBlank(), !IsBlank()

Example: Adding a Question Node

- kind: Question
  id: question_k7xPm2
  variable: init:Topic.UserName
  prompt: What is your name?
  entity: StringPrebuiltEntity
  alwaysPrompt: true
  interruptionPolicy:
    allowInterruption: false

Important Notes

  • Unique IDs: Use random 6-8 alphanumeric characters. Duplicate IDs cause Copilot Studio errors.
  • Verify the node type exists in the schema before generating.
  • For ConditionGroup, include at least one condition item with its own unique ID.

Other skills for the same job

different authors, same section of the catalogue
Protocolsio Integration
by christophacham
×4

Integration with protocols.io API for managing scientific protocols. This skill should be used when working with protocols.io to search, create, update, or publish protocols; manage protocol steps and materials; handle discussions and comments; organize workspaces; upload and manage files; or integrate protocols.io functionality into workflows. Applicable for protocol discovery, collaborative protocol development, experiment tracking, lab protocol management, and scientific documentation.

16k tokens
Tailored Resume Generator
by frostant
×4

Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances

3k tokens
Excalidraw Diagram Generator
by github
vendor ×3

Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.

36k tokens scripts
Expo Dev Client
by openai
vendor ×3

Build and distribute Expo development clients locally or via TestFlight

961 tokens
Executing Plans
by ZhanlinCui
×3

Use when you have a written implementation plan to execute in a separate session with review checkpoints

542 tokens
Anndata
by christophacham
×3

Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.

16k tokens
Benchling Integration
by christophacham
×3

Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.

14k tokens
Biopython
by christophacham
×3

Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.

24k tokens

How to use it

Copy the folder

Take microsoft/add-node from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.