Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计提醒

off-peak-compute非高峰计算

Agent Skill

off-peak-compute 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

9,055

周安装

385

GitHub Stars

公开资料未说明

下载量

3,172
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:off-peak-compute(非高峰计算)
来源仓库:https://github.com/willificent/off-peak-compute
安装命令:
openclaw skills install off-peak-compute
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install off-peak-compute

简介

在非高峰时段运行计算任务,降低 GPU/云资源成本。

  • 适合夜间执行非时间敏感的计算密集型工作。off-peak-compute 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 通过现货定价机制自动调度任务到低价时段运行。
  • 安装前需确认任务可延迟性及系统兼容性要求。
  • 建议优先用于训练、渲染等可错峰处理的场景。

SKILL.md

name
off-peak-compute
version
1.0.1
description
Run heavy compute tasks overnight when GPU/cloud capacity is cheapest (spot pricing). Use when you have non-time-sensitive tasks that would benefit from off-peak availability. Tasks execute at 2 AM via cron.
author
clawde
priority
high
tags
[compute, scheduling, spot-pricing, optimization, cron]

Off-Peak Compute Skill

Core Insight: Cloud providers sell pooled, variable capacity. Your effective quota depends on infrastructure load. Running heavy tasks overnight maximizes throughput when GPU farms are underutilized.

What This Skill Does

  • Provides a script template for queuing non-time-sensitive compute tasks
  • Runs queued tasks automatically at 2 AM via cron
  • Logs execution results for morning review

Security Model

Honest assessment of what runs:

LayerIsolationPrivileges
Cron jobSeparate processFull user privileges
Agent sessionNew session (isolated from your current session)Full access to your environment's credentials
Network callsNoneWhatever credentials the agent can access

What this means:

  • Tasks run with your user privileges
  • Each task spawns a new agent session (isolated from each other)
  • Sessions can access your environment's credentials
  • There is no sandboxing or credential scoping

Your responsibility:

  • Inspect tasks before adding them
  • Don't embed secrets directly in the script
  • Test tasks manually before scheduling
  • Review what network actions tasks perform

Setup (One-Time)

# Create directories
mkdir -p ~/.openclaw/workspace/scripts
mkdir -p ~/.openclaw/workspace/logs

# Copy the script template (see below)
# Path: ~/.openclaw/workspace/scripts/off-peak-compute.sh

# Make executable (owner only for security)
chmod 700 ~/.openclaw/workspace/scripts/off-peak-compute.sh

# Add cron job (runs at 2 AM daily)
(crontab -l 2>/dev/null | grep -v "off-peak-compute"; echo "0 2 * * * \$HOME/.openclaw/workspace/scripts/off-peak-compute.sh") | crontab -

# Verify
crontab -l | grep off-peak

Script Template

Create ~/.openclaw/workspace/scripts/off-peak-compute.sh:

#!/bin/bash
# off-peak-compute.sh
# 
# OFF-PEAK COMPUTE QUEUE
# Runs automatically at 2 AM via cron
# 
# SECURITY: Tasks run with your user privileges and can access
# your environment's credentials. Each task spawns a new agent
# session (isolated from each other). No sandboxing is provided.
# 
# REVIEW BEFORE ENABLING:
# - Remove sample tasks you don't want
# - Test tasks manually before scheduling
# - Be aware of credential scope for each task
# - Restrict permissions: chmod 700 this script
#
# ---------------------------------------------------------------------------

LOG_FILE="$HOME/.openclaw/workspace/logs/off-peak-compute.log"
SCRIPT_FILE="$HOME/.openclaw/workspace/scripts/off-peak-compute.sh"

log() {
    echo "[$(date '+%Y-%m-%d %H:%M:%S')] $1" >> "$LOG_FILE"
}

echo "" >> "$LOG_FILE"
echo "========================================" >> "$LOG_FILE"
log "Off-peak compute run starting"
echo "========================================" >> "$LOG_FILE"

# Count tasks
TASK_COUNT=$(grep -c "^# TASK:" "$SCRIPT_FILE" 2>/dev/null || echo "0")

if [ "$TASK_COUNT" -eq 0 ]; then
    log "No tasks queued. Exiting."
    exit 0
fi

log "Found $TASK_COUNT task(s) to process"

# TASK TEMPLATE
# Copy and modify for each task. Be aware of:
# - Credential scope (what can this task access?)
# - Network actions (what external services does it call?)
# - File writes (where does it save results?)
#
# # TASK: <description>
# # Added: <date>
# # Credential scope: <what credentials does this use?>
# # Network actions: <what external services?>
# openclaw agent --agent <agent-id> --message "Task instructions here"
# # END TASK
# ---------------------------------------------------------------------------

# TASKS BELOW THIS LINE
# ---------------------------------------------------------------------------



# END OF TASKS
# ---------------------------------------------------------------------------

log "Run complete. Check log for results."
log "Remove completed tasks manually before next run."

Adding Tasks

Before adding a task, ask yourself:

  1. What credentials does this task need?
  2. What network actions will it perform?
  3. Where will it write files?
  4. Have I tested it manually?

Template:

# TASK: Research competitive landscape
# Added: 2026-03-10
# Credential scope: web search API (no secrets)
# Network actions: web search, file write
openclaw agent --agent main --message "Research competitive landscape for X. Save results to ~/notes/research/findings.md"
# END TASK

Checking Results

# View log
cat ~/.openclaw/workspace/logs/off-peak-compute.log

# Check for task output (wherever the task saves results)
ls -la ~/notes/research/

When to Use This

Good for off-peak:

  • Deep research (can wait 12-24 hours)
  • Document summarization batches
  • Model-intensive analysis
  • Batch processing jobs

NOT for off-peak:

  • Time-sensitive requests (emails, calendar)
  • Interactive tasks requiring follow-up
  • Urgent matters

Cron Schedule

0 2 * * * $HOME/.openclaw/workspace/scripts/off-peak-compute.sh

Adjust timezone if needed.

Why This Matters

Cloud providers sell pooled capacity. Overnight = lower demand = more throughput per token. This skill lets you queue heavy work for when capacity is cheapest.


*Created: 2026-03-10* *Updated: 2026-03-10 — Honest security model, clear credential scope guidance*

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

71.03%
按下载量换算2,253

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills