Agent skill

Task Patrol Skill

by uluckyXH in uluckyXH/OpenMOSS

“巡查 Skill — 通过 CLI 工具巡查任务状态、标记异常、发送告警”

— description from SKILL.md by uluckyXH
MITAuto-check passed

Install Task Patrol Skill

skills CLI
$ npx skills add uluckyXH/OpenMOSS --skill task-patrol-skill -a claude-code

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

GitHub CLI
$ gh skill install uluckyXH/OpenMOSS task-patrol-skill --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/uluckyXH/OpenMOSS.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/task-patrol-skill .claude/skills/task-patrol-skill && 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
task-patrol-skill
GitHub stars
1.3k
Token cost
~514 tokens
SKILL.md length
73 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

  • SKILL.md covers 认证信息, 工作流程, 可用命令 and 注意事项
  • Calls python; needs API_KEY

About this skill

Task Patrol Skill is a skill in uluckyXH/OpenMOSS (1.3k stars). Its SKILL.md is about 514 tokens. Licence: MIT.

What it can do on your machine

Read from SKILL.md and the folder at commit 98f76b8. 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

    Shell commands in SKILL.md call:

    • python

    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 these keys or tokens, usually read from environment variables:

    • API_KEY

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

Context cost

Task Patrol Skill loads about 514 tokens when it runs. Until then it costs about 14 tokens; SKILL.md has 73 words of instructions outside code blocks.

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

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 uluckyXH/OpenMOSS at commit 98f76b8, republished under its MIT licence (© uluckyXH). 73 words, ~514 tokens.

Download SKILL.mdSave it as .claude/skills/task-patrol-skill/SKILL.md (or your agent's skills folder).
name
task-patrol-skill
description
巡查 Skill — 通过 CLI 工具巡查任务状态、标记异常、发送告警

Task Patrol Skill

你可以使用 task-cli.py 工具来巡查任务状态。该工具位于本 Skill 目录下。

认证信息

  • API_KEY: <注册后填入>

工作流程

  1. 获取规则 → 2. 检查积分 → 3. 扫描异常任务 → 4. 标记 blocked → 5. 发送告警 → 6. 记录日志

可用命令

所有命令前缀:python task-cli.py --key <API_KEY>

规则
bash
rules                                     # 获取合并后的规则提示词(执行前必须调用)
任务巡查
bash
task list                                 # 查看所有任务
st list --status in_progress              # 查看执行中的子任务(检查是否超时/卡住)
st list --status assigned                 # 查看已分配但未开始的(检查是否长期未启动)
st list --status blocked                  # 查看已标记异常的
st get <sub_task_id>                      # 查看子任务详情

📄 列表命令默认返回全部数据。如数据较多,可加 --page N --page-size M 分页查看。返回结果包含 total(总数)和 has_more(是否还有更多)。

异常标记
bash
st block <sub_task_id>                    # 标记子任务异常(in_progress/assigned/rework → blocked)
Agent 查看
bash
agents                                    # 查看已注册 Agent(ID、角色、状态、积分)
agents --role executor                    # 按角色过滤

💡 巡查时可通过 agents 了解各 Agent 状态,便于在告警中标注相关责任人。

积分
bash
score me                                  # 查看自己的积分
score logs --page 1 --page-size 10        # 查看积分明细(建议分页,避免数据过多)
score agent-logs <agent_id> --page 1 --page-size 10  # 查看指定 Agent 的积分明细(排查连续扣分趋势)
score leaderboard                         # 积分排行榜

📄 score logs 默认返回全部明细。如数据较多,可加 --page N --page-size M 分页查看。

通知
bash
notification                              # 查看通知渠道配置
日志
bash
log create "patrol" "巡查发现xxx子任务超时,已标记blocked" --sub-task-id <id>
log mine                                  # 回顾工作记录(默认最近7天,最多20条)
log mine --action reflection              # 只看自省笔记
log list --sub-task-id <id>               # 查看某子任务的所有日志
log list --action blocked --days 3        # 扫描执行者求助日志
log list --days 30 --limit 50             # 最近30天,最多50条

注意事项

  • 每次执行前先运行 rules 获取最新规则
  • 每次唤醒时检查 score logs,分析自己的表现
  • 重点巡查:超时未完成、长期未启动、会话断开的子任务
  • 标记 blocked 后需发送告警到通知渠道
  • 不要直接修改子任务的内容或状态(除 block 外),交给规划师处理

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

Files

Just SKILL.md in skills/task-patrol-skill of uluckyXH/OpenMOSS.

Open the folder on GitHubat commit 98f76b8

Compare with similar skills

Task Patrol Skill 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.

Task Patrol Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Task Patrol Skill this skilluluckyXH/OpenMOSS1.3k—~514Automated safety check: PassMIT
CI Flaky PatrolQwenLM/qwen-code28k—~798Automated safety check: PassApache-2.0
Ctct Security PatrolLeoYeAI/openclaw-master-skills2.2k—~2.5kAutomated safety check: NotesMIT
Patrol E2E Testingevanca/flutter-ai-rules650—~1.4kAutomated safety check: PassMIT
Server Patrolopenocta/openocta_skills166—~522Automated safety check: PassMIT
Eunomia Content Patroleunomia-bpf/eunomia.dev236—~2.4kAutomated safety check: NotesMIT

Similar skills

  • CI Flaky Patrol

    QwenLM/qwen-code

    Classify a bounded batch of stale PR CI failures and choose the safest response.

    28k GitHub stars~798 tokensUpdated today
    Testing & QAAuto-check passed
  • Ctct Security Patrol

    LeoYeAI/openclaw-master-skills

    OpenClaw 多模式安全巡检工具:默认本地离线扫描,可选联网威胁情报上报. An agent skill from LeoYeAI/openclaw-master-skills.

    2.2k GitHub stars~2.5k tokensUpdated 2 mo ago
    SecurityAuto-check: notes
  • Patrol E2E Testing

    evanca/flutter-ai-rules

    A skill your agent uses when writing E2E/integration tests, testing native interactions like permissions or system dialogs, capturing UI regressions, or validating cross-platform behavior (Patrol…

    650 GitHub stars~1.4k tokensUpdated 25 days ago
    Testing & QAAuto-check passed
  • Server Patrol

    openocta/openocta_skills

    Linux 与网络设备只读健康巡检;直接运行 scripts/patrol.sh,配置由平台侧信道注入,Agent 不读取环境变量

    166 GitHub stars~522 tokensUpdated 3 mo ago
    DatabasesAuto-check passed
  • Eunomia Content Patrol

    eunomia-bpf/eunomia.dev

    Orchestrate the scheduled or manual eunomia.dev content operation.

    236 GitHub stars~2.4k tokensUpdated yesterday
    Research & ScienceAuto-check: notes
  • Godot AI Navigation

    thedivergentai/GD-Agentic-Skills

    AI movement decision router for chase, patrol, crowd, and bake choices on top of NavigationAgent/Server.

    816 GitHub stars~3.8k tokensUpdated 1 mo ago
    Game DevelopmentAuto-check passed

More from uluckyXH/OpenMOSS

  • Antigravity Gemini Image

    uluckyXH/OpenMOSS

    Generate or edit images using the Antigravity-hosted Gemini image model via the local gateway.

    1.3k GitHub stars~730 tokensUpdated 3 mo ago
    Auto-check: notes
  • Local Web Search

    uluckyXH/OpenMOSS

    A skill your agent uses when the user asks for web search that should run via the local-160 Responses API with websearch tool (base URL like https://proxy.example.com, model gpt-5.2-codex(xhigh)).

    1.3k GitHub stars~392 tokensUpdated 3 mo ago
    Auto-check: notes
  • Wordpress Skill

    uluckyXH/OpenMOSS

    WordPress 站点管理 Skill — 通过 CLI 工具管理文章、页面、媒体、分类、标签和搜索. An agent skill from uluckyXH/OpenMOSS.

    1.3k GitHub stars~1.4k tokensUpdated 3 mo ago
    Auto-check passed
  • Task Executor Skill

    uluckyXH/OpenMOSS

    任务执行者 Skill — 通过 CLI 工具领取子任务、提交成果、处理返工

    1.3k GitHub stars~615 tokensUpdated 3 mo ago
    Auto-check passed
  • Task Planner Skill

    uluckyXH/OpenMOSS

    任务规划师 Skill — 通过 CLI 工具创建任务、拆分模块、分配子任务

    1.3k GitHub stars~683 tokensUpdated 3 mo ago
    Auto-check passed
  • Task Reviewer Skill

    uluckyXH/OpenMOSS

    审查者 Skill — 通过 CLI 工具审查子任务、评分、驳回返工

    1.3k GitHub stars~558 tokensUpdated 3 mo ago
    Auto-check passed

Questions about Task Patrol Skill

How do I install Task Patrol Skill in Claude Code?

Run `npx skills add uluckyXH/OpenMOSS --skill task-patrol-skill -a claude-code`. Or copy the skill folder (skills/task-patrol-skill in uluckyXH/OpenMOSS) into .claude/skills/task-patrol-skill in your project. Claude Code loads it when a task matches its description.

How do I install Task Patrol Skill in Codex?

Run `npx skills add uluckyXH/OpenMOSS --skill task-patrol-skill -a codex`. Or copy the skill folder (skills/task-patrol-skill in uluckyXH/OpenMOSS) into .agents/skills/task-patrol-skill in your project. Codex loads it when a task matches its description.

Can I use Task Patrol Skill 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 uluckyXH/OpenMOSS --skill task-patrol-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/task-patrol-skill, .gemini/skills/task-patrol-skill, .github/skills/task-patrol-skill and .opencode/skills/task-patrol-skill in your project.

What does Task Patrol Skill need to run?

Going by SKILL.md and its folder, Task Patrol Skill needs the command-line tools its instructions call (python) and credentials named API_KEY.

Does Task Patrol Skill 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 Task Patrol Skill 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 Task Patrol Skill use?

Task Patrol Skill 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 Task Patrol Skill use?

About 514 tokens (SKILL.md is roughly 2.1k 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 Task Patrol Skill?

Skills that share tags, products or a category with Task Patrol Skill: CI Flaky Patrol (QwenLM/qwen-code, 28k stars), Ctct Security Patrol (LeoYeAI/openclaw-master-skills, 2.2k stars), Patrol E2E Testing (evanca/flutter-ai-rules, 650 stars) and Server Patrol (openocta/openocta_skills, 166 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Task Patrol Skill?

uluckyXH (a GitHub user) maintains it in uluckyXH/OpenMOSS, which has 1,334 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on June 22, 2026.

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