Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/analyzing-network-latency

@820dfc8
Run it yourself

Analyze network latency and optimize request patterns for faster communication. Use when diagnosing slow network performance or optimizing API calls. Trigger with phrases like "analyze network latency", "optimize API calls", or "reduce network delays".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/analyzing-network-latency

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈70 tokens for metadata: the name and description. ≈876 when used: this file. ≈212 more on demand in 3 files.

Description uses 3.5% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈280 characters, or 3.5%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Network Latency Analyzer

Diagnose network latency issues and optimize request patterns through parallelization, batching, connection pooling, and timeout tuning.

Overview

This skill empowers Claude to diagnose network latency issues and propose optimizations to improve application performance. It analyzes request patterns, identifies potential bottlenecks, and recommends solutions for faster and more efficient network communication.

How It Works

  1. Request Pattern Identification: Claude identifies all network requests made by the application.
  2. Latency Analysis: Claude analyzes the latency associated with each request, looking for patterns and anomalies.
  3. Optimization Recommendations: Claude suggests optimizations such as parallelization, request batching, connection pooling, and timeout adjustments.

When to Use This Skill

This skill activates when you need to:

  • Analyze network latency in an application.
  • Optimize network request patterns for improved performance.
  • Identify bottlenecks in network communication.

Examples

Example 1: Optimizing API Calls

User request: "Analyze network latency and suggest improvements for our API calls."

The skill will:

  1. Identify all API calls made by the application.
  2. Analyze the latency of each API call.
  3. Suggest parallelizing certain API calls and implementing connection pooling.

Example 2: Reducing Page Load Time

User request: "Optimize network request patterns to reduce page load time."

The skill will:

  1. Identify all network requests made during page load.
  2. Analyze the latency of each request.
  3. Suggest batching multiple requests into a single request and optimizing timeout configurations.

Best Practices

  • Parallelization: Identify serial requests that can be executed in parallel to reduce overall latency.
  • Request Batching: Batch multiple small requests into a single larger request to reduce overhead.
  • Connection Pooling: Reuse existing HTTP connections to avoid the overhead of establishing new connections for each request.

Integration

This skill can be used in conjunction with other plugins that manage infrastructure or application code, allowing for automated implementation of the suggested optimizations. For instance, it can work with a code modification plugin to automatically apply connection pooling or adjust timeout values.

Prerequisites

  • Access to application network configuration
  • Network monitoring tools (curl, ping, traceroute)
  • Request pattern documentation
  • Performance baseline metrics

Instructions

  1. Identify all network requests in the application
  2. Measure latency for each request type
  3. Analyze patterns for serial vs parallel execution
  4. Identify opportunities for batching and pooling
  5. Recommend timeout and retry configurations
  6. Provide optimization implementation plan

Output

  • Network latency analysis report
  • Request pattern visualizations
  • Optimization recommendations with priorities
  • Implementation examples for suggested changes
  • Expected performance improvements

Error Handling

If latency analysis fails:

  • Verify network connectivity to endpoints
  • Check DNS resolution and routing
  • Validate request authentication
  • Review firewall and security rules
  • Ensure monitoring tools are installed

Resources

  • HTTP connection pooling guides
  • Request batching best practices
  • Network performance optimization references
  • API design patterns for latency reduction

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2mo3 checks · Risk MEDIUM
  • Gen Agent Trust Hub2mo

    The skill exhibits a significant discrepancy between its stated functionality and the actual implementation of its analysis script. It also ingests application source code, which creates a potential surface for indirect prompt injection attacks.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 820dfc8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 months ago
What it can do
Reads files Edits files Runs commands
version
1.21.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
[
  "performance",
  "api",
  "analyzing-network"
]
All 6 allowed tools
ReadWriteBash(curl:*)Bash(ping:*)Bash(traceroute:*)Grep
Other metadata
compatibility
Designed for Claude Code

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/analyzing-network-latency