audit-algorithmic-complexity

audit-algorithmic-complexity is a skill for Claude Code, Codex from danygiguere/audit-skills. It costs 72 tokens per session (231 once invoked), scanned A, original, MIT.

A code-review checklist for finding slow or incorrect work on collections such as lists, maps, and sets. It checks searches, joins, duplicate removal, sorting, copying, and key comparisons.

In plain words
What is it for?
Use it to inspect specified code or the current change for inefficient loops, unsuitable data structures, unsafe binary searches, and broken equality or hash behaviour.
Why use it?
It helps catch code that becomes much slower as data grows, as well as lookups or searches that silently return wrong results. Findings include a severity and file-and-line location.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to inspect specified code or the current change for inefficient loops, unsuitable data structures, unsafe binary searches, and broken equality or hash behaviour.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/danygiguere/audit-skills/audit-algorithmic-complexity
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 danygiguere/audit-skills --skill audit-algorithmic-complexity
Clone the repo
git clone --depth 1 https://github.com/danygiguere/audit-skills

Made for: Claude Code, Codex.

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 audit-algorithmic-complexity

README.md
[![agentmods](https://agentmods.dev/badge/skills/danygiguere/audit-skills/audit-algorithmic-complexity/github.svg)](https://agentmods.dev/skills/danygiguere/audit-skills/audit-algorithmic-complexity)
Your own site
<a href="https://agentmods.dev/skills/danygiguere/audit-skills/audit-algorithmic-complexity"><img src="https://agentmods.dev/badge/skills/danygiguere/audit-skills/audit-algorithmic-complexity/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 audit-algorithmic-complexity

Your own site · 80×15
<a href="https://agentmods.dev/skills/danygiguere/audit-skills/audit-algorithmic-complexity"><img src="https://agentmods.dev/badge/skills/danygiguere/audit-skills/audit-algorithmic-complexity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 231 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.00072 $0.00231
Opus 5.5 $0.00029 $0.00092
Sonnet 5.5 $0.00014 $0.00046
Haiku 4.5 $0.00007 $0.00023

Measured 16d ago against content hash b016b2f15e5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

audit-algorithmic-complexity 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 16d 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.

.agents/skills/audit-algorithmic-complexity/SKILL.md · 15 lines

What it actually says

Read ../audit/references/operability/algorithmic-complexity.md and apply its checklist to the code the user specified (or the current diff if none was given). If the target is larger than a diff — a module, service, or whole repo — follow ../audit/references/methodology/scope.md first. Verify each candidate with ../audit/references/methodology/verify.md before reporting. Report surviving findings with file:line references and a severity assigned per ../audit/references/methodology/severity.md; if nothing survives, say the checklist came back clean. Report only — do not change code unless the user asks for a fix.

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. 16d ago Changed · +5 lines b016b2f15e5b
  2. 23d ago First seen · 10 lines · 72 tokens per session scan A 7f151b4fc92b

Subscribe to this mod's changes

audit-algorithmic-complexity is a skill published in the GitHub repository danygiguere/audit-skills (7 stars, last pushed 10d ago), licensed MIT. It adds 72 tokens to every session and 231 once invoked, about $0.0003 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-11-09.

Related

audit-algorithmic-complexity compared with skills from other repositories

audit-algorithmic-complexity next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
audit-algorithmic-complexitydanygiguere/audit-skillsSkill710d agoMITA72Claude Code, Codex
loki-mode-openclawasklokesh/loki-modeSkill1.1k2d agononeA42Claude Code, Codex
code-graphsjarmak/coding-agent-workflowsSkill75d agoMITA32Claude Code, Codex
cartographadder-factory/cartographSkill31mo agoMITA0Claude Code, Codex
production-auditapoorvjain25/production-auditSkill195mo agoMITA63Claude Code
code-simplificationjcarlosrodicio/opencode-agent-orchestration-kitSkill165todayApache-2.0A51Claude Code, Codex
codemapAsixa/codemap-skillSkill105mo agoMITA153Claude Code, Codex