beclab/olares

olares-dashboard

Olares Dashboard via olares-cli dashboard — CPU, memory, disk, network, pod counts, fan, GPU, application/resource rankings, JSON envelopes, and --watch.

Voir la source

Mode d’emploi

  1. Copiez la commande et examinez le paquet avant de l’installer dans votre environnement agent.
  2. Consultez le document original pour les outils, identifiants et environnements requis.
  3. Décrivez les entrées et le livrable souhaité ; comparez la sortie aux sources.
npx skills add https://github.com/beclab/olares --skill olares-dashboard

Avant de commencer

  • L’installation n’inclut ni abonnement au modèle, ni quota API, ni accès aux fichiers.
  • Étoiles et installations reflètent l’activité, pas un test indépendant de qualité ou de sécurité.
Document Skill original

Rendu depuis le dépôt source en conservant titres, exemples, code, tableaux, liens et images.

dashboard (overview + applications, AI-agent first)

Shared front door: load `../olares-shared/SKILL.md` for suite routing, active-profile selection, platform entry points, and the auth proceed/stop gate. Load its auth reference only when login, profile switching, token storage, or auth recovery is actually needed.

Use olares-cli dashboard <verb> --help for syntax.

When to use

  • Read CPU, memory, disk, network, pod, fan, or GPU metrics.
  • Rank applications/workloads by resource use.
  • Observe dashboard metrics over time or consume their stable JSON envelopes.
Mental model: dashboard answers "what's the resource usage and health". For inventory and lifecycle, route elsewhere. When the metrics reveal a problem (resource pressure, an app that's running but slow/unreachable), hand off to `../olares-doctor/SKILL.md` for root-cause diagnosis.

Fast paths

TaskReadFirst command
See the machine's current loadthis fileolares-cli dashboard overview -o json
Find which app is using the resourcesthis fileolares-cli dashboard applications -o json
Read one metric and know what it meansoverview section meaningsolares-cli dashboard overview memory -o json
Decide whether an empty answer is a failureenvelope and empty statesolares-cli dashboard overview gpu -o json, then read meta.empty_reason

Watching over time is not a fast path — watch, windows, NDJSON is a read of its own, and observing a metric is never the first thing to do with it.

Verb index

VerbPurposeRead when triggered
applications (apps)Workload-grain resource tableRows are workloads, not apps, so one app can occupy several; joins overview ranking on (app, namespace)
overviewPhysical, user, and ranking sectionsoverview section meanings; envelope and empty states
`overview cpumemorydiskpodsnetworkfangpuphysicaluserranking`One sectionoverview section meanings; envelope and capability gates
schemaServed JSON schemasThe one place the CLI describes an output shape without being run; read it instead of sampling a live response
any metric with watch/window intentRepeated snapshots / historical windowwatch, windows, NDJSON

Envelope and capability semantics

  • Pin automation to kind, raw, and meta.empty_reason, not table labels.
  • No hardware, no integration, or a capability gate is usually an exit 0 empty envelope, not a command failure.
  • Aggregate verbs (overview, overview disk|fan|gpu) exit non-zero only when every section carries meta.error; a partly degraded envelope is still exit 0 real data. The envelope reaches stdout either way, so read the per-section error rather than treating the exit code as the whole story.
  • A whole-instance outage surfaces as HTTP 530 on every section — the Olares is unreachable, so confirm it is online before diagnosing dashboard itself.
  • Fan is meaningful only on Olares One. Stop probing after the device gate says it is unavailable.
  • A hidden GPU sidebar for a non-admin profile is advisory if data is still returned. vgpu_unavailable is transient evidence, not proof that the device has no GPU.

Watch and diagnosis

  • Watch emits repeated snapshots; JSON mode is NDJSON. Ctrl-C ends observation, not any workload.
  • A watch aborts after repeated iteration failures. Separate transient metric collection failure from actual resource pressure.
  • Choose either a relative or absolute time window based on the user's question; do not combine them.
  • Dashboard locates pressure; it does not explain pod scheduling, crashes, image pulls, or entrance failures. Route those to olares-doctor.

Safety and escalation

  • Dashboard is read-only, but cross-user metrics require platform-admin authority. Do not switch profiles or broaden the target user without approval.
  • Do not report an empty integration envelope as "healthy" or "zero usage"; preserve its empty reason.
  • Stop and escalate persistent upstream metric errors after a bounded retry, including the affected section and time window.

Tâches connexes

du même dépôt

Autres Skills

Tous les Skills
beclab
Communauté

olares-chart

Olares app packaging and chart authoring via olares-cli chart — port a repo, docker-compose, or generic Helm chart; build/push the image; author, lint, package, and deploy an OlaresManifest; wire storage, middleware, entrances, env, and GPU; edit the chart after diagnosis. Runtime failure diagnosis is olares-doctor; public Market submission is olares-publish.

installations
2
GitHub Stars
5,3 k
Mis à jour
20 oct.
beclab
Communauté

olares-cluster

Olares ControlHub K8s runtime view via olares-cli cluster — inspect pods, containers, workloads, logs, jobs, cronjobs, namespaces, nodes, and middleware; exec, scale, restart, or delete K8s objects. Use for raw runtime objects and logs, not app lifecycle (market), resource metrics (dashboard), or host install.

installations
2
GitHub Stars
5,3 k
Mis à jour
20 oct.
beclab
Communauté

olares-files

Olares Files via olares-cli files — browse known paths; upload or download file bytes; edit, share, mount SMB/NFS, compress/extract archives, and manage Seafile sync across Drive/cache/external/cloud. Use for Olares Files and LarePass Files operations, not URL/yt-dlp/torrent download tasks (olares-knowledge).

installations
2
GitHub Stars
5,3 k
Mis à jour
20 oct.
beclab
Communauté

olares-knowledge

Olares Knowledge via olares-cli knowledge — manage download-server URL, yt-dlp, aria2, torrent, HuggingFace, and Wise download tasks: create/list/inspect/pause/resume/cancel/remove, prefs, sync, and file probes. Requires Olares 1.12.7+. Not for installer download or copying a Drive file with files download.

installations
2
GitHub Stars
5,3 k
Mis à jour
20 oct.