Skip to content
Skills Library
AI & agents · Analysis

diagnosing-hooks

/diagnosing-hooks

Use when a DeepSeek Harness hook does not fire, fires twice, or is blocked by trust.

Licence
MIT
Last repository change
03.11.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
1
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 03.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • SKILL.md zawiera komentarze HTML (1). Nie widać ich w podglądzie Markdown, a model je czyta.

What it does and when to use it

Use when a DeepSeek Harness hook does not fire, fires twice, or is blocked by trust.

Original author description

Use when a DeepSeek Harness hook does not fire, fires twice, or is blocked by trust.

How it works

  1. Inputs
  2. Checklist
  3. Fix
Original SKILL.md headings · 25 lines, 181 words
SKILL.md preview
---
name: diagnosing-hooks
description: Use when a DeepSeek Harness hook does not fire, fires twice, or is blocked by trust.
---

<!-- Rewritten for dsh from ZCode guide skills (Apache-2.0): apps/zcode-cli/packages/zcode-guide-plugin/skills -->

# Diagnosing hooks

## Inputs

- `hook-protocol` owns the wire format, matcher, multi-hook merge, and `hook/*` events.
- `hooks-claude-code` / `hooks-codex` bridge external hook configs onto dsh events.
- Project hooks pass a trust review before execution; an untrusted workspace blocks them.

## Checklist

1. Is the bridge plugin in the profile? `--dump-config` and look for `hooks-claude-code`.
2. Does the matcher actually match the tool name? Matchers are exact or documented patterns, not glob guesses.
3. Did the hook exit non-zero? A failing hook is reported, not silently ignored.
4. Is the workspace trusted? Check the Hooks settings page and the trust records.
5. Did you edit config mid-session? Hook config is captured at session start; start a new session.

## Fix

- Put project hooks under the workspace convention the bridge scans.
- Use `process` (argv) when you do not need a shell; `command` only for Claude-compatible shell hooks.
- Re-test with a hook that writes one line to stderr; absence of the `hook/invoked` event means it never matched.

Versions

RepositoryScoreLicence
This page · liyunxuanyu/dsh-zcode-port90MIT
asgeirtj/system_prompts_leaks100CC0-1.0
HaizhuAI/Zkali100Apache-2.0

Database snapshot: 13.11.2026 · package version c4ddfdbb7ac4 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90diagnosing-plugins
    Use when a DeepSeek Harness plugin is not listed, does not activate, or a row is ignored.
  • 90diagnosing-commands
    Use when a slash command is missing, does nothing, or is shadowed in DeepSeek Harness.
  • 100code-mate-deepseek-harness
    Run DeepSeek Harness non-interactively for coding tasks. Use when the user asks to delegate work to it.
  • 100debug-hooks
    Systematic hook debugging workflow. Use when hooks aren't firing, producing wrong output, or behaving unexpectedly.
  • 100deepseek-harness-setup
    Install and operate Everything Claude Code (ECC) on the DeepSeek Harness (DSH): native skill roots (~/.dsh/skills, .agents/skills), the @deepseek-ai/dsh-hooks-claude-code bridge for command hooks, bare-insert patch mounting, generator usage, event-support limits, and update…
  • 100deepseek-harness-brain
    Scaffold and operate DeepSeek Harness Brain, a source-cited Obsidian brain for DeepSeek Harness architecture, operations, extension development, security, testing, and debugging. Use when the user says "deepseek-harness-brain", "DeepSeek Harness Brain", "create a DeepSeek…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.