Task Patrol Skill logo

Task Patrol Skill

CommunityPopular
uluckyXH
task-patrol-skill

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

Overview

PublisheruluckyXH
RepositoryOpenMOSS
Skill nametask-patrol-skill
Stars
1.3K
Forks
146
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by uluckyXH on GitHub. Read the source before you install it.

Installation

Install the Task Patrol Skill AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/uluckyXH/OpenMOSS.git /tmp/OpenMOSS
mkdir -p .claude/skills
cp -r /tmp/OpenMOSS/skills/task-patrol-skill .claude/skills/task-patrol-skill
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Task Patrol Skill in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Task Patrol Skill on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Task Patrol Skill is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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 外),交给规划师处理

Frequently asked questions

What does the Task Patrol Skill AI skill do?

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

Why use Task Patrol Skill on TypingMind?

Because you install it once and use it with any model. Task Patrol Skill is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Task Patrol Skill in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/uluckyXH/OpenMOSS/tree/main/skills/task-patrol-skill. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Task Patrol Skill?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Task Patrol Skill?

As many as you like. As long as a model supports skills, you can use Task Patrol Skill with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Task Patrol Skill AI skill free?

Yes. It is published on GitHub by uluckyXH under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇