my-opencode-deepseek-config

my-opencode-deepseek-config is a skill for Claude Code, Codex from znlgis/opengis-skills. It costs 115 tokens per session (6,468 once invoked), scanned A, original, MIT.

A configuration package for using OpenCode with DeepSeek models and multiple specialised agents. It defines how agents are routed, how much they reason, how context is shortened, and which skills and commands are available.

In plain words
What is it for?
Use it when installing or adjusting an OpenCode and DeepSeek setup, adding an agent or skill, or changing its routing and context settings.
Why use it?
It provides a documented setup instead of requiring you to assemble model settings, agent roles, permissions, and context handling yourself. It requires OpenCode and a DeepSeek API key.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions AGENTS.md; mentions OpenCode.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/estimate-cost.js # 按实际 token 数估算.

Good fit Use it when installing or adjusting an OpenCode and DeepSeek setup, adding an agent or skill, or changing its routing and context settings.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/znlgis/opengis-skills
agentmods
npx agentmods add skills/znlgis/opengis-skills/my-opencode-deepseek-config

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for my-opencode-deepseek-config

README.md
[![agentmods](https://agentmods.dev/badge/skills/znlgis/opengis-skills/my-opencode-deepseek-config/github.svg)](https://agentmods.dev/skills/znlgis/opengis-skills/my-opencode-deepseek-config)
Your own site
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/my-opencode-deepseek-config"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/my-opencode-deepseek-config/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for my-opencode-deepseek-config

Your own site · 80×15
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/my-opencode-deepseek-config"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/my-opencode-deepseek-config.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,468 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00115 $0.06468
Opus 5.5 $0.00046 $0.02587
Sonnet 5.5 $0.00023 $0.01294
Haiku 4.5 $0.00012 $0.00647

Measured 19d ago against content hash 6bfebe956e10, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

my-opencode-deepseek-config scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 19d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

ai/my-opencode-deepseek-config/SKILL.md · 330 lines

How it starts

The opening of the file, as written. The whole thing — 330 lines — stays where its author put it; the contents beside it link to each section on GitHub.

项目地址: https://github.com/znlgis/my-opencode-deepseek-config

最新版本: v5.0.0(仓库最新 tag,截至 2026-11,Releases)| 代码基线: main(截至 2026-11,v5.0.0 之后新增 #max thinking 档并重平衡 Agent 档位,见 commit feat(config): add max thinking tier, rebalance agent tiers)

许可证: MIT

文档: https://github.com/znlgis/my-opencode-deepseek-config/blob/main/README.md(中英双语)

前置条件: OpenCode v2(npm @opencode/cli 最新 2.2.7,截至 2026-11;以本机 opencode --version 为准;1.18.x 及更早不再支持)、DeepSeek API Key(https://platform.deepseek.com/api_keys)

概述

在 OpenCode v2 多 Agent 框架下,只用 deepseek/deepseek-flash 一个模型、用 thinking 档位区分 Agent 分工的纯配置方案——零额外依赖,能力全部由 opencode.jsonc + agents/*.md + skills/*/SKILL.md + AGENTS.md 实现。核心理念:Token 效率优先,用最小的上下文成本达到最好的开发效果。

  • 默认主 Agent orchestrator(意图门控 + 路由 + 后备链);第二 primary solo(单模型内联执行、零委派)
  • 单模型四档:deepseek/deepseek-flash(thinking 关 + temperature: 0)、#low、#high、#max,四档同价,差别只在 reasoning token 数量
  • 12 个 Agent、23 个技能、18 个 slash 命令;experimental.subagent_depth: 2;share: "disabled"
  • 权限基线:read 放行、shell 默认 ask、.env 类 deny、外部目录 ask
  • 上下文压缩只用内置 compaction:limit.input 显式声明工作窗口,触发点 = limit.input − compaction.buffer
  • 唯一插件 superpowers(git URL 固定 tag #v7.0.2),纯 skill 注入,不提供模型映射

安装部署

# 1. 克隆
git clone https://github.com/znlgis/my-opencode-deepseek-config.git

# 2. 指向仓库内的 opencode/ 配置目录(当前会话生效)
$env:OPENCODE_CONFIG_DIR = "D:\path\to\my-opencode-deepseek-config\opencode"

# 3. API Key(也可启动后在 TUI 里 /connect)
$env:DEEPSEEK_API_KEY = "sk-your-key-here"

# 4. 启动
opencode

永久生效(Windows):

[Environment]::SetEnvironmentVariable("OPENCODE_CONFIG_DIR", "D:\path\to\my-opencode-deepseek-config\opencode", "User")

Linux / macOS:把 export OPENCODE_CONFIG_DIR="$HOME/path/to/my-opencode-deepseek-config/opencode" 追加到 ~/.bashrc 或 ~/.zshrc。

替代方案是把 opencode/ 软链到全局配置路径(Windows 需管理员;Linux/macOS 用 ln -s)。

Read the full file on GitHub · 330 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 19d ago Changed · +4 lines · +2 tokens per session 6bfebe956e10
  2. 21d ago Changed · -3 lines 284175a07313
  3. 1mo ago Changed · +131 lines · +20 tokens per session 799f67e7070b
  4. 1mo ago Changed · +11 lines · +1 tokens per session 23a4db7c2d93
  5. 1mo ago Changed · +40 lines 0522f3c01eea
  6. 2mo ago Changed 9bc6ca0a2b51
  7. 2mo ago Changed · +1 lines 25f896fdaf04
  8. 2mo ago First seen · 146 lines · 92 tokens per session scan A 451bbdf1019a

Subscribe to this mod's changes

my-opencode-deepseek-config is a skill published in the GitHub repository znlgis/opengis-skills (87 stars, last pushed 20d ago), licensed MIT. It adds 115 tokens to every session and 6,468 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-10.

Related

my-opencode-deepseek-config compared with skills from other repositories

my-opencode-deepseek-config next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
my-opencode-deepseek-configznlgis/opengis-skillsSkill8720d agoMITA115Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code