scalenepython

scalenepython refers to using Scalene when Python agents, tool servers, or retrieval pipelines need line-by-line CPU, GPU, and memory profiling before targeted optimization.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "scalenepython" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-0ab807d79f6873319dc3984d955d7b24b346a26c706e1ffd4000b85572ddea3c. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/profile-python-agent-workloads-with-scalene before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

scalenepython refers to using Scalene when Python agents, tool servers, or retrieval pipelines need line-by-line CPU, GPU, and memory profiling before targeted optimization.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Python project or script that reproduces the workload; Scalene CLI; local or staging permission to run profiling
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "使用 Scalene 对 Python 代理工作负载进行分析"
slug: "profile-python-agent-workloads-with-scalene"
version: "1.0.0"
displayName: "使用 Scalene 对 Python 代理工作负载进行分析"
summary: "当Python代理、工具服务器或检索管道需要在针对性优化之前进行逐行CPU、GPU和内存分析时,请使用Scalene。"
license: "MIT"
description: "当Python代理、工具服务器或检索管道需要在针对性优化之前进行逐行CPU、GPU和内存分析时,请使用Scalene。"
github_stars: 13455
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 13455

使用 Scalene 对 Python 代理工作负载进行分析

Use Scalene when a Python agent, tool server, or retrieval pipeline needs line-level CPU, GPU, and memory profiling before targeted optimization.

Prerequisites

Python project or script that reproduces the workload; Scalene CLI; local or staging permission to run profiling

Installation

Use the upstream install or setup path that matches your environment:

  • conda install -c conda-forge scalene

Requirements and caveats from upstream:

Basic usage or getting-started notes:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 提供针对 Python 代理、工具服务器、检索管道的逐行性能分析能力
  • 适用于开发者在针对性优化前的性能瓶颈定位
Trigger Precision85/100

Highlights

  • 触发场景描述清晰,明确指向性能分析需求
  • 边界合理,不易与其他 Skill 混淆
Structure and Standards68/100

Areas to improve

  • 缺少 When to Use/示例章节 Reported severity: Minor

    文档未包含具体的使用示例和明确的步骤划分

    Recommendation: 建议补充端到端的使用示例和 Phase 步骤说明

Highlights

  • frontmatter 完整,包含必要元信息
  • 文档结构基本清晰,包含 Prerequisites 和 Installation
Execution Reliability65/100

Areas to improve

  • 异常处理覆盖不足 Reported severity: Minor

    未提及安装失败、权限问题等常见异常的处理方式

    Recommendation: 建议补充常见问题的排查指南和错误处理建议

Highlights

  • 提供了 conda 和 pip 两种官方安装方式
  • 工具来源明确,基于 Scalene 官方项目
Evidence Verifiability (mean of the first four)74/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 42
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • anaconda.org
  • github.com
  • img.shields.io
  • pypi.org
  • raw.githubusercontent.com
  • realpython.com
  • smile.amazon.com
  • spectrum.ieee.org
  • user-images.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Python project or script that reproduces the workload; Scalene CLI; local or staging permission to run profiling

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.