Detect Mode Skill
Detect a Copilot Studio agent's authentication mode (DirectLine vs M365) by querying Dataverse. Returns the mode and connection details needed to chat. Published by microsoft in skills-for-copilot-studio.
Decision snapshot
Is this a fit?
Developers using skills-for-copilot-studio, Includes SKILL.md, Reusable instructions
Compatibility not yet detected.
No auth authentication, Filesystem access, Shell access
Copy skill directory
2 months ago · MIT license
Access note: No auth. Access note: Local files. Access note: Shell access.
What is Detect Mode Skill?
Detect a Copilot Studio agent's authentication mode (DirectLine vs M365) by querying Dataverse. Returns the mode and connection details needed to chat. Published by microsoft in skills-for-copilot-studio. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement. See how SkillIndex evaluates profiles.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Developers using skills-for-copilot-studio
Declared skill metadata
- Source file: skills/detect-mode/SKILL.md
Allowed tools declared by source
These fields retain source and confidence evidence from the indexed SKILL.md.
Compatibility and setup
- Install or run with Copy skill directory
- No auth
- Local files
- Shell access
Requirements and access
Security and permissions
Review permissions before connecting any MCP server to an agent. Pay special attention to whether it can read local files, write data, call external services, or perform destructive actions.
When to use Detect Mode Skill
- Use it for developers using skills-for-copilot-studio.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/skills-for-copilot-studio
- Skill file: skills/detect-mode/SKILL.md
What it does
Detect a Copilot Studio agent's authentication mode (DirectLine vs M365) by querying Dataverse. Returns the mode and connection details needed to chat.
Skill instructions
Detect Agent Authentication Mode Query the Dataverse bots entity to determine whether the agent uses DirectLine (no auth / manual auth) or the Copilot Studio SDK (integrated auth / Entra ID SSO). Instructions 1. Run the detect-only command: bash node ${CLAUDESKILLDIR}/../../scripts/chat-with-agent.bundle.js --detect-only $ARGUMENTS If the agent is not at the project root, pass --agent-dir <path. 2. Parse the JSON output from stdout: DirectLine mode (authenticationmode 1 or 3) json { "status": "ok", "mode": "directline", "authenticationmode": 1, "tokenEndpoint": "https://...", "schemaName": "..." } The agent uses no authentication or manual authentication. No user credentials needed. The tokenEndpoint is ready to use with /copilot-studio:chat-directline. M365 mode (authenticationmode 2) json { "status": "ok", "mode": "m365", "authenticationmode": 2, "schemaName": "..." } The agent uses integrated authentication (Entra ID SSO). An App Registration Client ID is needed for /copilot-studio:
Verified compatibility and discovery
Frequently asked questions
What is Detect Mode?
Detect Mode is a open-source AI agent skill with Copy skill directory. Detect a Copilot Studio agent's authentication mode (DirectLine vs M365) by querying Dataverse. Returns the mode and connection details needed to chat.
Who is Detect Mode best for?
Detect Mode is best for reusing agent instructions, scripts, and references.
How do I install Detect Mode?
Install or run Detect Mode using Copy skill directory. Check Detect Mode for the latest setup command.
Is Detect Mode actively maintained?
Detect Mode may need a closer maintenance check before production use.
Project health auto-fetched from the source repository.
Maintain this resource?
Review this source-backed profile, send a correction with evidence, or link to it from your documentation. Claims verify your relationship to the project; profile facts still require source evidence and editorial review.