diagnose-agent-latency SKILL.md skillA

diagnose-agent-latency from hua-bang/pulse-agent is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add hua-bang/pulse-agent/diagnose-agent-latency@git:20261019.e33b7cf

Pins git:20261019.e33b7cf in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
hua-bang/pulse-agent
Path
apps/canvas-workspace/harness/skills/diagnose-agent-latency/SKILL.md
Versions recorded
6
Latest version
git:20261019.e33b7cf, committed Oct 19, 2026
First version recorded
Aug 12, 2026
Size
11,966 bytes
Repository stars
30
License
MIT

Diagnose and optimize Canvas Agent turn latency with the development-only Agent DevTools or Langfuse traces. Use when a Canvas chat feels slow, TTFA/TTFT/first-render regresses, a run spends unexpected time in Canvas Host, Engine, Pi, tools, or Renderer, or a performance change needs a before/after trace comparison.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Diagnose Agent Latency

Run a measurement-first loop. Attribute elapsed time to an owner before changing
code, change one bottleneck at a time, then repeat the same workload to prove the
result.

## 1. Establish a Reproducible Run

Work only in development mode. Observability is intentionally absent from
packaged production builds.

1. Record the prompt, scope, model/provider, runtime owner, attachment count,
   canvas node count, and whether the run is cold or warm.
2. Keep those inputs fixed across comparisons. Do not compare different models,
   scopes, prompts, or context sizes as if they were the same workload.
3. Run one warm-up and then at least three measured turns. Use the median for a
   local conclusion; use a larger Langfuse cohort when claiming a broad win.
4. Keep the raw `runId` for every sample.

Enable the local trace subscriber:

```bash
PULSE_CANVAS_AGENT_OBSERVABILITY=1 CANVAS_AGENT_DEBUG_TRACE=1 pnpm --filter canvas-workspace dev
```

The second environment variable enables detail capture in main and the preload
DevTools flag, so this command exposes the sidebar DevTools entry directly.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add hua-bang/pulse-agent/diagnose-agent-latency@sha256:fda7a1e9dabef3ed

The line at the top of this page pins the label git:20261019.e33b7cf, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_mhdppv4yhnfk4w2l.svg)](https://markdownregistry.com/a/art_mhdppv4yhnfk4w2l)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 6 versions of this file, between Aug 12, 2026 and Oct 19, 2026, about one every 13 days.

versioncommittedcommitsizeaudit
git:20261019.e33b7cf latest2026-10-19 e33b7cf 11,966 BA view · diff
git:20261018.15785702026-10-18 1578570 11,728 BA view · diff
git:20261010.71069e62026-10-10 71069e6 10,444 BA view · diff
git:20260927.11741072026-09-27 1174107 10,440 BA view · diff
git:20260926.587b9252026-09-26 587b925 8,566 BA view · diff
git:20260812.ca334792026-08-12 ca33479 7,326 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (11966 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

hua-bang/pulse-agent · 30 stars · license MIT · pushed 2026-11-06 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_mhdppv4yhnfk4w2l
GET https://markdownregistry.com/api/v1/resolve?ref=hua-bang/pulse-agent/diagnose-agent-latency
GET https://markdownregistry.com/api/v1/blob/fda7a1e9dabef3ed226d0d3c82eda3af44ed871b331d0b6528319148fd751ca8

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from hua-bang/pulse-agent

agent-research SKILL.md skill
hua-bang/pulse-agent · .pulse-coder/skills/agent-research/SKILL.md · Strict research and design workflow for general coding-agent loops with evidence-backed benchmarking, iterative user…
v1.1.0 · audit A · 30 stars
branch-naming SKILL.md skill
hua-bang/pulse-agent · .pulse-coder/skills/branch-naming/SKILL.md · Intelligent branch naming based on changes, context, and best practices
v1.1.0 · audit A · 30 stars
code-review SKILL.md skill
hua-bang/pulse-agent · .pulse-coder/skills/code-review/SKILL.md · Perform comprehensive code review including code quality, security, performance, and best practices
v1.0.0 · audit A · 30 stars
deep-research SKILL.md skill
hua-bang/pulse-agent · .pulse-coder/skills/deep-research/SKILL.md · Conduct high-quality multi-round research with explicit evidence tracking, source scoring, and synthesis.
v2.0.0 · audit A · 30 stars
fix-pulse-agent-issue SKILL.md skill
hua-bang/pulse-agent · .pulse-coder/skills/fix-pulse-agent-issue/SKILL.md · Diagnose and implement a verified fix for one Pulse Agent GitHub issue in the pulse-agent repository.
v1.1.0 · audit A · 30 stars
git-workflow SKILL.md skill
hua-bang/pulse-agent · .pulse-coder/skills/git-workflow/SKILL.md · Standard git workflow for handling changes on the current branch - add, commit, push, then auto-run MR generation when…
v1.6.0 · audit A · 30 stars
mr-generator SKILL.md skill
hua-bang/pulse-agent · .pulse-coder/skills/mr-generator/SKILL.md · Automatically generate concise MR titles and descriptions based on current branch diff
v1.3.0 · audit A · 30 stars
perf-report SKILL.md skill
hua-bang/pulse-agent · .pulse-coder/skills/perf-report/SKILL.md · Run the canvas-workspace performance evaluation, publish the latest static dashboard through the local nginx/Cloudflare…
git:20260712.f866026 · audit A · 30 stars
project-roadmap SKILL.md skill
hua-bang/pulse-agent · .pulse-coder/skills/project-roadmap/SKILL.md · Analyze the current Pulse Coder project/repository and turn vague or concrete needs into prioritized requirements…
v1.0.0 · audit A · 30 stars
refactor SKILL.md skill
hua-bang/pulse-agent · .pulse-coder/skills/refactor/SKILL.md · Refactor code to improve structure, readability, and maintainability without changing behavior
v1.0.0 · audit A · 30 stars
session-digest SKILL.md skill
hua-bang/pulse-agent · .pulse-coder/skills/session-digest/SKILL.md · Summarize sessions across a multi-day range by paging session_summary in chunks, output bilingual, and write back…
v1.0.0 · audit A · 30 stars
twitter-reader SKILL.md skill
hua-bang/pulse-agent · .pulse-coder/skills/twitter-reader/SKILL.md · Analyze X/Twitter accounts, tweets, and trends through the installed Twitter MCP tools
v1.0.0 · audit A · 30 stars

Every file in hua-bang/pulse-agent

Browse by kind, by grade A, or by owner.