Install
openclaw skills install openclaw-task-weight-managerUse when a user wants OpenClaw to manage several interleaved conversation threads inside one chat, keep a primary mission in focus, classify side topics, ass...
openclaw skills install openclaw-task-weight-managerUse this skill when one conversation contains multiple strands of intent and the user wants the agent to stay oriented instead of drifting.
mainline thread and protects it from casual drift.Treat the conversation as a weighted queue of threads, not as one flat transcript.
Each thread should have:
id: short label such as A, B, Ftitle: one-line meaninggoal: desired outcomeweight: 1-100state: mainline, active, parked, blocked, or doneevidence: the latest user turns that justify the classificationnext_action: smallest useful next stepStart from the user's explicit intent, then adjust using these signals:
+40 if the user says this is the main task, primary goal, or highest priority+25 if other work depends on it+20 if it is time-sensitive+15 if the user has already invested significant context into it-15 if it is merely exploratory or nice-to-have-20 if it is blocked by missing inputsUse relative judgment, not rigid math. The purpose is stable prioritization, not fake precision.
If one thread clearly dominates, mark it as mainline and behave as follows:
mainline in the same response unless the user explicitly switched.Do not silently abandon the mainline because of an interesting tangent.
When a new topic appears during focused work:
urgent, important but not now, or background noise.mainline.Good phrasing pattern:
我把这个记到线程 B(技能体系)里,当前先继续线程 F(主线任务)。
Whenever the user asks for re-prioritization, or when periodic automation wakes the agent:
When this skill is active, prefer compact status blocks like:
主线: F - 完成任务权重管理器 MVP
当前排序: F(92) > B(61) > D(38)
本轮动作: 继续完成 F 的下一步,并把新话题先停放到 B
Then continue the actual work.
If the workspace allows files, maintain a small board at:
task-weight-manager/threads.mdKeep it human-readable. Update only when the thread model materially changes.
Suggested section layout:
MainlineWeighted ThreadsParking LotBlockedDoneRead references/integration.md when the user wants this behavior to work with OpenClaw features such as HEARTBEAT.md, cron, memory, or session isolation.
Read references/usage-patterns.md when the user wants examples, Chinese command phrases, or recommended operating patterns.