Agent skill

Gorse Worker Health Probe Fix

by divinevideo in divinevideo/divine-mobile

Fix Gorse worker pods stuck in not-ready state due to failing health probes.

MPL-2.0Auto-check passed

Install Gorse Worker Health Probe Fix

skills CLI
$ npx skills add divinevideo/divine-mobile --skill gorse-worker-health-probe-fix -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install divinevideo/divine-mobile gorse-worker-health-probe-fix --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/gorse-worker-health-probe-fix .claude/skills/gorse-worker-health-probe-fix && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
gorse-worker-health-probe-fix
GitHub stars
266
Token cost
~789 tokens
SKILL.md length
203 words
Files
1
Skills in repo
103
Repo updated
First seen
Licence
MPL-2.0

At a glance

Fix Gorse worker pods stuck in not-ready state due to failing health probes.

  • Gorse-worker pods show 0/1 Ready but Running status
  • SKILL.md covers Problem, Context / Trigger Conditions, Root Cause and Solution, plus 3 more sections
  • Calls kubectl
  • Readiness probe using pgrep fails silently

What it does

Gorse Worker Health Probe Fix is an agent skill from divinevideo/divine-mobile. Fix Gorse worker pods stuck in not-ready state due to failing health probes. Use when: (1) gorse-worker pods show 0/1 Ready but Running status, (2) Readiness probe using pgrep fails silently, (3) Worker logs show normal operation but pod never becomes ready, (4) Using zhenghaoz/gorse-worker image. The gorse-worker container is a minimal image without pgrep or ps commands, so exec-based probes using these fail.

Its SKILL.md is about 790 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The licence is MPL-2.0.

When your agent uses it

  • Gorse-worker pods show 0/1 Ready but Running status
  • Readiness probe using pgrep fails silently
  • Worker logs show normal operation but pod never becomes ready
  • Using zhenghaoz/gorse-worker image

Example prompts

  • “/gorse-worker-health-probe-fix”

Requirements

  • Docker

What it can do on your machine

Read from SKILL.md and the folder at commit c3d6f7e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • kubectl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use kubectl, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Gorse Worker Health Probe Fix loads about 789 tokens when it runs. Until then it costs about 111 tokens; SKILL.md has 203 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~111
When it runs · the whole SKILL.md, loaded when a task matches
~789

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from divinevideo/divine-mobile at commit c3d6f7e, republished under its MPL-2.0 licence (© divinevideo). 203 words, ~789 tokens.

Download SKILL.mdSave it as .claude/skills/gorse-worker-health-probe-fix/SKILL.md (or your agent's skills folder).
name
gorse-worker-health-probe-fix
description
Fix Gorse worker pods stuck in not-ready state due to failing health probes. Use when: (1) gorse-worker pods show 0/1 Ready but Running status, (2) Readiness probe using pgrep fails silently, (3) Worker logs show normal operation but pod never becomes ready, (4) Using zhenghaoz/gorse-worker image. The gorse-worker container is a minimal image without pgrep or ps commands, so exec-based probes using these fail.
author
Claude Code
version
1.0.0
date
2026-01-30

Gorse Worker Health Probe Fix

Problem

Gorse worker pods remain in not-ready state (0/1 Ready) even though the worker process is running correctly and processing jobs. This breaks HPA scaling and service health.

Context / Trigger Conditions

  • gorse-worker pods show 0/1 Ready but Running status
  • Worker logs show normal operation: "msg":"complete ranking recommendation"
  • Pod never transitions to Ready state
  • Deployment uses exec-based readiness probe with pgrep -f gorse-worker
  • Using the official zhenghaoz/gorse-worker Docker image

Root Cause

The zhenghaoz/gorse-worker image is a minimal/distroless image that doesn't include common utilities like pgrep, ps, or procps. The exec probe silently fails because the command doesn't exist.

yaml
# This probe FAILS silently - pgrep doesn't exist in the container
readinessProbe:
  exec:
    command: ["pgrep", "-f", "gorse-worker"]

Solution

Replace the pgrep-based probe with a process check using shell built-ins that exist in the minimal image:

yaml
# Use kill -0 to check if PID 1 (main process) is alive
livenessProbe:
  exec:
    command: ["sh", "-c", "kill -0 1"]
  initialDelaySeconds: 30
  periodSeconds: 10
readinessProbe:
  exec:
    command: ["sh", "-c", "kill -0 1"]
  initialDelaySeconds: 10
  periodSeconds: 5

The kill -0 <pid> command checks if a process exists without sending any signal. PID 1 is the main container process (gorse-worker).

Verification

After applying the fix:

bash
kubectl get pods -n gorse | grep worker
# Should show 1/1 Ready

kubectl describe pod <worker-pod> -n gorse | grep -A5 "Readiness:"
# Should show passing readiness checks

Example

Kustomize patch to fix worker probes:

yaml
patches:
  - target:
      kind: Deployment
      name: gorse-worker
    patch: |-
      - op: replace
        path: /spec/template/spec/containers/0/livenessProbe
        value:
          exec:
            command: ["sh", "-c", "kill -0 1"]
          initialDelaySeconds: 30
          periodSeconds: 10
      - op: replace
        path: /spec/template/spec/containers/0/readinessProbe
        value:
          exec:
            command: ["sh", "-c", "kill -0 1"]
          initialDelaySeconds: 10
          periodSeconds: 5

Notes

  • This issue affects only gorse-worker; gorse-master and gorse-server have HTTP endpoints for probes
  • The worker doesn't expose any HTTP endpoints, so exec probes are required
  • Alternative: use TCP probe on the gRPC port if the worker exposes one
  • This pattern applies to any minimal/distroless container without procps utilities

© divinevideo, MPL-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/gorse-worker-health-probe-fix of divinevideo/divine-mobile.

Open the folder on GitHubat commit c3d6f7e

Compare with similar skills

Gorse Worker Health Probe Fix next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Gorse Worker Health Probe Fix compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gorse Worker Health Probe Fix this skilldivinevideo/divine-mobile266—~789Automated safety check: PassMPL-2.0
Skin Health Analyzersickn33/agentic-awesome-skills47k2 repos~293Automated safety check: PassMIT
Codebase Health Dashboardgarrytan/gstack136k—~11kAutomated safety check: NotesMIT
Healthagenticnotetaking/arscontexta3.5k—~7.1kAutomated safety check: NotesMIT
Worker Visualizernexu-io/open-design100k—~998Automated safety check: PassApache-2.0
Health Wellnesssickn33/agentic-awesome-skills47k1 repos~3.5kAutomated safety check: PassMIT

Similar skills

  • Skin Health Analyzer

    sickn33/agentic-awesome-skills

    Analyze skin health data, identify skin problem patterns, assess skin health status.

    47k GitHub starsUsed in 2 repos~293 tokens
    Productivity & AutomationAuto-check passed
  • Runs a project's own type checker, linter, test runner, dead-code detector and shell linter, combines them into a weighted 0-10 score and tracks the trend.

    136k GitHub stars~11k tokensUpdated today
    DevelopmentAuto-check: notes
  • Health

    agenticnotetaking/arscontexta

    Run condition-based vault health diagnostics. An agent skill from agenticnotetaking/arscontexta.

    3.5k GitHub stars~7.1k tokensUpdated 7 mo ago
    Auto-check: notes
  • Worker Visualizer

    nexu-io/open-design

    A real-time data/particle/simulation visualizer whose heavy compute runs in a Web Worker (off the main thread), optionally sharing memory with the UI via SharedArrayBuffer, and renders to a canvas…

    100k GitHub stars~998 tokensUpdated yesterday
    Auto-check passed
  • Health Wellness

    sickn33/agentic-awesome-skills

    Wellbeing check-in register: anonymous flag, department, check-in date, wellbeing score, stress and energy levels, support and resource flags, confidentiality and status.

    47k GitHub starsUsed in 1 repo~3.5k tokens
    Productivity & AutomationAuto-check passed
  • Agent skill for worker-specialist - invoke with $agent-worker-specialist

    74k GitHub starsUsed in 2 repos~1.4k tokens
    Auto-check passed

More from divinevideo/divine-mobile

All 103 skills in this repo
  • Fix ArgoCD ExternalSecret deployment failing with "namespace X is not permitted in project Y".

    266 GitHub stars~931 tokensUpdated today
    Auto-check passed
  • Art Direct

    divinevideo/divine-mobile

    Art direction for any content — reads text, PDF, Word, HTML, PPT, then proposes 2-3 creative directions with photography style, mood, and visual language.

    266 GitHub stars~4.8k tokensUpdated today
    Auto-check passed
  • Async Await Null Race Condition

    divinevideo/divine-mobile

    Fix "Null check operator used on a null value" errors when an object is set to null during an async await.

    266 GitHub stars~881 tokensUpdated today
    Auto-check passed
  • AWS V4 Signing Custom Headers Gcs

    divinevideo/divine-mobile

    Add custom metadata headers (x-amz-meta-) to AWS v4 signed requests for GCS S3-compatible API.

    266 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Bash Herestring Newline Secrets

    divinevideo/divine-mobile

    Fix password/secret authentication failures caused by trailing newlines when creating Google Cloud secrets (or similar) with bash here-strings.

    266 GitHub stars~791 tokensUpdated today
    Auto-check passed
  • Fix silent video/media processing failures caused by URL extraction code that filters on file extensions (.mp4, .webm, .webp).

    266 GitHub stars~1.1k tokensUpdated today
    Auto-check passed

Questions about Gorse Worker Health Probe Fix

What does Gorse Worker Health Probe Fix do?

Fix Gorse worker pods stuck in not-ready state due to failing health probes. Gorse Worker Health Probe Fix is an agent skill from divinevideo/divine-mobile. Fix Gorse worker pods stuck in not-ready state due to failing health probes.

When should I use Gorse Worker Health Probe Fix?

Gorse Worker Health Probe Fix fits situations like: gorse-worker pods show 0/1 Ready but Running status; readiness probe using pgrep fails silently; worker logs show normal operation but pod never becomes ready; using zhenghaoz/gorse-worker image.

How do I install Gorse Worker Health Probe Fix in Claude Code?

Run `npx skills add divinevideo/divine-mobile --skill gorse-worker-health-probe-fix -a claude-code`. Or copy the skill folder (.agents/skills/gorse-worker-health-probe-fix in divinevideo/divine-mobile) into .claude/skills/gorse-worker-health-probe-fix in your project. Claude Code loads it when a task matches its description.

How do I install Gorse Worker Health Probe Fix in Codex?

Run `npx skills add divinevideo/divine-mobile --skill gorse-worker-health-probe-fix -a codex`. Or copy the skill folder (.agents/skills/gorse-worker-health-probe-fix in divinevideo/divine-mobile) into .agents/skills/gorse-worker-health-probe-fix in your project. Codex loads it when a task matches its description.

Can I use Gorse Worker Health Probe Fix in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add divinevideo/divine-mobile --skill gorse-worker-health-probe-fix -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gorse-worker-health-probe-fix, .gemini/skills/gorse-worker-health-probe-fix, .github/skills/gorse-worker-health-probe-fix and .opencode/skills/gorse-worker-health-probe-fix in your project.

What does Gorse Worker Health Probe Fix need to run?

Going by SKILL.md and its folder, Gorse Worker Health Probe Fix needs the command-line tools its instructions call (kubectl). Our summary lists: Docker.

Does Gorse Worker Health Probe Fix access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Gorse Worker Health Probe Fix safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Gorse Worker Health Probe Fix use?

Gorse Worker Health Probe Fix is published under the MPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gorse Worker Health Probe Fix use?

About 789 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Gorse Worker Health Probe Fix?

Skills that share tags, products or a category with Gorse Worker Health Probe Fix: Skin Health Analyzer (sickn33/agentic-awesome-skills, 47k stars), Codebase Health Dashboard (garrytan/gstack, 136k stars), Health (agenticnotetaking/arscontexta, 3.5k stars) and Worker Visualizer (nexu-io/open-design, 100k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gorse Worker Health Probe Fix?

divinevideo (a GitHub organization) maintains it in divinevideo/divine-mobile, which has 266 GitHub stars. The repository holds 103 skills in this directory. The repository was last updated on October 10, 2026.

Source: divinevideo/divine-mobile on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.