analyzing-network-latency
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".
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 2.0k
- Forks
- 233
01 前言 Front Matter
- name
- analyzing-network-latency
- author
- Jeremy Longshore <jeremy@intentsolutions.io>
- license
- MIT
- version
- 1.0.0
- description
- 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".
- allowed-tools
- Read, Write, Bash(curl:*), Bash(ping:*), Bash(traceroute:*), Grep
02 资源文件 9
- 资产文件assets/README.md346 B
- 参考文档references/lineage.md7.6 KB
- 参考文档references/README.md629 B
- 脚本scripts/analyze_request_patterns.py4.7 KB
- 脚本scripts/connection_pool_optimizer.py2.9 KB
- 脚本scripts/latency_simulator.py2.8 KB
- 脚本scripts/README.md623 B
- 脚本scripts/request_batcher.py2.8 KB
- 脚本scripts/timeout_optimizer.py2.8 KB
03 SKILL.md 正文
Network Latency Analyzer
This skill provides automated assistance for network latency analyzer tasks.
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
- Request Pattern Identification: Claude identifies all network requests made by the application.
- Latency Analysis: Claude analyzes the latency associated with each request, looking for patterns and anomalies.
- 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:
- Identify all API calls made by the application.
- Analyze the latency of each API call.
- 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:
- Identify all network requests made during page load.
- Analyze the latency of each request.
- 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
- Identify all network requests in the application
- Measure latency for each request type
- Analyze patterns for serial vs parallel execution
- Identify opportunities for batching and pooling
- Recommend timeout and retry configurations
- 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
04 同仓库更多 Skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
web-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
neuropixels-analysis
Neuropixels neural recording analysis. Load SpikeGLX/OpenEphys data, preprocess, motion correction, Kilosort4 spike sorting, quality metrics, Allen/IBL curation, AI-assisted visual analysis, for Neuropixels 1.0/2.0 extracellular electrophysiology. Use when working with neural recordings, spike sorting, extracellular electrophysiology, or when the user mentions Neuropixels, SpikeGLX, Open Ephys, Kilosort, quality metrics, or unit curation.
skill-creator
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
notebooklm
Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.