mofa-org/mofa-skills/mofa-publish

Claude Code and agent skill by mofa-org/mofa-skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Deploy static sites to GitHub Pages or Mac Mini hosting. Triggers: mofa publish, deploy site, publish website, 发布网站, 部署网页, github pages, deploy to mini, host website, 上线, push to pages, mofa deploy, 发布到GitHub.

Install

npx vskill@latest install mofa-org/mofa-skills/mofa-publish

SKILL.md

mofa-publish

Deploys a built static site to GitHub Pages or Mac Mini local hosting. Handles the full workflow: repo creation, branch setup, Pages configuration, file transfer, and verification.

Use the bundled helper for deterministic deployments:

bash
bash mofa-publish/scripts/publish_site.sh \
--site-dir ./docs \
--target github-pages \
--slug 3b1b-calculus \
--repo ymote/3b1b-calculus

Targets at a glance

TargetInvocationURL shape
github-pages--target github-pages --slug <name> --repo <owner>/<name>https://<owner>.github.io/<repo-name>/
mini`--target mini --slug <name> --mini-host mini1\mini3`https://crew.ominix.io/sites/<slug>/

For GitHub Pages, the public path is derived from the repo name (not slug) — set slug to match the repo basename unless you have a reason not to. Mini deploys land under the Caddy file_server root and need no proxy config for static sites.

When to consult docs/

The skill ships with deeper references under docs/ — read them on demand:

  • docs/github-pages.md — full GitHub Pages workflow, setup_ci workflow YAML, onboarding checks.
  • docs/mini.md — Mac Mini steps, all SSH flags (--ssh-key, --ssh-password-env, --ssh-port, --remote-root), host table, troubleshooting.
  • docs/dynamic-apps.md — reverse-proxy shape for dynamic Node apps on Mini, basePath requirements, launchd notes.
  • docs/site-detection.md — pipeline stages, auto-detected output dirs (Quarto/Astro/Next/plain), composability with mofa-site, dual-deploy pattern.

Common pitfalls

  • This skill deploys; it does not generate sites. For site creation use mofa_site.
  • The slug and the GitHub repo name are not interchangeable — the public URL uses the repo name.
  • scp -r <site_dir>/. (trailing /.) is intentional so dotfiles like .nojekyll are not skipped.
  • If the Mini site is a dynamic app (not a static export), the default file_server path will not work — see docs/dynamic-apps.md.

Security

  • GitHub auth uses the gh CLI (reads ~/.config/gh/hosts.yml).
  • Mac Mini SSH credentials come from crew profiles, not hardcoded values.
  • No secrets are stored in pipeline files.

Bundled Assets

  • scripts/publish_site.sh — deterministic publish helper.
  • examples/Caddyfile.proxy.example — sample reverse-proxy Caddyfile.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
12
Repository forks
14
7-day trend score
18

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/mofa-org/mofa-skills/mofa-publish/badge)](https://verified-skill.com/skills/mofa-org/mofa-skills/mofa-publish)

Something wrong with this skill or its page? Tell us.