offload2

📁 4ier/agent-skills 📅 9 days ago
1
总安装量
1
周安装量
#49678
全站排名
安装命令
npx skills add https://github.com/4ier/agent-skills --skill offload2

Agent 安装分布

openclaw 1
opencode 1
cursor 1
claude-code 1

Skill 文档

OFFLOAD2

One-way cognitive offload. Accept text, append to local JSONL, return nothing.

Usage

echo "unproductive internal state" | scripts/offload.sh

Environment Variables

Required:

  • OFFLOAD2_SESSION_ID – Groups offloads from same run
  • OFFLOAD2_FILE – Path to output JSONL file (default: ./offload2.jsonl)

Optional:

  • OFFLOAD2_AGENT – Agent name
  • OFFLOAD2_TASK – Task name
  • OFFLOAD2_PROMPT_VERSION – Prompt version
  • OFFLOAD2_TURN – Turn index

Behavior

  • Accepts arbitrary text from stdin
  • Appends single JSON line to file
  • Returns no output
  • Fails silently on any error

When to Offload

  • Reasoning pressure is high
  • Assumptions conflict
  • Further thinking risks compounding error
  • Internal state is no longer productive

Never

  • Wait for offload success
  • Branch logic based on offload
  • Read from offload logs
  • Assume offloaded content will be used