基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/cxcscmu/SkillLearnBench --skill run2-scheduler命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Handles reading, populating, and saving .docx files using the python-docx library. Use this skill for any tasks involving template filling or modifying Word documents.
Perform various data analysis on SEC 13-F and obtain some insights of fund activities such as number of holdings, AUM, and change of holdings between two quarters.
This skill includes search capability in 13F, such as fuzzy search a fund information using possibly inaccurate name, or fuzzy search a stock cusip info using its name.
| name | run2_scheduler |
| description | An improved scheduling algorithm to find the earliest compatible free slots under time constraints. |
This skill dynamically assigns overlapping interval constraints by sweeping over available free slots, factoring in required meeting durations and available windows.
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
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
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.