Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

skill-performance-profiler技能表现分析器

Agent Skill

skill-performance-profiler 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

250

周安装

10

GitHub Stars

28

下载量

81
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:skill-performance-profiler(技能表现分析器)
来源仓库:https://github.com/exploration-labs/nates-substack-skills
仓库路径:skills/skill-performance-profiler
安装命令:
npx skills add https://github.com/exploration-labs/nates-substack-skills --skill skill-performance-profiler
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/exploration-labs/nates-substack-skills --skill skill-performance-profiler

简介

skill-performance-profiler 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 安装方式:github,使用 npx skills add 命令添加。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Skill Performance Profiler

Comprehensive analysis tool for tracking and optimizing skill usage patterns, token consumption, and identifying opportunities for skill consolidation.

When to Use This Skill

Use this skill when users request:

  • Analysis of skill token usage or performance metrics
  • Identification of "heavy" vs "lightweight" skills
  • Skill consolidation opportunities or optimization suggestions
  • Frequency analysis of skill invocations
  • Co-occurrence patterns (skills used together)
  • Time-based trends in skill usage
  • Reports or visualizations of skill metrics

Trigger phrases include: "analyze my skills," "which skills use the most tokens," "skill performance," "consolidation opportunities," "optimize my skills," "skill usage report," etc.

Analysis Process

The analysis involves three main steps:

  1. Data Collection: Gather conversation history using recent_chats tool
  2. Analysis: Process conversations to extract skill metrics
  3. Reporting: Generate formatted output (markdown report, CSV, or visualization)

Step 1: Collect Conversation Data

Use the recent_chats tool to gather conversations for analysis. The time range and number of conversations depends on the user's request:

# For recent analysis (default - last 20 conversations)
recent_chats(n=20)

# For specific time periods
recent_chats(n=20, after="2025-10-01T00:00:00Z")

# For comprehensive analysis (iterate to get more)
recent_chats(n=20, before=earliest_timestamp_from_previous_call)

Extract the conversation content and metadata (especially updated_at timestamps) from the results.

Step 2: Prepare Data for Analysis

Create a JSON file containing the conversation data in this format:

{
  "conversations": [
    {
      "content": "full conversation text including tool calls and responses",
      "updated_at": "2025-10-22T10:30:00Z"
    }
  ]
}

Save this as /home/claude/conversations.json.

Step 3: Run Analysis

Execute the analysis script:

cd /home/claude
python3 /mnt/skills/user/skill-performance-profiler/scripts/analyze_skills.py conversations.json

This produces conversations_analysis.json with comprehensive metrics including:

  • Per-skill statistics (invocation count, token usage, averages)
  • Skill categorization (Lightweight/Medium/Heavy/Very Heavy)
  • Co-occurrence patterns
  • Summary statistics
  • Consolidation opportunities

Step 4: Generate Reports

Create formatted output using the report generator:

# Generate markdown report
python3 /mnt/skills/user/skill-performance-profiler/scripts/generate_report.py conversations_analysis.json markdown

# Generate CSV export
python3 /mnt/skills/user/skill-performance-profiler/scripts/generate_report.py conversations_analysis.json csv

# Generate both formats
python3 /mnt/skills/user/skill-performance-profiler/scripts/generate_report.py conversations_analysis.json both

This creates:

  • conversations_report.md: Comprehensive markdown report with all metrics
  • conversations_export.csv: Tabular data for spreadsheet analysis

Step 5: Present Results

Present the analysis to the user in the most appropriate format:

  1. For quick summaries: Extract key findings from the JSON and present inline
  2. For detailed analysis: Move the markdown report to /mnt/user-data/outputs/ and provide a link
  3. For data exploration: Create a spreadsheet (xlsx) or provide the CSV
  4. For visualization: Consider creating a React artifact with charts (using recharts library)

Key Metrics Explained

Invocation Count: Number of times a skill was used across analyzed conversations

Token Consumption:

  • Total Tokens: Cumulative tokens consumed by the skill across all invocations
  • Average Tokens: Mean token usage per invocation
  • Min/Max Tokens: Range showing variability in skill usage

Skill Categories (by average tokens):

  • Lightweight: < 500 tokens
  • Medium: 500-2,000 tokens
  • Heavy: 2,000-5,000 tokens
  • Very Heavy: > 5,000 tokens

Co-occurrence Rate: Percentage of time skills are used together, indicating potential consolidation opportunities

Consolidation Opportunities: Skill pairs used together ≥50% of the time, suggesting they might benefit from being merged into a single skill

Example Usage Patterns

Quick Performance Check:

User: "Which of my skills are using the most tokens?"
→ Collect 20 recent chats, analyze, show top 5 heaviest skills

Comprehensive Audit:

User: "Give me a full analysis of my skill usage over the last month"
→ Collect conversations from last month (multiple calls to recent_chats)
→ Run full analysis
→ Generate markdown report and provide download link

Consolidation Analysis:

User: "Are there skills I should consolidate?"
→ Analyze conversation patterns
→ Focus on consolidation_opportunities in results
→ Present recommendations with supporting data

Trend Analysis:

User: "Show me skill usage trends over time"
→ Collect conversations across time periods
→ Analyze and group by time buckets
→ Create visualization artifact with trend charts

Token Estimation Notes

Token counts are estimated using a 4:1 character-to-token ratio. This is an approximation since:

  • Actual tokenization varies by content
  • Skills are loaded into context but may not consume their full size
  • Multiple skills may be loaded but only portions used

For more accurate analysis, actual token counts from the API would be ideal, but this estimation provides useful relative comparisons for optimization decisions.

Output Recommendations

Choose output format based on user needs:

  • Inline summary: For quick questions about specific metrics
  • Markdown report: For comprehensive analysis requiring narrative explanation
  • CSV export: When user wants to do their own analysis in Excel/Sheets
  • Visualization artifact: For trend analysis or comparative visualizations
  • Spreadsheet (xlsx): For detailed data exploration with built-in charts

Move all generated files to /mnt/user-data/outputs/ and provide computer:// links so users can download them.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.8%
按下载量换算30

Claude

25.99%
按下载量换算21

Cursor

18.69%
按下载量换算15

Gemini CLI

9.13%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills