dsh-find-simplifications

dsh-find-simplifications is a skill for Claude Code, Codex from whitelonng/dshcode. It costs 89 tokens per session (2,939 once invoked), scanned A, a copy of dsh-find-simplifications, MIT.

A simplification-finding guide for the DeepSeek Harness codebase. It looks for unnecessary, duplicated, speculative, or overbuilt code and records evidence-backed proposals in Agent Notes or inline TODO, FIXME, or XXX comments.

In plain words
What is it for?
Use it to inspect the repository for simplification opportunities, propose focused notes, review outdated notes, and incorporate worthwhile ideas from another pull request.
Why use it?
It helps reduce code that adds maintenance cost without enough value, while checking the repository’s architecture and existing decisions first.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/whitelonng/dshcode/dsh-find-simplifications
Any agent
npx skills add whitelonng/dshcode --skill dsh-find-simplifications
Clone the repo
git clone --depth 1 https://github.com/whitelonng/dshcode

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 dsh-find-simplifications

README.md
[![agentmods](https://agentmods.dev/badge/skills/whitelonng/dshcode/dsh-find-simplifications.svg)](https://agentmods.dev/skills/whitelonng/dshcode/dsh-find-simplifications)
Your own site
<a href="https://agentmods.dev/skills/whitelonng/dshcode/dsh-find-simplifications"><img src="https://agentmods.dev/badge/skills/whitelonng/dshcode/dsh-find-simplifications.svg" alt="Measured on agentmods" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,939 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 91% copy Near-identical to another mod 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 $0.00089 $0.02939
Opus 5 $0.00044 $0.01470
Sonnet 5 $0.00018 $0.00588
Haiku 4.5 $0.00009 $0.00294

Measured 5d ago against content hash c6f0165f6aa3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dsh-find-simplifications 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 5d 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.

Origin

This is a copy

91% identical to dsh-find-simplifications — 21 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/dsh-find-simplifications/SKILL.md · 147 lines

How it starts

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

Finding DeepSeek Harness Simplifications

This skill helps turn a broad "find things to simplify" request into evidence-backed Agent Notes that remove or collapse existing harness surface area. It is guidance, not a checklist: follow the code, keep judgment active, and prefer a few well-proven candidates over a pile of thin guesses.

Start With Repo Context

  • Read AGENTS.md, especially the pre-release stance and the conventions (including the tests-are-not-golden-truth and Agent Notes-are-not-golden-truth doctrines), plus docs/defensive-patterns.md and docs/testing.md.
  • Skim docs/architecture.md before judging anything under packages/; simplifications that fight the service map or event taxonomy need extra evidence.
  • Use the Agent Note tree and its rules to understand intentional architecture. The most relevant implemented examples are drop mutable session summary, shared persistence write coordinator, capability seams, and the twin adapter / dual persistence backend Agent Notes.
  • Treat dual LLM adapters and dual persistence backends as intentional by default. Do not propose deleting either twin/backend as "low effort" unless the user explicitly overrides that constraint. Removing an unused method or hook inside a protected seam can still be valid if it does not collapse the protected design.

What Counts As A Strong Candidate

A strong simplification removes, folds, or demotes something real and has clear evidence that the current design costs more than it buys:

  • A public method, event, config knob, registry notification, helper, package, durable event, or test artifact has no production consumer.
  • Tests or docs are the only consumers, and the behavior they pin is not load-bearing.
  • Two representations mirror the same fact, especially across durable session events and transient agent/* events.
  • A seam has methods every implementation must support but no consumer uses.
  • A separate package exists only for test/demo/support code and adds publish or dependency overhead.
  • A feature implements speculative product generality: multi-session/session-load, background job rosters, live registry invalidation, mid-turn steering, tool-owned UI rendering, and similar designs with no product owner.
  • An invariant, rollback path, set of expected outputs, or special-case test exists only to protect an unused API.
  • Hand-rolled code reimplements what a well-maintained external package or a Node builtin at the engine floor already provides, and the swap would delete the implementation plus its dedicated tests (dependency policy).
  • The simplified behavior may differ slightly, but the new behavior is still reasonable and easier to explain.

Read the full file on GitHub · 147 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. 5d ago First seen · 147 lines · 89 tokens per session scan A c6f0165f6aa3

Subscribe to this mod's changes

dsh-find-simplifications is a skill published in the GitHub repository whitelonng/dshcode (711 stars, last pushed yesterday), licensed MIT. It adds 89 tokens to every session and 2,939 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to dsh-find-simplifications, differing in 21 lines, and is treated as a copy.

Related

Other skills, from other repositories

visionary-cli

Analyze images with DeepSeek's vision model via the visionary-server CLI. Use this whenever the user provides an image, photo, screenshot, or document with images - run vision to look at it rather than guessing.

xlight/deepseek-visionary · 46 tokens

deepseek-harness

Use when building AI agent applications with a plugin-based architecture — Web UI, CLI, Python SDK, Cordis plugin system, multi-model orchestration. DeepSeek Harness (dsh): open-source agent harness by DeepSeek AI where everything is a plugin, powered by Cordis for spatiotemporal composability.

znlgis/opengis-skills · 68 tokens

deepseek-harness

Use this skill whenever the user wants to call DeepSeek V4-Pro / V4-Flash (or its legacy aliases deepseek-chat / deepseek-reasoner), or you see code that imports from openai import OpenAI with baseurl="https://api.deepseek.com". This skill teaches you the 10 protocol contract rules required to avoid the 16 documented…

HenryZ838978/deepseek-harness · 144 tokens

web-ui-motion

Build polished front-end UI together with a signature motion effect in a single self-contained HTML file, combining SVG.js / SVG filters and the Canvas 2D API. Use when the user asks to build a web page, landing page, dashboard, or component that has a special visual effect, animation, particle system, fluid/water…

creativedswork/dscode · 152 tokens

openspec-propose

Create a complete OpenSpec proposal with design, specs, prototype, and tasks. Use when the user wants a change ready for implementation.

creativedswork/dscode · 32 tokens

prototype-workflow

Generate and lifecycle-manage HTML prototypes for UI exploration and OpenSpec changes. Use when creating, validating, completing, or archiving a UI prototype.

creativedswork/dscode · 34 tokens