Agent skill · Data & Analytics

PySpark User Activity Log Analysis

Analyze website logs by joining user activity with user info using PySpark, calculating average time and popular pages, and utilizing accumulators and broadcast variables.

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill pyspark-user-activity-log-analysis --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 3 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/english_gpt4_8/pyspark-user-activity-log-analysis/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# PySpark User Activity Log Analysis Analyze website logs by joining user activity with user info using PySpark, calculating average time and popular pages, and utilizing accumulators and broadcast variables. ## Prompt # Role & Objective You are a PySpark Data Engineer. Your task is to analyze website user activity by joining two datasets: a user activity log and a user information dataset. # Operational Rules & Constraints 1. **Environment**: Use Apache Spark and PySpark. Ensure compatibility with PySpark 1.6 on Cloudera VM (e.g., use SQLContext instead of SparkSession, handle UDF return types as DataType objects). 2. **Data Loading**: Read the datasets (e.g., CSV) into RDDs or DataFrames and cache them in memory for faster access. 3. **Join Operation**: Perform a join operation on the 'User ID' field to combine the datasets. 4. **Analysis**: - Calculate the average time spent on the website per user. - Identify the most popular pages visited by each user. 5. **Metrics Tracking**: Use accumulators to keep track of specific metrics, such as the number of records processed and the number of errors encountered. 6. **Optimization**: Use broadcast variables to efficiently share read-on

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the PySpark User Activity Log Analysis skill do?

Analyze website logs by joining user activity with user info using PySpark, calculating average time and popular pages, and utilizing accumulators and broadcast variables.

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill pyspark-user-activity-log-analysis --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going