teamslisted
Install: claude install-skill sergeiwallace/skills
# teams
Reads Microsoft Teams with the four tokens the Teams web client itself uses, and posts one message once the account owner has approved it. The tokens come from a token provider you choose in the settings file. The chat service and the media gateway it reads are the endpoints the Teams web client calls; this route works where Microsoft Graph's meeting scopes need admin consent.
**Before you use it**, check that reading your organisation's Teams through the web client's own endpoints is allowed by your organisation's policy. Those endpoints are undocumented and can change without notice.
Run every command through `uv`, from any directory:
```bash
uv run --script "${CLAUDE_SKILL_DIR}/scripts/teams.py" <command> [options]
```
`teams.py` uses only the Python standard library (3.11 or later). `--help` and a send preview never load a token. `meeting.py` also needs the repository's `packages/skill-cli-foundation` and `packages/meeting-retrieve`, which `uv run --script` resolves from a checkout of this repository.
## Before the first call: tokens and settings
Copy [config.example.toml](config.example.toml) to `~/.config/teams-skill/teams.toml` and edit the copy. `TEAMS_CONFIG` names another file in the same shape, `teams.py --config` overrides both, and `TEAMS_PROFILE=<name>` applies a `[profiles.<name>]` table over `[defaults]`. The file is read on every call, so an edit applies to the next command. Set at least `login_hint` (what to run when a token has expired), `tim