AI Agent Hub
Back to plugins
🖥️

dsh-subagent-codex

Client Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install mjylfz/dsh-subagent-codex

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install mjylfz/dsh-subagent-codex in the DeepSeek Harness terminal to install this plugin; full source code: https://github.com/mjylfz/dsh-subagent-codex

About this plugin

Some tasks in a DSH session are simply too heavy for the main conversation: competitive research, cross-module refactors, deep-dive learning materials. dsh-subagent-codex fills that gap with one sentence in the main agent handing the job to a locally logged-in OpenAI Codex CLI, which runs an entire pipeline in isolation and hands back a finished result. DSH orchestrates; Codex does the work.

Under the hood, every call spawns a single codex exec process. Codex browses sources, decomposes problems, writes and tests code, then returns one final agent_message as the result. Timeout, cancellation, and output truncation are all supported, and because the plugin does not use --ephemeral, every session is persisted under ~/.codex/sessions/ for later codex resume or codex archive archival. The callback always resolves to a terminal state and never throws an exception back into the main conversation.

This plugin is a great fit if you already run Codex CLI locally and use DSH as a daily assistant: need a boss-ready competitive analysis, a thorough study guide on an unfamiliar topic, a full content plan with supporting material, or an end-to-end auth migration with tests: drop it to subagent_codex and get a one-call delivery. The one caveat: if the task depends on DSH-internal memory, session history, or other DSH tools, stick with the regular subagent instead of routing through Codex.

Use Cases

  • Hand off competitive research to Codex CLI from a single DSH conversation
  • Delegate cross-module code migration with tests to Codex for a complete delivery
  • Turn a deep-dive learning topic into a structured research output in one shot

Best For

  • Developers with Codex CLI installed who use DSH as a daily assistant
  • Users who want to offload heavy tasks from the main conversation for smoother flow
  • Users who value full session traceability, resumability, and archiving of Codex runs