configure

configure is a skill for Claude Code from gtapps/msteams-channel. It costs 59 tokens per session (1,779 once invoked), scanned B, original, MIT.

A setup guide for connecting Microsoft Teams to an agent through Microsoft Entra, Microsoft's identity and access service. It saves the required credentials and checks who can contact the channel.

In plain words
What is it for?
Use it to save Teams app credentials, review the access policy, and check channel status.
Why use it?
It removes guesswork when setting up the connection and checking access. It also helps avoid using the wrong state directory or credentials.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Part of the msteams plugin — 3 skills, 1 MCP server shipped together

Good fit Use it to save Teams app credentials, review the access policy, and check channel status.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gtapps/msteams-channel/configure
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gtapps/msteams-channel --skill configure
Clone the repo
git clone --depth 1 https://github.com/gtapps/msteams-channel

Made for: Claude Code.

Or install msteams, the plugin that ships this one along with the rest of its 3 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for configure

README.md
[![agentmods](https://agentmods.dev/badge/skills/gtapps/msteams-channel/configure/github.svg)](https://agentmods.dev/skills/gtapps/msteams-channel/configure)
Your own site
<a href="https://agentmods.dev/skills/gtapps/msteams-channel/configure"><img src="https://agentmods.dev/badge/skills/gtapps/msteams-channel/configure/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for configure

Your own site · 80×15
<a href="https://agentmods.dev/skills/gtapps/msteams-channel/configure"><img src="https://agentmods.dev/badge/skills/gtapps/msteams-channel/configure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,779 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.01779
Opus 5 $0.00030 $0.00890
Sonnet 5 $0.00012 $0.00356
Haiku 4.5 $0.00006 $0.00178

Measured 9d ago against content hash d2ee16ef59ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

configure scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

3. `chmod 600 "<STATE_DIR>/.env"` — these credentials let anyone post as the bot.
skills/configure/SKILL.md · 165 lines

How it starts

The opening of the file, as written. The whole thing — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/msteams:configure — Teams Channel Setup

Writes Entra credentials to <STATE_DIR>/.env and orients the user on access policy. The server reads .env once at boot and access.json on every inbound message.

Resolve the state dir

Run this first and use the output as <STATE_DIR> for every path below:

echo "${MSTEAMS_STATE_DIR:-$HOME/.claude/channels/msteams}"

This is the same rule server.ts uses, so the skill and the listener agree whenever they see the same environment. Report the resolved path in your status output — if it is not what the operator expects, that is the bug, and everything else you say will be about the wrong directory.

Never mkdir while reporting status. A missing directory is a status to report, not a state to fix; creating one here would shadow the operator's real state dir. Only the credential-saving path below creates anything.

Unlike a Discord bot token, Teams needs a provisioning chain: an Entra app, a service principal, an Azure Bot, a tunnel, and a Teams app manifest. The full walkthrough with exact commands is SETUP.md in this plugin's repo. Send the user there for provisioning; this skill handles credentials, status, and the few steps that are easy to get wrong.

Arguments passed: $ARGUMENTS


Dispatch on arguments

No args — status and guidance

Read both state files and give a complete picture:

  1. State dir — report the resolved <STATE_DIR> on its own line, so a relocation that only reached half the system is visible rather than inferred.

  2. Credentials — check <STATE_DIR>/.env for MSTEAMS_APP_ID, MSTEAMS_APP_PASSWORD, MSTEAMS_TENANT_ID. Show set/not-set per key; never echo the secret, and mask the app id beyond its first segment. All three are required — the listener does not start without them, though MCP still serves so this skill stays reachable.

  3. Access — read <STATE_DIR>/access.json (missing = defaults: dmPolicy: "pairing", empty allowlist). Show the DM policy and what it means in one line, allowed senders, pending pairings with codes, and opted-in conversations.

Read the full file on GitHub · 165 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 165 lines · 59 tokens per session scan B d2ee16ef59ad

Subscribe to this mod's changes

configure is a skill published in the GitHub repository gtapps/msteams-channel (2 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 1,779 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

obsidian-skill

Controls Obsidian vaults via the official CLI (1.12+). Reads, creates, appends to, and searches notes. Manages daily notes, tasks, tags, properties, templates, bookmarks, and plugins. Analyzes knowledge graph structure including backlinks, orphans, and unresolved links. Triggers on Obsidian, vault, notes, daily notes…

wizzy15/obsidian-skill · 102 tokens

ashlr-cost-refactor

Token-efficient refactoring discipline for Claude Code. Diff-first before editing, structural edits for renames, find-all-refs then one multiedit per file, no re-reads between edits, one genome proposal at the end. Reduces refactor session cost 40–65%.

ashlrai/ashlr-plugin · 62 tokens

ashlr-search

Genome-aware search habits for Claude Code. Prefer ashlrgrep and ashlrglob over native scans; compose multi-term queries; trust genome summaries; orient once before searching. Reduces redundant reads and search token cost 40–70%.

ashlrai/ashlr-plugin · 55 tokens

stats

Show Captain Memo's corpus statistics (chunks per channel, observation counts, indexing progress, embedder info). Use when the user types /captain-memo:stats.

kalinbogatzevski/captain-memo · 36 tokens

observations

List recent captured session observations (the Haiku-summarized voyage logs). Use when the user wants to see what Captain Memo has logged from past sessions.

kalinbogatzevski/captain-memo · 34 tokens

ashlr-codex-doctor

Check Ashlr's Codex plugin packaging, MCP manifest, hooks, skills, and workspace allow-list. Use when Codex setup, plugin loading, or MCP registration looks wrong.

ashlrai/ashlr-plugin · 44 tokens