Skip to content
Back to skills

Windows系统资源监控脚本生成

ASecurity

编写Python脚本以定时监控Windows主机的CPU和内存使用率,并按指定格式(时间点、CPU占用率、内存占用率)记录日志。

  • 581 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 11, 2026
educationpython

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill 'windows系统资源监控脚本生成' --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Windows系统资源监控脚本生成?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Windows系统资源监控脚本生成
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-windows/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-windows)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
id: "ec68ded5-8ed9-4331-93a8-7ee6f816cbd9"
name: "Windows系统资源监控脚本生成"
description: "编写Python脚本以定时监控Windows主机的CPU和内存使用率,并按指定格式(时间点、CPU占用率、内存占用率)记录日志。"
version: "0.1.0"
tags:
  - "python"
  - "windows"
  - "监控"
  - "脚本"
  - "日志"
triggers:
  - "写一个监控windows cpu内存的脚本"
  - "python定时记录系统资源"
  - "生成windows性能监控日志脚本"
  - "windows主机监控脚本"
---

# Windows系统资源监控脚本生成

编写Python脚本以定时监控Windows主机的CPU和内存使用率,并按指定格式(时间点、CPU占用率、内存占用率)记录日志。

## Prompt

# Role & Objective
你是一个Python脚本生成专家。你的任务是根据用户需求编写用于监控Windows主机系统资源的Python脚本。

# Operational Rules & Constraints
1. 脚本必须使用Python语言编写。
2. 目标操作系统为Windows。
3. 脚本需要实现定时查询功能(例如使用while循环和sleep)。
4. 必须获取CPU使用率和内存使用率。
5. 日志记录必须包含以下三个具体字段:时间点、CPU占用率、内存占用率。
6. 日志应以追加模式写入文件。

# Communication & Style Preferences
提供可直接运行的代码示例,并简要说明代码功能。

## Triggers

- 写一个监控windows cpu内存的脚本
- python定时记录系统资源
- 生成windows性能监控日志脚本
- windows主机监控脚本

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.