deploy-to-copilot-studio
Skill8 starsChanged 3 months agoMITView on GitHub
Deploy an AIBAST Agents Library solution (for example Tiered Huddle Board) into the user's own Copilot Studio environment with their own sign-in. Use when someone asks to deploy, install or try a library solution in Copilot Studio, or to remove one.
In this repository616 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- community_rapp/project/CLAUDE.mdCLAUDE.md
- rapp_ai/CLAUDE.mdCLAUDE.md
- rapp_brainstem/CLAUDE.mdCLAUDE.md
- community_rapp/project/.github/copilot-instructions.mdCopilot instructions
- .github/copilot-instructions.mdCopilot instructions
- rapp_ai/.github/copilot-instructions.mdCopilot instructions
- docs/vault/llms-full.txtllms.txt
- docs/vault/llms.txtllms.txt
- llms.txtllms.txt
- csv-surgeonSkill
- json-doctorSkill
- log-detectiveSkill
- markdown-medicSkill
- pii-scoutSkill
- generate-demoSkill
- community_rappSkill
- aibast-brainstemSkill
- brainstem-first-20-minutesSkill
- generate-demoSkill
- rapp-brainstemSkill
- aibast-easy-mode-brainstemSkill
- aibast-easy-mode-copilotSkill
- aibast-easy-modeSkill
- aibast-staging-ring-testSkill
- account-intelligence-account-overviewSkill
- account-intelligence-competitive-intelSkill
- account-intelligence-executive-briefingSkill
- account-intelligence-risk-assessmentSkill
- account-intelligence-stakeholder-mapSkill
- account-intelligence-value-messagingSkill
- get-account-intelligenceSkill
- escalation-routingSkill
- follow-up-planSkill
- handle-inquirySkill
- interaction-summarySkill
- knowledge-searchSkill
- prepare-actionsSkill
- recommend-resolutionSkill
- satisfaction-surveySkill
- get-ai-customer-assistantSkill
- benefits-summarySkill
- health-insuranceSkill
- leave-balanceSkill
- parental-leaveSkill
- remindersSkill
- remote-workSkill
- submit-time-offSkill
- time-off-checkSkill
- get-ask-hrSkill
- asset-maintenance-forecast-asset-healthSkill
- asset-maintenance-forecast-budget-projectionSkill
- asset-maintenance-forecast-maintenance-forecastSkill
- asset-maintenance-forecast-work-order-planSkill
- get-asset-maintenance-forecastSkill
- compare-plansSkill
- deadline-remindersSkill
- document-checklistSkill
- election-draftSkill
- enrollment-windowSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Sign in: Run python3 copilot_studio_deploy_agent.py check.
- Very specific: line 25
If it says they are not signed in, have them run pac auth create --deviceCode themselves and finish the sign-in in their browser.
- Very specific: line 28
Pick an environment: Run python3 copilot_studio_deploy_agent.py envs and ask which one to use.
- Very specific: line 34
Deploy only after the user says yes: Run the same command with deploy ...
- Very specific: line 44
Never pass --yes until the user has seen the plan and agreed.
- Distinctive: line 45
Never store or print tokens or passwords.
- Distinctive: line 46
If a step fails, read the summary to the user and stop.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Deploy a library solution to Copilot Studio
You help the user put one library solution into their own Copilot Studio environment. Everything runs through one script with the user's own Power Platform sign-in. Show each command before you run it.
Get the script (once)
curl -fsSLo copilot_studio_deploy_agent.py https://raw.githubusercontent.com/microsoft/aibast-agents-library/main/agents/@aibast-agents-library/templates/copilot_studio_deploy_agent.pyIt needs Python 3 and the Power Platform CLI (pac). If pac is missing,
tell the user how to install it (dotnet tool install --global
Microsoft.PowerApps.CLI.Tool, or the Windows installer) and stop.
Steps
- Sign in. Run
python3 copilot_studio_deploy_agent.py check. If it says they are not signed in, have them runpac auth create --deviceCodethemselves and finish the sign-in in their browser. Never ask for or type a password. - Pick an environment. Run
python3 copilot_studio_deploy_agent.py envsand ask which one to use. Suggest a test environment, not production. - Check first. Run
python3 copilot_studio_deploy_agent.py plan <solution> --env "<environment>". Tell the user, in plain words, what will happen and every note (already installed, missing connections). Nothing changes in this step. - Deploy only after the user says yes. Run the same command with
deploy ... --yes. Add--replaceonly if they asked to overwrite an existing install. - Report. Give the summary, then the
test_questionfor them to ask in Copilot Studio's test pane. - Undo, if asked.
python3 copilot_studio_deploy_agent.py undo <solution> --env "<environment>" --yesafter the user confirms.
Rules
- Never pass
--yesuntil the user has seen the plan and agreed. - Never store or print tokens or passwords.
- If a step fails, read the summary to the user and stop. Do not retry with different flags on your own.
- Solution names are the library's folder names, such as
tiered-huddle-board.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

