convex-insights
Fungsinya
Skill ini menjawab pertanyaan tentang kondisi aplikasi Convex yang aktif, misalnya error atau fungsi yang lambat. Skill ini ditujukan untuk pemilik yang ingin jawaban tanpa harus menggali dashboard sendiri.
Kapan dipakai
- โSaat aplikasi Convex Anda menampilkan error dan Anda ingin tahu fungsi mana yang gagal.
- โSaat Anda ingin menemukan fungsi yang lambat atau mahal di aplikasi yang sedang berjalan.
- โSaat Anda ingin tahu apa yang berubah tepat sebelum masalah muncul.
Link skill
https://github.com/openclaw/clawhub/blob/main/.agents/skills/convex-insights/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
โFungsi apa saja di aplikasi Convex saya yang gagal belakangan ini?โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent mengambil kumpulan log dan data kesehatan terbaru dari deployment Convex, menyaringnya sesuai pertanyaan Anda, lalu mengembalikan bukti beserta tautan dashboard agar Anda bisa memeriksanya sendiri.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Query logs + health in natural language
The deployment already records what happened; the agent just has to ask well. This capability is a disciplined wrapper over the official Convex MCP's read tools (logs, insights, functionSpec, status) that turns operational questions into narrow, evidence-returning queries and hands back answers a human can one-click verify in the dashboard. The discipline is copied from the observability MCP surface that works best in the wild: discover fields before querying, three views not fifteen tools, token-frugal output, and a dashboard deep link on every answer.
Workflow
- GUARD: deploy-guard step 0-1 โ identify + announce which deployment is being read. Reading logs/insights is read-only; never enable prod mutation flags for an insights pass.
- DISCOVER before you query โ never guess identifiers. Use
functionSpecto list the real function names andstatusfor the deployment/version. Note the tool limits up front:logstakes only--history <n>(a COUNT, not a time window),--success,--jsonl,--prod,--deploymentโ there is NO server-side status/function/requestId/time filter;insightshas no function filter and is cloud dev/prod + user-auth only. So you fetch a recent window and filter CLIENT-SIDE. - PICK ONE OF THREE VIEWS and fetch the raw window, then filter locally:
- failures view โ
logs --history <n> --jsonl, then locally keep failures + group by function + error message, returning counts + the first stack per group. Answers 'what's erroring', 'what failed after deploy'. - health view โ
insights(cloud only): the typed 72h read-limit / OCC events. Surface + rank them, but hand perf/cost ROOT-CAUSING and fixes to convex-advisor โ emit those as pointer findings, do not own the perf-fix framing here. - trace view โ
logs --history <n> --jsonlthen locally filter to one requestId/function to read the full execution. Answers 'why did THIS call fail'.
- failures view โ
- SCOPE by fetching a bounded recent window (a sensible
--historycount) and filtering client-side to the function/status/requestId asked about; when the window is large, aggregate (counts by function/message) rather than dumping lines. - ANSWER with (a) the one-line finding, (b) the evidence (counts + one representative stack/log line), and (c) WHEN POSSIBLE an agent-constructed dashboard deep link (dashboard.convex.dev, the deployment's Logs/Functions view) for human verification โ no tool returns the link, so build it from the deployment name + function; never a raw log dump as the answer.
- CROSS-CHECK deploy causality when asked 'did my deploy break this': compare the failure onset (from the log timestamps) against the deployment version from
status; correlate, don't assert. - HAND OFF, don't fix here: a perf/cost cause โ convex-advisor (which owns those fixes); a code defect โ convex-reviewer/convex-authz; a live error to react to going forward โ monitor/sentinel. Emit findings on the bus (specs/finding.schema.json) โ primarily
observability, with perf/cost as pointer findings to advisor โ so a composite pass can pick them up.
Rules
- Discover real function/field names (functionSpec/status) before filtering โ never guess identifiers, never return a confusing empty result for a name the app doesn't have.
logsandinsightshave NO server-side status/function/requestId/time-window filter (logs takes only a --history COUNT; insights is cloud-only) โ fetch a bounded recent window and filter CLIENT-SIDE; say so rather than implying params that don't exist.- One of three views per question (failures / health / trace) โ don't fan out into many speculative tool calls.
- No tool returns a dashboard link โ construct it from the deployment name + function when possible for human verification; never answer with a raw log dump.
- Read-only always: an insights pass runs no mutation and never enables prod mutation flags (deploy-guard discipline).
- Stay a reader and defer perf/cost fixes to convex-advisor: emit primarily
observability, route perf/cost as POINTER findings so advisor uniquely owns the perf-fix framing; forward-looking reaction goes to monitor/sentinel.
Pertanyaan umum
Apakah skill ini bisa mengubah sesuatu di aplikasi saya?
Skill ini dibuat untuk membaca log dan data kesehatan, dan tidak mengubah deployment untuk pemeriksaan ini.
Lingkungan mana yang dibaca?
Skill membaca deployment yang Anda pilih dan menyebutkannya terlebih dahulu.
Mengapa diberi tautan dashboard?
Agar Anda bisa memverifikasi setiap jawaban sendiri di dashboard Convex.
Detail
Deskripsi asli dari pembuat
Query a running Convex app's logs + health in natural language (official MCP): failures, slow/expensive functions, deploy causality โ scoped, evidence-backed, with a dashboard deep link.
repo: openclaw/clawhub
Popularitas
- Bintang GitHub
- 9.5k
- Peringkat
- #12247
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- โฆ
Skill lain dari repositori ini
axiom-alerting
9.5kMembantu agen Anda membuat dan mengelola monitor Axiom serta rute notifikasi melalui API Axiom, dan memeriksa apakah peringatan berperilaku sesuai harapan.
axiom-sre
9.5kMembantu agen Anda menyelidiki insiden dan bug produksi langkah demi langkah, menguji setiap dugaan terhadap log Axiom sebelum menarik kesimpulan.
building-dashboards
9.5kMembantu agen Anda mendesain dasbor Axiom dengan grafik, kueri, dan filter yang sesuai, dimulai dari keputusan yang harus didukung dasbor tersebut.
controlling-costs
9.5kMembantu agen Anda menemukan data yang tidak terpakai di Axiom dan membangun dasbor serta monitor yang melacak dan memangkas biaya logging.
Skill serupa
diffs
394kMemungkinkan agent Anda menghasilkan diff perubahan yang nyata dan dapat dibagikan sebagai tautan viewer atau file gambar, bukan ringkasan yang ditulis manual.
coding-agent
394kMembantu agent Anda menyerahkan pekerjaan pemrograman besar ke Codex, Claude Code, atau OpenCode di latar belakang, lalu memeriksa kemajuannya.
gh-issues
394kMembantu agent Anda menemukan issue GitHub, memilih yang dikerjakan, dan membuka pull request perbaikan, termasuk tindak lanjut komentar tinjauan.