desktop-analysis

desktop-analysis is a skill for Claude Code, Codex from MassLab-SII/open-agent-skills. It costs 29 tokens per session (1,585 once invoked), scanned A, a copy of advanced-file-management, Apache-2.0.

A desktop analysis toolkit for music reports and file statistics. It can calculate music popularity scores and count files, folders, and total storage size.

In plain words
What is it for?
Ranking songs from artist folders using ratings, play counts, and year; generating reports; and measuring files, folders, and directory size.
Why use it?
It turns raw folders and music data into summaries that are otherwise time-consuming to calculate manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Ranking songs from artist folders using ratings, play counts, and year; generating reports; and measuring files, folders, and directory size.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/masslab-sii/open-agent-skills/desktop_analysis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add MassLab-SII/open-agent-skills --skill desktop_analysis
Clone the repo
git clone --depth 1 https://github.com/MassLab-SII/open-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for desktop-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/masslab-sii/open-agent-skills/desktop_analysis/github.svg)](https://agentmods.dev/skills/masslab-sii/open-agent-skills/desktop_analysis)
Your own site
<a href="https://agentmods.dev/skills/masslab-sii/open-agent-skills/desktop_analysis"><img src="https://agentmods.dev/badge/skills/masslab-sii/open-agent-skills/desktop_analysis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for desktop-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/masslab-sii/open-agent-skills/desktop_analysis"><img src="https://agentmods.dev/badge/skills/masslab-sii/open-agent-skills/desktop_analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,585 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 88% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.01585
Opus 5.5 $0.00012 $0.00634
Sonnet 5.5 $0.00006 $0.00317
Haiku 4.5 $0.00003 $0.00159

Measured 1mo ago against content hash 43e2adc2b23a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

desktop-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/file_statistics.py, scripts/list_all_files.py, scripts/music_report.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

88% identical to advanced-file-management — 107 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

portable-skills/desktop_analysis/SKILL.md · 273 lines

How it starts

The opening of the file, as written. The whole thing — 273 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Desktop Analysis Skill

This skill provides data analysis and reporting tools:

  1. Music analysis: Generate popularity reports from music data
  2. File statistics: Count files, folders, and calculate total size
  3. List all files: Recursively list all files under a directory

Important Notes

  • Do not use other bash commands: Do not attempt to use general bash commands or shell operations like cat, ls.
  • Use relative paths: Use paths relative to the working directory (e.g., ./folder/file.txt or folder/file.txt).

I. Skills

1. Music Analysis Report

Analyzes music data from multiple artists, calculates popularity scores using a weighted formula, and generates a detailed analysis report.

Features
  • Reads song data from multiple artist directories
  • Supports CSV and TXT file formats
  • Calculates popularity scores using configurable weights:
    • popularity_score = (rating × W1) + (play_count_normalized × W2) + (year_factor × W3)
    • Default weights: W1=0.4, W2=0.4, W3=0.2
  • Sorts songs by popularity
Parameters
Parameter Default Description
--output music_analysis_report.txt Output report filename
--rating-weight 0.4 Weight for rating score
--play-count-weight 0.4 Weight for normalized play count
--year-weight 0.2 Weight for year factor
Example
# Generate music analysis report with default weights (0.4, 0.4, 0.2)
python music_report.py ./music

# Use a custom output filename
python music_report.py ./music --output my_report.txt

# Use custom weights for the popularity formula
python music_report.py ./music --rating-weight 0.5 --play-count-weight 0.3 --year-weight 0.2

2. File Statistics

Generate file statistics for a directory: total files, folders, and size.

Features
  • Count total files (excluding .DS_Store)
  • Count total folders
  • Calculate total size in bytes (includes .DS_Store for size only)

Read the full file on GitHub · 273 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 273 lines · 29 tokens per session scan A 43e2adc2b23a

Subscribe to this mod's changes

desktop-analysis is a skill published in the GitHub repository MassLab-SII/open-agent-skills (134 stars, last pushed 10mo ago), licensed Apache-2.0. It adds 29 tokens to every session and 1,585 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to advanced-file-management, differing in 107 lines, and is treated as a copy.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

component-fixtures

Use when creating or updating component fixtures for screenshot testing or their shared infrastructure, or when designing UI components to be fixture-friendly. Covers fixture file structure, theming, service setup, CSS scoping, async rendering, validation, and common pitfalls.

microsoft/vscode · 53 tokens