dshbase

插件目录 / Developer / think-like-codex

think-like-codex

已验证 · 实测可装 zhangnan

✓ 持续维护

查看 GitHub ↗ ← 返回插件目录

2Stars
0Forks
0未关闭 issue
—语言
2026-08-20最近推送
跨平台平台

功能简介

Codex-inspired decision and planning policy plugin for DeepSeek Harness

✅
我们的评价
可用 — 实测通过,早期项目

Codex-inspired decision and planning policy plugin for DeepSeek Harness 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

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

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 think-like-codex」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:zhangnan/think-like-codex

Headless(CLI)profile:

dsh plugin --profile headless add github:zhangnan/think-like-codex

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7819 个插件 →