ls-compile-cli

Compile MCP server schemas or SKILL.md definitions into runnable CLI commands.

Updated Aug 5, 2026
One-click install
npx skills add https://github.com/ahostbr/liteharness --skill ls-compile-cli
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ls-compile-cli
Source: https://github.com/ahostbr/liteharness/tree/main/liteharness/catalog/skills/ls-compile-cli
Command: npx skills add https://github.com/ahostbr/liteharness --skill ls-compile-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires litecli-compiler.

What problem does it solve?

It solves the problem of turning an MCP server or an existing SKILL.md skill into a standalone, runnable command-line interface so users can operate without relying on a live AI runtime or MCP connection.

Core Features & Use Cases

  • Compile MCP backends into Click CLIs: Register an MCP server, discover its tools, and convert tool schemas into deterministic CLI commands.
  • Compile SKILL.md into just-bash or legacy Python CLIs: Transform the skill’s steps and API endpoints into executable commands, with a TypeScript default output for the just-bash runtime.
  • Batch compilation and selective skipping: Compile multiple skills from a directory while automatically skipping skills that lack endpoints or are marked un-compilable.

Use case: you have a tool-backed workflow exposed via MCP (or a skill catalog defined by SKILL.md) and you want a single set of CLI commands that can be run locally or in CI with repeatable parameters.

Quick Start

Compile a skill into a standalone CLI by asking: "Compile this SKILL.md into a runnable CLI using LiteCLI."

Frequently Asked Questions about ls-compile-cli

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

FAQPage Schema
How do I convert an MCP server into a standalone CLI?▼

To convert an MCP server into a standalone CLI, register the server with LiteCLI to discover its tool schemas, then compile those schemas into deterministic, runnable command-line commands for local execution without requiring a live AI runtime.

Can I compile a SKILL.md file into a TypeScript CLI?▼

Yes, you can compile a SKILL.md skill definition into a TypeScript CLI compatible with the just-bash runtime, which transforms the skill's steps and API endpoints into executable commands with repeatable parameters.

Do I need LiteCLI to generate command-line tools from MCP schemas?▼

Yes, LiteCLI is a required dependency used to register and discover MCP tools and SKILL.md endpoints before compiling them into standalone command-line commands and optionally registering them to a compiled backend.

What is the best way to batch compile multiple skills into CLIs?▼

The best way to batch compile multiple skills is to target a directory, which automatically compiles valid definitions while skipping skills that lack API endpoints or are explicitly marked as un-compilable.

Does compiling MCP tools into a CLI support Python Click?▼

Yes, compiling MCP tool schemas or SKILL.md definitions into a CLI supports a legacy Python Click output format, alongside the default TypeScript output designed for the just-bash environment bridge.

Why are some skills skipped during batch CLI compilation?▼

Skills are automatically skipped during batch CLI compilation if the skill definition lacks API endpoints or if the skill is explicitly marked as un-compilable in its metadata.