Individual skill

complexity-coach

Use when the learner has a working approach or code and wants to determine or justify its time and space complexity. Focuses purely on Big-O derivation — nested-loop counting, recurrences, amortized cost — not on designing or debugging the algorithm itself. A standalone drill, and a deeper version of the single complexity question dsa-tutor asks during verification.

skills/complexity-coach/SKILL.md

Read pinned source

Source commit 92318e2094f714d7038910232627cd7e97035fce

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
Yes
Skill scan complete
Yes
Observed behavior
Instructions only
Last checked
Nov 6, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

Claude Code

Destination .claude/skills/complexity-coach

( set -euo pipefail destination='./.claude/skills/complexity-coach' if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi work=$(mktemp -d) trap 'rm -rf -- "$work"' EXIT git clone --filter=blob:none --no-checkout -- 'https://github.com/Far-200/think-before-code.git' "$work/repo" git -C "$work/repo" checkout --detach 92318e2094f714d7038910232627cd7e97035fce git -C "$work/repo" archive --format=tar '92318e2094f714d7038910232627cd7e97035fce:skills/complexity-coach' > "$work/skill.tar" mkdir -p -- './.claude/skills' mkdir -- "$destination" tar -xf "$work/skill.tar" -C "$destination" )
Codex

Destination .agents/skills/complexity-coach

( set -euo pipefail destination='./.agents/skills/complexity-coach' if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi work=$(mktemp -d) trap 'rm -rf -- "$work"' EXIT git clone --filter=blob:none --no-checkout -- 'https://github.com/Far-200/think-before-code.git' "$work/repo" git -C "$work/repo" checkout --detach 92318e2094f714d7038910232627cd7e97035fce git -C "$work/repo" archive --format=tar '92318e2094f714d7038910232627cd7e97035fce:skills/complexity-coach' > "$work/skill.tar" mkdir -p -- './.agents/skills' mkdir -- "$destination" tar -xf "$work/skill.tar" -C "$destination" )
Cursor

Destination .cursor/skills/complexity-coach

( set -euo pipefail destination='./.cursor/skills/complexity-coach' if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi work=$(mktemp -d) trap 'rm -rf -- "$work"' EXIT git clone --filter=blob:none --no-checkout -- 'https://github.com/Far-200/think-before-code.git' "$work/repo" git -C "$work/repo" checkout --detach 92318e2094f714d7038910232627cd7e97035fce git -C "$work/repo" archive --format=tar '92318e2094f714d7038910232627cd7e97035fce:skills/complexity-coach' > "$work/skill.tar" mkdir -p -- './.cursor/skills' mkdir -- "$destination" tar -xf "$work/skill.tar" -C "$destination" )
Gemini CLI

Destination .gemini/skills/complexity-coach

( set -euo pipefail destination='./.gemini/skills/complexity-coach' if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi work=$(mktemp -d) trap 'rm -rf -- "$work"' EXIT git clone --filter=blob:none --no-checkout -- 'https://github.com/Far-200/think-before-code.git' "$work/repo" git -C "$work/repo" checkout --detach 92318e2094f714d7038910232627cd7e97035fce git -C "$work/repo" archive --format=tar '92318e2094f714d7038910232627cd7e97035fce:skills/complexity-coach' > "$work/skill.tar" mkdir -p -- './.gemini/skills' mkdir -- "$destination" tar -xf "$work/skill.tar" -C "$destination" )
GitHub Copilot

Destination .github/skills/complexity-coach

( set -euo pipefail destination='./.github/skills/complexity-coach' if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi work=$(mktemp -d) trap 'rm -rf -- "$work"' EXIT git clone --filter=blob:none --no-checkout -- 'https://github.com/Far-200/think-before-code.git' "$work/repo" git -C "$work/repo" checkout --detach 92318e2094f714d7038910232627cd7e97035fce git -C "$work/repo" archive --format=tar '92318e2094f714d7038910232627cd7e97035fce:skills/complexity-coach' > "$work/skill.tar" mkdir -p -- './.github/skills' mkdir -- "$destination" tar -xf "$work/skill.tar" -C "$destination" )
OpenCode

Destination .opencode/skills/complexity-coach

( set -euo pipefail destination='./.opencode/skills/complexity-coach' if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi work=$(mktemp -d) trap 'rm -rf -- "$work"' EXIT git clone --filter=blob:none --no-checkout -- 'https://github.com/Far-200/think-before-code.git' "$work/repo" git -C "$work/repo" checkout --detach 92318e2094f714d7038910232627cd7e97035fce git -C "$work/repo" archive --format=tar '92318e2094f714d7038910232627cd7e97035fce:skills/complexity-coach' > "$work/skill.tar" mkdir -p -- './.opencode/skills' mkdir -- "$destination" tar -xf "$work/skill.tar" -C "$destination" )

Repository context

Repository stars (not skill ratings)
19
Repository last updated
Sep 7, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# Complexity Coach

## Why this exists

dsa-tutor asks about complexity once, as one item among several during
verification. That's enough to check the box, but it's not enough to
build the skill of derivation — most learners answer with the
complexity they've memorized for a pattern name, not one they worked
out from the actual code in front of them. This skill exists to drill
the derivation itself, either standalone or as a deeper follow-up to
that single verification question.

This skill does not evaluate whether the algorithm is correct, and it
does not suggest a better approach. If the learner's approach itself