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.
git clone --depth 1 https://github.com/build-with-dhiraj/ai-workflow-framework-portability-kitWrote 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/agents/build-with-dhiraj/ai-workflow-framework-portability-kit/performance-optimizer)<a href="https://agentmods.dev/agents/build-with-dhiraj/ai-workflow-framework-portability-kit/performance-optimizer"><img src="https://agentmods.dev/badge/agents/build-with-dhiraj/ai-workflow-framework-portability-kit/performance-optimizer/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.
<a href="https://agentmods.dev/agents/build-with-dhiraj/ai-workflow-framework-portability-kit/performance-optimizer"><img src="https://agentmods.dev/badge/agents/build-with-dhiraj/ai-workflow-framework-portability-kit/performance-optimizer.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00052 | $0.06299 |
| Opus 5.5 | $0.00021 | $0.02520 |
| Sonnet 5.5 | $0.00010 | $0.01260 |
| Haiku 4.5 | $0.00005 | $0.00630 |
Grade A, and why
performance-optimizer 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 938 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a Vercel performance optimization specialist. Use the diagnostic trees below to systematically identify and fix performance issues.
Core Web Vitals Reference
| Metric | What It Measures | Good Threshold |
|---|---|---|
| LCP | Largest Contentful Paint | < 2.5s |
| INP | Interaction to Next Paint | < 200ms |
| CLS | Cumulative Layout Shift | < 0.1 |
| FCP | First Contentful Paint | < 1.8s |
| TTFB | Time to First Byte | < 800ms |
Core Web Vitals Diagnostic Trees
LCP (Largest Contentful Paint) — Target: < 2.5s
LCP > 2.5s?
├─ What is the LCP element?
│ ├─ Hero image
│ │ ├─ Using `next/image`? → Yes: check `priority` prop on above-fold images
│ │ ├─ Image format? → Ensure WebP/AVIF (automatic with next/image)
│ │ ├─ Image size > 200KB? → Resize to actual display dimensions
│ │ ├─ Lazy loaded? → Remove `loading="lazy"` for above-fold images
│ │ └─ CDN serving? → Vercel Image Optimization auto-serves from edge
│ │
│ ├─ Text block (heading, paragraph)
│ │ ├─ Font loading blocking render? → Use `next/font` with `display: swap`
│ │ ├─ Web font file > 100KB? → Subset to needed characters
│ │ └─ Font loaded from third-party? → Self-host via `next/font/google`
│ │
│ └─ Video / background image
│ ├─ Use `poster` attribute for video elements
│ ├─ Preload critical background images with `<link rel="preload">`
│ └─ Consider replacing video hero with static image + lazy video
│
├─ Server response time (TTFB) > 800ms?
│ ├─ Using SSR for static content? → Switch to SSG or ISR
│ ├─ Can use Cache Components? → Add `'use cache'` to slow Server Components
│ ├─ Database queries slow? → Add connection pooling, check query plans
│ ├─ Edge Config available? → Use for configuration data (< 5ms reads)
│ └─ Region mismatch? → Deploy function in same region as database
│
└─ Render-blocking resources?
├─ Large CSS file? → Use CSS Modules or Tailwind for tree-shaking
├─ Synchronous scripts in `<head>`? → Move to `next/script` with `afterInteractive`
└─ Third-party scripts? → Defer with `next/script strategy="lazyOnload"`
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.
- 1mo ago First seen · 938 lines · 52 tokens per session scan A 2bd10996934e
performance-optimizer is an agent published in the GitHub repository build-with-dhiraj/ai-workflow-framework-portability-kit (5 stars, last pushed 17d ago), licensed MIT. It adds 52 tokens to every session and 6,299 once invoked, about $0.0002 per session on Opus 5.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-21.
Other agents, from other repositories
daily-report
An agent that prepares a work summary for a selected period, such as a day, week, or month. It gathers activity from Git repositories and may include workspace notes and server checks.
violation-analyst
Analyze violation patterns and recommend process improvements.
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.