skills/teams-migration/SKILL.md
Migrate MS Teams chat content to channels or between chats. USE WHEN teams migration, migrate chat, copy messages, teams channel, move chat history, teams backup, chat to channel. SkillSearch('teamsmigration') for docs.
npx skillsauth add julianobarbosa/claude-code-skills teams-migrationInstall 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.
Before executing, check for user customizations at:
~/.claude/skills/PAI/USER/SKILLCUSTOMIZATIONS/TeamsMigration/
If this directory exists, load and apply any PREFERENCES.md, configurations, or resources found there. These override default behavior. If the directory does not exist, proceed with skill defaults.
You MUST send this notification BEFORE doing anything else when this skill is invoked.
Send voice notification:
curl -s -X POST http://localhost:8888/notify \
-H "Content-Type: application/json" \
-d '{"message": "Running the WORKFLOWNAME workflow in the TeamsMigration skill to ACTION"}' \
> /dev/null 2>&1 &
Output text notification:
Running the **WorkflowName** workflow in the **TeamsMigration** skill to ACTION...
Migrate MS Teams meeting chat or group chat content to team channels, preserving sender attribution, timestamps, images, and attachments. Uses the teams-mcp MCP server for reading and the Microsoft Graph API directly for high-volume batch posting with automatic token refresh and rate limiting.
| Workflow | Trigger | File |
|----------|---------|------|
| MigrateChat | "migrate chat", "copy chat to channel", "move messages" | Workflows/MigrateChat.md |
| ExportChat | "export chat", "backup chat", "download messages" | Workflows/ExportChat.md |
Example 1: Migrate a meeting chat to a team channel
User: "Migrate the Teams meeting chat to the DevOps channel"
--> Invokes MigrateChat workflow
--> Verifies auth, fetches all messages with pagination
--> Filters system/deleted messages, reverses to chronological order
--> Posts each message with sender + timestamp attribution
--> Verifies count parity and spot-checks content
Example 2: Export chat messages to a local file
User: "Export all messages from our DevOps chat"
--> Invokes ExportChat workflow
--> Fetches all messages with full pagination
--> Saves to JSON file with metadata
@floriscornel/teams-mcp (npm)~/.msgraph-mcp-auth.json~/.teams-mcp-token-cache.jsonnpx @floriscornel/teams-mcp@latest authenticateTools/MigrateChat.mjs (Node.js, no dependencies)descending: false not supported -- fetch descending, reverse arraydownload_message_hosted_content only works for channel messages, not chat messages~/.teams-mcp-token-cache.jsonRetry-After header on 429 responsesTools/MigrateChat.mjs directly via Graph API instead of MCP tool callsChat.* endpoints fail without it (403)descending: false on chat messages: Endpoint silently returns descending order anyway. Always fetch descending, reverse the array locally — assuming ascending will post messages in reverse chronological order to the destination.download_message_hosted_content works only for channel messages, not chat messages: Images in meeting/group chats need a different code path through /chats/{id}/messages/{id}/hostedContents. Calling it on a chat message returns 404 with a misleading "content not found".~/.teams-mcp-token-cache.json expires after 90 days idle: First migration after a long gap fails with AADSTS700082. Re-run npx @floriscornel/teams-mcp@latest authenticate — token refresh is silent until it isn't.Chat.* Graph endpoints require a Teams license on the calling account: Service accounts without a license return 403 with text that mentions permissions, not licensing. Verify with az ad user show --id <upn> --query assignedLicenses before debugging Graph scopes.Tools/MigrateChat.mjs directly against Graph with Retry-After handling.development
End-to-end branch delivery: commit (no AI attribution) → push → open a pull request → ensure a Board work item exists (create one per task, assigned to the configured user, if none) and link it → after merge, clean up branch and worktree. Auto-detects the platform from the remote — Azure Repos + Boards (azure-devops-node-api SDK; OAuth Bearer push fallback via `az`) or GitHub (Octokit; `gh` for auth). Scripts are TypeScript, run via `bun`. Use whenever asked to "ship", "ship it", "ship this branch", "open a PR", "push and open a PR", "raise a PR", "deliver this", "send this for review", or "create a PR and link the work item" — and when a direct push to main is blocked and the change needs to go through a PR instead.
testing
Brief description of what this skill does. Include specific triggers - when should Claude use this skill? Example triggers, file types, or keywords that indicate this skill applies.
tools
Manage and troubleshoot PATH configuration in zsh. Use when adding tools to PATH (bun, nvm, Python venv, cargo, go), diagnosing "command not found" errors, validating PATH entries, or organizing shell configuration in .zshrc and .zshrc.local files.
tools
Zabbix monitoring system automation via API and Python. Use when: (1) Managing hosts, templates, items, triggers, or host groups, (2) Automating monitoring configuration, (3) Sending data via Zabbix trapper/sender, (4) Querying historical data or events, (5) Bulk operations on Zabbix objects, (6) Maintenance window management, (7) User/permission management