skills$openclaw/skill-exporter
macstenk6.3kā˜…

by macstenk

skill-exporter – OpenClaw Skill

skill-exporter is an OpenClaw Skills integration for coding workflows. 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.

6.3k stars5.5k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

nameskill-exporter
descriptionExport 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. OpenClaw Skills integration.
ownermacstenk
repositorymacstenk/skill-exporter
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @macstenk/skill-exporter
last updatedFeb 7, 2026

Maintainer

macstenk

macstenk

Maintains skill-exporter in the OpenClaw Skills directory.

View GitHub profile
File Explorer
4 files
.
scripts
export.py
16.3 KB
_meta.json
282 B
SKILL.md
2.4 KB
SKILL.md

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

python3 {baseDir}/scripts/export.py \
  --skill ~/.clawdbot/skills/instagram \
  --target railway \
  --llm anthropic \
  --output ~/projects/instagram-service

Options

FlagDescriptionDefault
--skillPath to skill directoryrequired
--targetDeployment target: railway, fly, dockerdocker
--llmLLM provider: anthropic, openai, nonenone
--outputOutput directory./<skill-name>-service
--portAPI port8000

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
README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

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)

FAQ

How do I install skill-exporter?

Run openclaw add @macstenk/skill-exporter in your terminal. This installs skill-exporter into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/macstenk/skill-exporter. Review commits and README documentation before installing.