Skip to content

Commit 8544ab5

Browse files
committed
Add Codex plugin manifest and setup skill
1 parent 30eef81 commit 8544ab5

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed

.codex-plugin/plugin.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"name": "oc-chatgpt-multi-auth",
3+
"version": "5.4.9",
4+
"description": "Install and operate oc-chatgpt-multi-auth for OpenCode with ChatGPT Plus/Pro OAuth, GPT-5 and Codex model presets, and multi-account failover.",
5+
"skills": "./skills/"
6+
}

skills/oc-chatgpt-setup/SKILL.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
name: oc-chatgpt-setup
3+
description: Install or refresh oc-chatgpt-multi-auth in OpenCode, choose the right config mode, and verify ChatGPT Plus or Pro OAuth login.
4+
---
5+
6+
# oc-chatgpt-setup
7+
8+
Use this skill when the user wants to install, reinstall, upgrade, or troubleshoot `oc-chatgpt-multi-auth` in OpenCode.
9+
10+
## Default install
11+
12+
```bash
13+
npx -y oc-chatgpt-multi-auth@latest
14+
```
15+
16+
Use this when the user wants the full catalog config, including base entries like `gpt-5.4` and preset entries like `gpt-5.4-high`.
17+
18+
## Modern compact install
19+
20+
```bash
21+
npx -y oc-chatgpt-multi-auth@latest --modern
22+
```
23+
24+
Use this on OpenCode `v1.0.210+` when the user wants the compact variant-based config.
25+
26+
## Login and verification
27+
28+
1. Run `opencode auth login`.
29+
2. Run a quick verification request:
30+
31+
```bash
32+
opencode run "Explain this repository" --model=openai/gpt-5.4 --variant=medium
33+
```
34+
35+
3. For a Codex-focused workflow, try:
36+
37+
```bash
38+
opencode run "Refactor the retry logic and update the tests" --model=openai/gpt-5-codex --variant=high
39+
```
40+
41+
## Troubleshooting
42+
43+
- Confirm `"plugin": ["oc-chatgpt-multi-auth"]` is present in the OpenCode config.
44+
- Re-run `opencode auth login` if tokens expired or the wrong workspace was selected.
45+
- Inspect `~/.opencode/logs/codex-plugin/` after a failed request.
46+
- Set `ENABLE_PLUGIN_REQUEST_LOGGING=1` for deeper request logging.
47+
- For full docs, see `docs/getting-started.md`, `docs/configuration.md`, `docs/troubleshooting.md`, and `docs/faq.md`.
48+
49+
## Usage boundaries
50+
51+
This project is for personal development use with your own ChatGPT Plus or Pro subscription. For production or shared services, prefer the OpenAI Platform API.

0 commit comments

Comments
 (0)