跳到正文
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(原文)

安装前可以查看交给 AI 代理的指令内容。

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 / 1000 字

此表单受 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-plug1052026年10月20日 更新

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-plug1052026年10月20日 更新

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-plug1052026年10月20日 更新

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-plug1052026年10月20日 更新

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-plug1052026年10月20日 更新

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-plug1052026年10月20日 更新

查看 roedyrustam 的全部技能

报告此技能的问题