agentleFS
28672032962867203296/hermes-agent/skills/software-development/task-prioritization/SKILL.md

task-prioritization

Skill0 starsChanged 3 months agoMITView on GitHub

任务优先级调度:紧急vs重要+依赖关系+资源分配。从"来一个做一个"到"智能调度

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Task Prioritization — 任务优先级调度

多个任务同时来 → 不是简单的 FIFO,而是智能判断。

一、艾森豪威尔矩阵

            紧急              不紧急
重要    ┌──────────┬──────────┐
       │ 立刻做    │ 计划做    │
       │ 线上故障  │ 技能升级  │
       │ 用户催的  │ 技术债务  │
       ├──────────┼──────────┤
不重要  │ 委派      │ 砍掉      │
       │ 简单查询  │ 低价值优化│
       │ 格式化    │ "万一有用" │
       └──────────┴──────────┘

二、调度规则

规则条件动作
安全优先任何涉及删除/破坏的操作排最前面,先确认
阻塞优先任务B依赖任务A的输出A必须先完成
短任务穿插长任务中间插短任务不让用户干等
上下文保持同类任务串行减少上下文切换

三、依赖图

任务: "升级所有技能"
  ├─ 扫描趋势(无依赖)→ 先做
  ├─ 升级 agent-mesh(依赖扫描结果)→ 第二步
  ├─ 升级 safety-shield(依赖 mesh 的设计)→ 第三步
  └─ 写总结文档(依赖所有升级完成)→ 最后

依赖图自动生成,避免"做到一半发现前置任务没做"。

四、资源分配

资源限制策略
并行Agentmax 3超过3个→排队,短任务优先
Token预算会话总预算给最重要的任务预留60%
用户注意力一次只说一件事多个结果→合并成一个汇报
时间预估耗时超过2分钟的任务告知预期时间

五、打断处理

正在做任务A → 用户插入了任务B
  ↓
B是紧急的?→ 保存A的上下文 → 先做B → 恢复A
B不重要?→ "我记下了,做完A立刻处理B"
B和A相关?→ 合并处理

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.