Microsoft TypeAgent is sample code exploring how a personal software agent can use natural-language interfaces to work with application agents. It is intended for investigating how language models can combine with structured software components for actions, memory, planning, and collaboration. The catalogue entries provide agents, skills, instructions, and an MCP integration for this project.
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.
npx skills add microsoft/TypeAgent --skill typeagent-macrosgit clone --depth 1 https://github.com/microsoft/TypeAgentWrote 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.
[](https://agentmods.dev/skills/microsoft/typeagent/typeagent-macros)<a href="https://agentmods.dev/skills/microsoft/typeagent/typeagent-macros"><img src="https://agentmods.dev/badge/skills/microsoft/typeagent/typeagent-macros/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.
<a href="https://agentmods.dev/skills/microsoft/typeagent/typeagent-macros"><img src="https://agentmods.dev/badge/skills/microsoft/typeagent/typeagent-macros.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00037 | $0.00753 |
| Opus 5.5 | $0.00015 | $0.00301 |
| Sonnet 5.5 | $0.00007 | $0.00151 |
| Haiku 4.5 | $0.00004 | $0.00075 |
Grade A, and why
typeagent-macros 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TypeAgent Program Macros
Use the typeagent-macros MCP server for macro catalog and lifecycle work.
Use the configured owner; never switch owners or learning preferences for the
user. Routing mode, owner and learning preference are separate settings.
Run A Macro
- If the macro reference is not already known, use
search_macrosorlist_macrosto find it. - If required inputs are not known, use
get_macro_requirements. Collect required inputs without exposing secret values in chat. - Call
run_macrowith the macro reference and current inputs. The server resolves and validates the current approved immutable program revision; do not callinspect_macroas an execution prerequisite. - For
completed, deliver the actual output without inventing or rewriting it. For any non-completed outcome, report its actual structured status without claiming success. Inspectget_macro_runfor durable dispatch/uncertainty evidence.
Never launch a planning agent to replay steps, reconstruct a program, or retry an accepted failed, cancelled, denied, or uncertain run through another provider. Symbolic programs make no model calls; hybrid programs call only declared, bounded semantic functions. Backend authorization remains authoritative.
Lifecycle
- Use
inspect_macrofor explicit catalog inspection and draft review, not as a prerequisite for execution. - For inspection-only requests, inspect an existing candidate; do not create one when the catalog is empty. Report that no candidate is available and obtain recording/learning status before proposing another operation.
- A recording token from
armedorclaimedis not a trace ID. Selected successful learning recordings enter program learning automatically; do not bypass a pending or failed job by making a step-only draft or rerunning the task. - Native selected learning requires the actual token-bound root success receipt
and subsequent final answer. Attest success only after the task succeeds;
the receipt is not independent correctness verification.
awaitingAuthoris not ready. New user work may preempt a child with a recoverable lease; Off/Cancel rejects late work rather than authorizing another provider. - Learning derives independent fixtures, validates source and executable, and publishes under the workspace preference: Off, Prepare, Read-only, or All. Prepare requires review; Read-only and All can auto-publish validated programs. Never change that preference for the user.
- Validate staged programs before explicit approval. Approval never runs a program and does not grant backend permission.
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.
- 8d ago Changed · +8 lines · -8 tokens per session 7a65c21ddd1e
- 12d ago Changed · +4 lines c81ba6687fb5
- 19d ago Changed · +7 lines 7c495b23f50c
- 23d ago Changed · +6 lines 45d7a8bb86a5
- 1mo ago First seen · 42 lines · 45 tokens per session scan A 84ebda2debb8
typeagent-macros is a skill published in the GitHub repository microsoft/TypeAgent (748 stars, last pushed yesterday), licensed MIT. It adds 37 tokens to every session and 753 once invoked, about $0.0001 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.
Other skills, from other repositories
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
component-fixtures
Use when creating or updating component fixtures for screenshot testing or their shared infrastructure, or when designing UI components to be fixture-friendly. Covers fixture file structure, theming, service setup, CSS scoping, async rendering, validation, and common pitfalls.