create-tool SKILL.md skillA

create-tool from agentfront/frontmcp is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add agentfront/frontmcp/create-tool@git:20261011.3484b44

Pins git:20261011.3484b44 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
agentfront/frontmcp
Path
libs/skills/catalog/create-tool/SKILL.md
Versions recorded
6
Latest version
git:20261011.3484b44, committed Oct 11, 2026
First version recorded
May 31, 2026
Size
27,709 bytes
Repository stars
148
License
Apache-2.0

ALWAYS use this skill when the user asks to build, modify, or audit a FrontMCP tool. Covers everything inside `@Tool({...})`: class and function-style tools, Zod input/output schemas with derived `execute()` types, dependency injection (`this.get` / `this.tryGet`), error handling (`this.fail`, MCP error classes), throttling (rate-limit / concurrency / timeout), auth providers (single / multi / vault), availability constraints (`availableWhen`), elicitation (`this.elicit`), interactive UI…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Create a FrontMCP Tool

Tools are the primary way to expose executable actions to AI clients in the MCP protocol. In FrontMCP, every tool is a TypeScript class that extends `ToolContext`, decorated with `@Tool({...})`, and registered on an `@App` (or directly on `@FrontMcp` for simple servers).

This skill is the single source of truth for building tools. It owns:

- The `@Tool` decorator surface
- Input / output schemas and how to derive `execute()` types from them
- Dependency injection, error handling, progress / notifications
- Throttling: rate-limit, concurrency, timeout
- Auth providers and the credential vault
- Platform / runtime / surface availability constraints
- Elicitation (interactive input mid-execution)
- **Tool UI widgets** — the `ui:` block, MCP Apps / SEP-1865, `.tsx` FileSource, CSP, `window.FrontMcpBridge`
- Annotations (`readOnlyHint`, `destructiveHint`, `idempotentHint`, `openWorldHint`)
- The `examples` metadata field
- Function-style tools, remote / ESM tools
- Registration patterns
- Per-tool unit testing

For everything else — resources, prompts, agents, jobs, workflows, adapters, plugins, providers, channels — use the matching `create-<thing>` skill.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add agentfront/frontmcp/create-tool@sha256:9e1437cde29d7db9

The line at the top of this page pins the label git:20261011.3484b44, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_2hfvcdkowdbpu4rw.svg)](https://markdownregistry.com/a/art_2hfvcdkowdbpu4rw)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 6 versions of this file, between May 31, 2026 and Oct 11, 2026, about one every 26 days.

versioncommittedcommitsizeaudit
git:20261011.3484b44 latest2026-10-11 3484b44 27,709 BA view · diff
git:20261006.f37bdf92026-10-06 f37bdf9 27,720 BA view · diff
git:20261005.84ff37a2026-10-05 84ff37a 27,720 BA view · diff
git:20260930.43cae052026-09-30 43cae05 27,716 BA view · diff
git:20260926.4dc73592026-09-26 4dc7359 27,787 BA view · diff
git:20260531.ca10ffe2026-05-31 ca10ffe 27,771 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (27709 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

agentfront/frontmcp · 148 stars · license Apache-2.0 · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_2hfvcdkowdbpu4rw
GET https://markdownregistry.com/api/v1/resolve?ref=agentfront/frontmcp/create-tool
GET https://markdownregistry.com/api/v1/blob/9e1437cde29d7db97d62ac89ad658d2e9e1a31ace2b2b803077a03f78c1bebdd

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from agentfront/frontmcp

AGENTS.md AGENTS.md file
agentfront/frontmcp · AGENTS.md
git:20260324.7e28044 · audit A · 148 stars
CLAUDE.md CLAUDE.md file
agentfront/frontmcp · CLAUDE.md
git:20261012.07f7c5f · audit A · 148 stars
docs-skill SKILL.md skill
agentfront/frontmcp · apps/e2e/demo-e2e-skills/src/apps/skills/skills/docs-skill/SKILL.md · A fixture skill with references and examples for E2E testing.
git:20260505.c6e8122 · audit A · 148 stars
CLAUDE.md@libs/plugins CLAUDE.md file
agentfront/frontmcp · libs/plugins/CLAUDE.md
git:20260106.b334103 · audit A · 148 stars
caller-relative-skill SKILL.md skill
agentfront/frontmcp · libs/sdk/src/skill/__tests__/fixtures/caller-relative-skill/SKILL.md · A skill loaded by a path relative to the file that loads it
git:20261011.030ca57 · audit B · 148 stars
frontmcp-auth-ui SKILL.md skill
agentfront/frontmcp · libs/skills/catalog/frontmcp-auth-ui/SKILL.md · Use when customizing, branding, or replacing the built-in FrontMCP OAuth pages (the login, consent, federated-select…
git:20261011.3484b44 · audit B · 148 stars
frontmcp-authorities SKILL.md skill
agentfront/frontmcp · libs/skills/catalog/frontmcp-authorities/SKILL.md · Use when implementing authorization and access control for FrontMCP tools, resources, prompts, or skills, deciding who…
git:20261011.3484b44 · audit A · 148 stars
frontmcp-channels SKILL.md skill
agentfront/frontmcp · libs/skills/catalog/frontmcp-channels/SKILL.md · Use when pushing real-time notifications or events into Claude Code (or another MCP client) sessions, or building…
git:20261007.3a34fab · audit A · 148 stars
frontmcp-config SKILL.md skill
agentfront/frontmcp · libs/skills/catalog/frontmcp-config/SKILL.md · Use when configuring a FrontMCP server through frontmcp.config or the @FrontMcp options. Covers auth modes (public…
git:20261011.3484b44 · audit A · 148 stars
frontmcp-deployment SKILL.md skill
agentfront/frontmcp · libs/skills/catalog/frontmcp-deployment/SKILL.md · Use when deploying, building for production, packaging, or shipping a FrontMCP server. Covers build targets (node, cli…
git:20261012.f800a12 · audit A · 148 stars
frontmcp-development SKILL.md skill
agentfront/frontmcp · libs/skills/catalog/frontmcp-development/SKILL.md · Use when building any FrontMCP server component other than a tool (for tools, use create-tool). Covers @Resource static…
git:20261011.3484b44 · audit A · 148 stars
frontmcp-extensibility SKILL.md skill
agentfront/frontmcp · libs/skills/catalog/frontmcp-extensibility/SKILL.md · Use when extending FrontMCP beyond the core SDK by integrating external npm packages, libraries, or third-party…
git:20261011.3484b44 · audit A · 148 stars

Every file in agentfront/frontmcp

Browse by kind, by grade A, or by owner.