gemigo-cli
Skill263 starsChanged 35 days agoMITView on GitHub
Use when the user wants to publish an already-built static website or front-end app through GemiGo, such as a Vite/React/Vue static build, plain HTML/CSS/JS page, landing page, demo, docs site, or small browser app, and get a hosted public URL.
- Installs packages
In this repository37 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/code-citation-clickable.mdcCursor rule
- .cursor/rules/commit-message-english.mdcCursor rule
- autonomous-maintainability-campaignSkill
- autonomous-requirement-discoverySkill
- delivering-delegated-linear-issuesSkill
- development-deliverySkill
- development-designSkill
- development-implementationSkill
- development-lifecycleSkill
- development-retrospectiveSkill
- development-reviewSkill
- development-task-understandingSkill
- development-validationSkill
- idea-search-funnelSkill
- nextclaw-agent-instructions-governanceSkill
- nextclaw-product-blog-storytellingSkill
- nextclaw-product-visual-assetsSkill
- x-twitter-birdSkill
- aigen-image-generationSkill
- bb-browserSkill
- browser-controlSkill
- claude-code-narp-runtimeSkill
- clawhub-nextclawSkill
- codex-narp-runtimeSkill
- find-skillsSkill
- impeccableSkill
- lark-cliSkill
- linear-cliSkill
- mmx-cliSkill
- nextclaw-skin-studioSkill
- opencliSkill
- proxy-local-ai-subscriptionsSkill
- publish-to-nextclaw-marketplaceSkill
- skillhub-guideSkill
- superpowersSkill
- ui-ux-pro-maxSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
38 rules. About 0 are common, 26 are distinctive, and 12 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈26
Distinctive · estimate
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Use this skill when the user wants to publish an already-built static website or front-end app through the local gemigo CLI from inside …
- Very specific: line 22
create or fix gemigo.app.json,
- Distinctive: line 23
ask for explicit confirmation before remote write actions,
- Distinctive: line 26
Do not pretend the environment is ready when it is not.
- Distinctive: line 30
Use plain language with the user: this skill helps them put a finished front-end app online.
- Distinctive: line 40
Not a fit unless the project is first converted to static output:
- Distinctive: line 48
If the user says "deploy my app" and gives you source code, first help them build it.
- Very specific: line 61
Do not claim that gemigo can currently:
- Distinctive: line 78
Always distinguish these two layers:
- Distinctive: line 86
If the user wants to actually publish an app, both layers must be ready.
- Distinctive: line 108
When the user asks to publish a static app with GemiGo, follow this order and do not skip steps.
- Very specific: line 116
create, validate, or fix gemigo.app.json,
- Distinctive: line 120
If the user gives you a source repository instead of a built output directory, treat the build step as separate preparation work before …
- Distinctive: line 130
If missing, explain that the local CLI must be installed first:
- Distinctive: line 136
Only after the binary exists should you continue to auth or deploy steps.
- Very specific: line 163
Do not continue to deploy if whoami is not healthy.
- Distinctive: line 191
if origin changes, the user must log in again for that origin.
- Very specific: line 199
Only a successful whoami counts as readiness.
- Distinctive: line 217
If the user only gave you source code:
- Distinctive: line 220
run the real build
- Distinctive: line 224
Do not deploy the repo root just because it is the most obvious path.
- Very specific: line 228
Create the manifest in the project root or pass a custom path with --config.
- Very specific: line 237
Use gemigo init instead of hand-writing the manifest from memory when the local CLI supports it.
- Distinctive: line 279
If the manifest is incomplete or invalid, fix it before deploy instead of letting the user hit a later failure.
- Distinctive: line 288
Before running deploy, make sure the user explicitly wants to proceed.
- Distinctive: line 317
After success, surface the deployment result clearly:
- Distinctive: line 323
Do not stop at "command exited successfully" if the CLI output already reveals the public URL.
- Distinctive: line 327
If the user gives you source code only:
- Very specific: line 333
run gemigo init or fix the existing gemigo.app.json
- Distinctive: line 336
ask for deploy confirmation
- Distinctive: line 340
If the user already gives you a built directory:
- Distinctive: line 351
Keep read actions and write actions distinct.
- Distinctive: line 355
Do not hide missing login, origin mismatch, or invalid static directory errors.
- Very specific: line 356
Do not repeatedly retry gemigo deploy to discover manifest fields.
- Distinctive: line 357
Do not claim that a source repo root is deployable unless it is actually the built output directory.
- Distinctive: line 358
Prefer the hosted schema URL in manifests.
- Very specific: line 359
If the user is using a non-default environment, keep --origin or GEMIGO_ORIGIN explicit through the whole flow.
- Very specific: line 399
Run login again, then re-check with whoami.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GemiGo CLI
Overview
Use this skill when the user wants to publish an already-built static website or front-end app through the local gemigo CLI from inside NextClaw, then get a hosted public URL.
This skill is intentionally decoupled:
- The skill owns explanation, onboarding, readiness checks, workflow selection, risk disclosure, and success verification.
- The
gemigoCLI owns the actual login and deployment calls to GemiGo.
From the user's point of view, the experience should feel complete:
- install or verify the local CLI,
- confirm login state against the intended origin,
- validate that the target is a built static output directory,
- create or fix
gemigo.app.json, - ask for explicit confirmation before remote write actions,
- then deploy and report the resulting hosted URL.
Do not pretend the environment is ready when it is not.
What Users Can Deploy
Use plain language with the user: this skill helps them put a finished front-end app online.
Good fits:
- a Vite, React, Vue, Svelte, Astro, or similar front-end app after it has been built into
dist,build,out, or another static output directory - a plain HTML/CSS/JavaScript page or mini app
- a landing page, portfolio page, product demo, prototype, docs site, or static dashboard
- a small browser-only tool that does not need its own server process
- a zipped or generated static folder that contains
index.html
Not a fit unless the project is first converted to static output:
- a raw source repository root
- a Node/Express/Nest server app
- a Next.js app that still needs server-side rendering at runtime
- a backend API, database service, worker service, or long-running process
- anything that requires secrets or server code to run after deployment
If the user says "deploy my app" and gives you source code, first help them build it. Only deploy the generated static output folder.
Current Product Boundary
Current gemigo scope is intentionally narrow:
- generate a complete static-app manifest with
gemigo init - preflight the manifest and static output directory with
gemigo validate - log in with
gemigo login - inspect login state with
gemigo whoami - clear login state with
gemigo logout - publish a prebuilt static site directory with
gemigo deployorgemigo publish
Do not claim that gemigo can currently:
- install project dependencies,
- infer build commands automatically without inspection,
- build the app for the user without running a real build command,
- deploy server-side code,
- or publish a raw source repository root that has not been built.
- infer rich app metadata beyond the explicit
gemigo initdefaults and provided flags.
The safe rule is simple:
- build first,
- validate locally,
- deploy the generated static output second.
Install Boundary: NextClaw Skill vs Local CLI
Always distinguish these two layers:
- NextClaw marketplace skill install:
the selectable skill exists at
<workspace>/skills/gemigo-cli/SKILL.md - Local GemiGo CLI install:
the
gemigobinary exists on the user's machine
Installing this marketplace skill does not automatically install the gemigo binary.
If the user wants to actually publish an app, both layers must be ready.
Default NextClaw workspace:
~/.nextclaw/workspaceTypical installed skill path:
~/.nextclaw/workspace/skills/gemigo-cli/SKILL.mdInstall the local CLI with:
npm install -g gemigoDeterministic Workflow
When the user asks to publish a static app with GemiGo, follow this order and do not skip steps.
Step 0: Classify the request
Classify the task into one of these:
- install or verify
gemigo, - log in or inspect login state,
- create, validate, or fix
gemigo.app.json, - deploy a built static directory,
- troubleshoot a failed deployment.
If the user gives you a source repository instead of a built output directory, treat the build step as separate preparation work before deploy.
Step 1: Verify the local CLI binary
Run:
command -v gemigoIf missing, explain that the local CLI must be installed first:
npm install -g gemigoOnly after the binary exists should you continue to auth or deploy steps.
Step 2: Verify current login state against the intended origin
Default origin:
https://gemigo.ioRun:
gemigo whoami --origin https://gemigo.ioInterpret the result literally:
- success with a user identity: login is ready for that origin
No saved session found: the user has not logged in on this machine yetStored session is for ...: the saved login is for a different originSaved session is no longer valid: the session expired and login must be redone
Do not continue to deploy if whoami is not healthy.
Step 3: Log in when needed
Default login:
gemigo loginProvider-specific login:
gemigo login --provider github
gemigo login --provider googleRemote or no-auto-open flow:
gemigo login --no-browserImportant behavior:
- the CLI may open a browser automatically,
--no-browserprints the login URL instead,- the saved session is origin-specific,
- if origin changes, the user must log in again for that origin.
After login, rerun:
gemigo whoami --origin <origin>Only a successful whoami counts as readiness.
Step 4: Validate the deployment target
The target must be a built static output directory, not the source repo root.
Required shape:
index.htmlexists at the directory root- there is no top-level
package.json
Observable checks:
test -f <dir>/index.html
test ! -f <dir>/package.jsonIf the user only gave you source code:
- detect the framework and build command
- run the real build
- locate the generated output directory such as
dist,build, or another static export folder - validate that output directory before deploy
Do not deploy the repo root just because it is the most obvious path.
Step 5: Create or fix gemigo.app.json
Create the manifest in the project root or pass a custom path with --config.
Preferred path:
gemigo init <dir> --config ./gemigo.app.json --name "My App" --description "A short app description."
gemigo validate <dir> --config ./gemigo.app.jsonUse gemigo init instead of hand-writing the manifest from memory when the local CLI supports it. Use gemigo validate before deploy; do not use gemigo deploy as the first schema checker.
Required fields:
visibilitycategorytagsdefaultLocalelocaleslocales[defaultLocale].namelocales[defaultLocale].description
Useful optional fields:
sourceDirslug- extra locale entries such as
zh-CN
Portable example:
{
"$schema": "https://gemigo.io/schema/gemigo.app.schema.json",
"sourceDir": "./dist",
"slug": "my-static-app",
"visibility": "public",
"category": "Tools",
"tags": ["static", "demo"],
"defaultLocale": "en",
"locales": {
"en": {
"name": "My Static App",
"description": "A static app published to GemiGo."
},
"zh-CN": {
"name": "我的静态应用",
"description": "一个发布到 GemiGo 的静态应用。"
}
}
}If the manifest is incomplete or invalid, fix it before deploy instead of letting the user hit a later failure.
For older local CLI versions that do not support init or validate, fall back to the portable example above, then upgrade the local CLI when possible.
Step 6: Require explicit confirmation before deploy
gemigo deploy is a remote write action.
It may create a project and trigger a hosted deployment on the user's account.
Before running deploy, make sure the user explicitly wants to proceed.
What to confirm:
- which directory will be deployed,
- which origin will be used,
- whether visibility is
publicorprivate, - and that a remote project/deployment will be created or updated.
Step 7: Deploy and report the resulting URL
Explicit directory form:
gemigo deploy <dir> --config ./gemigo.app.jsonManifest-driven form:
gemigo deploy --config ./gemigo.app.jsonAlias:
gemigo publish <dir> --config ./gemigo.app.jsonAfter success, surface the deployment result clearly:
- project slug if present,
- hosted URL or domain if present,
- and any next action the user should take.
Do not stop at "command exited successfully" if the CLI output already reveals the public URL.
Recommended Execution Pattern
If the user gives you source code only:
- inspect the project and identify the build command
- run the build
- locate the built static output directory
- validate the directory shape
- run
gemigo initor fix the existinggemigo.app.json - run
gemigo validate - verify
gemigo whoami - ask for deploy confirmation
- run
gemigo deploy - report the resulting URL
If the user already gives you a built directory:
- validate the directory
- run
gemigo initor fix the existinggemigo.app.json - run
gemigo validate - verify
gemigo whoami - ask for confirmation
- run
gemigo deploy
Safe Execution Rules
- Keep read actions and write actions distinct.
whoamiis safe to run before asking for confirmation.initandvalidateare local preflight actions and should happen before remote deploy confirmation.deployorpublishmust stay behind explicit confirmation.- Do not hide missing login, origin mismatch, or invalid static directory errors.
- Do not repeatedly retry
gemigo deployto discover manifest fields; usegemigo validatefirst and fix all local preflight errors together. - Do not claim that a source repo root is deployable unless it is actually the built output directory.
- Prefer the hosted schema URL in manifests.
- If the user is using a non-default environment, keep
--originorGEMIGO_ORIGINexplicit through the whole flow.
Troubleshooting
gemigo not found
- The local CLI is not installed.
- Install it with:
npm install -g gemigoThen re-check with:
command -v gemigoNo saved session found
- The user is not logged in yet for that machine and origin.
- Run:
gemigo login --origin <origin>Stored session is for ...
- The saved login belongs to another origin.
- Re-run login for the target origin:
gemigo login --origin <origin>Saved session is no longer valid
- The stored session expired or was rejected by the server.
- Run login again, then re-check with
whoami.
Static directory must contain index.html at its root
- The wrong directory was passed.
- Find the actual build output directory and deploy that instead.
Static directory must not contain a top-level package.json
- The user likely passed the source repository root instead of the built output.
- Build first, then point
gemigo deployat the generated static folder.
Success Criteria
This skill is working correctly when:
- the user understands that
gemigopublishes a built static app rather than raw source, - missing local CLI install or missing login is discovered before deploy,
- the deployment target is validated as a real static output directory,
gemigo.app.jsonis complete enough for deploy,- remote write actions happen only after explicit confirmation,
- and the final hosted URL or domain is surfaced back to the user.
Resources
- GemiGo homepage: https://gemigo.io
- GemiGo source repository: https://github.com/Peiiii/deploy-your-app
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

