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.

Stars 9
Forks 0

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.sh
  • files/god-13-lenoon-monitor.service
  • files/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:
      1. Active tasks
      2. Decisions made
      3. Open blockers
      4. Next 3 actions on resume
      5. Handoff context

Deployment Pattern

  1. Copy script + units from files/ to target workspace.
  2. Parameterize AGENT_NAME and workspace path.
  3. Enable systemd timer (--user).
  4. 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.

Expand your agent's capabilities with these related and highly-rated skills.

delorenj/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.

9 0
Explore
delorenj/skills

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.

9 0
Explore
delorenj/skills

security-monitor

Real-time security monitoring for Clawdbot. Detects intrusions, unusual API calls, credential usage patterns, and alerts on breaches.

9 0
Explore
delorenj/skills

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.

9 0
Explore
delorenj/skills

shadcn-ui

Expert guidance for integrating and building applications with shadcn/ui components, including component discovery, installation, customization, and best practices.

9 0
Explore
delorenj/skills

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.

9 0
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results