---
name: skill-exporter
description: 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.
license: MIT
compatibility: Requires python3. Works with any AgentSkills-compatible agent.
metadata:
author: MacStenk
version: "1.0.0"
clawdbot:
emoji: "š¦"
requires:
bins:
- python3
---
# Skill Exporter
Transform Clawdbot skills into standalone, deployable microservices.
## Workflow
```
Clawdbot Skill (tested & working)
ā
skill-exporter
ā
Standalone Microservice
ā
Railway / Fly.io / Docker
```
## Usage
### Export a skill
```bash
python3 {baseDir}/scripts/export.py \
--skill ~/.clawdbot/skills/instagram \
--target railway \
--llm anthropic \
--output ~/projects/instagram-service
```
### Options
| Flag | Description | Default |
|------|-------------|---------|
| `--skill` | Path to skill directory | required |
| `--target` | Deployment target: `railway`, `fly`, `docker` | `docker` |
| `--llm` | LLM provider: `anthropic`, `openai`, `none` | `none` |
| `--output` | Output directory | `./<skill-name>-service` |
| `--port` | API port | `8000` |
### Targets
**railway** ā Generates `railway.json`, optimized Dockerfile, health checks
**fly** ā Generates `fly.toml`, multi-region ready
**docker** ā Generic Dockerfile, docker-compose.yml
### LLM Integration
When `--llm` is set, generates `llm_client.py` with:
- Caption/prompt generation
- Decision making helpers
- Rate limiting and error handling
## What Gets Generated
```
<skill>-service/
āāā Dockerfile
āāā docker-compose.yml
āāā api.py # FastAPI wrapper
āāā llm_client.py # If --llm specified
āāā requirements.txt
āāā .env.example
āāā railway.json # If --target railway
āāā fly.toml # If --target fly
āāā scripts/ # Copied from original skill
āāā *.py
```
## Requirements
The source skill must have:
- `SKILL.md` with valid frontmatter
- At least one script in `scripts/`
- Scripts should be callable (functions, not just inline code)
## Post-Export
1. Copy `.env.example` to `.env` and fill in secrets
2. Test locally: `docker-compose up`
3. Deploy: `railway up` or `fly deploy`AI advertising agents that automates ad campaigns across Google Ads, Meta Ads, LinkedIn Ads, and TikTok Ads. Creates campaigns, reads live performance data, researches keywords with real CPC data, optimizes budgets, and manages ads through natural language via the Adspirer MCP server. 103 tools across 4 ad platforms.
Self-orchestrating multi-agent development workflows.
Complete guide for creating and deploying browser automation functions
Comprehensive guide for building AI workflows, agents