ClaudeCodeMod

All shelves / Skills

latency-critical-systems

affaan-m/ecc · 7.7k installs · 294K stars

Skill Use this skill when the user cares about realtime behavior, hot paths, streaming freshness, or execution speed. This includes HFT-like infrastructure, but the skill is engineering-focused. It does not authorize live trading or financial advice.

Marked Indirect Prompt Injection

Install

The repo has no one-line install. Follow its README.

Open the repo

Files

SKILL.md

Latency Critical Systems

Use this skill when the user cares about realtime behavior, hot paths, streaming freshness, or execution speed. This includes HFT-like infrastructure, but the skill is engineering-focused. It does not authorize live trading or financial advice.

Split The Metrics

Do not collapse everything into "fast." Track:

  • p50, p95, and p99 latency;
  • throughput;
  • freshness age;
  • queue depth;
  • cache hit rate;
  • provider/API response time;
  • browser render time;
  • correctness under load;
  • failure and retry behavior.

Map The Hot Path

Write the path from user/event to final visible state:

source event -> provider API -> ingest worker -> queue -> cache -> edge route
-> client stream -> browser render -> user-visible state

Then measure each segment separately.

Optimization Order

  1. Remove unnecessary round trips.
  2. Cache stable reads with freshness metadata.
  3. Batch small calls and writes.
  4. Move compute closer to the data or the user.
  5. Split hot and cold paths.
  6. Apply backpressure before queues grow unbounded.
  7. Use streaming only when it improves freshness or user experience.
  8. Add canaries for stale data, degraded providers, and bad cache state.

Verification

Use live readbacks when a deployed surface exists:

  • HTTP timing and response headers;
  • provider freshness timestamp;
  • queue or job state;
  • edge/cache state;
  • browser verification for actual UI freshness;
  • logs around retries and degraded mode.

For market-data or execution-adjacent paths, also verify orderbook age, VWAP assumptions, provider status, and kill-switch behavior before calling the path ready.

Guardrails

  • Do not optimize latency by dropping required validation.
  • Do not hide stale data behind fast cache hits.
  • Do not claim millisecond behavior from client labels without measurement.
  • Do not run live orders, destructive migrations, or customer-impacting deploys without an explicit approval gate.
  • Keep secrets and private payloads out of logs and benchmark artifacts.

Facts

Kind
Skill
Repo
affaan-m/ecc
Group
Uncategorized
Installs
7.7k
Stars
294K

Same name on this shelf 1

  1. 13399latency-critical-systemsaffaan-m/everything-claude-code818

Same repo on other shelves

Marketplaces

  1. 2affaan-m/everything-claude-codeaffaan-m/ECCThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.309.1k

From the same repo

  1. 3786parallel-execution-optimizeraffaan-m/ecc7.6k
  2. 3803prediction-market-risk-reviewaffaan-m/ecc7.6k
  3. 3806data-throughput-acceleratoraffaan-m/ecc7.6k
  4. 3809prediction-market-oracle-researchaffaan-m/ecc7.6k
  5. 3820recursive-decision-ledgeraffaan-m/ecc7.6k
  6. 3916team-agent-orchestrationaffaan-m/ecc7.2k