TeleFuser: Skill for Claude Code

.claude/skills/profile-pipeline/SKILL.md

profile-pipeline is a skill for Claude Code from Tele-AI/TeleFuser. It costs 49 tokens per session (537 once invoked), scanned A, original, Apache-2.0.

A workflow for measuring where a TeleFuser machine-learning pipeline spends time, memory, or computing resources. It moves from whole-pipeline measurements to individual stages and, when needed, individual GPU operations.

In plain words
What is it for?
Investigating latency, throughput, output timing, memory use, slow stages, and GPU bottlenecks before making optimizations.
Why use it?
It replaces guesswork with reproducible measurements and helps distinguish a slow pipeline stage from a slow GPU operation inside that stage.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is Tele-AI/TeleFuser's own configuration. It tells Claude Code how to work on TeleFuser itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything TeleFuser configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Tele-AI/TeleFuser. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Tele-AI/TeleFuser/main/.claude/skills/profile-pipeline/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Tele-AI/TeleFuser

Made for: Claude Code.

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 profile-pipeline

README.md
[![agentmods](https://agentmods.dev/badge/skills/tele-ai/telefuser/profile-pipeline/github.svg)](https://agentmods.dev/skills/tele-ai/telefuser/profile-pipeline)
Your own site
<a href="https://agentmods.dev/skills/tele-ai/telefuser/profile-pipeline"><img src="https://agentmods.dev/badge/skills/tele-ai/telefuser/profile-pipeline/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 profile-pipeline

Your own site · 80×15
<a href="https://agentmods.dev/skills/tele-ai/telefuser/profile-pipeline"><img src="https://agentmods.dev/badge/skills/tele-ai/telefuser/profile-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 537 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00049 $0.00537
Opus 5 $0.00024 $0.00269
Sonnet 5 $0.00010 $0.00107
Haiku 4.5 $0.00005 $0.00054

Measured 10d ago against content hash b0dc76bf602b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

profile-pipeline 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 10d ago.

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.

.claude/skills/profile-pipeline/SKILL.md · 37 lines

How it starts

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

Profile a Pipeline

Use the current profiler implementation and docs/en/profiler.md as the API and command source of truth. Do not reproduce profiler helpers or create new profiling environment variables.

Capture a reproducible workload

Record the commit, model/checkpoint, task, input shape, frame count, diffusion steps, dtype, attention backend, devices, warmup, synchronization points, and whether compilation or caches are warm. Define the metric that matters: latency distribution, throughput, output cadence, or peak memory.

Check GPU availability and memory before profiling. Avoid concurrent workloads that invalidate the trace.

Progress from broad to narrow

  1. Stage timing: use the existing profiler flags and pipeline metrics documented in docs/en/profiler.md. Identify the stage dominating the target metric.
  2. Isolated stage analysis: use the repository's StageBenchHarness and captured I/O signature when the stage can be reproduced faithfully. Verify that the harness input shapes and runtime state match the full pipeline.
  3. Kernel analysis: inspect the PyTorch/Chrome trace and kernel breakdown for the isolated bottleneck. Account for synchronization, communication, memory copies, and launch overhead rather than ranking kernels by duration alone.
  4. NCU deep dive: use Nsight Compute only when a specific reproducible kernel question remains. Keep launch counts small and document the selected kernel and metric set.

Stop when the evidence is sufficient to select or reject an optimization. Do not require a user checkpoint between layers unless the user requested stage-by-stage confirmation or the next layer is materially expensive.

Interpret cautiously

  • Compare warmed runs using identical inputs and configuration.
  • Separate CPU launch overhead, GPU execution, communication, transfers, and synchronization.
  • Do not infer resource groups from device placement when stages can overlap.
  • For streaming, compare p95 chunk latency with the media duration represented by a chunk and retain transport/encoding margin.
  • Do not assign a memory-bound or compute-bound diagnosis from one utilization percentage alone; use the relevant throughput, occupancy, stalls, and launch context.
  • Do not claim a speedup until the proposed change is benchmarked on the same workload.

Read the full file on GitHub · 37 lines

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. 10d ago First seen · 37 lines · 49 tokens per session scan A b0dc76bf602b

Subscribe to this mod's changes

profile-pipeline is a skill published in the GitHub repository Tele-AI/TeleFuser (26 stars, last pushed yesterday), licensed Apache-2.0. It adds 49 tokens to every session and 537 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

ml-training-recipes

Battle-tested PyTorch training recipes for all domains — LLMs, vision, diffusion, medical imaging, protein/drug discovery, spatial omics, genomics. Covers training loops, optimizer selection (AdamW, Muon), LR scheduling, mixed precision, debugging, and systematic experimentation. Use when training or fine-tuning…

Orchestra-Research/AI-Research-SKILLs · 88 tokens

ml-training-recipes

Battle-tested PyTorch training recipes for all domains — LLMs, vision, diffusion, medical imaging, protein/drug discovery, spatial omics, genomics. Covers training loops, optimizer selection (AdamW, Muon), LR scheduling, mixed precision, debugging, and systematic experimentation. Use when training or fine-tuning…

OpenRaiser/NanoResearch · 88 tokens

ml-training-recipes

Battle-tested PyTorch training recipes for all domains — LLMs, vision, diffusion, medical imaging, protein/drug discovery, spatial omics, genomics. Covers training loops, optimizer selection (AdamW, Muon), LR scheduling, mixed precision, debugging, and systematic experimentation. Use when training or fine-tuning…

TTAWDTT/elegant-researcher-skill · 88 tokens

tensorboard

Visualize training metrics, debug models with histograms, compare experiments, visualize model graphs, and profile performance with TensorBoard - Google's ML visualization toolkit.

davila7/claude-code-templates · 32 tokens

ray-train

Distributed training orchestration across clusters. Scales PyTorch/TensorFlow/HuggingFace from laptop to 1000s of nodes. Built-in hyperparameter tuning with Ray Tune, fault tolerance, elastic scaling. Use when training massive models across multiple machines or running distributed hyperparameter sweeps.

davila7/claude-code-templates · 63 tokens

torchforge-rl-training

Provides guidance for PyTorch-native agentic RL using torchforge, Meta's library separating infra from algorithms. Use when you want clean RL abstractions, easy algorithm experimentation, or scalable training with Monarch and TorchTitan.

davila7/claude-code-templates · 49 tokens