add-tool-from-cli-command

Generate tool.json and main.py to wrap CLI binaries as Pixie tools.

6|1|Updated May 17, 2026
One-click install
npx skills add https://github.com/AlexKapadia/Pixie --skill add-tool-from-cli-command
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-tool-from-cli-command
Source: https://github.com/AlexKapadia/Pixie/tree/main/.claude/skills/add-tool-from-cli-command
Command: npx skills add https://github.com/AlexKapadia/Pixie --skill add-tool-from-cli-command

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually wrapping a CLI into a tool dashboard is error-prone and time-consuming. This skill automates creating a tool.json and a deterministic main.py to run the CLI from Pixie's UI.

Core Features & Use Cases

  • Automatic tool.json generation from CLI flags and a per-invocation, isolated execution environment
  • Deterministic main.py to run the CLI inside a per-invocation temporary directory
  • End-to-end validation of the tool workflow, ensuring successful tool creation and operation
  • Enforces non-interactive execution and strict timeout handling across supported CLIs

Quick Start

Provide the CLI name and required arguments, and Pixie will scaffold and validate the tool.

Frequently Asked Questions about add-tool-from-cli-command

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

FAQPage Schema
How do I wrap a CLI binary like ffmpeg or yt-dlp as a tool with structured inputs?

Wrapping a CLI binary as a tool involves generating a tool.json from declared flags and a deterministic main.py. This automates scaffolding so non-Python CLIs can be driven from a UI with structured inputs.

What's the best way to automate running non-interactive shell commands from a dashboard?

Automating non-interactive shell commands requires generating a deterministic main.py that runs the CLI inside a per-invocation temporary directory. This approach enforces strict timeout handling and validates the end-to-end workflow.

Do I need to install CLI tools on PATH before wrapping them as automation tools?

Yes, wrapping a CLI tool requires the binary to be installed on PATH beforehand. The tool must support non-interactive operation to run successfully inside the isolated per-invocation execution environment.

How does tool.json generation from CLI flags work for command-line automation?

Tool.json generation extracts declared flags from a CLI to define structured inputs. A deterministic main.py is then created to execute the command inside a temporary directory, ensuring reliable automation.

Can I use pandoc or imagemagick with Pixie UI by wrapping their CLI commands?

Yes, you can wrap non-Python CLIs like pandoc or imagemagick by declaring their flags. The process generates a validated tool.json and main.py, enabling them to be driven from Pixie's UI.

Why does my wrapped CLI tool fail during end-to-end validation in a temporary directory?

Wrapped CLI tool validation fails if the binary lacks PATH installation or requires interactive input. The tool enforces non-interactive execution and strict timeout handling inside a per-invocation temporary directory.