Babysitter amortized-analysis-assistant

Apply amortized analysis techniques including aggregate, accounting, and potential methods

install
source · Clone the upstream repo
git clone https://github.com/a5c-ai/babysitter
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/a5c-ai/babysitter "$T" && mkdir -p ~/.claude/skills && cp -r "$T/library/specializations/domains/science/computer-science/skills/amortized-analysis-assistant" ~/.claude/skills/a5c-ai-babysitter-amortized-analysis-assistant && rm -rf "$T"
manifest: library/specializations/domains/science/computer-science/skills/amortized-analysis-assistant/SKILL.md
source content

Amortized Analysis Assistant

Purpose

Provides expert guidance on amortized analysis of data structures and algorithms using multiple analysis techniques.

Capabilities

  • Aggregate method calculations
  • Accounting method with credit tracking
  • Potential function design and verification
  • Banker's method for persistent data structures
  • Generate amortized bounds documentation
  • Handle complex operation sequences

Usage Guidelines

  1. Method Selection: Choose appropriate amortized analysis method
  2. Potential Design: Design potential function for potential method
  3. Credit Tracking: Track credits for accounting method
  4. Bound Derivation: Derive amortized cost bounds
  5. Documentation: Generate clear analysis documentation

Tools/Libraries

  • Symbolic computation
  • LaTeX documentation
  • Proof assistants