Agent skill

Priority Task Reader

by huangruiteng in huangruiteng/CS-Notes

按优先级读取任务 Skill - 从 todos.json 读取 in-progress 和 pending 任务,按 P0-P9 优先级排序

MITAuto-check passed

Install Priority Task Reader

skills CLI
$ npx skills add huangruiteng/CS-Notes --skill priority-task-reader -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install huangruiteng/CS-Notes priority-task-reader --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/huangruiteng/CS-Notes.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.trae/openclaw-skills/priority-task-reader .claude/skills/priority-task-reader && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
priority-task-reader
GitHub stars
4k
Token cost
~681 tokens
SKILL.md length
115 words
Files
3
Skills in repo
38
Repo updated
First seen
Licence
MIT

At a glance

按优先级读取任务 Skill - 从 todos.json 读取 in-progress 和 pending 任务,按 P0-P9 优先级排序

  • Works in 5 steps: 读取任务 - 从 todos.json 读取所有任务 → 筛选任务 - 只选择 in-progress 和 pending 状态的任务 → 按优先级排序 - 按 P0(最高)→ P9(最低)优先级排序 → …
  • SKILL.md covers 核心功能, 优先级排序规则, 使用方法 and 输出示例, plus 3 more sections
  • Runs Python scripts from its folder; calls python3

What it does

Priority Task Reader is an agent skill from huangruiteng/CS-Notes. 按优先级读取任务 Skill - 从 todos.json 读取 in-progress 和 pending 任务,按 P0-P9 优先级排序

Its SKILL.md is about 680 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `main.py` and `skill.json`).

The licence is MIT.

Example prompts

  • “/priority-task-reader”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. 读取任务 - 从 todos.json 读取所有任务
  2. 筛选任务 - 只选择 in-progress 和 pending 状态的任务
  3. 按优先级排序 - 按 P0(最高)→ P9(最低)优先级排序
  4. 分组展示 - 按优先级分组展示任务列表
  5. 获取下一个任务 - 识别下一个应该由 AI 执行的任务

What it can do on your machine

Read from SKILL.md and the folder at commit d01d8f8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Priority Task Reader loads about 681 tokens when it runs. Until then it costs about 23 tokens; SKILL.md has 115 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~23
When it runs · the whole SKILL.md, loaded when a task matches
~681

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from huangruiteng/CS-Notes at commit d01d8f8, republished under its MIT licence (© huangruiteng). 115 words, ~681 tokens.

Download SKILL.mdSave it as .claude/skills/priority-task-reader/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
priority-task-reader
description
按优先级读取任务 Skill - 从 todos.json 读取 in-progress 和 pending 任务,按 P0-P9 优先级排序

Priority Task Reader Skill

按优先级读取任务,从 todos.json 读取 in-progress 和 pending 任务,按 P0-P9 优先级排序。

核心功能

  1. 读取任务 - 从 todos.json 读取所有任务
  2. 筛选任务 - 只选择 in-progress 和 pending 状态的任务
  3. 按优先级排序 - 按 P0(最高)→ P9(最低)优先级排序
  4. 分组展示 - 按优先级分组展示任务列表
  5. 获取下一个任务 - 识别下一个应该由 AI 执行的任务

优先级排序规则

排序优先级(从高到低):

  1. 优先级分数:P0 (0) → P1 (1) → P2 (2) → ... → P9 (9)
  2. 状态:in-progress 优先于 pending
  3. 创建时间:越早创建的优先

向后兼容:high (2), medium (5), low (8)

使用方法

基本使用 - 显示任务列表
bash
cd /Users/bytedance/CS-Notes/.trae/openclaw-skills/priority-task-reader
python3 main.py
输出 JSON 格式
bash
python3 main.py --json
显示下一个应该执行的任务
bash
python3 main.py --next
显示接下来 K 个应该执行的任务
bash
python3 main.py --next --next-count 3
同时使用多个选项
bash
python3 main.py --json --next --next-count 5

输出示例

任务列表输出
================================================================================
📋 按优先级排序的任务列表
================================================================================

================================================================================
🔸 优先级: P0 (1 个任务)
================================================================================

  1. ⏸️ [todo-20260219-050]
     标题: 精炼整理知乎文章:关于 AI Agent 的内容
     负责人: ai

================================================================================
🔸 优先级: P1 (6 个任务)
================================================================================

  1. 🚀 [todo-20260223-041344]
     标题: 解决子agent遇到gateway pairing问题
     负责人: ai
...

================================================================================
📊 总计: 48 个任务 (in-progress + pending)
================================================================================
下一个任务输出
================================================================================
🎯 下一个应该执行的任务
================================================================================
{
  "id": "todo-20260219-050",
  "title": "精炼整理知乎文章:关于 AI Agent 的内容",
  "status": "pending",
  "priority": "P0",
  "assignee": "ai",
  ...
}

配置

默认配置在 skill.json 中:

json
{
  "todos_json_path": "/Users/bytedance/CS-Notes/.trae/todos/todos.json",
  "workspace": "/Users/bytedance/CS-Notes"
}

可以通过 --config 参数指定自定义配置文件。

在推进todo指令中使用

当用户说"推进todo"时,AI 应该:

  1. 先调用这个 skill 获取按优先级排序的任务列表
  2. 从列表中选择最高优先级且适合 AI 执行的任务
  3. 优先执行 Assignee: AI 且 Feedback Required: false 的任务
  4. 按优先级从高到低执行

重要原则

  • P0 优先:笔记整理任务固定为 P0,必须最高优先级处理
  • in-progress 优先:正在进行的任务比待处理任务优先级高
  • 跳过需要确认的任务:Feedback Required: true 的任务需要用户确认后再执行

© huangruiteng, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files in .trae/openclaw-skills/priority-task-reader of huangruiteng/CS-Notes.

  • SKILL.md
  • main.py
  • skill.json

Open the folder on GitHubat commit d01d8f8

Compare with similar skills

Priority Task Reader next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Priority Task Reader compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Priority Task Reader this skillhuangruiteng/CS-Notes4k—~681Automated safety check: PassMIT
Progressive Jpegthedaviddias/Front-End-Checklist74k—~426Automated safety check: PassMIT
Progressive Buildingn8n-io/n8n207k—~1.6kAutomated safety check: PassCustom licence
Bilingual Paper ReaderYuan1z0825/nature-skills46k—~961Automated safety check: PassApache-2.0
Todo Writenexu-io/open-design100k—~225Automated safety check: PassApache-2.0
Web Page ReaderHKUDS/Vibe-Trading35k—~627Automated safety check: PassMIT

Similar skills

  • Progressive Jpeg

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing image assets, markup, and CDN or build transforms related to Use progressive JPEG encoding.

    74k GitHub stars~426 tokensUpdated yesterday
    Auto-check passed
  • Official

    Load before build-workflow and before scoping or planning new workflows and feature additions, including requests spanning multiple workflows.

    207k GitHub stars~1.6k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Bilingual Paper Reader

    Yuan1z0825/nature-skills

    Creates a source-grounded Chinese-English reader for a research paper, with aligned text, figures, tables and equations, or answers questions about a given passage.

    46k GitHub stars~961 tokensUpdated yesterday
    Research & ScienceAuto-check passed
  • Todo Write

    nexu-io/open-design

    TodoWrite-driven plan that the agent commits to before generation.

    100k GitHub stars~225 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Web Page Reader

    HKUDS/Vibe-Trading

    Converts web pages, articles and documentation links into clean Markdown through the read_url tool, which sends the full URL to the third-party Jina Reader service.

    35k GitHub stars~627 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Harness Progress

    Chachamaru127/claude-code-harness

    Generate a Progress Tracker HTML for non-engineer vibecoders to glance at session progress (cc:WIP / cc:TODO / cc:完了 counts, percentage, elapsed/estimated minutes, cost so far/estimate, drift alerts).

    3.2k GitHub stars~1.5k tokensUpdated 3 days ago
    DevelopmentAuto-check: notes

More from huangruiteng/CS-Notes

All 38 skills in this repo
  • CLI Creator

    huangruiteng/CS-Notes

    Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script.

    4k GitHub starsUsed in 2 repos~2.7k tokens
    Auto-check passed
  • Slack

    huangruiteng/CS-Notes

    A skill your agent uses when you need to control Slack from Clawdbot via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.

    4k GitHub starsUsed in 10 repos~578 tokens
    Auto-check passed
  • Codex Thread Heartbeat

    huangruiteng/CS-Notes

    Inspect and manage guarded Codex App-native or launchd heartbeats for Codex main control threads.

    4k GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed
  • Codex Thread Reader

    huangruiteng/CS-Notes

    Locate and read a Codex thread by a codex thread link, thread id, or rollout path across all local CODEXHOME directories (~/.codex, ~/.codex-gpt, ...).

    4k GitHub stars~1.4k tokensUpdated 2 days ago
    Auto-check passed
  • Research Material Scout

    huangruiteng/CS-Notes

    A skill your agent uses when the user asks Codex to research, find learning materials, process "素材:" links, "请你读" / "精读" a material, build a material radar, or use SenSight-like broad information…

    4k GitHub stars~8.6k tokensUpdated 2 days ago
    Auto-check passed
  • GitHub

    huangruiteng/CS-Notes

    Interact with GitHub using the gh CLI. An agent skill from huangruiteng/CS-Notes.

    4k GitHub starsUsed in 28 repos~279 tokens
    Auto-check passed

Questions about Priority Task Reader

What does Priority Task Reader do?

按优先级读取任务 Skill - 从 todos.json 读取 in-progress 和 pending 任务,按 P0-P9 优先级排序. Priority Task Reader is an agent skill from huangruiteng/CS-Notes.

How do I install Priority Task Reader in Claude Code?

Run `npx skills add huangruiteng/CS-Notes --skill priority-task-reader -a claude-code`. Or copy the skill folder (.trae/openclaw-skills/priority-task-reader in huangruiteng/CS-Notes) into .claude/skills/priority-task-reader in your project. Claude Code loads it when a task matches its description.

How do I install Priority Task Reader in Codex?

Run `npx skills add huangruiteng/CS-Notes --skill priority-task-reader -a codex`. Or copy the skill folder (.trae/openclaw-skills/priority-task-reader in huangruiteng/CS-Notes) into .agents/skills/priority-task-reader in your project. Codex loads it when a task matches its description.

Can I use Priority Task Reader in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add huangruiteng/CS-Notes --skill priority-task-reader -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/priority-task-reader, .gemini/skills/priority-task-reader, .github/skills/priority-task-reader and .opencode/skills/priority-task-reader in your project.

What does Priority Task Reader need to run?

Going by SKILL.md and its folder, Priority Task Reader needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Priority Task Reader access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Priority Task Reader safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Priority Task Reader use?

Priority Task Reader is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Priority Task Reader use?

About 681 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Priority Task Reader?

Skills that share tags, products or a category with Priority Task Reader: Progressive Jpeg (thedaviddias/Front-End-Checklist, 74k stars), Progressive Building (n8n-io/n8n, 207k stars), Bilingual Paper Reader (Yuan1z0825/nature-skills, 46k stars) and Todo Write (nexu-io/open-design, 100k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Priority Task Reader?

huangruiteng (a GitHub user) maintains it in huangruiteng/CS-Notes, which has 4,000 GitHub stars. The repository holds 38 skills in this directory. The repository was last updated on October 6, 2026.

Source: huangruiteng/CS-Notes on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.