mikehasa/golive-skill / skills/golive
golive
FlaggedTake an agent-written app from repo to live production on the user's OWN accounts, with providers they choose (hosting, database, auth, payments, email, domain/DNS). The human connects accounts and approves changes; supported wiring operations run through a local CLI and produce verification evidence with explicit limits. Use when the user wants to ship, deploy, go live, launch, publish, or put their app online, or asks to wire up env vars, webhooks, auth settings (signup, email confirmation, password policy), a real signup → confirmation email → login journey, password recovery, account isolation between two users, auth redirects, email DNS or a custom domain.
| File | Kind | Size |
|---|---|---|
| LICENSE | other | 1.0 KB |
| SKILL.md | skill md | 50.0 KB |
| THIRD_PARTY_NOTICES.md | markdown | 817 B |
| references/cloudflare-dns.md | markdown | 7.9 KB |
| references/godaddy.md | markdown | 3.9 KB |
| references/guided.md | markdown | 9.2 KB |
| references/neon.md | markdown | 4.4 KB |
| references/netlify.md | markdown | 6.9 KB |
| references/plan-and-verify.md | markdown | 47.4 KB |
| references/porkbun.md | markdown | 3.4 KB |
| references/posthog.md | markdown | 10.2 KB |
| references/resend.md | markdown | 8.6 KB |
| references/sentry.md | markdown | 10.7 KB |
| references/stripe.md | markdown | 13.1 KB |
| references/supabase.md | markdown | 49.7 KB |
| references/troubleshooting.md | markdown | 5.2 KB |
| references/updates.md | markdown | 5.0 KB |
| references/uptimerobot.md | markdown | 12.3 KB |
| references/vercel.md | markdown | 13.2 KB |
| release.json | config | 2.4 KB |
| scripts/golive.mjs | script | 1.2 MB |
| scripts/install-cli.mjs | script | 5.0 KB |
| scripts/install-lib.mjs | script | 24.4 KB |
scripts/install-cli.mjs
View on GitHub#!/usr/bin/env node
import { realpathSync } from 'node:fs';
import { homedir } from 'node:os';
import { dirname, join, resolve } from 'node:path';
import { fileURLToPath, pathToFileURL } from 'node:url';
import { PRODUCT, changeInstallation, installLocation, installationStatus, ownedLocationForBundle, recoverLock, rollbackInstallation, setUpdatePolicy } from './install-lib.mjs';
export const COMMANDS = ['install', 'update', 'rollback', 'install-status', 'update-policy', 'recover-lock'];
export const INSTALL_HELP = `${PRODUCT}: manage complete agent skill installations.
${PRODUCT} install --agent codex|claude [--global] [--from BUNDLE] [--ref TAG] [--pin]
${PRODUCT} install-status --agent codex|claude [--global] [--json]
${PRODUCT} update --agent codex|claude [--global] --from BUNDLE | --ref TAG
${PRODUCT} rollback --agent codex|claude [--global]
${PRODUCT} update-policy --agent codex|claude [--global] --auto on|off
${PRODUCT} recover-lock --agent codex|claude [--global]
--agent claude-code is accepted anywhere --agent claude is: the Skills CLI uses that spelling for the
same destination.
Installed owned copies can run scripts/install-cli.mjs without --agent or --global.
Automatic replacement is off by default; enabled copies may run update --auto --between-runs
with an explicit --ref at the start of a new run, never between plan approval and apply.
Pinned copies never auto-update. External manager copies are never changed.
Rollback changes only the local skill bundle, not deployments or user data.
`;
function options(command, argv) {
const result = {}; const bools = ['global', 'pin', 'between-runs', 'json']; const values = ['agent', 'from', 'ref'];
for (let i = 0; i < argv.length; i++) {
const key = argv[i]?.slice(2);
if (!argv[i]?.startsWith('--') || Object.hasOwn(result, key)) throw new Error('Invalid or duplicate installation option.');
if (bools.includes(key)) result[key] = true;
else if (values.includes(key) || (key === 'auto' && command === 'update-policy')) {
if (!argv[i + 1] || argv[i + 1].startsWith('--')) throw new Error('Installation option requires a value.');
result[key] = argv[++i];
} else if (key === 'auto' && command === 'update') result.auto = true;
else throw new Error('Unknown installation option.');
}
const allowed = { install: ['agent', 'global', 'from', 'ref', 'pin', 'json'], update: ['agent', 'global', 'from', 'ref', 'auto', 'between-runs', 'json'], rollback: ['agent', 'global', 'json'], 'install-status': ['agent', 'global', 'json'], 'update-policy': ['agent', 'global', 'auto', 'json'], 'recover-lock': ['agent', 'global', 'json'] };
if (Object.keys(result).some((key) => !allowed[command]?.includes(key))) throw new Error('Option is not valid for this installation command.');
return result;
}
export async function manage(argv, { cwd = process.cwd(), home = homedir(), bundleRoot = resolve(dirname(fileURLToPath(import.meta.url)), '..'), write = (line) => process.stdout.write(line + '\n'), smoke, fetcher, hook } = {}) {
const command = argv[0];
if (!COMMANDS.includes(command)) throw new Error('Unknown installation command.');
if (argv.length === 2 && ['--help', '-h'].includes(argv[1])) { write(INSTALL_HELP); return 0; }
const opts = options(command, argv.slice(1));
const implicit = !opts.agent && !opts.global ? (ownedLocationForBundle(bundleRoot) ?? (command === 'install' ? null : bundleRoot)) : null;
const destination = implicit ?? installLocation({ cwd, home, agent: opts.agent, global: opts.global });
let result;
const candidates = ['codex', 'claude'].flatMap((agent) => [false, true].map((global) => installLocation({ cwd, home, agent, global })));
if (command === 'install-status') result = installationStatus(destination, { global: opts.global, candidates });
else if (command === 'update-policy') { if (!['on', 'off'].includes(opts.auto)) throw new Error('Choose --auto on or --auto off.'); result = await setUpdatePolicy(destination, opts.auto === 'on'); }
else if (command === 'recover-lock') result = recoverLock(destination);
else if (command === 'rollback') result = await rollbackInstallation(destination, { smoke, hook });
else {
const source = opts.from ? resolve(cwd, opts.from) : command === 'install' && !opts.ref ? bundleRoot : undefined;
result = await changeInstallation({ destination, source, ref: opts.ref, install: command === 'install', pin: opts.pin, auto: opts.auto, betweenRuns: opts['between-runs'], smoke, fetcher, hook });
}
write(JSON.stringify(result, null, opts.json ? undefined : 2)); return 0;
}
let direct = false;
try { direct = Boolean(process.argv[1]) && pathToFileURL(realpathSync(process.argv[1])).href === import.meta.url; } catch { /* imported */ }
if (direct) manage(process.argv.slice(2)).then((code) => { process.exitCode = code; }).catch(() => { process.stderr.write(`${PRODUCT}: installation command failed; verify the command, ownership, release bundle and lock status. No provider operation was performed.\n`); process.exitCode = 1; });
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |