360 Secure SkillHub
360 安全技能中心

Cross-Channel & Cross-Agent Skill Sharing

当工作区安装或升级工具/包后,检查解释器与模块可用性,更新 TOOLS.md、可复用技能和 memory 日志,并在当前会话说明及向相关会话同步调用方式与注意事项。

分类:自动化
skglau
skglau
热度 21.50
最近更新 2026-05-11 17:36:07

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add skglau/cross-channel-cross-agent-sharing
兼容性
OpenClaw 专属
联网要求
不联网
数据出网
数据不出本机
Metadata
name
cross-channel-cross-agent-sharing
description
Ensure new capabilities gained from workspace-installed tools/packages are propagated across channels and agent sessions. Use when any tool/env/package install (e.g., venv, pip, npm, apt, binaries) unlocks new workflows and you need consistent cross-channel + cross-agent awareness via TOOLS.md updates, reusable skill updates, memory logging, and session notifications.

Cross-Channel & Cross-Agent Skill Sharing

Execute this workflow whenever workspace capability changes

  1. Detect capability change source:

    • New package/tool installed in workspace
    • Existing tool upgraded and behavior changed
    • New env/interpreter path required for capability
  2. Update TOOLS.md with operational facts:

    • Exact runtime/interpreter path
    • Install command
    • Verify command
    • Package versions
    • One-line usage note
  3. Create or update a reusable skill when pattern is repeatable:

    • Add/adjust SKILL.md
    • Add scripts under scripts/ for deterministic steps
    • Keep instructions concise and invocation-focused
    • Prefer adding a verification script for fast capability checks
  4. Log event in memory/YYYY-MM-DD.md:

    • What changed
    • How to verify
    • Any limits/known caveats
  5. Inform current conversation:

    • Summarize new capability
    • Show exact invocation command or trigger phrase
  6. Propagate to active related sessions/agents:

    • If likely relevant, send brief sync via sessions_send
    • Include only invocation + critical caveat

Required output format in chat (short)

  • New capability:
  • Use it with: <exact command / trigger>
  • Scope: Applies to all channels and sessions using this workspace
  • Caveat:

Quick Verification Helper

Use bundled script to verify interpreter + modules before claiming capability:

scripts/check_capability.sh <python-bin> <module1> [module2 ...]

Example:

scripts/check_capability.sh ~/.openclaw/workspace/.venv-img/bin/python cv2 PIL numpy

Guardrails

  • Do not assume global python/node paths; prefer workspace-scoped env paths
  • Do not claim capability before running verify command
  • Keep cross-session notices minimal to avoid spam
  • If capability is channel-specific (provider restriction), state that explicitly