返回顶部
s

skill-priority-setup

Scans installed skills, suggests L0-L3 priority tiers, and auto-configures skill injection policy. Use when: setting up skill priorities, optimizing token budget, or migrating to tiered skill architecture.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
379
下载量
0
收藏
概述
安装方式
版本历史

skill-priority-setup

# Skill Priority Setup Automated skill tiering and injection policy configuration for OpenClaw. ## What This Skill Does 1. **Discovery Phase**: Scans all installed skills across standard directories 2. **Analysis Phase**: Suggests L0-L3 tier assignments based on skill characteristics 3. **Configuration Phase**: Applies the tiered architecture to your setup 4. **Validation Phase**: Verifies configuration and estimates token savings ## Quick Start ```bash # Run the interactive setup wizard python3 ~/.openclaw/workspace/skills/skill-priority-setup/scripts/setup.py # Or non-interactive mode with defaults python3 ~/.openclaw/workspace/skills/skill-priority-setup/scripts/setup.py --auto ``` ## When to Use - **New Setup**: Just installed multiple skills and want optimal configuration - **Performance Issues**: High token usage or slow responses - **Migration**: Upgrading from flat skill structure to tiered architecture - **Audit**: Reviewing and optimizing existing skill priorities ## Architecture Overview This skill implements a 4-tier priority system: ### L0 - ROM Core (Always Active) - `semantic-system`: Semantic routing (message injector) - `agent-evolution`: Self-improvement behaviors (SOUL.md) - `config-modification`: Config safety (on-demand) - `skill-safe-install`: Installation safety (on-demand) ### L1 - Routing Layer (Task-Triggered) - `browser-automation`: Web automation - `find-skills`: Skill discovery - `teamtask`: Multi-agent coordination ### L2 - Domain Skills (Keyword-Triggered) - Document: `word-docx`, `tesseract-ocr` - Media: `youtube-transcript` - Platform: `discord`, `wechat-suite`, `evomap` - Automation: `automation-workflows` ### L3 - Extensions (Manual/On-Demand) - Third-party integrations: `notion`, `slack`, `github`, etc. ## Workflow ``` ┌─────────────────┐ │ 1. Scan Skills │ → Find all SKILL.md files └────────┬────────┘ ▼ ┌─────────────────┐ │ 2. Analyze │ → Detect skill types & dependencies └────────┬────────┘ ▼ ┌─────────────────┐ │ 3. Suggest Tiers│ → Propose L0-L3 assignments └────────┬────────┘ ▼ ┌─────────────────┐ │ 4. User Review │ → Confirm or modify suggestions └────────┬────────┘ ▼ ┌─────────────────┐ │ 5. Apply Config │ → Update AGENTS.md, SOUL.md, etc. └────────┬────────┘ ▼ ┌─────────────────┐ │ 6. Validate │ → Check JSON, test injection └─────────────────┘ ``` ## Token Budget - **L0 Core**: ≤300 tokens/round (minimal rules) - **L1 Triggered**: ≤400 tokens per injection - **Total Budget**: ≤900 tokens/round - **Overflow Strategy**: Inject summary + file path only ## Safety Features - Backup before any configuration changes - JSON validation before applying - Dry-run mode (`--dry-run`) - Rollback capability ## Files Created - `SKILL_PRIORITY_POLICY.md`: Your custom policy document - `AGENTS.md` updates: Core constraints added - `SOUL.md` updates: Agent evolution behaviors - Backup files: `.backup/*.timestamp` ## Configuration Edit `~/.openclaw/workspace/skills/skill-priority-setup/config.yaml` to customize: ```yaml # Default tier assignments (override per skill) default_tiers: semantic-router: L0 browser: L1 word-docx: L2 # Token budgets token_budget: l0_max: 300 l1_max: 400 total_max: 900 # Safety settings backup_before_change: true validate_json: true auto_rollback: true ``` ## Troubleshooting ### Gateway Won't Start - Check if message injector content exceeds limit - Run with `--diagnose` flag ### Skills Not Loading - Verify allowBundled list in openclaw.json - Check file permissions ### High Token Usage - Review L0 assignments (should be minimal) - Consider moving skills to lower tiers ## References - Original Implementation: [SKILL_PRIORITY_POLICY.md](../SKILL_PRIORITY_POLICY.md) - OpenClaw Docs: https://docs.openclaw.ai/skills

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 skill-priority-setup-1776290104 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 skill-priority-setup-1776290104 技能

通过命令行安装

skillhub install skill-priority-setup-1776290104

下载 Zip 包

⬇ 下载 skill-priority-setup v1.0.0

文件大小: 14 KB | 发布时间: 2026-4-16 18:43

v1.0.0 最新 2026-4-16 18:43
Initial release of skill-priority-setup: automates skill tiering and injection policy for OpenClaw.

- Scans and analyzes installed skills to suggest L0–L3 priority tiers
- Automatically configures and validates skill injection policy for optimal token use
- Provides both interactive wizard and non-interactive setup modes
- Includes backup, validation, dry-run, and rollback safety features
- Saves a custom policy document and updates relevant configuration files
- Designed for both new setups and migrations to tiered architectures

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部