hub-ops

Manage claude-code-feishu hub jobs and trigger SIGUSR1 hot-reloads.

23|3|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/MidnightV1/Claude-Code-Feishu --skill hub-ops
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hub-ops
Source: https://github.com/MidnightV1/Claude-Code-Feishu/tree/main/.claude/skills/hub-ops
Command: npx skills add https://github.com/MidnightV1/Claude-Code-Feishu --skill hub-ops

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Provides a safe, script-driven way to manage scheduled tasks and the hub service lifecycle inside claude-code-feishu so operators do not manually edit files or kill the running process by mistake.

Core Features & Use Cases

  • Manage cron/interval/one-shot jobs: list, add, remove, enable, disable, and show details.
  • Hot-reload and status checks: update jobs.json and trigger SIGUSR1 to reload the hub without full restart when possible.
  • Use Case: Add a daily briefing job or disable a misbehaving scheduled task, verify the hub process is running, and trigger a reload after editing jobs configuration.

Quick Start

Ask the assistant to check the hub status and list all configured cron jobs using the hub_ctl.py tool.

Frequently Asked Questions about hub-ops

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage cron jobs in claude-code-feishu without restarting the hub process?

You can manage cron jobs by editing the data/jobs.json file and sending a SIGUSR1 signal to the hub process, triggering a hot-reload of scheduled tasks without a full restart.

What scheduling formats are supported for feishu hub jobs?

Feishu hub jobs support three scheduling formats: cron expressions, fixed intervals, and one-shot schedules, all operating in the Asia/Shanghai timezone.

How do I check if my feishu hub service is running properly?

You can verify the hub service status by asking the assistant to run the hub_ctl.py tool, which checks if the hub process is currently active and reports its health.

Can I disable a misbehaving scheduled task without deleting it permanently?

Yes, scheduled tasks can be disabled rather than removed, allowing you to temporarily halt misbehaving jobs and re-enable them later by updating jobs.json and reloading.

Why does editing jobs.json directly not update my running cron schedules?

Editing jobs.json alone does not update running schedules because the hub process must receive a SIGUSR1 signal to trigger a hot-reload and apply the new configuration safely.