dsh-plugin-dev

dsh-plugin-dev is a skill for Codex from TrueHOOHA/dsh-plugin-dev-skill. It costs 133 tokens per session (1,880 once invoked), scanned A, original, Apache-2.0.

A development guide for plugins for DeepSeek Harness, a TypeScript agent framework built on Cordis. It explains how plugins register tools and services, declare dependencies, and clean up when unloaded.

In plain words
What is it for?
Use it to create, modify, debug, or package dsh plugins, including tools, services, language-model adapters, event listeners, and cordis.yml configuration patches.
Why use it?
It reduces mistakes when a plugin has dependencies, child plugins, configuration, or resources such as timers and connections. It also explains the plugin lifecycle and failure states.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to create, modify, debug, or package dsh plugins, including tools, services, language-model adapters, event listeners, and cordis.yml configuration patches.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/truehooha/dsh-plugin-dev-skill/dsh-plugin-dev
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.

Any agent
npx skills add TrueHOOHA/dsh-plugin-dev-skill --skill dsh-plugin-dev
Clone the repo
git clone --depth 1 https://github.com/TrueHOOHA/dsh-plugin-dev-skill

Made for: 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-plugin-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/truehooha/dsh-plugin-dev-skill/dsh-plugin-dev/github.svg)](https://agentmods.dev/skills/truehooha/dsh-plugin-dev-skill/dsh-plugin-dev)
Your own site
<a href="https://agentmods.dev/skills/truehooha/dsh-plugin-dev-skill/dsh-plugin-dev"><img src="https://agentmods.dev/badge/skills/truehooha/dsh-plugin-dev-skill/dsh-plugin-dev/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 dsh-plugin-dev

Your own site · 80×15
<a href="https://agentmods.dev/skills/truehooha/dsh-plugin-dev-skill/dsh-plugin-dev"><img src="https://agentmods.dev/badge/skills/truehooha/dsh-plugin-dev-skill/dsh-plugin-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 133 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,880 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.00133 $0.01880
Opus 5.5 $0.00053 $0.00752
Sonnet 5.5 $0.00027 $0.00376
Haiku 4.5 $0.00013 $0.00188

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

Security

Grade A, and why

dsh-plugin-dev 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 22d 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.

dsh-plugin-dev/SKILL.md · 198 lines

How it starts

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

dsh Plugin Development

Develop plugins for DeepSeek Harness (dsh), a Cordis-based agent framework. Plugins are TypeScript modules exporting apply(ctx: Context), composed via cordis.yml.

Quick Reference

Plugin Structure

import type { Context } from '@deepseek-ai/cordis'
export const name = 'my-plugin'
export function apply(ctx: Context) { /* register capabilities */ }

Three forms: function (default), object ({ name, inject, apply }), class (extends Service — use only when providing a service to other plugins).

Dependencies: export const inject = ['tools', 'llm'] — framework keeps plugin PENDING until all injected services are ready.

Auto-cleanup: Everything registered through ctx is an effect — unload automatically cleans up. For custom resources (timers, connections), wrap in ctx.effect(() => { ... return () => cleanup }).

Child plugins: const fiber = ctx.plugin(childPlugin) — children inherit parent context; await fiber.dispose() unloads recursively.

Fiber States

PENDING → LOADING → ACTIVE → UNLOADING → DISPOSED
                 ↘ FAILED

PENDING → missing service dependency. FAILED → apply threw or config validation failed. Service disappearing at runtime auto-disposes dependents.

Tools

import { defineTool } from '@deepseek-ai/dsh-tools'
export const inject = ['tools']
export function apply(ctx: Context) {
  ctx.tools.register(defineTool({
    name: 'greet', description: '...',
    parameters: { name: { type: 'string', required: true } },
    output: { schema: { type: 'string' }, render: (_args, value) => [{ type: 'text', text: value }] },
    async execute(args) { return `Hello, ${args.name}!` },
  }))
}

defineTool converts parameters to JSON Schema, validates args, and auto-unregisters on unload. See references/basic/tool.md for details.

Configuration

import Schema from '@deepseek-ai/schemastery'
export interface Config { greeting: string; maxRetries: number }
export const Config: Schema<Config> = Schema.object({
  greeting: Schema.string().default('Hello'),
  maxRetries: Schema.number().default(3),
})
export function apply(ctx: Context, config: Config) { /* validated config */ }

Read the full file on GitHub · 198 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. 22d ago Changed · +20 lines e4d8df5e641c
  2. 3mo ago First seen · 178 lines · 133 tokens per session scan A 4b891f9f89e0

Subscribe to this mod's changes

dsh-plugin-dev is a skill published in the GitHub repository TrueHOOHA/dsh-plugin-dev-skill (2 stars, last pushed 22d ago), licensed Apache-2.0. It adds 133 tokens to every session and 1,880 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-08-31.

Related

dsh-plugin-dev compared with skills from other repositories

dsh-plugin-dev next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dsh-plugin-devTrueHOOHA/dsh-plugin-dev-skillSkill222d agoApache-2.0A133Codex
clarify-intent-and-establish-shared-understandingInference1/clarify-intent-and-establish-shared-understandingSkill2059d agoApache-2.0A328Codex
mobilevc-installerJayCRL/MobileVCSkill21413d agoMITA222Claude Code, Codex
fanqie-novelfysh1010/mcp-server-fanqieSkill59todayMITA84Codex
odaiorziz/odaiSkill1314d agoMITA88Codex
renweiorziz/odaiSkill1314d agoMITA167Codex
odai-companionorziz/odaiSkill1314d agoMITA73Codex