cordis-plugin-development

cordis-plugin-development is a skill for Claude Code, Codex from jiuge2467/dsh-studio. It costs 80 tokens per session (4,618 once invoked), scanned A, a copy of cordis-plugin-development, MIT.

A development guide for dynamic Cordis plugins, which are add-ons that can run code on the host, in the client interface, or both.

In plain words
What is it for?
Use it to create, modify, debug, or extend Cordis plugins, including host services, interface elements, tools, approvals, runtime checks, and temporarily stopping plugins.
Why use it?
It reduces mistakes caused by guessing APIs, event data, interface slots, or approval behavior. It requires inspecting the live platform interfaces before writing code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create, modify, debug, or extend Cordis plugins, including host services, interface elements, tools, approvals, runtime checks, and temporarily stopping plugins.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jiuge2467/dsh-studio/cordis-plugin-development
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 jiuge2467/dsh-studio --skill cordis-plugin-development
Clone the repo
git clone --depth 1 https://github.com/jiuge2467/dsh-studio

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 cordis-plugin-development

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiuge2467/dsh-studio/cordis-plugin-development"><img src="https://agentmods.dev/badge/skills/jiuge2467/dsh-studio/cordis-plugin-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,618 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 100% 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.1 $0.00080 $0.04618
Opus 5.5 $0.00032 $0.01847
Sonnet 5.5 $0.00016 $0.00924
Haiku 4.5 $0.00008 $0.00462

Measured 1mo ago against content hash 01811d3ee9c0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cordis-plugin-development 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 1mo 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

100% identical to cordis-plugin-development — 434 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.

apps/cli/config/agent-presets/cordis/skills/cordis-plugin-development/SKILL.md · 421 lines

How it starts

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

Develop Dynamic Cordis Plugins

First determine whether a capability belongs on Host or Client, then query the real interface before writing code. Never infer a complete API from a Service name, Event payload, Slot props, theme token, or example.

Standard workflow

  1. Call cordis_inspect_list to obtain the Providers, methods, and schemas currently registered on Host and Client.
  2. Select the smallest set of cordis_inspect_query calls needed to read the exact Services, Events, Builtins, Slots, Theme tokens, or Tools that the implementation will use.
  3. For a new Plugin, design its first Package. To modify an existing Plugin, first use cordis_inspect_self(pluginId, packageId) to read the base source and diagnostics.
  4. Write plain JavaScript in code.host, code.client, or both, then call cordis_define.
  5. Call cordis_run with the final pluginId and packageId returned by define.
  6. Handle approval, waiting, Client loading, and render failures from the Run card, steering messages, or cordis_inspect_self.
  7. Use cordis_stop to disable the Plugin temporarily. Use cordis_undefine only when it is no longer needed.

Do not wait in the same turn for user approval or asynchronous browser results. After cordis_run returns awaiting-approval or starting, end the current Tool flow and wait for the system to report the final outcome through state updates and steering.

Tool usage guidance

Tool Use it when Do not
cordis_inspect_list Discover current Host/Client Providers and method schemas in one call; refresh after the runtime capability directory changes Hard-code Provider names and skip list; treat a manifest as business data
cordis_inspect_query Confirm exact Service methods, Event modes, Builtins, Slots, tokens, or Tool schemas before writing code Use it instead of calling a real Service from the Plugin; assume a Client query will finish without a responding page
cordis_inspect_self List current Plugins, inspect version pointers, or read exact Package source and runtime diagnostics Fetch all source just to build a list; use it to modify or start a Plugin
cordis_define Create a Plugin's first version or append an immutable Package to an existing Plugin; let the user preview the code first Expect define to execute apply, request approval, or update current
cordis_run Activate an exact Package; use run for first activation, restart, or rollback, and update to switch versions Use run to switch versions implicitly; treat pending or starting as success
cordis_stop Pause current effects while preserving Packages, grants, and version pointers for later use Use stop to mean permanent deletion
cordis_undefine Permanently remove a Plugin and all of its Packages and clear historical business views Call it while rollback, inspection, or restart is still needed

Read the full file on GitHub · 421 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. 1mo ago First seen · 421 lines · 80 tokens per session scan A 01811d3ee9c0

Subscribe to this mod's changes

cordis-plugin-development is a skill published in the GitHub repository jiuge2467/dsh-studio (12 stars, last pushed 2mo ago), licensed MIT. It adds 80 tokens to every session and 4,618 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to cordis-plugin-development, differing in 434 lines, and is treated as a copy.

Related

Other skills, from other repositories

dsh-tui-guide

Use when the user asks about dsh-tui itself (usage, shortcuts, config, themes, migration, VS Code). Load before answering; skip for normal coding tasks.

ccch1mneyyy/dsh-TUI · 41 tokens

submit-dsh-plugin

A submission checklist and workflow for adding a DeepSeek Harness plugin to the community’s public catalogue. It prepares the catalogue entry and checks the plugin’s repository, metadata, tests, and required files.

imsai-sh/awesome-deepseek-harness-plugins · 103 tokens

dsh-plugin-guide

Use when developing, reviewing, packaging, debugging, or answering questions about DeepSeek Harness (DSH) plugins — the plugin-based agent harness on vendored Cordis. Applies the official plugin-development constraints (plugin contract, cordis.yml layers, services/events/effects, tool DSL, bundles/profiles) backed by…

PerryLink/dsh-plugin-guide · 76 tokens

codex-sync

Operate dsh-codex-sync from this session — preview and import Codex chats, toggle Skills/MCP/import settings, check MCP mirror health, install the reverse MCP bridge.

Walvez/dsh-codex-sync · 40 tokens

continue-in-dsh

A handoff skill that imports the current Codex task into DeepSeek Harness, another development environment, and opens it there.

polarskicpl/dsh-codex-migrate · 48 tokens

dsh-plugin-development

Use when designing, creating, modifying, packaging, installing, reviewing, auditing, or diagnosing a DeepSeek Harness plugin: a live dynamic Cordis plugin driven by cordisdefine, a source-backed workspace plugin under packages, or an out-of-tree installable bundle using dsh.bundle and cordis.patch.yml. Also use for…

w2112515/dsh-plugin-development · 130 tokens