/microsoft-teams:microsoft-teamsfrom Microsoft Teams
Reads and searches Microsoft Teams chats, channel threads, and files through the user's signed-in client via Chrome DevTools Protocol, without Graph API or MCP server.
Ships in Microsoft Teams. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Read Teams through the user's signed-in client over the Chrome DevTools Protocol
(CDP). The client's session does the authentication, so no tokens, Graph
permissions, or admin consent are involved. Run every command as
node <skill-dir>/scripts/teams_cdp.mjs <command> (Node 22+); without arguments
it prints usage and exit codes.
${XDG_CACHE_HOME:-$HOME/.cache}/teams-export with mode 700.search, read, sidebar) need the window handed over: on
screen, no call, nobody typing. Opening a conversation marks it read, so name
it to the user first. One agent drives the UI at a time.status; exit 3 means no debug endpoint or Teams
page, so follow references/connect.md.cache-list --kind channel --name Design lists
matching conversations with their ids and teams.cache-read "<name-or-id>" --from self returns cached
messages. This step is done when the output covers the request, or when it
returns a hint or stops short of the dates needed.search '<query>' --in "<conversation>" covers
history the cache lacks. On exit 5 (call) or 6 (window off screen), wait for
the user and retry.read or read --all.sp-download <private-dir> <path> takes the attachment
paths from cache-read or files listed by sp-list /teams/<Site>.The cache commands read Teams' IndexedDB. They never touch the UI, mark nothing read, and work while the window is hidden.
cache-list returns id, kind, name, and team for each conversation. Filter
with --kind (chat, channel, meeting, community, other), --name, and
--team.cache-read <name-or-id> returns messages oldest first: id, threadId,
isRoot, time, author, subject, and attachments with SharePoint paths.
Filters: --from self|"Display Name", --thread ID, --since and --until
(ISO), --limit (default 500, newest kept), --all-types for call records.
--body adds text, capped by --max-chars (default 4000).--team or use the id.completeness is
always unknown. Deleted messages are skipped and counted.Schema and limits: references/cache.md.
--in scopes to one chat or channel; without it, search spans every
conversation. A new query clears the filter, so the script reapplies it.from:"Name" limits results to one sender. Option labels list the channel and
then its team; --team TEXT picks among same-named channels.--max-pages
(default 10) and sets more: true when it stops early.cache-read for
thread ids.read returns the messages loaded in the open chat, channel, or thread.
read --all scrolls a channel or thread toward its start; its settledAtTop
flag means loading stopped, not that the first message was reached.sp-list /teams/<Site> lists library files with author and times.
sp-download writes mode-600 files under the output directory, refuses to
overwrite without --force, and exits 1 if any download fails..docx with pandoc -f docx -t gfm; for .pptx, join the <a:t>
runs in each ppt/slides/slideN.xml.eval runs JavaScript in the page or a --target <url-regex> frame and skips
every guard. Selectors and UI quirks:
references/teams-dom.md.Unverified: read --all, --team, in-page search submission, and sending.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub khaneliman/khanelinix --plugin microsoft-teamsOther plugins' skills for the same job