Skip to content

Commit e4ab58f

Browse files
Jie Tongcraft-agents-bot
authored andcommitted
docs: update step 6 to ask user to restart with specific message
Instead of generically saying "restart the agent session", provide the exact message the agent should show the user. Co-Authored-By: Eureka <agents-noreply@craft.do>
1 parent 5443919 commit e4ab58f

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ <h3 id="agent-setup">Agent setup workflow</h3>
534534
</table>
535535
</li>
536536
<li>
537-
<strong>Restart the agent session</strong> — most agents load skill files at startup, so a new session is needed for the skill to take effect. After restart, <code>m365</code> should be on PATH.
537+
<strong>Ask the user to restart</strong> — most agents load skill files at startup, so the skill won't be available until the session (or the app) is restarted. After restart, <code>m365</code> should be on PATH.
538538
</li>
539539
</ol>
540540

skills/m365-cli/SKILL.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,13 @@ Copy the skill file (this `SKILL.md`) into the agent's skill directory. The exac
9292
- **Eureka / Craft Agent** — Place in the workspace's `skills/m365-cli/SKILL.md`
9393
- **Other agents** — Consult the agent's documentation for where to place skill/instruction files
9494

95-
### Step 6: Restart the agent session
95+
### Step 6: Ask the user to restart
9696

97-
After installing the skill file, **start a new agent session** (or restart the current one). Most agents load skill files at session startup, so the new skill won't be available until the session is reloaded.
97+
After installing the CLI and the skill file, tell the user:
98+
99+
> Please restart this agent session so the new m365-cli skill gets loaded. After restart, you'll be able to use M365 CLI commands for Teams, Mail, Calendar, and OneDrive/SharePoint directly.
100+
101+
Most agents load skill files at startup, so the skill won't be available until the session (or the app) is restarted.
98102

99103
After restart, `m365` should be on PATH. All commands in the rest of this document assume `m365` is available directly.
100104

0 commit comments

Comments
 (0)