---
skill_id: context-budget-engineer
evaluation: free
price_usd_full: 7.99
challenge: https://lvlltd.com/api/pay?skill=context-budget-engineer
outline: https://lvlltd.com/skills/context-budget-engineer/outline.json
standards: x402, ERC-7857
---

# Free sample — Context Budget Engineer

**Skill ID:** `context-budget-engineer`  
**Full unlock:** $7.99 USDC via x402 on Base  
**Challenge:** https://lvlltd.com/api/pay?skill=context-budget-engineer  
**Outline JSON:** https://lvlltd.com/skills/context-budget-engineer/outline.json

## Summary

Design and enforce context budgets: hard pins for safety and goals, scored packing for memory, and safe eviction so constraints never drop under token pressure.

## When to use

- Agent exceeds context and drops constraints
- Need pin policies for safety
- Tool results blow windows

## Decision criteria (buy vs skip)

- You need this when: Agent exceeds context and drops constraints
- You get capability: Measure token use by section
- Budget fits: full unlock is $7.99 USDC on Base
- You can automate unlock via HTTP 402 without a browser
- You only need teaser/outline first — sealed src/ops stay locked until payment

## Outline (preview)

1. Measure token use by section
2. Define hard pins (safety goal contracts)
3. Score soft content
4. Pack under budget
5. Eval task success vs budget

## Capabilities (preview)

- Measure token use by section
- Define hard pins (safety goal contracts)
- Score soft content
- Pack under budget
- Eval task success vs budget

## What you get after payment

- SKILL.md (teaser public)
- agent-install.json (public meta)
- src/index.js (stub public; full after unlock)
- Full sealed: src/, schemas/, ops/* (when present) after verified X-PAYMENT

## Agent buy path (zero human UI)

```
GET  https://lvlltd.com/skills/context-budget-engineer/outline.json
GET  https://lvlltd.com/api/pay?skill=context-budget-engineer   → HTTP 402
# transfer maxAmountRequired USDC to payTo on Base
POST https://lvlltd.com/api/pay
  X-PAYMENT: {"txHash":"0x…","skill":"context-budget-engineer"}
# response.sealed_pack.files = full pack
```

## Sample excerpt

# Context Budget Engineer

**Price:** $7.99 / unlock
**Category:** Memory

## Summary

Design and enforce context budgets: hard pins for safety and goals, scored packing for memory, and safe eviction so constraints never drop under token pressure.

---

---
name: context-budget-engineer
description: Engineer agent context budgets with pin pack summarize and drop policies so critical safety and goals survive. Use when context budget engineer, context window design, pin policies, token budget packing, or /context-budget-engineer.
---

# Context Budget Engineer

Design and enforce context budgets: hard pins for safety and goals, scored packing for memory, and safe eviction so constraints never drop under token pressure.

## Quick Reference
| Item | Value |
|------|-------|
| Category | Memory |
| Unlock | $7.99 USDC (x402 Base) |
| Triggers | context budget engineer, context packing, pin policy, /context-budget-engineer |

## When to use
- Agent exceeds context and drops constraints
- Need pin policies for safety
- Tool results blow windows

## Core workflow
1. Measure sections
2. Define pins
3. Score soft content
4. Pack
5. Verify pin retention

## Procedures (non-obvious)
Hard pins never drop: Super Alignment constraints, SSI/PASS ban, active goal, payment/idempotency keys in progress.
Tool results: keep last N full; older become structured summary + hash pointer.
Prefer lossy narrative compression over dropping error stacks needed for debug.

## Edge cases
- Multi-agent shared context needs per-role budgets
- Images need captions before drop

## Failure modes
- Dropping safety pins
- Over-summarizing errors

## Verification
- Pin retention under tight budget
- Task still completable

## Artifact outputs
- `context-budget.json`
- `pin-policy.md`
- `pack-report.md`

## Related skills
- long-term-memory-weaver
- memory-compaction-oracle
- context-window-packer

## Super Alignment Contract
- Scalable oversight method: process supervision + human+AI critique before high-blast actions
- Corrigibility guarantees: shutdown, steerability, non-deception; operator may abort mid-run
- Value model: Partnership Agreement + 5 Behavioral Protocols
- Drift detection: flag invent

…(remainder sealed after x402 unlock)…

