skills/directline-chat/SKILL.md
DEPRECATED: Use /copilot-studio:chat-with-agent instead — it auto-detects DirectLine vs M365 mode. This skill is kept for backwards compatibility only.
npx skillsauth add microsoft/skills-for-copilot-studio skills/directline-chatInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill has been merged into /copilot-studio:chat-with-agent, which now auto-detects the agent's authentication mode and uses DirectLine automatically for no-auth and manual-auth agents.
Use /copilot-studio:chat-with-agent instead. It handles both DirectLine and Copilot Studio SDK modes in a single skill.
If you are here because the caller explicitly provided a DirectLine secret or token endpoint URL, you may proceed with the instructions below. Otherwise, redirect to /copilot-studio:chat-with-agent.
node ${CLAUDE_SKILL_DIR}/../../scripts/directline-chat.bundle.js \
--token-endpoint "<url>" "<utterance>"
node ${CLAUDE_SKILL_DIR}/../../scripts/directline-chat.bundle.js \
--directline-secret "<secret>" "<utterance>"
node ${CLAUDE_SKILL_DIR}/../../scripts/directline-chat.bundle.js \
--token-endpoint "<url>" "<follow-up>" \
--conversation-id <id> --directline-token "<token>"
Always pass --directline-token when resuming. DirectLine tokens are bound to the conversation. They expire after ~30 min.
Same as /copilot-studio:chat-with-agent Phase 1a — see that skill for full documentation of JSON output, sign-in flow, and error handling.
development
Pattern library for Copilot Studio agent design. Contains proven and recommended implementation patterns with YAML examples. Used by the Advisor agent to suggest patterns and by the Author agent to reference YAML structure during implementation. USE FOR: design guidance, pattern suggestions, review against best practices, troubleshooting known pitfalls, YAML reference during implementation. DO NOT USE FOR: general YAML schema reference (use int-reference), topic creation mechanics (use new-topic).
testing
Look up Copilot Studio YAML schema definitions. Use when the user asks about schema structure, element properties, or how to use a specific YAML kind.
data-ai
Reference tables for Copilot Studio YAML authoring: triggers, actions, variables, entities, Power Fx functions, templates. Preloaded by author and advisor agents.
development
Add a knowledge source (public website or SharePoint) to a Copilot Studio agent. Use when the user asks to add a knowledge source, documentation URL, website, or SharePoint site for the agent to search.