Monokuna-Hugo/dsh-kaoyan-english

考研英语阅读命题助手,一个运行在 DeepSeek Harness(DSH)中的动态 Cordis 插件:自动抓取《卫报》《今日心理学》《经济学人》等外刊文章|Postgraduate Entrance Exam English Reading Proposition Assistant, a dynamic Cordis plugin running in DeepSeek Harness (DSH): automatically crawls articles from foreign publications such as The Guardian, Psychology Today, etc

Project Overview项目介绍

dsh-kaoyan-english is a dynamic Cordis plugin for DeepSeek Harness that auto-fetches articles from The Guardian, Psychology Today, The Economist, and other outlets, then uses an LLM to generate a Chinese postgraduate English exam (考研英语一) mock paper: 5 reading comprehension questions, 5 sentence translation items, and a 20-blank cloze test, with answers and Chinese analysis saved as Markdown. It supports multiple publications, custom RSS, and the Guardian Open API. The pipeline: RSS fetch → text cleaning → plugin-based sentence/blank selection → model-generated questions → validation → save. Use it to quickly produce exam-style practice from current English articles. Note: paywalled sites like The Economist may yield only partial content, and some outlets may be inaccessible from mainland China networks.

DSH 考研英语外刊出卷插件是 DeepSeek Harness 的动态 Cordis 插件,可自动抓取《卫报》《经济学人》《今日心理学》等外刊文章,调用大模型生成考研英语(一)模拟卷:5 道阅读理解、5 道句子翻译、20 空完形填空,并附带答案与中文解析,保存为 Markdown 文件。支持多刊物、自定义 RSS、卫报官方 API。工作原理为:RSS 抓取 → 文本清洗 → 插件切句选句挖空 → 模型命题翻译 → 校验保存。适用于备考时快速获取外刊模拟题。注意:经济学人等付费墙可能仅获部分内容,国内网络下部分站点可能无法访问。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 2 warnings2 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
  • No DSH plugin manifest detected - it may only carry the dsh-plugin topic, so the install method must be confirmed on the spot未检测到 DSH 插件清单:可能只是打了 dsh-plugin 话题,安装方式要现场确认
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:Monokuna-Hugo/dsh-kaoyan-english

把 Monokuna-Hugo/dsh-kaoyan-english 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DSH 考研英语外刊出卷插件(dsh-kaoyan-english)

一个运行在 DeepSeek Harness(DSH)中的动态 Cordis 插件:自动抓取《卫报》《今日心理学》《经济学人》等外刊文章,调用大模型命制一套考研英语(一)模拟卷完形,阅读和翻译部分,并保存到指定目录。

5 道阅读理解选择题 + 5 道句子翻译题 + 20 空完形填空,一次生成,附答案与中文解析。

✨ 功能特性

  • 一键出卷:抓文章 → 大模型出题 → 校验 → 保存,全程自动化
  • 多刊物支持:guardian(卫报)、psychologytoday(今日心理学)、economist(经济学人)、bbc、theatlantic、scientificamerican、npr、time、sciencedaily、nature,以及自定义 RSS
  • 考研风格命题:阅读覆盖主旨/推断/细节/态度/词义;翻译题按难度评分自动挑选长难句(从句嵌套/非谓语/被动/抽象名词等,≥18 词优先);完形 20 空由插件确定性挖空,正确选项必含原文词
  • 保留原文分段:阅读正文与完形短文保持原文段落结构(空行分隔),并自动过滤导航/署名等页面噪声行
  • 可靠的结构化输出:最低推理档位 + 工具调用(tools)+ 文本回退 + 多重校验与自动重试
  • 确定性流水线:切句、选句、挖空全部由插件完成,模型只负责「翻译」和「命题」,结果可确定性校验
  • 自动跳过短文:从列表第 pick 篇起顺延查找 ≥400 词的文章(最多 6 篇)
  • 卫报官方 API 支持:可选 guardianApiKey 获取更干净的全文

🛠 注册的工具

工具 功能
enexam_list 通过 RSS 列出外刊最新文章(标题/链接/日期/摘要)
enexam_fetch 抓取单篇文章正文纯文本(标题/作者/日期/词数)
enexam_save 把命制好的试卷素材保存到指定目录
enexam_make 一键出卷:抓取 + 命题(5 阅读 + 5 翻译 + 20 完形)+ 保存

🚀 在 DSH 中加载

动态插件是进程内临时的(DSH 重启后需重新加载),加载方式为在 DSH 会话中让 AI 执行动态插件工具:

  1. 用 cordis_define 定义插件:code.host 的内容即本仓库 src/host.js(整个文件去掉头部注释即可直接粘贴);
  2. 用 cordis_run 激活返回的 pluginId / packageId;
  3. 加载成功后,直接对话即可使用,例如:
用今日心理学最新文章出一套卷,保存到 D:\考研英语
抓这篇文章的题:https://www.psychologytoday.com/us/blog/xxx/xxxx
先看看 NPR 最近有什么文章

希望插件常驻:可将同一份代码写入你自己的 Agent Preset(参考 DSH 的 editing-cordis-compositions 流程),随会话自动加载。

📝 工具参数

enexam_make(一键出卷)

参数 说明
source 刊物标识(未提供 articleUrl 时必填)
articleUrl 文章 URL,优先于 source
rssUrl source=custom 时的 RSS 地址
pick 从列表第几篇开始选(默认 1,太短自动顺延)
dir 保存根目录(默认当前工作区)
guardianApiKey 卫报开放平台 API key(可选)

输出结构

每次出卷自动创建子目录 <来源>_<日期>_<标题>/:

├── 00_原文.md          # 原文全文与来源信息
├── 01_阅读理解.md      # 5 道选择题(Part A 风格)
├── 02_句子翻译.md      # 5 句英译汉
├── 03_完形填空.md      # 20 空完形(含选项)
├── 04_答案与解析.md    # 全部答案 + 中文解析 + 参考译文
└── meta.json           # 结构化试卷数据

🌐 网络可达性说明

插件优先使用 DSH 的 web.fetch 服务,不可用时自动回退到 curl.exe/PowerShell 抓取。注意:

  • 中国大陆网络下,guardian / economist / bbc / theatlantic / time 可能无法直连(插件会给出明确报错);
  • 推荐:npr、sciencedaily、nature、psychologytoday;
  • 经济学人等付费墙站点可能只能取得文章开头部分。

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-auto-translate 下一个 Next dsh-forge →