callTiming
Find where a log call spends its time from stored timings, never a guess (rule 165). Every MCP tool call and terminal run has a call id and stores each stage as a span in log.db; `timing` reports p50,
Files1
View on GitHubSKILL.mdskills/callTiming/SKILL.md
GitHubcallTiming
The loop
- Read the numbers first. Run
timing(MCP), ortiming { tool, hours }for one tool. Note the tool's p50, p95 and p99, and the stages with the largest share. - Open a slow call. Take a call id from a
■line in the live log, or pick a slow call, and runtiming { call }. The waterfall shows which stage took the time. - Name the cause from the span.
python.startorpython.imports: the cost of starting Python for each call.host.connectwithstarted=true: the account's session host was started cold.host.queueoraccount.lock: another call held the account.spacingorgovernor: pacing, which is there on purpose.inbox.waitCaughtUp: the account was behind.voice.*orfetch …: SubQ or Jina.http …: the platform itself.unaccounted: our own code with no span yet. Add one.
- Go deeper only when a span can't explain it. Run
py-spy record --native --pid <host pid>on the Python host, orbun --cpu-profon Bun, to see which function and library the time is in. - Fix, then measure again. Run the same
timingreport after the change and give the owner both numbers. Never call something faster without them.
Hard boundaries
- Timing never changes what a call sends. A span holds no cookie, token or message text.
- Pacing (
spacing,governor) protects the accounts. It is never cut to win a benchmark unless the owner says so. - Commands go through the MCP (rule 163).
timingis read-only.
Docs: docs/callTiming.md. Spec: docs/specs/callTiming.md.