kentoshimizu/sw-agent-skills/algorithm-complexity-analysis
Claude Code and agent skill by kentoshimizu/sw-agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Analyze candidate algorithms for time/space complexity, scalability limits, and resource-budget fit (CPU, memory, I/O, concurrency). Use when feasibility depends on input growth or latency/memory constraints and quantitative bounds are required before implementation; do not use for persistence schema or deployment topology decisions.
Install
npx vskill@latest install kentoshimizu/sw-agent-skills/algorithm-complexity-analysisSKILL.md
Algorithm Complexity Analysis
Overview
Use this skill to quantify whether candidate approaches can meet performance and resource constraints at expected scale.
Scope Boundaries
- Use this skill when the task matches the trigger condition described in
description. - Do not use this skill when the primary task falls outside this skill's domain.
Inputs To Gather
- Candidate algorithms and dominant operations.
- Input-scale assumptions (current, expected, and stress ranges).
- Resource budgets (latency targets, throughput targets, memory limits).
- Runtime context (I/O patterns, cache behavior, concurrency contention).
Deliverables
- Complexity report with worst-case, average-case, and amortized bounds (as applicable).
- Memory and auxiliary-space analysis, including peak usage assumptions.
- Budget-fit assessment and scalability breakpoints.
- Recommendation with residual risk and monitoring triggers.
Quality Standard
- Complexity claims are tied to explicit assumptions and units.
- Dominant operations and constants relevant at target scale are identified.
- CPU, memory, I/O, and contention effects are addressed where applicable.
- Analysis states confidence level and uncertainty sources.
- Decision includes conditions that would invalidate the current choice.
Workflow
- Define workload model, scale assumptions, and performance budgets.
- Derive formal bounds for each candidate's critical operations.
- Evaluate real-world cost drivers (constants, I/O, cache, contention).
- Compare candidates against budgets and identify breakpoints.
- Publish recommendation, residual risks, and re-evaluation triggers.
Failure Conditions
- Stop when workload/scale assumptions are missing.
- Stop when dominant cost drivers are unmodeled.
- Escalate when no candidate can satisfy mandatory budgets.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/algorithm-complexity-analysis/SKILL.md
Popularity
- Repository stars
- 5
- 7-day trend score
- 9
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Apr 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kentoshimizu/sw-agent-skills/algorithm-complexity-analysis)