bf-to-agents-sdk-typescript-migration

bf-to-agents-sdk-typescript-migration is a skill for Claude Code from microsoft/Agents. It costs 71 tokens per session (1,011 once invoked), scanned A, original, MIT.

A planning and implementation guide for moving JavaScript or TypeScript bots from BotBuilder, Microsoft's older bot framework, to the Microsoft 365 Agents SDK.

In plain words
What is it for?
Use it to inspect a bot's dependencies, handlers, state, middleware, hosting, authentication, tests, and deployment files; produce a migration plan; and implement only the selected supported changes.
Why use it?
It identifies which old packages and APIs have direct replacements, need redesign, require a decision, or have no supported equivalent. This prevents unsupported migration work from being applied blindly.

Skill for Claude Code ✓ vendor

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the agents-for-js plugin — 4 skills shipped together

Good fit Use it to inspect a bot's dependencies, handlers, state, middleware, hosting, authentication, tests, and deployment files; produce a migration plan; and implement only the selected supported changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/agents/bf-to-agents-sdk-typescript-migration
About the project

Microsoft 365 Agents SDK is a software toolkit for building AI agents that can communicate through channels such as Microsoft 365 Copilot, Teams, web apps, and custom applications. Developers use it to add state, storage, event handling, and channel-specific behavior while choosing their own AI services and models. The catalogue entries are skills and plugins for working with this SDK.

microsoft/Agents · 1,088 stars · on GitHub · aka.ms

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 microsoft/Agents --skill bf-to-agents-sdk-typescript-migration
Clone the repo
git clone --depth 1 https://github.com/microsoft/Agents

Made for: Claude Code.

Or install agents-for-js, the plugin that ships this one along with the rest of its 4 skills.

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 bf-to-agents-sdk-typescript-migration

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/agents/bf-to-agents-sdk-typescript-migration/github.svg)](https://agentmods.dev/skills/microsoft/agents/bf-to-agents-sdk-typescript-migration)
Your own site
<a href="https://agentmods.dev/skills/microsoft/agents/bf-to-agents-sdk-typescript-migration"><img src="https://agentmods.dev/badge/skills/microsoft/agents/bf-to-agents-sdk-typescript-migration/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 bf-to-agents-sdk-typescript-migration

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/agents/bf-to-agents-sdk-typescript-migration"><img src="https://agentmods.dev/badge/skills/microsoft/agents/bf-to-agents-sdk-typescript-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,011 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00071 $0.01011
Opus 5.5 $0.00028 $0.00404
Sonnet 5.5 $0.00014 $0.00202
Haiku 4.5 $0.00007 $0.00101

Measured 1mo ago against content hash aaf345acb013, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bf-to-agents-sdk-typescript-migration scanned grade A with 0 findings 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agent-plugins/agents-for-js/skills/bf-to-agents-sdk-typescript-migration/SKILL.md · 63 lines

How it starts

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

BotBuilderJS to Agents SDK migration

Target AgentApplication and preserve observable behavior. Always assess and report before editing. Use migration-map.md as the primary reference; search it for each detected package, class, method, property, or handler.

Workflow

  1. Inspect the bot's packages, imports, entry points, handlers, state, middleware, hosting, authentication, tests, and deployment files.
  2. Inventory every Bot Framework symbol and behavior. Classify each item with the migration map:
    • Direct: replace the package or API while preserving the design.
    • Rewrite: implement the supported AgentApplication pattern.
    • Decision: verified SDK-supported choices exist, but the user must select one.
    • Unsupported: no verified stable Agents SDK for JavaScript equivalent exists.
  3. Produce the migration plan in the format below. Do not edit project code during this assessment phase.
  4. Stop and ask which numbered Direct and Rewrite items to implement and which Decision choices to make. Exclude Unsupported items from implementation.
  5. After explicit selection, confirm the assessed files, dependencies, and scope have not changed. If they changed, refresh the plan and obtain a new selection. Otherwise, implement only the selected items and update the lockfile.
  6. Run the project's build/type-check, lint, and tests. Start the service and exercise the message endpoint and affected custom, invoke, storage, and proactive paths when possible.
  7. Report migrated items, decisions still required, unsupported behavior left unchanged, and validation results.

If multiple bots are present and scope is unclear, ask which bot to assess before step 2.

Rules

  • Do not invent an SDK API, shim, placeholder, or unrelated replacement to make the migration appear complete. Mark behavior without a verified stable target as Unsupported.
  • Treat the migration map as candidate mappings. Verify every Direct and Rewrite target against declarations for the exact stable package version planned for the project. Repository-main code and official samples may identify candidates but do not prove stable availability; repo-only or @next functionality is Decision, and functionality with no verified package target is Unsupported.
  • Leave Unsupported code and its dependencies unchanged. Discuss a replacement only as a separate modernization decision, never as an Agents SDK migration mapping.
  • Implement a Decision item only after the user selects a verified SDK-supported option.
  • Preserve exports, module system, endpoint paths, middleware order, route precedence, invoke responses, state keys, storage identifiers, OAuth connection names, and Teams command IDs unless the user approves a change.
  • AgentApplication selects the first matching route. Put specific routes before catch-alls and merge behavior that previously chained through next().
  • Remove a Bot Framework dependency only when no retained import or runtime use remains. Unsupported code and dependencies always remain unchanged within this skill. Decision code keeps its dependency until the user selects a verified supported migration; deletion or isolation is a separate task outside this skill.
  • Prefer compatible stable package versions and preserve the package manager. Classify functionality available only in @next as Decision and ask before using it.
  • Keep production authentication enabled and never expose secrets.
  • Change only what is necessary to install, build, test, and run the selected migration items.

Read the full file on GitHub · 63 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 63 lines · 71 tokens per session scan A aaf345acb013

Subscribe to this mod's changes

bf-to-agents-sdk-typescript-migration is a skill published in the GitHub repository microsoft/Agents (1,088 stars, last pushed yesterday), licensed MIT. It adds 71 tokens to every session and 1,011 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

azure-maps-search-dotnet

Azure Maps SDK for .NET. Location-based services including geocoding, routing, rendering, geolocation, and weather. Use for address search, directions, map tiles, IP geolocation, and weather data. Triggers: "Azure Maps", "MapsSearchClient", "MapsRoutingClient", "MapsRenderingClient", "geocoding .NET", "route…

microsoft/skills · 91 tokens

azure-eventgrid-dotnet

Azure Event Grid SDK for .NET. Client library for publishing and consuming events with Azure Event Grid. Use for event-driven architectures, pub/sub messaging, CloudEvents, and EventGridEvents. Triggers: "Event Grid", "EventGridPublisherClient", "CloudEvent", "EventGridEvent", "publish events .NET", "event-driven"…

microsoft/skills · 80 tokens

azure-mgmt-apicenter-dotnet

Azure API Center SDK for .NET. Centralized API inventory management with governance, versioning, and discovery. Use for creating API services, workspaces, APIs, versions, definitions, environments, deployments, and metadata schemas. Triggers: "API Center", "ApiCenterService", "ApiCenterWorkspace", "ApiCenterApi", "API…

microsoft/skills · 97 tokens

microsoft-azure-webjobs-extensions-authentication-events-dotnet

Microsoft Entra Authentication Events SDK for .NET. Azure Functions triggers for custom authentication extensions. Use for token enrichment, custom claims, attribute collection, and OTP customization in Entra ID. Triggers: "Authentication Events", "WebJobsAuthenticationEventsTrigger", "OnTokenIssuanceStart"…

microsoft/skills · 97 tokens

azure-appconfiguration-java

Azure App Configuration SDK for Java. Centralized application configuration management with key-value settings, feature flags, and snapshots. Triggers: "ConfigurationClient java", "app configuration java", "feature flag java", "configuration setting java", "azure config java".

microsoft/skills · 55 tokens

azure-speech-to-text-rest-py

Azure Speech to Text REST API for short audio (Python). Use for simple speech recognition of audio files up to 60 seconds without the Speech SDK. Triggers: "speech to text REST", "short audio transcription", "speech recognition REST API", "STT REST", "recognize speech REST". DO NOT USE FOR: Long audio (>60 seconds)…

microsoft/skills · 104 tokens