Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/znlgis/my-opencode-deepseek-config/simplifynpx skills add znlgis/my-opencode-deepseek-config --skill simplifygit clone --depth 1 https://github.com/znlgis/my-opencode-deepseek-configWrote 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.
[](https://agentmods.dev/skills/znlgis/my-opencode-deepseek-config/simplify)<a href="https://agentmods.dev/skills/znlgis/my-opencode-deepseek-config/simplify"><img src="https://agentmods.dev/badge/skills/znlgis/my-opencode-deepseek-config/simplify.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00070 | $0.01053 |
| Opus 5 | $0.00035 | $0.00526 |
| Sonnet 5 | $0.00014 | $0.00211 |
| Haiku 4.5 | $0.00007 | $0.00105 |
Grade A, and why
simplify 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Simplify
Improve code readability and reduce cognitive load without altering behavior.
Core rule
The code must do exactly the same thing after simplification. No behavior changes, no "while I'm here" improvements, no API surface modifications. If a test breaks after simplification, the simplification was wrong — revert it.
When to use me
- Code is "too clever" — over-abstracted, deeply nested, hard to follow
- After a feature lands and code has accumulated cruft
- Review feedback says "this is hard to understand"
- You spot unnecessary indirection: wrappers that don't add value, interfaces with only one implementation, functions called exactly once
Simplification checklist
Apply each pattern only if it reduces complexity without changing behavior:
Reduce nesting
- Early returns — replace
if (x) { ... entire function ... }withif (!x) return. Flattens 3+ levels of nesting into a straight line. - Guard clauses — check preconditions at the top and bail early.
- Extract deeply nested blocks into well-named functions only when the extraction clarifies intent (not reflexively).
Remove unnecessary abstraction
- Single-caller functions — inline them. A function called from exactly one place is just an indirection tax.
- Single-implementation interfaces — remove the interface and use the concrete type directly.
- Thin wrappers — if a function just calls another function with the same arguments plus one default, ask: is this wrapper pulling its weight?
- Overly generic utilities — a
createMapWithDefaultValue(key, defaultVal, strategy, cachePolicy)called only ascreateMapWithDefaultValue(x, {}, 'lru', 'none')should just be the concrete code.
Reduce variable count
- Inline single-use variables — if a variable is used exactly once, inline its value at the use site. This is the single highest-leverage simplification.
- Eliminate temporary "explanation" variables — if the variable name just
restates what the RHS already says, delete it.
- Bad:
const isActive = user.status === 'active'; if (isActive) ... - Better:
if (user.status === 'active') ...(the condition is self-documenting)
- Bad:
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.
- today Changed · +3 tokens per session 8e75682f61a3
- 5d ago First seen · 109 lines · 67 tokens per session scan A faed67d2603e
simplify is a skill published in the GitHub repository znlgis/my-opencode-deepseek-config (57 stars, last pushed yesterday), licensed MIT. It adds 70 tokens to every session and 1,053 once invoked, about $0.0003 per session on Opus 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-08-30.
Other skills, from other repositories
image-generator
Generate or edit images from text and local files, image URLs, or data URLs through image API. Use when the user asks to create an image, generate from one or more reference images, combine styles or elements across references, or edit a marked region while blending the result into the original scene.
weibo-poster
微博内容创作 - 140字优化、话题热搜、@提及策略、配图描述、发布时机.
excel-helper
Excel 表格助手 - 公式编写、数据透视表、图表可视化、宏自动化、数据清洗.
code-mate-antigravity
Runs Antigravity CLI headlessly for repository analysis and coding tasks. Use when the user asks to delegate work to Antigravity CLI or compare its result with another coding agent.
dsh-doc-site-sync
Use when publishing, updating, moving, or removing DeepSeek Harness documentation website pages; editing website/docs.ts mappings or navigation; diagnosing a page missing from the VitePress site; fixing projected documentation links; or running the docs:dev, docs:check, and doc-sync workflow after website-content…
code-mate-openclaw
Runs a local OpenClaw agent non-interactively and returns its structured response. Use when the user asks to delegate a bounded task to the OpenClaw main agent.