Du Dum: Batch Then Act Pattern
Skill Verifiziert AktivSeparate expensive observation from cheap decision-making in autonomous agent loops using a two-clock architecture. A fast clock accumulates data into a digest file; a slow clock reads the digest and acts only when something is pending. Idle cycles cost nothing because the action clock returns immediately after reading an empty digest. Use when building autonomous agents that must observe continuously but can only afford to act occasionally, when API or LLM costs dominate and most cycles have nothing to do, when designing cron-based agent architectures with observation and action phases, or when an existing heartbeat loop is too expensive because it calls the LLM on every tick.
To provide a clear architectural pattern for building cost-efficient autonomous agents that need to observe continuously but act only occasionally, particularly when LLM or API costs are a significant concern.
Funktionen
- Two-clock architecture for observation and action separation
- Digest file for low-bandwidth communication between clocks
- Cost optimization for autonomous agent loops
- Guidance on designing cron-based agent workflows
- Handling of idle cycles with minimal cost
Anwendungsfälle
- Building autonomous agents on a budget with continuous observation
- Reducing costs in agent loops that frequently call LLMs or APIs unnecessarily
- Designing decoupled agent systems with distinct analysis and action phases
- Implementing efficient cron-based agent architectures
Nicht-Ziele
- Providing concrete executable code for the agent loop
- Implementing specific LLM summarization or response generation logic
- Handling real-time event processing that requires sub-second action
Workflow
- Identify the two clocks (observation and action)
- Design the digest format (compact, human-readable, machine-parseable)
- Implement the fast clock (analysis scripts)
- Implement the slow clock (action script)
- Configure idle detection for minimal overhead
- Validate the cost model for savings
Installation
/plugin install agent-almanac@pjt222-agent-almanacQualitätspunktzahl
VerifiziertVertrauenssignale
Ähnliche Erweiterungen
Cloud Architect
100Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost optimization, disaster recovery, landing zones, security architecture, serverless design.
Autonomous Agent Patterns
95Design patterns for building autonomous coding agents. Covers tool integration, permission systems, browser automation, and human-in-the-loop workflows. Use when building AI agents, designing tool APIs, implementing permission systems, or creating autonomous coding assistants.
V3 Ddd Architecture
100Domain-Driven Design architecture for claude-flow v3. Implements modular, bounded context architecture with clean separation of concerns and microkernel pattern.
Pathfinder
100Ordnet eine Codebasis in Feature-gruppierte Flussdiagramme ein, identifiziert doppelte Belange über Features hinweg und schlägt eine einheitliche Architektur vor. Wird verwendet, wenn nach "dem idealen Pfad" gefragt wird, duplizierte Systeme vereinheitlicht oder die Architektur vor einem Refactoring auditiert werden soll. Gibt ein vorgeschlagenes einheitliches Flussdiagramm sowie Prompts zum Erstellen eines Plans pro System aus.
Understand
100Analysieren Sie eine Codebasis, um einen interaktiven Wissensgraphen zur Verständnis von Architektur, Komponenten und Beziehungen zu erstellen
API Design Patterns
100Comprehensive API design patterns covering REST, GraphQL, gRPC, versioning, authentication, and modern API best practices