agentsclimarketplace

Run2 scheduler

Skill cxcscmu/SkillLearnBench/skills/b2-self-feedback-gemini-3.1-pro-preview/schedule-planning/run2_scheduler

An improved scheduling algorithm to find the earliest compatible free slots under time constraints.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill run2_scheduler

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.4 KB, 271 tokens by cl100k_base, as published. Nobody here has run it

Optimal Scheduling Algorithm

This skill dynamically assigns overlapping interval constraints by sweeping over available free slots, factoring in required meeting durations and available windows.

Merging Intervals

def merge_intervals(intervals):
    intervals.sort(key=lambda x: x[0])
    merged = []
    for interval in intervals:
        if not merged or merged[-1][1] <= interval[0]:
            merged.append(interval)
        else:
            merged[-1][1] = max(merged[-1][1], interval[1])
    return merged

Earliest Fit Logic

Finds the earliest possible block large enough to fit the request that intersects both the user availability and your availability.

def find_earliest_slot(available_times, req_start, req_end, duration):
    for avail_start, avail_end in available_times:
        start = max(avail_start, req_start)
        end = min(avail_end, req_end)
        
        if end - start >= duration:
            return start, start + duration
    return None, None

Advanced Considerations

When multiple requests might conflict, the optimal approach involves sorting the requests (e.g., by end deadline or duration constraint), attempting to schedule them, and committing slots recursively to ensure all can be accommodated.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,871. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.