{"version":"1.0","workflow_uuid":"cf58cb67-7631-11f1-9bc6-00163e2b0d79","workflow_title":"Sub2API — Unified Relay for Multiple AI Subscription Endpoints","recommended_install":{"schema_version":1,"status":"confirm","policy":"confirm","install_mode":"single","target":"codex","command":"npx -y tokrepo@latest install cf58cb67-7631-11f1-9bc6-00163e2b0d79 --target codex","dry_run_command":"npx -y tokrepo@latest install cf58cb67-7631-11f1-9bc6-00163e2b0d79 --target codex --dry-run --json","runtime_commands":{"codex":"npx -y tokrepo@latest install cf58cb67-7631-11f1-9bc6-00163e2b0d79 --target codex","gemini":"npx -y tokrepo@latest install cf58cb67-7631-11f1-9bc6-00163e2b0d79 --target gemini","project":"npx -y tokrepo@latest install cf58cb67-7631-11f1-9bc6-00163e2b0d79"},"prompt":"Install and make this TokRepo asset usable: \"Sub2API — Unified Relay for Multiple AI Subscription Endpoints\".\n\nPage: https://tokrepo.com/en/workflows/asset-cf58cb67\nUUID: cf58cb67-7631-11f1-9bc6-00163e2b0d79\nTarget adapter: codex\nPolicy/mode: confirm / single\n\nRead these machine-facing entry points first:\n- metadata: https://tokrepo.com/metadata/asset-cf58cb67.json\n- install contract: https://tokrepo.com/install-contract/asset-cf58cb67.json\n- install plan: https://api.tokrepo.com/api/v1/tokenboard/workflows/install-plan?uuid=cf58cb67-7631-11f1-9bc6-00163e2b0d79&target=codex\n- raw content: https://tokrepo.com/raw/asset-cf58cb67\n\nCommands:\n- choose the current runtime; do not use unsupported CLI targets.\n- Codex: npx -y tokrepo@latest install cf58cb67-7631-11f1-9bc6-00163e2b0d79 --target codex\n- Gemini CLI: npx -y tokrepo@latest install cf58cb67-7631-11f1-9bc6-00163e2b0d79 --target gemini\n- Claude Code / project agent: run npx -y tokrepo@latest install cf58cb67-7631-11f1-9bc6-00163e2b0d79 from the project root; add `--dry-run --json` first to inspect the plan.\n- add `--dry-run --json` to the chosen command first; after the plan allows it, run the chosen command.\n\nExecution rules:\n1. Run the dry-run command first to inspect writes, risks, and rollback.\n2. Confirm with the user which files or global config will change.\n3. After confirmation, run the install command and verify post_verify.\n\nReport back with changed files, verification result, and how to use the asset next.","next_steps":["Run the dry-run command first to inspect writes, risks, and rollback.","Confirm with the user which files or global config will change.","After confirmation, run the install command and verify post_verify."],"success_check":["The user confirmed the risk envelope.","The asset is installed or staged with rollback evidence."]},"install_contract":{"version":"1.0","installReady":false,"title":"Sub2API — Unified Relay for Multiple AI Subscription Endpoints","summary":"An open-source relay platform that unifies Claude, OpenAI, Gemini, and other AI subscriptions into a single API endpoint with account sharing support.","assetType":"Scripts","pageUrl":"https://tokrepo.com/en/workflows/asset-cf58cb67","sourceUrl":"https://github.com/Wei-Shaw/sub2api.git","intendedFor":[],"firstActions":[],"agentFirstSteps":[],"targetPaths":[],"verification":[],"startingPoints":[],"example":"","successOutcome":"","boundaries":[],"askUserIf":["the current workspace stack cannot be matched to a safe upstream template","the target path is not the project root, or an existing file should be merged instead of overwritten"]}}