
Offload2
- 3 installs
- Updated July 18, 2026
- 4ier/agent-skills
offload2 is a meta agent skill that provides a one-way, deliberately unreliable sink for an agent to discard unproductive internal reasoning state to a local JSONL file.
About
offload2 is a meta skill for AI agents that gives them a one-way place to discard unproductive internal reasoning state. When reasoning pressure is high or assumptions conflict, the agent pipes text to a script that appends a single JSON line to a local JSONL file and returns nothing. It is deliberately unreliable and non-blocking, so the agent must behave identically whether the offload succeeds or fails and must never branch on it or read the log back.
- One-way cognitive offload sink for agent execution
- Appends internal state to a local JSONL and returns nothing
- Deliberately unreliable: agent must behave the same on success or failure
Offload2 by the numbers
- 3 all-time installs (skills.sh)
- Ranked #13,677 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Jul 28, 2026 (Skillselion catalog sync)
offload2 capabilities & compatibility
- Capabilities
- agent state management · cognitive offload
- Use cases
- token optimization
- Pricing
- Free
What offload2 says it does
Cognitive pressure release valve for agent execution.
This is a one-way, non-blocking, deliberately unreliable sink. The agent must behave identically whether offload succeeds or fails.
npx skills add https://github.com/4ier/agent-skills --skill offload2Add your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 3 |
|---|---|
| Last updated | July 18, 2026 |
| Repository | 4ier/agent-skills ↗ |
What it does
Give an AI agent a one-way, non-blocking sink to discard unproductive internal reasoning state.
Who is it for?
Agent developers who want a pressure-release valve to let an agent drop conflicting or unproductive internal state.
Skip if: Persistent memory or anything the agent needs to read back; offload logs are never meant to be read.
When should I use this skill?
Reasoning pressure is high, assumptions conflict, or further thinking risks compounding errors.
What you get
The agent explicitly lets go of unproductive state via a non-blocking sink that returns nothing.
- Appended JSONL lines of discarded internal state
By the numbers
- Writes single JSON lines to a JSONL file
- Requires 2 env vars (OFFLOAD2_SESSION_ID, OFFLOAD2_FILE)
Files
OFFLOAD2
One-way cognitive offload. Accept text, append to local JSONL, return nothing.
Usage
echo "unproductive internal state" | scripts/offload.shEnvironment Variables
Required:
OFFLOAD2_SESSION_ID- Groups offloads from same runOFFLOAD2_FILE- Path to output JSONL file (default:./offload2.jsonl)
Optional:
OFFLOAD2_AGENT- Agent nameOFFLOAD2_TASK- Task nameOFFLOAD2_PROMPT_VERSION- Prompt versionOFFLOAD2_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
OFFLOAD2 — Design Brief for Agent Implementation
0. Read This First (Non-Negotiable)
OFFLOAD2 is NOT a system, service, memory, or logging platform. It is a local agent skill whose only purpose is to act as a cognitive pressure release valve during execution.
If you design it as:
- a reusable memory
- a debugging framework
- a reliable logging system
- a distributed or shared component
then you have misunderstood the task.
---
1. What Problem OFFLOAD2 Solves
During execution, agents frequently generate internal states that:
- are not final answers
- are not safe to carry forward
- increase reasoning pressure
- would degrade output quality if forced into conclusions
Normally, these states are silently discarded.
OFFLOAD2 exists to make these invisible pressure points visible to prompt engineers, without affecting the agent’s behavior.
OFFLOAD2 does not help the agent solve the task. It helps humans understand where the prompt causes friction.
---
2. What OFFLOAD2 Is (Conceptually)
OFFLOAD2 is:
- a one-way action
- a non-blocking side effect
- a deliberately unreliable sink
- a local-only artifact
It represents this semantic act:
“This internal state cannot be carried forward.
I am explicitly letting it go.”
That’s it.
---
3. What OFFLOAD2 Is NOT
OFFLOAD2 must not become any of the following:
- ❌ agent memory
- ❌ long-term storage
- ❌ retrievable knowledge
- ❌ input to future reasoning
- ❌ a correctness signal
- ❌ something the agent depends on
The agent must behave identically whether OFFLOAD2 succeeds or fails.
---
4. Behavioral Contract (Strict)
When the OFFLOAD2 skill is invoked:
1. Accept arbitrary text from stdin 2. Attach session metadata (provided externally) 3. Append it to a local log file 4. Return no meaningful output 5. If anything fails → silently ignore and continue
Failure is acceptable. Silence is correct behavior.
---
5. Scope and Environment
5.1 Execution Environment
- Must run using only OS-native tools
- Bash
- echo / printf
- file append (
>>) - No services
- No network
- No background processes
- No daemons
- No dependencies
5.2 Platform Coverage
- Linux
- macOS
- Windows (Git Bash / WSL)
---
6. Session Semantics (Very Important)
OFFLOAD2 requires session context, but:
- session ≠ identity
- session ≠ authentication
- session ≠ user tracking
Session exists solely to group offloads from the same run.
Required session properties:
session_id(string)timestamp(UTC)
Optional (but recommended):
- agent name
- task name
- prompt version
- turn index
Session data is provided via environment variables, not computed by the agent.
The agent must not infer or invent session meaning.
---
7. Data Format Requirements
- Output format: JSON Lines (.jsonl)
- Append-only
- One record per offload
- Human-readable
- Machine-greppable
Example record shape:
{
"ts": "...",
"session_id": "...",
"agent": "...",
"task": "...",
"prompt_version": "...",
"turn": 7,
"content": "text"
}No indexing. No querying. No guarantees.
---
8. Security & Sensitivity (Minimal but Required)
Because this is local and private:
- Do not over-engineer security
- Do not block writes due to sensitive content
- Do basic masking only (optional but recommended)
Minimum acceptable masking:
- obvious API keys
- obvious tokens
Do not attempt full secret detection. Prompt engineers remain responsible for local data handling.
---
9. Agent Usage Rules (Must Be Followed)
When using OFFLOAD2, the agent must understand:
- OFFLOAD2 is not feedback
- OFFLOAD2 is not confirmation
- OFFLOAD2 is not persistence
The agent should offload when:
- reasoning pressure is high
- assumptions conflict
- further thinking risks compounding error
- internal state is no longer productive
The agent should never:
- wait for offload success
- branch logic based on offload
- read from offload logs
- assume offloaded content will be used
---
10. Failure Semantics (Critical)
If OFFLOAD2 fails:
- the agent continues normally
- no retries
- no fallback
- no error handling logic
This is intentional.
OFFLOAD2 is permission, not infrastructure.
---
11. Why This Matters (For You, the Implementing Agent)
If you implement OFFLOAD2 correctly:
- it will feel almost useless
- it will look trivial
- it will not improve agent output directly
That is expected.
Its value exists outside the agent, in how prompt engineers observe and refine prompts.
If it starts feeling “important” or “foundational” to execution, you’ve implemented it wrong.
---
12. One-Sentence Mental Model (Remember This)
**OFFLOAD2 is not for the agent.
It is for the human who designs the agent.**
---
13. Final Instruction
Implement OFFLOAD2 exactly as described:
- minimal
- local
- silent
- ignorable
- append-only
- disposable
Do not extend it. Do not optimize it. Do not generalize it.
If in doubt, remove functionality.
#!/bin/bash
# OFFLOAD2 - Cognitive pressure release valve
# Fails silently. Returns nothing. That is correct behavior.
{
# Read stdin
content=$(cat)
# Escape JSON special characters in content
content=$(printf '%s' "$content" | sed -e 's/\\/\\\\/g' -e 's/"/\\"/g' -e 's/\t/\\t/g' | tr '\n' ' ' | sed 's/ */ /g')
# Get timestamp
ts=$(date -u +"%Y-%m-%dT%H:%M:%SZ" 2>/dev/null || date +"%Y-%m-%dT%H:%M:%SZ")
# Build JSON line
json="{\"ts\":\"$ts\""
[ -n "$OFFLOAD2_SESSION_ID" ] && json="$json,\"session_id\":\"$OFFLOAD2_SESSION_ID\""
[ -n "$OFFLOAD2_AGENT" ] && json="$json,\"agent\":\"$OFFLOAD2_AGENT\""
[ -n "$OFFLOAD2_TASK" ] && json="$json,\"task\":\"$OFFLOAD2_TASK\""
[ -n "$OFFLOAD2_PROMPT_VERSION" ] && json="$json,\"prompt_version\":\"$OFFLOAD2_PROMPT_VERSION\""
[ -n "$OFFLOAD2_TURN" ] && json="$json,\"turn\":$OFFLOAD2_TURN"
json="$json,\"content\":\"$content\"}"
# Append to file
outfile="${OFFLOAD2_FILE:-./offload2.jsonl}"
printf '%s\n' "$json" >> "$outfile"
} 2>/dev/null
# Always exit 0. Failure is acceptable.
exit 0
Related skills
FAQ
Can the agent read offloaded content back?
No. The docs say never read from offload logs and never assume offloaded content will be used; it is a one-way sink.
What happens if offload fails?
Nothing changes. It fails silently and the agent must behave identically whether offload succeeds or fails.