본문으로 건너뛰기
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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구Vercel
설치 방법 보기

포함된 파일(1)

  • SKILL.md7.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Proactive Background Watcher (Sentinel Daemon Protocol)

English | Bahasa Indonesia


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

English

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').

Orchestration & Integration

  • cron-scheduler-expert: Provides application-level cron scheduling, while this skill manages agent-native runtime timers.
  • self-healing-cloud-orchestrator: Awakens self-healing agents when crash metrics are discovered during background polling.
  • ci-cd-devops-architect: Monitors deployment pipelines and automated release status.
  • session-memory-manager: Persists sentinel status across extended multi-turn sessions.

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

Bahasa Indonesia

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').

Integrasi Orkestrasi

  • cron-scheduler-expert: Mengatur cron pada level aplikasi, sedangkan skill ini mengatur timer pada level runtime agen AI.
  • self-healing-cloud-orchestrator: Menerima eskalasi otomatis ketika watcher menemukan anomali pada log.
  • ci-cd-devops-architect: Memantau kelulusan pipeline CI/CD di GitHub Actions atau Vercel.
  • session-memory-manager: Mencatat status watcher ke dalam CHECKPOINT.md.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

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-plug802026년 10월 19일 업데이트

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-plug802026년 10월 19일 업데이트

Expert guide for Affective Computing, emotional AI, and real-time sentiment analysis through native multimodal tokens (voice intonation and facial micro-expressions) / Panduan ahli komputasi afektif, AI emosional, dan analisis sentimen real-time melalui token multimodal native.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

roedyrustam/vibes-plug802026년 10월 19일 업데이트

Expert guide for AI-assisted coding workflows — agentic code generation, multi-agent code swarms, self-healing CI/CD, automated PR review, spec-to-code pipelines, codebase knowledge graphs, and human-in-the-loop approval gates / Panduan ahli untuk workflow pengkodean berbasis AI — generasi kode agentic, code swarm multi-agen, CI/CD self-healing, review PR otomatis, pipeline spec-to-code, knowledge graph codebase, dan gate persetujuan human-in-the-loop.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

roedyrustam/vibes-plug802026년 10월 19일 업데이트

Expert guide for autonomous Machine-to-Machine (M2M) agent settlement, dual-rail fiat & stablecoin micro-clearing, dynamic budget envelopes, and cryptographic agent invoicing / Panduan ahli settlement otonom antar-agen (M2M), kliring mikro dual-rail fiat & stablecoin, pagu anggaran dinamis, dan penagihan agen kriptografis.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

roedyrustam/vibes-plug802026년 10월 19일 업데이트

Expert guide for long-term episodic memory integration (Mem0 v2, Letta/MemGPT, Zep v2), memory tier architecture, pgvector HNSW storage, and unified context management for autonomous AI agents / Panduan ahli untuk integrasi memori episodik jangka panjang (Mem0 v2, Letta/MemGPT, Zep v2), arsitektur tier memori, penyimpanan pgvector HNSW, dan manajemen konteks terpadu untuk agen AI otonom.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

roedyrustam/vibes-plug802026년 10월 19일 업데이트

roedyrustam의 스킬 모두 보기

이 스킬의 문제 신고