npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

think-like-codex

v0.1.2

Published

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

Readme

think-like-codex

English | 简体中文

面向 DeepSeek Harness(DSH)的 Codex 风格行为策略与 Profile Bundle。

它帮助编码 Agent 更审慎地做决策、避免无效循环,在证据不足时主动向用户求助,并让复杂任务遵循“计划 → goal → 实施”的规范流程。

功能

  • 注入实用的协作、代码生成、验证和安全规范;
  • 对中文和英文请求应用对等的任务识别与策略提示;
  • 识别复杂实现请求并自动进入 DSH Plan mode;
  • Plan mode 使用 8 次探索工具后要求收敛,达到 12 次硬上限后只允许提交计划或向用户求助;
  • 计划获批后,要求先创建 goal 和 todo,再允许修改代码或外部状态;
  • 检测同类工具连续失败,提醒改变方法或主动向用户求助;
  • 长回合中周期性注入决策检查;
  • 强制区分已验证事实、推断和假设;
  • 在当前环境无法复现问题时限制重复尝试。

简单问答和明确只读的任务不会自动进入 Plan mode。用户也可以明确要求“不要计划”来覆盖自动规划。用户直接补充消息后会重置探索预算,使方向发生变化时仍有正常调查空间。

插件复用 DSH 自带的 planModecreate_goaltodo_writeask_user_questionrepeat-tool-reminder,不注册重复工具,也不直接修改 session 文件。

安装

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

这是一个 DSH Profile Bundle,包内的 cordis.patch.yml 会自动挂载插件。需要安装到其他 profile 时,将 web 换成对应名称。宿主端代码更新后需要重启该 profile。

配置

Bundle 默认安装以下配置:

- 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

如果需要调整阈值,请在 profile 的 cordis.patch.yml 中为 think-like-codex 覆盖完整的 config 对象。

卸载

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

许可证

MIT