Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Utility Layer

The utility layer provides resource optimization and external integration capabilities.

Purpose

Utility plugins handle:

  • Resource Management: Context window optimization, token conservation
  • External Delegation: Offloading tasks to external LLM services
  • Performance Monitoring: CPU/GPU and memory tracking

Plugins

PluginDescriptionKey Use Case
conserveResource optimizationContext management
conjureExternal delegationLong-context tasks
hookifyBehavioral rulesPreventing unwanted actions

When to Use

conserve

Use when you need to:

  • Monitor context window usage
  • Optimize token consumption
  • Handle large codebases efficiently
  • Track resource usage patterns

conjure

Use when you need to:

  • Process files too large for Claude’s context
  • Delegate bulk processing tasks
  • Use specialized external models
  • Manage API quotas across services

hookify

Use when you need to:

  • Prevent accidental destructive actions (force push, etc.)
  • Enforce coding standards via pattern matching
  • Create project-specific behavioral constraints
  • Add safety guardrails for automated workflows

Key Capabilities

Context Optimization

/optimize-context

Analyzes current context usage and suggests MECW (Minimum Effective Context Window) strategies.

Growth Analysis

/analyze-growth

Predicts context budget impact of skill growth patterns.

External Delegation

make delegate-auto PROMPT="Summarize" FILES="src/"

Auto-selects the best external service for a task.

Conserve Modes

The conserve plugin supports different modes via environment variables:

ModeCommandBehavior
NormalclaudeFull conservation guidance
QuickCONSERVE_MODE=quick claudeSkip guidance for fast tasks
DeepCONSERVE_MODE=deep claudeExtended resource allowance

Key Thresholds

Context Usage

  • < 30%: LOW - Normal operation
  • 30-50%: MODERATE - Consider optimization
  • > 50%: CRITICAL - Optimize immediately

Token Quotas

  • 5-hour rolling cap
  • Weekly cap
  • Check with /status

Installation

# Resource optimization
/plugin install conserve@claude-night-market

# External delegation
/plugin install conjure@claude-night-market

Integration with Other Layers

Utility plugins enhance all other layers:

Domain Specialists
       |
       v
   Utility Layer (optimization, delegation)
       |
       v
 Foundation Layer

For example, conjure can delegate large file processing before sanctum analyzes the results.