time-and-report

time-and-report is a skill for Claude Code from jimmc414/claude-code-plugin-marketplace. It costs 17 tokens per session (759 once invoked), scanned A, original, MIT.

A pattern for measuring how long code takes to run and summarizing results such as average time, maximum time, and processing rate. Profiling means examining where software spends its time.

In plain words
What is it for?
Use it to benchmark algorithms, time repeated inputs, compare implementations, report progress, and summarize performance measurements.
Why use it?
It replaces guesses about performance with measurements and makes it easier to compare implementations or track slowdowns.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the norvig-patterns plugin — 54 skills shipped together

Good fit Use it to benchmark algorithms, time repeated inputs, compare implementations, report progress, and summarize performance measurements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jimmc414/claude-code-plugin-marketplace/time-and-report
Install

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.

Any agent
npx skills add jimmc414/claude-code-plugin-marketplace --skill time-and-report
Clone the repo
git clone --depth 1 https://github.com/jimmc414/claude-code-plugin-marketplace

Made for: Claude Code.

Or install norvig-patterns, the plugin that ships this one along with the rest of its 54 skills.

Wrote 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.

agentmods badge for time-and-report

README.md
[![agentmods](https://agentmods.dev/badge/skills/jimmc414/claude-code-plugin-marketplace/time-and-report/github.svg)](https://agentmods.dev/skills/jimmc414/claude-code-plugin-marketplace/time-and-report)
Your own site
<a href="https://agentmods.dev/skills/jimmc414/claude-code-plugin-marketplace/time-and-report"><img src="https://agentmods.dev/badge/skills/jimmc414/claude-code-plugin-marketplace/time-and-report/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.

agentmods 80×15 button for time-and-report

Your own site · 80×15
<a href="https://agentmods.dev/skills/jimmc414/claude-code-plugin-marketplace/time-and-report"><img src="https://agentmods.dev/badge/skills/jimmc414/claude-code-plugin-marketplace/time-and-report.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 759 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.00759
Opus 5.5 $0.00007 $0.00304
Sonnet 5.5 $0.00003 $0.00152
Haiku 4.5 $0.00002 $0.00076

Measured 3mo ago against content hash 28d8034eeb6d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

time-and-report 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 3mo 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.

plugins/norvig-patterns/skills/time-and-report/SKILL.md · 101 lines

How it starts

The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.

time-and-report

When to Use

  • Benchmarking algorithms
  • Tracking performance
  • Comparing implementations
  • Progress reporting

When NOT to Use

  • Timing not meaningful
  • Would slow down hot paths
  • Single quick operations

The Pattern

Wrap execution with timing, report statistics.

import time

def timed(func):
    """Decorator to time function calls."""
    def wrapper(*args, **kwargs):
        start = time.process_time()
        result = func(*args, **kwargs)
        elapsed = time.process_time() - start
        print(f"{func.__name__}: {elapsed:.3f}s")
        return result
    return wrapper

def time_many(func, inputs, name=""):
    """Time function on multiple inputs, report statistics."""
    times = []
    for inp in inputs:
        start = time.process_time()
        func(inp)
        times.append(time.process_time() - start)

    print(f"{name}: n={len(times)}, "
          f"avg={sum(times)/len(times):.4f}s, "
          f"max={max(times):.4f}s, "
          f"rate={len(times)/sum(times):.0f}/s")

Example (from pytudes)

# sudoku.py - comprehensive timing
import time

def time_solve(grid):
    """Time solving a single grid."""
    start = time.process_time()
    values = solve(grid)
    t = time.process_time() - start
    return (t, solved(values))

def solve_all(grids, name=''):
    """Solve grids and report timing statistics."""
    times, results = zip(*[time_solve(grid) for grid in grids])
    N = len(results)
    if N > 1:
        print("Solved %d of %d %s puzzles "
              "(avg %.2f secs (%d Hz), max %.2f secs)." % (
            sum(results), N, name,
            sum(times)/N, N/sum(times), max(times)))

# Usage
if __name__ == '__main__':
    test()
    solve_all(open("sudoku-easy50.txt"), "easy")
    solve_all(open("sudoku-top95.txt"), "hard")
    solve_all(open("sudoku-hardest.txt"), "hardest")

# Output:
# Solved 50 of 50 easy puzzles (avg 0.01 secs (141 Hz), max 0.02 secs).
# Solved 95 of 95 hard puzzles (avg 0.03 secs (30 Hz), max 0.19 secs).
# Solved 11 of 11 hardest puzzles (avg 0.01 secs (100 Hz), max 0.02 secs).

# spell.py - throughput
def spelltest(tests, verbose=False):
    import time
    start = time.process_time()
    good = sum(correction(wrong) == right for right, wrong in tests)
    dt = time.process_time() - start
    n = len(tests)
    print(f'{good/n:.0%} of {n} correct at {n/dt:.0f} words per second')

Read the full file on GitHub · 101 lines

Changes

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.

  1. 3mo ago First seen · 101 lines · 17 tokens per session scan A 28d8034eeb6d

Subscribe to this mod's changes

time-and-report is a skill published in the GitHub repository jimmc414/claude-code-plugin-marketplace (4 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 759 once invoked, about $0.0001 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-04.

Related

time-and-report compared with skills from other repositories

time-and-report next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
time-and-reportjimmc414/claude-code-plugin-marketplaceSkill4todayMITA17Claude Code
write-for-agentsmelodic-software/claude-code-pluginsSkill34todayMITA164Claude Code
formal-ci-lanes-carry-forwardmelodic-software/claude-code-pluginsSkill34todayMITA138Claude Code
eli5melodic-software/claude-code-pluginsSkill34todayMITA155Claude Code
usemelodic-software/claude-code-pluginsSkill34todayMITA183Claude Code
routemelodic-software/claude-code-pluginsSkill34todayMITA89Claude Code
devils-advocatemelodic-software/claude-code-pluginsSkill34todayMITA139Claude Code