dsh plugins中文
← Back to popular plugin directory

Directly reuse Codex CLI local login subscription credentials

yequ172672/dsh-codex-subscription · skills

DSH plug-in: directly reuse Codex CLI local login subscription credentials and use ChatGPT subscription model in DeepSeek Harness without API Key

★ 20GitHub stars
0Forks
2026-08-15Last updated
JavaScriptLanguage
—License

Key features

  • Credential hot followingre-read auth.json for each request, CLI login/change number/logout, DSH will automatically take effect on the next request.
  • This plug-in will read and rewrite /.codex/auth.json (during refresh), which is consistent with the behavior of codex CLI; if you do not want to write back, set writeBack: false (the expired token will only be refreshed in the memory, restart dsh and refresh again).
  • ProtocolOpenAI Responses API (stream: true SSE), reasoning summary, text, and tool call are mapped to reasoning/text/tool-call blocks of DSH respectively, and usage is extracted from response.completed.
  • Adapter is text onlyImage content will be rejected as UNSUPPORTED_CONTENT.
  • The subscription quota is measured by OpenAI on an account basis and shares the same quota as the codex CLI.

Requirements

  • dsh ontology has been installed (this plug-in is the profile layer of dsh, you must have dsh first)
  • If it prompts that the "dsh" item cannot be recognized as a cmdlet... / dsh: command not found, it means that dsh has not been installed or is not in PATH, and has nothing to do with the plug-in.

Install command

dsh plugin --profile web add github:yequ172672/dsh-codex-subscription
View GitHub repository ↗Back to popular plugin directory