本文へ移動
cccskills
無料GitHub で公開

proactive-background-watcher

Grants the AI the ability to act proactively using native cron/timer scheduling. The agent can monitor systems, poll APIs, or watch logs in the background and self-trigger without waiting for user prompts.

日本語の概要は準備中です。原文の説明を表示しています。

roedyrustam/vibes-plugスター 115(GitHub 115 + cccskills 0)
連携ツールVercelSentry

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md7.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Proactive Background Watcher (Sentinel Daemon Protocol)

English | Bahasa Indonesia


<a name="english"></a>

English

Orchestration & Integration

  • Upstream & Task Lifecycle: zero-to-prod-orchestrator (Phase 7-8 lifecycle), session-memory-manager (checkpoint sentinel state), brainstorming.
  • Background Cron & Execution: cron-scheduler-expert (app-level cron vs agent-native schedule tool), parallel-tool-orchestrator (concurrent polling jobs).
  • Incident Escalation & Self-Healing: self-healing-cloud-orchestrator (auto-patch upon anomaly detection), logging-error-tracking-expert (Sentry/Pino trace alerts).
  • Build & CI/CD Watchers: ci-cd-devops-architect (pipeline completion checks), cloud-hosting-expert (Vercel/Railway build state).

Description

Standard LLM chat sessions are strictly reactive—they remain dormant until the user submits a prompt. This skill unlocks proactive agency. Utilizing the runtime's native schedule tool (one-shot timers and recurring cron schedules), the agent can autonomously monitor background build pipelines, poll health endpoints, inspect server logs, or track deployment state machines. When an anomaly occurs or a long-running job finishes, the agent wakes up autonomously to diagnose, notify, or remediate without waiting for human prompting.

Trigger Conditions

  • User requests asynchronous monitoring: "Let me know when the Vercel build succeeds", "Watch the test runner", or "Alert me if memory spikes".
  • Running long-running database migrations or load tests in the background.
  • Scheduled recurring health audits (e.g., periodic SSL expiry or API latency checks).
  • Watchdog supervision over multi-agent swarm subtasks.

Sentinel Execution Architecture

User Prompt: "Run migrations and alert me when complete"
       │
       ▼
1. Launch Background Task (run_command with WaitMsBeforeAsync=500)
       │
       ▼
2. Register Sentinel Timer via `schedule`
   (DurationSeconds=120, Prompt="Check migration task status", TimerCondition="task-id")
       │
       ▼
3. Agent Ends Turn (System enters reactive sleep state)
       │
       ▼
4. Autonomous Wakeup on Timer Expiration or Task Completion
       │
       ├─► Success ──► Synthesize artifact & notify user
       └─► Error   ──► Trigger `autonomous-tdd-debugger` or `self-healing-cloud-orchestrator`

Production Tool Invocation Patterns

Pattern A: One-Shot Asynchronous Task Watcher

// Schedule tool call arguments
{
  "DurationSeconds": "180",
  "Prompt": "Audit background migration task-42. Verify exit code and schema integrity.",
  "TimerCondition": "task-42",
  "toolSummary": "Migration watcher timer",
  "toolAction": "Scheduling watchdog timer"
}

Pattern B: Recurring Health Daemon (Cron Mode)

// Schedule tool call arguments
{
  "CronExpression": "*/10 * * * *",
  "MaxIterations": "6",
  "IsDaemon": true,
  "Prompt": "Poll /api/health and report error budget violations > 0.5% in HEALTH_LOG.md",
  "toolSummary": "Health monitor cron",
  "toolAction": "Setting up 10-minute health check"
}

The 4 Non-Negotiable Sentinel Rules

  1. Zero-Spam Silent Success: If a periodic poll detects normal operation, the agent MUST NOT post conversational filler to the user. Maintain silence and sleep until an issue arises or a milestone completes.
  2. Deterministic Wakeup Prompt: Always supply clear, high-information prompts in schedule so the awakened model has instant context without re-reading past history.
  3. KV-Cache Prefix Preservation: Keep the recurring prompt byte-identical across iterations to trigger prompt caching and reduce inference billing by up to 90%.
  4. Lifecycle Cleanup: Once a watched task terminates, cancel lingering timers using manage_task (Action: 'kill').

<a name="bahasa-indonesia"></a>

Bahasa Indonesia

Integrasi Orkestrasi

  • Hulu & Siklus Hidup Tugas: zero-to-prod-orchestrator (Siklus Fase 7-8), session-memory-manager (checkpoint status sentinel), brainstorming.
  • Cron Latar Belakang & Eksekusi: cron-scheduler-expert (cron aplikasi vs tool schedule native agen), parallel-tool-orchestrator (job polling konkuren).
  • Eskalasi Insiden & Self-Healing: self-healing-cloud-orchestrator (patch otomatis saat anomali), logging-error-tracking-expert (alert trace Sentry/Pino).
  • Pemantau Build & CI/CD: ci-cd-devops-architect (pemeriksaan penyelesaian pipeline), cloud-hosting-expert (status build Vercel/Railway).

Deskripsi

Sesi obrolan LLM standar bersifat sepenuhnya reaktif—hanya merespons saat pengguna mengetik instruksi. Skill ini memberikan kemampuan proaktif (Sentinel). Memanfaatkan tool schedule native (timer satu-kali atau cron berkala), agen dapat secara mandiri memantau proses build, melakukan polling pada health check API, memeriksa log server, atau memantau proses migrasi database di latar belakang. Jika terjadi error atau proses panjang selesai, agen akan "bangun" sendiri untuk menganalisis, melapor, atau melakukan perbaikan otomatis tanpa menunggu instruksi manual.

Kondisi Pemicu

  • Pengguna meminta pemantauan asinkron: "Beri tahu saya jika deployment selesai", "Pantau status server", atau "Kabari jika ada error di background".
  • Menjalankan migrasi database besar atau stress test di latar belakang.
  • Pemantauan berkala (misal: cek masa berlaku sertifikat SSL atau latensi endpoint setiap 10 menit).
  • Pengawasan terhadap subagent dalam eksekusi Swarm multi-domain.

Alur Eksekusi Sentinel Proaktif

Instruksi: "Jalankan migrasi di background dan kabari jika selesai"
       │
       ▼
1. Jalankan Perintah Background (run_command dengan timeout pendek)
       │
       ▼
2. Pasang Alarm Timer Sentinel via tool `schedule`
   (DurationSeconds=120, Prompt="Cek status migrasi task-id", TimerCondition="task-id")
       │
       ▼
3. Agen Istirahat (Akhiri giliran tool, sistem masuk mode hemat sumber daya)
       │
       ▼
4. Agen Bangun Otomatis saat Alarm Berbunyi atau Task Selesai
       │
       ├─► Sukses ──► Tulis status di CHECKPOINT.md & beri tahu user
       └─► Gagal  ──► Picu `autonomous-tdd-debugger` untuk memperbaiki error

Pola Pemanggilan Tool Produksi

// Contoh konfigurasi tool schedule untuk memantau deployment
{
  "DurationSeconds": "300",
  "Prompt": "Periksa status deployment di Vercel. Jika gagal, baca log error dan siapkan hotfix.",
  "TimerCondition": "never",
  "toolSummary": "Pemantau deployment",
  "toolAction": "Menjadwalkan alarm sentinel"
}

4 Aturan Emas Sentinel

  1. Dilarang Spam (Zero-Spam): Jika pengecekan berkala mendapati sistem normal, agen DILARANG mengirim pesan obrolan kosong ke pengguna. Tetaplah diam dan kembali tidur.
  2. Prompt Bangun yang Jelas: Selalu sertakan instruksi yang detail pada parameter Prompt di tool schedule agar agen yang terbangun langsung memahami tugas tanpa perlu membaca ulang seluruh riwayat.
  3. Efisiensi Token & KV-Cache: Gunakan struktur teks yang seragam pada prompt cron agar prompt caching tetap aktif dan hemat token hingga 90%.
  4. Pembersihan Bersih (Clean Teardown): Segera matikan timer yang sudah tidak terpakai menggunakan manage_task (Action: 'kill').

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

A2A agent protocol interoperability, Agent Cards, and MCP bridging / Protokol agen A2A, Agent Cards, dan integrasi MCP.

日本語の概要は準備中です。原文の説明を表示しています。

roedyrustam/vibes-plug1152026年10月27日 更新

Expert guide for automated and manual Web Accessibility (a11y) testing — axe-core, Pa11y, Playwright a11y, screen reader testing, and WCAG 2.2 Level AA/AAA compliance / Panduan ahli pengujian aksesibilitas web.

日本語の概要は準備中です。原文の説明を表示しています。

roedyrustam/vibes-plug1152026年10月27日 更新

Web accessibility testing with axe-core, Playwright, and WCAG 2.2 / Pengujian aksesibilitas web axe-core, Playwright, dan WCAG 2.2.

日本語の概要は準備中です。原文の説明を表示しています。

roedyrustam/vibes-plug1152026年10月27日 更新

Model cascading & complexity-scored routing (Grok, Gemini, Claude) / Routing kaskade model & scoring kompleksitas (Grok, Gemini, Claude).

日本語の概要は準備中です。原文の説明を表示しています。

roedyrustam/vibes-plug1152026年10月27日 更新

Expert guide for intelligent model cascading and routing — complexity-scored task routing from Flash/Haiku to Sonnet/Opus/Astra, dynamic escalation with quality gates, 40-60% token cost reduction while maintaining output quality / Panduan ahli untuk kaskade dan routing model cerdas — routing tugas berbasis skor kompleksitas dari Flash/Haiku ke Sonnet/Opus/Astra, eskalasi dinamis dengan gerbang kualitas, pengurangan biaya token 40-60% dengan kualitas output terjaga.

日本語の概要は準備中です。原文の説明を表示しています。

roedyrustam/vibes-plug1152026年10月27日 更新

Affective computing, emotion AI, and multimodal sentiment analysis / Komputasi afektif, AI emosional, dan analisis sentimen multimodal.

日本語の概要は準備中です。原文の説明を表示しています。

roedyrustam/vibes-plug1152026年10月27日 更新

roedyrustam のスキルをすべて見る

このスキルの問題を報告する