{"skill":{"slug":"skill-exporter","displayName":"Skill Exporter","summary":"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.","description":"---\nname: skill-exporter\ndescription: 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.\nlicense: MIT\ncompatibility: Requires python3. Works with any AgentSkills-compatible agent.\nmetadata:\n  author: MacStenk\n  version: \"1.0.0\"\n  clawdbot:\n    emoji: \"📦\"\n    requires:\n      bins:\n        - python3\n---\n\n# Skill Exporter\n\nTransform Clawdbot skills into standalone, deployable microservices.\n\n## Workflow\n\n```\nClawdbot Skill (tested & working)\n         ↓\n    skill-exporter\n         ↓\nStandalone Microservice\n         ↓\nRailway / Fly.io / Docker\n```\n\n## Usage\n\n### Export a skill\n\n```bash\npython3 {baseDir}/scripts/export.py \\\n  --skill ~/.clawdbot/skills/instagram \\\n  --target railway \\\n  --llm anthropic \\\n  --output ~/projects/instagram-service\n```\n\n### Options\n\n| Flag | Description | Default |\n|------|-------------|---------|\n| `--skill` | Path to skill directory | required |\n| `--target` | Deployment target: `railway`, `fly`, `docker` | `docker` |\n| `--llm` | LLM provider: `anthropic`, `openai`, `none` | `none` |\n| `--output` | Output directory | `./<skill-name>-service` |\n| `--port` | API port | `8000` |\n\n### Targets\n\n**railway** — Generates `railway.json`, optimized Dockerfile, health checks\n**fly** — Generates `fly.toml`, multi-region ready\n**docker** — Generic Dockerfile, docker-compose.yml\n\n### LLM Integration\n\nWhen `--llm` is set, generates `llm_client.py` with:\n- Caption/prompt generation\n- Decision making helpers\n- Rate limiting and error handling\n\n## What Gets Generated\n\n```\n<skill>-service/\n├── Dockerfile\n├── docker-compose.yml\n├── api.py              # FastAPI wrapper\n├── llm_client.py       # If --llm specified\n├── requirements.txt\n├── .env.example\n├── railway.json        # If --target railway\n├── fly.toml            # If --target fly\n└── scripts/            # Copied from original skill\n    └── *.py\n```\n\n## Requirements\n\nThe source skill must have:\n- `SKILL.md` with valid frontmatter\n- At least one script in `scripts/`\n- Scripts should be callable (functions, not just inline code)\n\n## Post-Export\n\n1. Copy `.env.example` to `.env` and fill in secrets\n2. Test locally: `docker-compose up`\n3. Deploy: `railway up` or `fly deploy`\n","topics":["Deployment","Deploy"],"tags":{"api":"1.0.0","automation":"1.0.0","deploy":"1.0.0","docker":"1.0.0","export":"1.0.0","fastapi":"1.0.0","flyio":"1.0.0","latest":"1.0.0","microservice":"1.0.0","railway":"1.0.0","standalone":"1.0.0"},"stats":{"comments":0,"downloads":2256,"installsAllTime":85,"installsCurrent":3,"stars":1,"versions":1},"createdAt":1769848502212,"updatedAt":1778485878349},"latestVersion":{"version":"1.0.0","createdAt":1769848502212,"changelog":"Initial release of skill-exporter: easily convert Clawdbot skills into deployable microservices.\n\n- Export any Clawdbot skill as a standalone FastAPI microservice, ready for Docker, Railway, or Fly.io deployment.\n- Automatically generates Dockerfile, deployment configs, FastAPI wrapper, requirements.txt, and environment files.\n- Optional LLM client integration (Anthropic/OpenAI) for adding automated captioning or decision logic.\n- Supports custom export options: target platform, API port, and output directory.\n- Ensures compatibility by requiring SKILL.md frontmatter and callable skill scripts.","license":null},"metadata":{"setup":[],"os":null,"systems":null},"owner":{"handle":"macstenk","userId":"s17bmxvmm7qvxg7c9qtngmncy588447g","displayName":"MacStenk","image":"https://avatars.githubusercontent.com/u/147175134?v=4"},"moderation":null}