Agent skill
context-self-heal
Agent-local context guard and deterministic compaction workflow (GOD-13). Use when context usage is high, when wiring auto-compaction/restart timers, or when deploying standardized context-monitor hooks across agents.
Install this agent skill to your Project
npx add-skill https://github.com/delorenj/skills/tree/main/context-self-heal
SKILL.md
Context Self-Heal (GOD-13)
Purpose
Provide a reusable, non-agent-specific package for context monitoring and deterministic compaction artifacts.
Files
files/god-13-context-monitor.shfiles/god-13-lenoon-monitor.servicefiles/god-13-lenoon-monitor.timer
Standard Behavior
- Warning zone: >=80% context
- Hard threshold: >=90% context
- Before restart, write deterministic artifact:
memory/context-compaction-latest.md- Sections required:
- Active tasks
- Decisions made
- Open blockers
- Next 3 actions on resume
- Handoff context
Deployment Pattern
- Copy script + units from
files/to target workspace. - Parameterize
AGENT_NAMEand workspace path. - Enable systemd timer (
--user). - Verify artifact write + restart path on threshold breach.
Notes
- Prefer Hindsight plugin as canonical memory; artifact is deterministic restart checkpoint.
- Avoid custom per-agent variants unless operationally required.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
openclaw-upgrade
Upgrade OpenClaw installations to the latest version. Handles global npm installs, local development setups, release channels (stable/beta/dev), configuration preservation, and platform-specific requirements. Use when updating OpenClaw, switching release channels, or troubleshooting update issues.
vercel-composition-patterns
React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.
security-monitor
Real-time security monitoring for Clawdbot. Detects intrusions, unusual API calls, credential usage patterns, and alerts on breaches.
event-driven-architecture
Kafka, RabbitMQ, SQS/SNS, event sourcing, CQRS, saga patterns, dead letter queues, and idempotency. Use when designing asynchronous systems, implementing message-driven workflows, or building event streaming pipelines.
shadcn-ui
Expert guidance for integrating and building applications with shadcn/ui components, including component discovery, installation, customization, and best practices.
just-fucking-cancel
Find and cancel unwanted subscriptions by analyzing bank transactions. Detects recurring charges, calculates annual waste, and helps you cancel with direct URLs and browser automation. Use when: 'cancel subscriptions', 'audit subscriptions', 'find recurring charges', 'what am I paying for', 'save money', 'subscription cleanup', 'stop wasting money'. Supports CSV import (Apple Card, Chase, Amex, Citi, Bank of America, Capital One, Mint, Copilot) OR Plaid API for automatic transaction pull. Outputs interactive HTML audit with one-click cancel workflow. Pairs with Plaid integration for real-time transaction access without CSV exports.
Didn't find tool you were looking for?