跳到正文
cccskills
免费在 GitHub 公开

checkup

Run diagnostics on an Egregore environment and render a health report, repairing safe local Runtime problems when possible. Use for /checkup, a health check, or when something is broken and the root cause is unclear.

中文简介正在准备中。当前显示原文说明。

egregore-labs/egregore星标 293(GitHub 293 + cccskills 0)
集成工具Telegram

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md7.7 KB

SKILL.md(原文)

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

Egregore checkup

Diagnose the Egregore Runtime first. Treat canonical Markdown and its instance-owned Local Retriever as the product baseline. Graph, control-plane, and notification probes are explicit Connected integrations; their failure must never make canonical Local Runtime state look unavailable.

When to invoke

Run diagnostics on an Egregore environment and render a health report, repairing safe local Runtime problems when possible. Use for /checkup, a health check, or when something is broken and the root cause is unclear.

Procedure

Detect mode without attempting a network call:

bash bin/config-get.sh mode

Use the printed value as {mode}; quote it in single quotes when you use it in a command, and write any single quote inside the value as '\''. If it prints local, skip Connected integrations; if it prints connected, include them after the local checks.

Run three sequential batches. Parallelize only within a batch.

  1. Runtime and local configuration.
  2. Connected integrations, only when {mode} is connected.
  3. Workspace and Git checks.

Never run Connected network probes beside local checks; a timeout must not cancel or obscure the Runtime result.

Batch 1: canonical Runtime

Read the one typed Runtime health surface as JSON:

EGREGORE_ROOT="$PWD" PYTHONSAFEPATH=1 PYTHONPATH="$PWD${PYTHONPATH:+:$PYTHONPATH}" \
  python3 -m egregore_runtime.harness_cli status --json

Do not invoke qmd, inspect QMD process tables, guess ports, or read another instance's runtime directory. The adapter owns those mechanics. Interpret the returned fields as follows:

  • canonical_state_ready — foundational. Fail only when canonical memory is unavailable.
  • adapter=qmd-local, collection, and index_path — the resolved instance-owned Local Retriever. Display these without exposing another instance or deriving ownership yourself.
  • runtime_state, runtime_pid, and runtime_endpoint — owned worker readiness. semantic_ready is healthy; semantic_index_building is a warning with lexical fallback; runtime_unavailable is repairable.
  • bm25_ready — local keyword readiness. Warn when false.
  • semantic_ready and embedding_state — semantic readiness. A warming or missing model is degraded, not canonical data loss.
  • index_spec_version, index_revision, and source_revision — freshness. Report drift; never repair it by editing index files.
  • warnings — show concise, redacted messages.

Also validate egregore.json, the canonical memory link/repository, and the mode-appropriate key names in .env. Never print secret values. Local mode requires no control-plane key.

If the Runtime worker or indexes are unavailable while canonical memory is ready, run the safe Runtime lifecycle adapter once:

bash bin/search.sh start

Then re-read Runtime health once. This starts or reuses only the worker owned by this Egregore instance and schedules semantic warming behind the adapter.

Batch 2: Connected integrations

Skip this batch completely in local mode. In connected mode, label every row as an integration, keep it outside the foundational Runtime verdict, and run:

timeout 10 bash bin/graph-projection.sh verify --enable 2>&1; echo "EXIT:$?"
timeout 10 bash bin/notification.sh status 2>&1; echo "EXIT:$?"
  • Hosted relationship index — pass when the gateway accepts the configured credentials and the projection is reachable. Offline, auth, or stale projection results are Connected warnings; canonical Markdown remains authoritative.
  • Notification adapter — read the sanitized Runtime status field. Treat ok (connected) or configured (local) as healthy. Telegram is optional and never part of Runtime readiness.

Do not auto-replace API keys, repair graph state, publish, or send a notification. Report the exact integration boundary that failed.

Batch 3: workspace

Check locally:

  • the configured base branch exists and compare it with origin/<base> only when an origin is already configured;
  • the current worktree and memory repository are clean or clearly report their dirty-file counts;
  • the framework version is readable locally. Do not fetch merely to render a health report;
  • the shell launcher points at this instance when a launcher is configured.

Never mutate Git, canonical memory, or framework files during diagnosis. Offer $pull, $update, or $setup as the next Egregore action when relevant; do not tell the user to construct repair commands manually.

Rendering

Render one compact diagnostic box. In connected mode add a separate CONNECTED INTEGRATIONS section after RUNTIME; in local mode omit it.

┌──────────────────────────────────────────────────────────────────────┐
│  ⊕ CHECKUP                                          {date}         │
├──────────────────────────────────────────────────────────────────────┤
│  CONFIG                                                              │
│  ✓ Instance — {org} ({mode})                                        │
│                                                                      │
│  RUNTIME                                                             │
│  ✓ Canonical memory — ready · source {source_revision}              │
│  ✓ Local Retriever — qmd-local {adapter_version} · owned            │
│  ⚠ Semantic index — warming · lexical fallback ready                │
│  ✓ Worker — pid {pid} · {endpoint}                                  │
│                                                                      │
│  CONNECTED INTEGRATIONS                                              │
│  ⚠ Hosted relationship index — offline · local memory ready         │
│  ✓ Telegram — connected                                             │
│                                                                      │
│  WORKSPACE                                                           │
│  ✓ Memory repository — clean                                        │
│  ✓ Git — {base} synced                                               │
├──────────────────────────────────────────────────────────────────────┤
│  Runtime ready · {warnings} warnings · integrations {state}         │
└──────────────────────────────────────────────────────────────────────┘

Use ✓, ⚠, and ✗ for pass, degraded, and unavailable. State the Runtime verdict independently from Connected integration health. After a safe Runtime repair, append only the rechecked result.

Rules

  • Never expose raw JSON, tokens, environment values, or unformatted probes.
  • Never use Graph or a control-plane response as canonical health authority.
  • Never call QMD directly; instance ownership belongs to Egregore Runtime.
  • Never send, publish, commit, pull, or push as part of checkup.
  • Emit telemetry only through the normal command wrapper, best-effort.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

activity

免费

Explicit Activity card only. Use when the user names /activity or directly asks to show, open, or render the Activity dashboard/card. Never use it to answer or synthesize what the team is focused on, busy with, prioritizing, or doing; analytical organizational questions use Search/Runtime QMD.

中文简介正在准备中。当前显示原文说明。

egregore-labs/egregore2932026年10月17日 更新

announce

免费

Draft, preview, and explicitly send an Egregore group announcement. Use for /announce, telling the team something, or notifying everyone—not a direct message or structured handoff.

中文简介正在准备中。当前显示原文说明。

egregore-labs/egregore2932026年10月17日 更新

archive

免费

Capture an effective prompting or steering technique as a reusable canonical pattern. Use when a prompt chain worked especially well; use /reflect for insight about the work and /note for a private thought.

中文简介正在准备中。当前显示原文说明。

egregore-labs/egregore2932026年10月17日 更新

branch

免费

Create a working branch from what you are about to work on. Use for /branch, or any request to start a new branch before making changes.

中文简介正在准备中。当前显示原文说明。

egregore-labs/egregore2932026年10月17日 更新

commit

免费

Stage changes and create a commit with a properly formatted message. Use for /commit, or saving work locally — not sharing it (/push) or opening a pull request (/pr).

中文简介正在准备中。当前显示原文说明。

egregore-labs/egregore2932026年10月17日 更新

Contribute an improvement back to the upstream Egregore framework as a cross-fork pull request. Use for /contribute, or submitting a framework fix upstream — not saving org work (/save) or filing a bug (/issue).

中文简介正在准备中。当前显示原文说明。

egregore-labs/egregore2932026年10月17日 更新

查看 egregore-labs 的全部技能

报告此技能的问题