skill-exporter
Export Clawdbot skills as standalone, deployable microservices. Use when you want to dockerize a skill, deploy it to Railway or Fly.io, or create an independent API service. Generates Dockerfile, FastAPI wrapper, requirements.txt, deployment configs, and optional LLM client integration.
Why use this skill?
Easily convert Clawdbot skills into deployable FastAPI microservices with built-in Docker, Railway, and Fly.io support using skill-exporter.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/macstenk/skill-exporterWhat This Skill Does
The skill-exporter is a powerful DevOps-oriented utility for the Clawdbot ecosystem, designed to bridge the gap between local prototype skills and production-ready microservices. It automatically inspects your existing Clawdbot skills and refactors them into standalone, containerized FastAPI applications. By handling the boilerplate of Docker configuration, environment variable management, and dependency tracking, it allows developers to move from a local script to a live API service on platforms like Railway or Fly.io in seconds. It is the essential bridge for those looking to deploy agents as independent service layers.
Installation
You can install this skill directly through the OpenClaw management CLI. Ensure your environment has basic Python 3.9+ support and Docker installed, as the exporter requires these to package and validate the generated code structure. Run the following command:
clawhub install openclaw/skills/skills/macstenk/skill-exporter
Once installed, verify the installation by running python3 {baseDir}/scripts/export.py --help to confirm the interface is correctly registered in your path.
Use Cases
- Production API Exposure: Convert a private automation script into a public-facing API endpoint for your team or external applications.
- Deployment Automation: Rapidly bridge local development to cloud infrastructure using Railway or Fly.io without writing Dockerfiles from scratch.
- LLM-Enhanced Agents: Build advanced, reasoning-capable agents by injecting native LLM support for decision-making and dynamic prompt handling directly into your microservice architecture.
- Scalable Infrastructure: Dockerize your skills to run them in isolated containers, ensuring consistent dependency environments across development, staging, and production environments.
Example Prompts
- "Export my instagram-automation skill to a Railway-compatible microservice with Anthropic LLM support enabled."
- "Convert the data-scraping skill into a Docker container and set the API port to 9000."
- "Package my current Clawdbot script for Fly.io deployment and include the boilerplate for the llm_client integration."
Tips & Limitations
- Structure Matters: The exporter relies on your source skill having a structured
scripts/directory. Ensure your logic is encapsulated in functions rather than top-level script execution to ensure the FastAPI wrapper can import your code cleanly. - Environment Secrets: The exporter generates a
.env.examplefile. Never push your actual.envfile to version control; always treat your API keys as sensitive secrets and manage them via your cloud provider's dashboard. - Dependency Management: Review the generated
requirements.txtpost-export. If your skill uses complex native libraries, you may need to add specific system-level dependencies to theDockerfilemanually. - Target Support: While the exporter supports generic Docker output, ensure your target cloud provider supports the architecture defined in the generated
Dockerfile.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-macstenk-skill-exporter": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write, code-execution