evo-flink-session-job

evo-flink-session-job is a skill for Claude Code, Codex from OpenLAIR/OpenSkill. It costs 63 tokens per session (852 once invoked), scanned A, original, Apache-2.0.

A job for Apache Flink, a system for processing large data streams, that analyzes Google Cluster Data v2 task and job event files. It groups bursts of task submissions into sessions and finds the longest session for each completed job.

In plain words
What is it for?
Use it to parse Google cluster traces, split task submissions into stages using an inactivity period, and report the stage with the most submissions per finished job.
Why use it?
It removes the need to decode event codes, convert microsecond timestamps, and calculate session gaps manually. It filters results to jobs that actually finished.

Skill for Claude CodeCodex

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

Good fit Use it to parse Google cluster traces, split task submissions into stages using an inactivity period, and report the stage with the most submissions per finished job.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openlair/openskill/evo-flink-session-job
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 OpenLAIR/OpenSkill --skill evo-flink-session-job
Clone the repo
git clone --depth 1 https://github.com/OpenLAIR/OpenSkill

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 evo-flink-session-job

README.md
[![agentmods](https://agentmods.dev/badge/skills/openlair/openskill/evo-flink-session-job/github.svg)](https://agentmods.dev/skills/openlair/openskill/evo-flink-session-job)
Your own site
<a href="https://agentmods.dev/skills/openlair/openskill/evo-flink-session-job"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-flink-session-job/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 evo-flink-session-job

Your own site · 80×15
<a href="https://agentmods.dev/skills/openlair/openskill/evo-flink-session-job"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-flink-session-job.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 852 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 original No closer match found 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.00063 $0.00852
Opus 5 $0.00032 $0.00426
Sonnet 5 $0.00013 $0.00170
Haiku 4.5 $0.00006 $0.00085

Measured yesterday against content hash 11b2a3ff276b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

evo-flink-session-job 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 yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/generate_java.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.

tasks-evolved/flink-query/environment/skills/evo-flink-session-job/SKILL.md · 96 lines

How it starts

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

Overview

This skill implements a Flink job that processes Google Cluster Data v2 traces to find the longest stage (session of SUBMIT events) per finished job.

Key Concepts

Google Cluster Data v2 Schema

Task Events CSV (13 columns): timestamp, missing_info, job_id, task_index, machine_id, event_type, user, scheduling_class, priority, cpu_request, memory_request, disk_request, different_machines_constraint

Job Events CSV (8 columns): timestamp, missing_info, job_id, event_type, user, scheduling_class, job_name, logical_job_name

Event Types:

  • 0 = SUBMIT
  • 1 = SCHEDULE
  • 2 = EVICT
  • 3 = FAIL
  • 4 = FINISH
  • 5 = KILL
  • 6 = LOST
  • 7 = UPDATE_PENDING
  • 8 = UPDATE_RUNNING

Timestamps are in microseconds.

Session/Stage Logic

  • A "stage" is a burst of task SUBMIT events (event_type=0) for a given job
  • A stage ends when there is an inactivity gap >= sesssize seconds (default 600s = 10 min)
  • Gap in microseconds = sesssize * 1,000,000
  • For each finished job (job event_type=4), find the stage with the most SUBMIT events
  • If a task is submitted, fails/evicted, and resubmitted, each SUBMIT counts separately
  • Output format: (jobId,maxTaskCount) one per line

Files

templates/

  • TaskEvent.java - Parses task event CSV lines
  • JobEvent.java - Parses job event CSV lines
  • LongestSessionPerJob.java - Main Flink job implementation

scripts/

  • generate_java.py - Copies template Java files to workspace

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-flink-session-job/scripts')
from generate_java import generate_all
generate_all('/app/workspace')

Build & Run

# Build
cd /app/workspace && mvn clean package -q

# Start Flink cluster
/opt/flink/bin/start-cluster.sh

# Run job
/opt/flink/bin/flink run /app/workspace/target/LongestSessionPerJob-jar-with-dependencies.jar \
  --task_input /app/workspace/data/task_events/part-00001-of-00500.csv.gz \
  --job_input /app/workspace/data/job_events/part-00001-of-00500.csv.gz \
  --output /app/workspace/output.txt

Read the full file on GitHub · 96 lines

Files

What ships with it

1 file 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. yesterday First seen · 96 lines · 63 tokens per session scan A 11b2a3ff276b

Subscribe to this mod's changes

evo-flink-session-job is a skill published in the GitHub repository OpenLAIR/OpenSkill (90 stars, last pushed yesterday), licensed Apache-2.0. It adds 63 tokens to every session and 852 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-11.