Files
yuan-lab-llm--clawmanager/docs/resource-management.md
T
heranran 6ab0fef99c Feat/skill hub hardened (#172)
* feat(skill-hub): add Skill Hub catalog, publish flow, and lite materialize pipeline

Introduce Skill Hub for browsing, importing, publishing, and installing skills, with lite instance package materialization and runtime sync support.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(skill-hub): remove token-governance hooks from Skill Hub PR

Strip validateManagedRuntimeEnvironmentOverrides, network lock policy sync,
and egress proxy audit wiring that belong to the upcoming token-usage work,
so the Skill Hub branch compiles independently.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(skill-hub): update migration number in materialize docs

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(skill-hub): make RuntimeAgentClient test stub and hub tests compile-safe

Add ResyncInstanceSkills to the runtime pool handler fake client, and harden
skill hub payload helpers/tests against nil storage/instance repos so go test passes.

Co-authored-by: Cursor <cursoragent@cursor.com>

* feat: add Skill Hub hardening with session usage tracking and egress governance

Unify Skill Hub runtime sync improvements with session-token observability,
egress network policy, and admin/instance usage reporting for reopenable PR.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(skill-hub): repair CI tests and nested skill install

* fix(ci): restore release deployment configuration

* feat(skill-hub): 支持 Skill 批量安装与 Hermes 导入

* 定时任务开发,Skill hub功能优化,最新Hermes版本适配

---------

Co-authored-by: heshengran <heshengran@ieisystem.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 18:27:15 +08:00

2.8 KiB

Resource Management Guide

Resource Management is the reusable asset layer for OpenClaw workspaces in ClawManager. It is centered on channels, skills, bundles, and the snapshots used to compile those assets into instance-ready configuration.

Main Resource Types

  • Channels for workspace connectivity and integration templates
  • Skills for reusable uploaded packages that can be installed into runtime instances
  • Config skills for bootstrap configuration delivered through runtime environment payloads
  • Scheduled tasks (scheduled_task) for OpenClaw-compatible cron jobs (schedule + payload + delivery) injected at instance create/start
  • Bundles for composing repeatable resource sets, including both config resources and uploaded skills
  • injection snapshots for tracking the compiled result applied to an instance

Scheduled Task Bootstrap

  • Platform format: task/openclaw-cron@v1
  • Acceptance benchmark: OpenClaw cron schedule / payload / delivery (including announce and webhook)
  • Compiled env: CLAWMANAGER_OPENCLAW_SCHEDULED_TASKS_JSON (Hermes also receives CLAWMANAGER_HERMES_* / CLAWMANAGER_RUNTIME_* aliases)
  • OpenClaw Lite/Pro: managed jobs are upserted into ~/.openclaw/cron/jobs.json with ids cm-st-{resource_id}
  • Hermes Lite/Pro: the same OpenClaw-benchmark config is translated into Hermes native cron jobs under ~/.hermes/cron/jobs.json, then executed by Hermes gateway cron
  • Managed jobs never delete user-created cron entries
  • Runtime apply is soft-fail: invalid bootstrap JSON is logged and skipped; instance/gateway startup continues
  • Identical payload hash + managed id set skips rewriting the cron store
  • Hermes translation ignores OpenClaw-only wakeMode / sessionTarget (recorded as ignored_fields); Hermes always runs fresh agent sessions

Core Workflows

  1. Create or import channels, skills, and scheduled tasks in the OpenClaw Config Center.
  2. Organize selected config resources and uploaded skills into reusable bundles.
  3. Review scan posture for skills through Security Center.
  4. Apply resources or bundles to OpenClaw/Hermes workspaces at instance creation.
  5. Inspect runtime state and instance-level resource results after injection.

How It Connects to the Platform

  • Resource Management defines what should be delivered to a workspace.
  • Config resources are compiled into bootstrap environment payloads. Uploaded skills in a bundle are installed through the Agent Control Plane skill installation path.
  • Agent Control Plane / runtime agents apply and track those changes at runtime.
  • Security Center and skill-scanner help review the risk posture of reusable skills before broad rollout.