DeepSeek Harness plugin

think-like-codex

Codex-inspired planning, evidence, goal, and anti-loop policy plugin for DeepSeek Harness.

Jump to install

Source facts

Repository
zhangnan/think-like-codex
Latest update
Aug 20, 2026
Category
Tools & Capabilities
GitHub stars
2
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/zhangnan/think-like-codex
Plugin: think-like-codex
Author: zhangnan

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.mdSource · read only
README language

think-like-codex

English | 简体中文

A Codex-inspired behavior policy and Profile Bundle for DeepSeek Harness (DSH).

It helps coding agents make deliberate decisions, avoid unproductive loops, ask the user for help when evidence is insufficient, and follow a structured plan → goal → implementation workflow for complex tasks.

Features

  • Injects practical collaboration, code-generation, validation, and safety guidance.
  • Applies equivalent task detection and policy guidance to both English and Chinese requests.
  • Detects complex implementation requests and automatically enters DSH Plan mode.
  • Adds an exploration checkpoint after 8 tools in Plan mode and enforces a hard limit after 12 tools.
  • Requires an approved plan to be followed by a goal and todo list before mutation tools may run.
  • Detects repeated tool failures and prompts the agent to change approach or ask the user for help.
  • Adds periodic decision checkpoints during long turns.
  • Distinguishes verified facts, inferences, and assumptions.
  • Limits repeated attempts when an issue cannot be reproduced in the available environment.

Simple questions and explicitly read-only tasks do not automatically enter Plan mode. Users can also override automatic planning by clearly asking the agent not to plan. A direct user follow-up resets the exploration budget so a changed direction can be investigated normally.

The plugin reuses DSH's built-in planMode, create_goal, todo_write, ask_user_question, and repeat-tool-reminder capabilities. It does not register duplicate tools or modify session files directly.

Installation

dsh plugin --profile web add -w think-like-codex
dsh --profile web

This package is a DSH Profile Bundle. Its bundled cordis.patch.yml mounts the plugin automatically. Replace web with another profile name when needed. Restart the profile host after updating host-side code.

Configuration

The bundle installs the following defaults:

- id: think-like-codex
  name: think-like-codex
  config:
    autoPlan: true
    complexityMinChars: 120
    stepReminderAt: 12
    stepReminderEvery: 8
    planCheckpointToolAt: 8
    planHardToolLimit: 12
    enforceGoalAfterPlan: true
    failureReminderCount: 2

Override the complete config object for think-like-codex in your profile's cordis.patch.yml if you need different thresholds.

Uninstallation

dsh plugin --profile web remove think-like-codex

License

MIT