Use the Genie Hub CLI
Install the public npm package, then use your own Genie Hub identity credential for the target environment.…
Install the public npm package, then use your own Genie Hub identity credential for the target environment.
Install from npm
Use Node.js 24 and install the compiled public package globally.
npm install --global @yqnus/genie-hub-cli
genie-hub --helpCLI source access is governed in the private yunquna/genie-hub-cli repository. The public npm package contains compiled CLI output only.
Authenticate with a PAT
Desktop with a local browser
Use interactive OIDC authorization when the CLI can open a browser on the same computer.
genie-hub auth init dev
genie-hub auth check dev
genie-hub auth init pro
genie-hub auth check proRemote server device mode
Use explicit Device Flow when the CLI runs on a remote server or terminal-only host.
genie-hub auth init dev --device
genie-hub auth check dev
genie-hub auth init pro --device
genie-hub auth check proThe remote terminal prints a URL and confirmation code to complete in a browser on another device. The final PAT is stored only in ~/.yqnus/.env on the server. Do not paste PAT values into content, logs, screenshots, or Store packages.
Connect an MCP client
genie-hub mcp stdio --env dev
genie-hub mcp stdio --env proThe local stdio bridge forwards MCP tool discovery and calls to the selected Genie Hub service. It exits with the client session and does not start a daemon.
Validate, draft, and publish
genie-hub v ./content.md
genie-hub d ./content.md --env dev
genie-hub pub ./skill-dir --env dev --idempotency-key local-skill-release-0001Keep the same idempotency key when retrying the same failed release issuance attempt.
Install a Skill
genie-hub skills list --env dev
genie-hub skills install skill-id --env dev --to ~/.agents/skills
genie-hub skills install genie-publish --version 1.0.0 --env dev --to ~/.agents/skillsThe installer verifies the indexed SHA-256 digest and rejects unsafe ZIP paths before writing the Skill.
Service boundaries
/api/v1is the public versioned REST surface./mcpis the bearer-only Streamable HTTP MCP surface./cms-apiis the internal Payload REST surface, not an agent integration path.
OIDC handles interactive identity setup. Normal agent calls use the caller's own PAT or OAuth bearer credential.
Troubleshooting
- Command not found: confirm the npm global bin directory is on PATH.
- PAT missing: rerun
genie-hub auth init devand thenauth check. - Skill install requires a directory: include
--to ~/.agents/skills. - Package unavailable: verify the Store item has a published release before retrying.