Codex Deepseek Subagent logo

Codex Deepseek Subagent

Community
oil-oil
codex-deepseek-subagent

配置和维护 Codex 桌面应用中的 DeepSeek 原生子 Agent,支持模型选择、路由验证、修复、停用和卸载。仅在用户要求配置或管理该集成时使用;普通 API 问题与配置后的日常编码任务不触发。

Overview

Publisheroil-oil
Repositorycodex-deepseek-subagent
Skill namecodex-deepseek-subagent
Stars
384
Forks
27
Bundled files
31
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 31 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by oil-oil on GitHub. Read the source before you install it.

Installation

Install the Codex Deepseek Subagent AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/oil-oil/codex-deepseek-subagent/tree/main/codex-deepseek-subagent
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/oil-oil/codex-deepseek-subagent.git /tmp/codex-deepseek-subagent
mkdir -p .claude/skills
cp -r /tmp/codex-deepseek-subagent/codex-deepseek-subagent .claude/skills/codex-deepseek-subagent
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Codex Deepseek Subagent in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Codex Deepseek Subagent on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Codex Deepseek Subagent is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Codex DeepSeek 子 Agent

本 Skill 只维护配置,不承接日常用户任务。确定性的文件、模型目录和凭据操作交给 scripts/codex_deepseek.py;不要手动改 TOML、JSON、Agent 文件或系统凭据库。

API Key 配置入口

需要外部服务凭据时先读API Key 配置与业务读取:复用已有安全入口;本机缺少 Key 时使用随附固定页面,保存后通过业务包装入口读取。内置能力与纯本地流程不要求配置 Key。

关键契约

  • 只使用桌面应用内置的 Codex 运行时;版本仅用于诊断,兼容性以真实派发验收为准。

  • 从桌面配置读取父模型,并由管理程序应用 v1 明文派发设置;不要硬编码父模型或手改配置。技术原因见 references/compatibility.md。

  • 父模型变化后必须运行 repair,再重新验收。

  • 支持 deepseek-v4-flash 与 deepseek-v4-pro。Flash 更快、更省;Pro 能力更强,适合复杂 Agent 任务。两者默认思考程度均为 high。

  • DeepSeek 是纯文本 Agent,不处理图片、视频、截图或其他视觉输入。父 Agent 先识别视觉内容,再传入文字事实。

  • 日常任务只能直接调用:

    text
    spawn_agent(agent_type="DeepSeek", fork_turns="none", ...)

    不要为日常任务运行本 Skill、管理脚本或 codex exec。

  • 当前工具若不认识 DeepSeek 角色,只提示用户打开新任务或重启 Codex;不得改用默认角色、脚本或 codex exec 代做当前任务。

触发后的流程

  1. 运行 status --json,根据结构化状态继续,不靠文件名猜测。
  2. 首次配置时,如果用户没有指定模型,先让用户选择:DeepSeek V4 Flash(更快、更省)或 DeepSeek V4 Pro(能力更强,推荐复杂任务)。不要替用户静默选择。
  3. 配置请求运行 setup --model <模型> --json;切换模型或修复配置时运行 repair --model <模型> --json。不传 --model 的 repair 会保留当前选择。
  4. 缺少凭据时按配置说明展示固定页面,由用户保存后,经 run 入口运行 setup 并传 --api-key-env,接入运行时原生凭据;不在聊天中索要 API Key。--api-key-stdin 仅供可信凭据程序传递,不拼接密钥命令。
  5. setup、repair 或 test 使用桌面内置运行时创建隔离验收会话。若返回 new_task_required 或 restart_required,提示用户重启桌面应用并打开新任务。
  6. 验收必须检查子线程数据库 threads 表的实际元数据,并确认子 Agent 返回口令 NATIVE_DEEPSEEK_OK。实际 model 必须等于用户选择的模型,两者缺一不可。
  7. 最终只汇报状态、实际 Provider、模型、思考程度、角色和备份位置;不要输出密钥或原始事件日志。

管理命令

入口。macOS 使用 python3,Windows 使用 py -3:

text
python3 <skill-dir>/scripts/codex_deepseek.py <command> --json
  • status:只读检查桌面内置运行时、配置、模型目录、凭据和客户端能力。
  • setup:使用 --model deepseek-v4-flash 或 --model deepseek-v4-pro 写入配置并验收;未选择时返回 model_selection_required。
  • test:通过桌面内置运行时执行一次直连测试和一次原生 spawn_agent(agent_type="DeepSeek") 验收。
  • repair:按当前父模型重新应用配置并验收;传 --model 可切换模型,不传则保留当前模型。
  • disable:停用本 Skill 创建的角色,保留 Provider、模型目录和凭据。
  • uninstall:移除本 Skill 管理的配置;只有用户明确要求删除凭据时才传 --remove-credential。

默认使用当前 CODEX_HOME;仅在用户明确指定其他 Codex Home 时传 --codex-home。

状态处理

  • ready:直连、原生路由、数据库元数据和返回口令均通过。
  • configured:静态配置完整,但尚未完成实时验收。
  • credential_missing:引导用户通过固定页面保存,再经包装器完成运行时配置后继续原流程。
  • model_selection_required:向用户展示 Flash/Pro 选项,得到选择后继续原流程。
  • operation_in_progress:已有配置操作正在运行,稍后重试,不并发修改。
  • conflict:报告冲突文件和字段,等待用户决定是否替换。
  • unsupported:报告缺少的系统能力,不按固定版本号猜测兼容性,也不手工绕过。
  • failed:读取结构化 errors;若程序已回滚,明确说明,不再手改配置。

更详细的路径、版本和安全边界见 references/compatibility.md。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Codex Deepseek Subagent AI skill do?

配置和维护 Codex 桌面应用中的 DeepSeek 原生子 Agent,支持模型选择、路由验证、修复、停用和卸载。仅在用户要求配置或管理该集成时使用;普通 API 问题与配置后的日常编码任务不触发。

Why use Codex Deepseek Subagent on TypingMind?

Because you install it once and use it with any model. Codex Deepseek Subagent is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Codex Deepseek Subagent in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/oil-oil/codex-deepseek-subagent/tree/main/codex-deepseek-subagent. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Codex Deepseek Subagent?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Codex Deepseek Subagent?

As many as you like. As long as a model supports skills, you can use Codex Deepseek Subagent with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Codex Deepseek Subagent AI skill free?

Yes. It is published on GitHub by oil-oil under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇