skill-to-fc

Convert SKILL.md script-backed skills into Function Router artifacts for OpenAI function calling.

29|4|Updated May 18, 2026
One-click install
npx skills add https://github.com/MooreThreads/MTClaw --skill skill-to-fc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-to-fc
Source: https://github.com/MooreThreads/MTClaw/tree/main/skills/skill-to-fc
Command: npx skills add https://github.com/MooreThreads/MTClaw --skill skill-to-fc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Convert a script-backed skill’s SKILL.md and related scripts into Function Router runtime artifacts, enabling easy exposure as an OpenAI function with a shell wrapper.

Core Features & Use Cases

  • Generate a Function Router function definition (functions.jsonl) from a target skill's SKILL.md.
  • Produce a matching shell wrapper at scripts/<function_name>.sh and install artifacts into the runtime.
  • Validate and install artifacts with the helper script, ensuring safe upgrades and rollbacks.

Quick Start

Run the converter on your skill to produce FC artifacts, then install them with the helper script.

Frequently Asked Questions about skill-to-fc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a script-backed skill into an OpenAI function for calling?

To convert a script-backed skill for OpenAI function calling, this tool parses your SKILL.md and scripts to generate a Function Router function schema and a matching shell wrapper. It outputs runtime artifacts that expose your existing scripts through the FC interface.

What is a Function Router runtime artifact and when do I need one?

A Function Router runtime artifact is a function definition and shell wrapper that enables OpenAI function calling. You need one when exposing a script-backed skill through the FC interface, allowing automated generation of valid function schemas from your SKILL.md.

How do I generate a functions.jsonl schema from an existing SKILL.md?

You generate a functions.jsonl schema by running the converter on your target skill. The tool reads your SKILL.md, enforces JSON Schema contracts and naming rules, and produces the function definition file alongside a shell wrapper for installation.

Does the converter validate JSON Schema contracts before installing runtime artifacts?

Yes, the converter validates JSON Schema contracts and naming conventions before producing artifacts. It ensures only valid function definitions are generated, and the helper script handles safe installation, upgrades, and rollbacks of the runtime artifacts.

Can I use this to expose shell scripts as function calling tools without manual schema writing?

Yes, you can expose shell scripts as function calling tools without manual schema writing. The converter automatically generates the function schema from your SKILL.md and creates a shell wrapper at scripts/<function_name>.sh for the runtime.

What are the limitations when converting skills to Function Router artifacts?

The conversion is limited to script-backed skills with a valid SKILL.md. It enforces strict naming and JSON Schema contracts, meaning skills with invalid definitions or incompatible script structures cannot be converted into valid Function Router runtime artifacts.