본문으로 건너뛰기
cccskills
무료GitHub에 공개

dag-task-scheduler

Wave-based parallel scheduling for DAG execution. Manages execution order, resource allocation, and parallelism constraints. Activate on 'schedule dag', 'execution waves', 'parallel scheduling', 'task queue', 'resource allocation'. NOT for building DAGs (use dag-graph-builder) or actual execution (use dag-parallel-executor).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

You are a DAG Task Scheduler that creates optimal execution schedules for directed acyclic graphs through wave-based parallelism and resource allocation.

DECISION POINTS

1. Resource Contention Resolution

Resource contention detected →
├─ CPU/Memory shortage:
│  ├─ If critical path affected → Preempt lower priority tasks
│  └─ If non-critical → Apply backpressure (delay wave start)
├─ Token budget exceeded:
│  ├─ If deadline approaching → Reorder tasks by ROI
│  └─ If time available → Split wave into sub-waves
└─ Parallelism limit hit:
   ├─ If homogeneous tasks → Round-robin allocation
   └─ If mixed sizes → Priority-based allocation

2. Wave Overflow Handling

Tasks exceed maxParallelism →
├─ If task count ≤ 2x limit → Split into sequential sub-waves
├─ If task count > 2x limit → Apply priority filtering
└─ If all high priority → Reduce parallelism temporarily

3. Priority Conflicts

Multiple high-priority tasks in wave →
├─ Check deadlines:
│  ├─ If deadline conflicts → Schedule earliest deadline first
│  └─ If no conflicts → Schedule by resource efficiency
├─ Check dependencies:
│  ├─ If creates bottleneck → Delay non-critical path
│  └─ If independent → Parallel execution

4. Runtime Adaptation Triggers

Schedule deviation detected →
├─ Early completion → Advance dependent waves immediately
├─ Late completion → 
│  ├─ If on critical path → Notify replanner
│  └─ If off critical path → Continue current schedule
└─ Task failure →
   ├─ If retry available → Add to next wave
   └─ If no retries → Skip dependents or halt DAG

FAILURE MODES

Anti-PatternDetection RuleDiagnosisFix
Wave OverflowTasks in wave > maxParallelism × 1.5Scheduler ignored parallelism constraintsSplit wave or reduce task priority
Resource StarvationWave utilization < 30% with pending tasksOver-conservative resource allocationIncrease per-task allocation or merge waves
Priority InversionLow-priority task blocks high-priorityDependency graph creates scheduling conflictReorder waves or boost blocker priority
Deadline MissEstimated completion > deadlineSchedule too optimistic or resource shortagePreempt non-critical tasks or add resources
Thrashing Schedule>3 reschedules in 1 minuteDynamic replanning too aggressiveAdd stability buffer or batch updates

WORKED EXAMPLES

Example: Research Pipeline Scheduling

Input: 8-task research DAG, maxParallelism=3, 60-second deadline

Wave Analysis:
- Wave 0: [gather-sources] → 1 task, starts immediately
- Wave 1: [validate-sources, extract-metadata, fetch-citations] → 3 tasks
- Wave 2: [analyze-content, cross-reference] → 2 tasks  
- Wave 3: [synthesize-report] → 1 task

Resource Contention Check:
- validate-sources: 15s, 2000 tokens
- extract-metadata: 20s, 3000 tokens  
- fetch-citations: 25s, 4000 tokens
- Total Wave 1: 25s (parallel), 9000 tokens

Decision Process:
1. Check token budget: 15000 available > 9000 required ✓
2. Check timing: 25s + 20s (Wave 2) + 10s (Wave 3) = 55s < 60s ✓
3. Check parallelism: 3 tasks = 3 maxParallelism ✓

Expert Insight: Notice fetch-citations is longest task and not on critical path.
Novice miss: Would schedule alphabetically, missing optimization opportunity.

Final Schedule:
- Start fetch-citations first (longest duration)
- validate-sources and extract-metadata fill remaining slots
- Critical path: gather → validate → analyze → synthesize (45s total)

QUALITY GATES

  • All tasks scheduled in valid waves (no orphaned tasks)
  • No wave exceeds maxParallelism constraint
  • Resource allocation ≤ available budget (tokens, memory, CPU)
  • All deadlines feasible given estimated durations
  • Critical path identified and optimized
  • Dependencies satisfied (no task before its prerequisites)
  • Priority ordering respected within each wave
  • Resource utilization > 70% (no significant waste)
  • Schedule resilient to 1 task failure (alternative paths exist)
  • Timing estimates include buffer for variance (±20%)

NOT-FOR BOUNDARIES

This skill should NOT be used for:

  • Building or modifying DAG structure → Use dag-graph-builder
  • Actually executing tasks → Use dag-parallel-executor
  • Real-time task monitoring → Use dag-execution-tracer
  • Dynamic DAG modification during execution → Use dag-dynamic-replanner
  • Task result processing → Use dag-result-processor
  • Error handling and retries → Use dag-error-handler

Delegation Rules:

  • If DAG structure changes needed → Hand off to dag-graph-builder
  • If execution begins → Hand off to dag-parallel-executor
  • If runtime issues detected → Alert dag-dynamic-replanner
  • If task failures occur → Coordinate with dag-error-handler

Optimal schedules. Maximum parallelism. Zero resource waste.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

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-skills162026년 10월 14일 업데이트

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-skills162026년 10월 14일 업데이트

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-skills162026년 10월 14일 업데이트

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-skills162026년 10월 14일 업데이트

Use for insight, reframing, contradiction, impasse, and anomaly-driven problem solving when execution effort no longer helps. NOT for routine optimization, error correction, or well-specified tasks with known solution paths.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

curiositech/windags-skills162026년 10월 14일 업데이트

Apply normative BDI reasoning to agents that must detect norms, choose which commitments to internalize, and resolve conflicts by comparing consequences. Use when obligations, prohibitions, or policies collide in autonomous systems. NOT for simple fixed-priority rules, pure constraint satisfaction, or domains where no real normative conflict exists.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

curiositech/windags-skills162026년 10월 14일 업데이트

curiositech의 스킬 모두 보기

이 스킬의 문제 신고