From copilot-studio
Chats with DirectLine agents using explicit token endpoint or secret via bundled Node.js scripts. Supports multi-turn conversations. Deprecated; use /copilot-studio:chat-with-agent.
How this skill is triggered — by the user, by Claude, or both
Slash command
/copilot-studio:directline-chat <utterance to send><utterance to send>copilot-studio-testThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**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.
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.
npx claudepluginhub microsoft/skills-for-copilot-studio --plugin copilot-studioSends utterances to Copilot Studio agents via DirectLine v3 REST API. Handles no-auth/manual-auth agents, multi-turn conversations, sign-in flows, and token/conversation management.
Guides using Microsoft 365 Agents SDK TypeScript packages like @microsoft/agents-hosting and @microsoft/agents-hosting-express to build multichannel agents for Teams, Copilot Studio, and web chat, including Azure setup and env vars.
Builds multichannel Python agents for Teams, M365, Copilot Studio using aiohttp hosting, AgentApplication routing, streaming responses, and MSAL auth.