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.
npx agentmods add skills/vladkesler/initrunner/latency-analysisnpx skills add vladkesler/initrunner --skill latency-analysisgit clone --depth 1 https://github.com/vladkesler/initrunnerWrote 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.
[](https://agentmods.dev/skills/vladkesler/initrunner/latency-analysis)<a href="https://agentmods.dev/skills/vladkesler/initrunner/latency-analysis"><img src="https://agentmods.dev/badge/skills/vladkesler/initrunner/latency-analysis.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00030 | $0.00449 |
| Opus 5 | $0.00015 | $0.00225 |
| Sonnet 5 | $0.00006 | $0.00090 |
| Haiku 4.5 | $0.00003 | $0.00045 |
Grade A, and why
latency-analysis 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 5d 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.
What it actually says
Latency trend analysis skill using episodic memory.
When to activate
Use this skill when comparing current latency against historical data, or when the user asks about performance trends for an endpoint.
Methodology
1. Gather history
Recall the last 10 episodic memories for the endpoint:
recall("<endpoint-host-and-path> check")
Extract latency values from each recalled episode.
2. Calculate baseline
Compute the rolling baseline as the median latency from recalled episodes. If fewer than 3 data points exist, note "insufficient data for baseline" and skip trend analysis.
3. Measure deviation
deviation = (current - baseline) / baseline * 100
Classification:
- <25% deviation: Normal fluctuation -- no action
- 25-100% deviation: Elevated -- note but do not alert unless sustained
- >100% deviation: Degraded -- check if sustained
- Timeout: Down -- immediate alert
4. Determine trend direction
Compare the last 3 readings against the previous 3:
- All decreasing or stable: improving
- Mixed or flat: stable
- All increasing: degrading
5. Alert criteria
All three conditions must hold for a degradation alert:
- Current latency > baseline * 1.5
- At least 3 consecutive elevated readings (not a single spike)
- Trend direction is "degrading" or "stable at elevated"
MUST
- Use actual data from memory -- never estimate without checking
- State the baseline and current values in any alert
- Include the number of consecutive elevated readings
MUST NOT
- Alert on a single spike (wait for 3 consecutive readings)
- Assume a baseline without checking memory
- Use absolute thresholds without comparing to this endpoint's own history (200ms might be normal for one endpoint, degraded for another)
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.
- 5d ago First seen · 71 lines · 30 tokens per session scan A 28f74fdd972c
latency-analysis is a skill published in the GitHub repository vladkesler/initrunner (41 stars, last pushed 7d ago), licensed Apache-2.0. It adds 30 tokens to every session and 449 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.
Other skills, from other repositories
Vizra ADK Tool Creation
Build custom tools for Vizra ADK agents - includes patterns for database, API, file, and email tools.
Vizra ADK Evaluation Framework
Test and evaluate AI agents with automated evaluations, assertions, and LLM-as-a-Judge patterns.
Vizra ADK Memory System
Implement persistent memory, session context, and vector memory (RAG) for AI agents.
Vizra ADK Agent Creation
Create AI agents with Vizra ADK - includes patterns for customer service, data analysis, and content generation agents.
Vizra ADK Workflows
Orchestrate complex multi-agent workflows - sequential, parallel, conditional, and loop patterns.
create-skill
Scaffolds and validates new superpowers skills. Use when creating a new skill for this repository.