DeepSeek Harness plugin

gh-tea-npm-dsh

DeepSeek Harness (dsh) plugin for GitHub (gh), Gitea (tea) and npm CLIs: detect/install, guided auth/config (incl. npm token rotation), issue and package tools.

Jump to install

Source facts

Repository
TommyFang2077/gh-tea-npm-dsh
Latest update
Aug 15, 2026
Category
Tools & Capabilities
GitHub stars
3
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/TommyFang2077/gh-tea-npm-dsh
Plugin: gh-tea-npm-dsh
Author: TommyFang2077

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.mdSource · read only
README language

gh-tea-npm-dsh

![npm](https://www.npmjs.com/package/@tommyfang/gh-tea-npm-dsh) ![license](./LICENSE) ![topic](https://github.com/topics/dsh-plugin)

English · 简体中文

A DeepSeek Harness (dsh) plugin that brings GitHub (gh), Gitea (tea), and npm into the agent. It detects and installs the CLIs, guides the user through authentication with explicit choices, and operates issues and publishes packages.

Features

gh / tea

  • detect installation, version, auth status, and token environment variables (values masked)
  • one-command install — Homebrew when available, otherwise a no-sudo binary into ~/.local/bin
  • guided auth: import from env, browser OAuth device flow, or manual token
  • issues: list · view · create · comment · close · reopen

npm

  • detect node/npm, login state (npm whoami), and registry
  • guided login: browser OAuth device flow (npm login --auth-type=web) or automation token
  • publish packages (npm publish --access public)
  • 90-day token expiry notice and rotation guidance

Skill

  • registers a companion gh-tea-npm skill that documents the workflows and points at each CLI's own --help as the authoritative command surface

Requirements

  • Node.js ≥ 18 and npm (for the npm tools)
  • gh and tea are optional — the plugin installs them if missing

Install

npx -y @deepseek-ai/dsh plugin add @tommyfang/gh-tea-npm-dsh

This is a host-only bundle: cordis.patch.yml (referenced by the package's dsh.bundle manifest) inserts the plugin row, and dsh/index.js registers the tools and the skill.

Guided configuration

The plugin never poses open-ended questions. It returns a menu, the agent presents it as options, and the user advances one step at a time.

gh / teagitclis_configure:

1. gitclis_configure method=auto → current state + next-step menu 2. install a missing CLI with gitclis_install, or pick a token source: - env import → method=env - browser OAuth (GitHub) → method=web (returns a device code) → method=poll to verify - manual → gitclis_set_token 3. verify with gitclis_status

npmnpm_configure:

1. npm_configure method=auto → current state + next-step menu 2. browser OAuth → method=web (returns a login URL) → method=poll to verify, or automation token → method=token 3. publish with npm_publish (or npm_publish dry_run=true)

npm token policy (90 days)

npm now caps access tokens — including automation tokens — at a 90-day lifetime. An expired token breaks npm publish, so rotate before it lapses:

  • generate a new Automation token at https://www.npmjs.com/settings/<user>/tokens/new, then npm_configure method=token; or
  • re-run npm_configure method=web.

npm_status surfaces this policy and npm_configure walks through rotation.

Tools

ToolDescription
gitclis_statusdetect gh/tea install, version, auth, env tokens (masked)
gitclis_configureguided gh/tea config — auto/env/web/manual/poll
gitclis_installinstall gh and/or tea
gitclis_set_tokenstore a gh/tea token (never echoed)
gitclis_token_envread/import token environment variables
gitclis_issue_listlist issues
gitclis_issue_viewview one issue, optionally with comments
gitclis_issue_createcreate an issue
gitclis_issue_commentcomment on an issue
gitclis_issue_closeclose an issue
gitclis_issue_reopenreopen an issue
npm_statusdetect node/npm, login state, registry
npm_configureguided npm auth — auto/web/token/poll
npm_publishpublish to npm

Issue tools take a provider argument: githubgh, giteatea.

Skill

The companion skill is registered at runtime and shipped on disk at skills/gh-tea-npm/SKILL.md. It documents issue-workflow recipes, the auth flows, and the npm token policy, and defers to gh <cmd> --help, tea <cmd> --help, and npm <cmd> --help for exact flags.

Repository layout

dsh/index.js        Host Cordis plugin — registers tools + the gh-tea-npm skill
cordis.patch.yml    dsh bundle layer — inserts this package
skills/gh-tea-npm/  companion skill markdown
package.json        dsh + exports manifest

License

[MIT](./LICENSE)