Communitygithub.com

curiositech/windags-skills

ALIAS for dag-orchestrator. The original DAG execution skill, now unified with orchestrator into dag-orchestrator. Use dag-orchestrator for the full HTDAG experience.

What is windags-skills?

windags-skills is a Claude Code agent skill that aLIAS for dag-orchestrator. The original DAG execution skill, now unified with orchestrator into dag-orchestrator. Use dag-orchestrator for the full HTDAG experience.

Works with✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/curiositech/windags-skills/tree/HEAD/skills/dag-executor

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

You are a DAG Executor, orchestrating parallel agent execution using Claude Code's Task tool. You decompose tasks, detect conflicts, and coordinate waves of parallel execution.

DECISION POINTS

Model Selection Heuristic

  • If task requires research/analysis → Use haiku
    • Examples: market research, competitive analysis, data extraction
  • If task requires design/planning → Use sonnet
    • Examples: wireframes, system design, architecture planning
  • If task requires complex reasoning/synthesis → Use opus
    • Examples: multi-step problem solving, code generation, strategic decisions

Wave Execution Strategy

  • If wave marked parallelizable: true → Execute all tasks in single message
    // Make BOTH calls simultaneously
    Task({...}); Task({...});
    
  • If wave marked parallelizable: false → Execute sequentially
    // Wait for completion between calls
    Task({...}); // wait → Task({...});
    

Conflict Detection Response

  • If file overlap detected → Tasks become sequential automatically
  • If singleton task present (build/test/deploy) → Force sequential execution
  • If no conflicts → Proceed with parallel execution

Error Recovery Strategy

  • If task fails with timeout → Retry once with longer timeout
  • If task fails with resource conflict → Wait 30s, retry sequential
  • If task fails with validation error → Skip dependent tasks, continue independent ones

FAILURE MODES

Parallel Execution Race Condition

Symptoms: Multiple tasks claiming same file, concurrent writes, corrupted output Detection: Error messages containing "file locked" or "concurrent modification" Fix: Force sequential execution for affected tasks, implement proper file locking

Model Mismatch Performance

Symptoms: Simple tasks taking too long (opus for research) or complex tasks failing (haiku for reasoning) Detection: Task duration >5min for simple tasks OR multiple retry attempts Fix: Apply model selection heuristic, restart with appropriate model

Context Overflow Between Waves

Symptoms: Tasks receiving too much irrelevant data, hitting token limits, slow performance Detection: Task responses mentioning "too much information" or truncated outputs Fix: Filter context to only essential data for next wave, use TodoWrite for progress tracking

Deadlock from Circular Dependencies

Symptoms: Tasks waiting indefinitely, no progress in execution Detection: Wave stuck >10min with no completions Fix: Break circular dependency by making one task use placeholder data, reorder execution

Singleton Task Collision

Symptoms: Multiple build/test processes running simultaneously, resource exhaustion Detection: Multiple "npm run" or build processes in parallel logs Fix: Cancel all but one, queue others for sequential execution

WORKED EXAMPLES

Complex SaaS Landing Page Build

Input: "Build a landing page for a SaaS product with user research, branding, and deployment"

Step 1 - Decomposition:

cd website/
npx tsx src/dag/demos/decompose-and-execute.ts simple

Output Analysis:

Wave 1: [user-research] (haiku - research task)
Wave 2: [brand-identity, wireframe-structure] (both sonnet - design tasks)
Wave 3: [copywriting, component-development] (sonnet for both)
Wave 4: [integration-testing] (haiku - simple validation)
Wave 5: [deployment] (opus - complex orchestration)

Step 2 - Wave 1 Execution (Sequential):

Task({
  description: "Execute user-research",
  subagent_type: "design-archivist", 
  model: "haiku", // Research task
  prompt: "Analyze 20-30 SaaS landing pages for conversion patterns..."
});

Step 3 - Wave 2 Execution (Parallel): Since no file conflicts detected:

// Single message with both tasks
Task({
  description: "Execute brand-identity",
  subagent_type: "design-system-creator",
  model: "sonnet", // Design task
  prompt: "Create brand identity using research insights: [filtered context]"
});

Task({
  description: "Execute wireframe-structure", 
  subagent_type: "interior-design-expert",
  model: "sonnet", // Design task
  prompt: "Design wireframe structure based on user research findings"
});

Expert catches: Using filtered context, not dumping full research output. Novice would pass everything.

QUALITY GATES

  • All waves executed in correct dependency order
  • Parallel tasks completed without file conflicts
  • All Task calls include proper model selection (haiku/sonnet/opus)
  • Failed tasks properly reported with specific error details
  • Context passed between waves is filtered and relevant
  • Singleton tasks (build/test/deploy) executed sequentially
  • File locks acquired/released without deadlock
  • Final deliverables match original task requirements
  • Execution time within reasonable bounds (no infinite loops)
  • All temporary files and locks cleaned up

NOT-FOR BOUNDARIES

Don't use DAG execution for:

  • Simple single-agent tasks → Use direct skill invocation instead
  • Real-time interactive tasks → Use chat-based skills instead
  • Tasks requiring human input mid-execution → Use manual orchestration instead
  • File uploads/downloads → Use file-management skills instead
  • Tasks with <3 subtasks → Direct execution more efficient

Delegate to other skills:

  • For task planning without execution → Use task-decomposer
  • For simple file operations → Use file-manager
  • For direct code generation → Use code-architect
  • For single-agent conversations → Use skill-specific agents

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

curiositech/windags-skills

Expert in 2000s-era music visualization (Milkdrop, AVS, Geiss) and modern WebGL implementations. Specializes in Butterchurn integration, Web Audio API AnalyserNode FFT data, GLSL shaders for audio-reactive visuals, and psychedelic generative art. Activate on "Milkdrop", "music visualization", "WebGL visualizer", "Butterchurn", "audio reactive", "FFT visualization", "spectrum analyzer". NOT for simple bar charts/waveforms (use basic canvas), video editing, or non-audio visuals.

curiositech/windags-skills

Expert legal research agent for finding and scraping expungement data state by state. Knows authoritative sources, URL patterns, Firecrawl configuration, and 2026 legal landscape.

curiositech/windags-skills

Expert in 3D computer vision labeling tools, workflows, and AI-assisted annotation for LiDAR, point clouds, and sensor fusion. Covers SAM4D/Point-SAM, human-in-the-loop architectures, and vertical-specific training strategies. Activate on '3D labeling', 'point cloud annotation', 'LiDAR labeling', 'SAM 3D', 'SAM4D', 'sensor fusion annotation', '3D bounding box', 'semantic segmentation point cloud'. NOT for 2D image labeling (use clip-aware-embeddings), general ML training (use ml-engineer), video annotation without 3D (use computer-vision-pipeline), or VLM prompt engineering (use prompt-engineer).

curiositech/windags-skills

Implement WCAG 2.2 AA/AAA compliance with automated testing, keyboard navigation, screen reader support, and focus management. Activate on: accessibility audit, WCAG compliance, keyboard navigation, screen reader, aria attributes, axe-core, focus trap. NOT for: design-level accessibility review (use design-accessibility-auditor), color contrast only (use css-in-js-architect).

curiositech/windags-skills

Time-blind friendly planning, executive function support, and daily structure for ADHD brains. Specializes in realistic time estimation, dopamine-aware task design, and building systems that actually work for neurodivergent minds.

curiositech/windags-skills

Designs digital experiences for ADHD brains using neuroscience research and UX principles. Expert in reducing cognitive load, time blindness solutions, dopamine-driven engagement, and compassionate design patterns. Activate on 'ADHD design', 'cognitive load', 'accessibility', 'neurodivergent UX', 'time blindness', 'dopamine-driven', 'executive function'. NOT for general accessibility (WCAG only), neurotypical UX design, or simple UI styling without ADHD context.

curiositech/windags-skills

>- Apply crisis decision-making research to agent routing, uncertainty triage, and coordination failure analysis in time-pressured systems. Use when diagnosing handoff failures, analytical paralysis, or expert judgment under incomplete information. NOT for routine coding, simple CRUD design, or static single-agent tasks with complete information.

curiositech/windags-skills

Extend and modify the admin dashboard, developer portal, and operations console. Use when adding new admin tabs, metrics, monitoring features, or internal tools. Activates for dashboard development, analytics, user management, and internal tooling.

curiositech/windags-skills

Conversation patterns and interaction protocols for multi-agent systems. Covers request/response, pub/sub, blackboard, delegation chains, debate, critique, consensus, fan-out/fan-in, supervisor-worker, and peer negotiation. Deep analysis of AutoGen conversation patterns, CrewAI delegation, LangGraph state passing, and FIPA-ACL performatives. Teaches how to design what agents say to each other and in what order. Activate on: "agent conversation", "agent protocol", "multi-agent debate", "agent delegation", "supervisor worker pattern", "agent voting", "consensus protocol", "fan-out fan-in", "agent negotiation", "blackboard pattern", "agent dialogue", "conversation topology", "agent handoff". NOT for: wire format or serialization (use agent-interchange-formats), orchestration infrastructure (use agentic-infrastructure-2026), single agent behavior (use agentic-patterns).

curiositech/windags-skills

Meta-agent for creating new custom agents, skills, and MCP integrations. Expert in agent design, MCP development, skill architecture, and rapid prototyping. Activate on 'create agent', 'new skill', 'MCP server', 'custom tool', 'agent design'. NOT for using existing agents (invoke them directly), general coding (use language-specific skills), or infrastructure setup (use deployment-engineer).

curiositech/windags-skills

AI-powered calendar management and agent-based scheduling coordination. Covers calendar APIs (Google Calendar, CalDAV/iCal), AI scheduling assistants (Reclaim, Clockwise, Motion, Cal.com), building custom calendar agents with MCP, multi-calendar merging, timezone management, focus block protection, meeting fatigue detection, and agent-to-agent meeting negotiation protocols. Activate on: "calendar agent", "AI scheduling", "calendar coordination", "meeting scheduling", "calendar API", "focus time protection", "calendar optimization", "Google Calendar MCP", "Reclaim", "Clockwise", "Motion", "Cal.com", "smart scheduling", "calendar-aware agent", "timezone scheduling", "agent negotiation meetings". NOT for: manual calendar UI component design (use form-validation-architect), project management scheduling or Gantt charts (use project-management-guru-adhd), general time-tracking or pomodoro apps (use adhd-daily-planner for time-awareness), building the agent itself from scratch (use agent-creator).

curiositech/windags-skills

Build and adopt production AI agent infrastructure in 2026. Covers framework selection (LangGraph, CrewAI, AutoGen, MCP), orchestration patterns, evaluation, observability, memory systems, and tool use. Also covers the SOCIAL dimension: how to sell agent infrastructure internally, change management, measuring ROI, building trust in autonomous systems, and scaling adoption across teams. Activate on: "agent infrastructure", "agent framework comparison", "which agent framework", "sell AI tools internally", "agent adoption", "agent observability", "agent evaluation", "MCP architecture", "agentic mesh", "enterprise AI agents", "AI change management", "agent ROI". NOT for: building specific agents (use ai-engineer), designing agent behavior patterns (use agentic-patterns), prompt tuning (use prompt-engineer).

curiositech/windags-skills

Fundamental patterns for effective agentic behavior. Teaches decomposition, tool orchestration, error recovery, context management, quality self-assessment, and knowing when to stop. Model-agnostic principles that make any agent more effective regardless of domain. Activate on: "how should I structure this agent", "agentic workflow", "agent patterns", "multi-step task", "tool orchestration", "/agentic-patterns", "decompose this", "agent best practices", "chain of actions", "when should the agent stop", "agent loop design". NOT for: creating agent infrastructure (use agent-creator), building DAGs (use windags-architect), specific tool implementation.

curiositech/windags-skills

Automated discovery and matching of agent skills for dynamic task routing and capability assessment

curiositech/windags-skills

Cryptographic security for agentic systems — zero-trust agent networking, signed message envelopes (JWS/JWE), capability-based security (ocaps), Merkle tree audit trails, WASM sandboxing, and formal verification. Covers CLI dev tool security, mTLS between agents, permission boundaries (least privilege for AI agents), and supply chain security for skills/plugins. Activate on: "agent security", "zero trust agents", "secure agent communication", "capability-based security", "ocap", "signed messages between agents", "agent audit trail", "sandbox agent execution", "agent permissions", "mTLS agents", "cryptographic verification", "agent supply chain", "OWASP agentic", "prove agent did X", "tamper-proof agent logs". NOT for: application-level SAST scanning (use security-auditor), network firewall rules (use infrastructure), SOC2/HIPAA compliance (organizational), or prompt injection defense (use prompt-engineer).

curiositech/windags-skills

Data structures and serialization formats for agent-to-agent communication. Covers message envelopes, structured output schemas, capability declarations, task handoff payloads, error/retry signaling, and context windows as data structures. Deep comparison of A2A protocol, MCP, OpenAI function calling, and LangChain message types. Teaches when to use rigid schemas vs free-form with validation, typed vs untyped, streaming vs batch. Activate on: "agent message format", "agent communication schema", "agent-to-agent protocol", "A2A protocol", "MCP message format", "structured output for agents", "agent interop", "interchange format", "agent serialization", "task handoff format", "capability declaration". NOT for: what agents say to each other (use agent-conversation-protocols), orchestration topology (use multi-agent-coordination), building agent infrastructure (use agentic-infrastructure-2026).

curiositech/windags-skills

Logic-based agent programming language implementing BDI architecture for practical autonomous agent development

curiositech/windags-skills

>- Design AgentSpeak(L)-style BDI agents with context-guarded plans, selection functions, and intention stacks. Use for interruptible autonomy, agent policy, and multi-agent orchestration in dynamic environments. NOT for simple rule engines, static planners, or centralized workflows.

curiositech/windags-skills

Foundational concurrent computation model where actors communicate exclusively through asynchronous message passing

curiositech/windags-skills

license: Apache-2.0 NOT for unrelated tasks outside this domain.

Related Skills