Back to list
edheltzel

algorithm

by edheltzel

My personal AI Assistant for Claude Code

1🍴 0📅 Jan 23, 2026

SKILL.md


name: Algorithm description: Universal execution engine using scientific method to achieve ideal state. USE WHEN complex tasks, multi-step work, "run the algorithm", "use the algorithm", OR any non-trivial request that benefits from structured execution with ISC (Ideal State Criteria) tracking.

THE ALGORITHM - Universal Execution Engine

PURPOSE: Produce euphoric, highly surprising, exceptional results that solve the problem better than expected.

PHILOSOPHY: Move from current state to ideal state using the scientific method. The ISC (Ideal State Criteria) captures what "ideal" looks like, which we execute against, verify against, and iterate against until achieved.

CORE PRINCIPLE: Effort classification determines which capabilities are available. Higher effort unlocks more powerful tools.

Visual Display & Voice Notifications

Use the LCARS-style AlgorithmDisplay for visual feedback and voice announcements:

# Start algorithm with effort level (shows banner + announces via voice)
bun run ~/.claude/skills/Algorithm/Tools/AlgorithmDisplay.ts start THOROUGH -r "your request"

# Transition phases (updates display + voice announcement)
bun run ~/.claude/skills/Algorithm/Tools/AlgorithmDisplay.ts phase THINK
bun run ~/.claude/skills/Algorithm/Tools/AlgorithmDisplay.ts phase EXECUTE

# Show current status anytime
bun run ~/.claude/skills/Algorithm/Tools/AlgorithmDisplay.ts show

# Show just the effort banner
bun run ~/.claude/skills/Algorithm/Tools/AlgorithmDisplay.ts effort DETERMINED

Phase Icons: OBSERVE -> THINK -> PLAN -> BUILD -> EXECUTE -> VERIFY -> LEARN

Quick Start

# 1. START WITH VISUAL DISPLAY (shows banner + voice announcement)
bun run ~/.claude/skills/Algorithm/Tools/AlgorithmDisplay.ts start STANDARD -r "your request"

# 2. CLASSIFY EFFORT (if not using display start)
bun run ~/.claude/skills/Algorithm/Tools/EffortClassifier.ts --request "your request"
# Or with override: --override DETERMINED
# Or inline: "algorithm effort THOROUGH: your request"

# 3. CREATE ISC
bun run ~/.claude/skills/Algorithm/Tools/ISCManager.ts create --request "your request"

# 4. TRANSITION PHASES (voice + visual update)
bun run ~/.claude/skills/Algorithm/Tools/AlgorithmDisplay.ts phase THINK
bun run ~/.claude/skills/Algorithm/Tools/AlgorithmDisplay.ts phase PLAN
# ... continues through EXECUTE, VERIFY, LEARN

# 5. MANAGE ISC during EXECUTE
bun run ~/.claude/skills/Algorithm/Tools/ISCManager.ts capability --row 1 -c research.perplexity
bun run ~/.claude/skills/Algorithm/Tools/ISCManager.ts update --row 1 --status DONE
bun run ~/.claude/skills/Algorithm/Tools/ISCManager.ts show

Effort to Capability Matrix

EffortModelsThinkingDebateResearchAgentsParallel
TRIVIAL-----0
QUICKhaiku---Intern1
STANDARDhaiku, sonnetUltraThink, FirstPrinciples-1 agentEngineer, QA, Designer1-3
THOROUGHhaiku, sonnetAllCouncilparallelAll + Architect, Pentester3-5
DETERMINEDall + opusAllCouncil + RedTeamallunlimited10

ISC Scale

ScaleWhenExamples
5-10 rowsQuick fixes, simple features"Fix typo", "Add button"
20-50 rowsStandard development work"Add dark mode", "Create API endpoint"
50-200 rowsComplex features, refactors"Redesign auth system", "Add new major feature"
200-1000+ rowsMajor projects, DETERMINED effort"Build entire system", "Security audit"

The 7 Phases

Execute IN ORDER. Each phase mutates the ISC:

PhaseActionISC MutationGate Question
OBSERVEUnderstand request + user contextCREATE rowsDo I have 2+ rows? Used context to infer?
THINKEnsure nothing missingCOMPLETE rowsAll rows clear, testable?
PLANSequence + assign capabilitiesORDER rows + ASSIGN capabilitiesDependencies mapped? Capabilities assigned?
BUILDMake rows testableREFINE rowsEach row specific enough to verify?
EXECUTEDo the work (spawn agents per capability)ADVANCE statusEvery row has final status?
VERIFYTest each DONE row (skeptical agent)CONFIRM statusTested/confirmed each completion?
LEARNOutput for user to rateOUTPUT resultsUser rates for memory system

The ISC Table

## ISC: Request Summary

**Request:** Add dark mode to the settings page
**Effort:** STANDARD | **Phase:** EXECUTE | **Iteration:** 1

| # | What Ideal Looks Like | Source | Capability | Status |
|---|----------------------|--------|------------|--------|
| 1 | Research good patterns | INFERRED | research.perplexity | PENDING |
| 2 | Toggle component works | EXPLICIT | execution.engineer | ACTIVE |
| 3 | Theme state persists | EXPLICIT | execution.engineer | PENDING |
| 4 | Uses TypeScript | INFERRED | - | DONE |
| 5 | Tests pass | IMPLICIT | verification.qa | PENDING |

Source types:

  • EXPLICIT - User literally said this
  • INFERRED - Derived from user context (tech stack preferences, etc.)
  • IMPLICIT - Universal standards (security, quality)

Status progression:

  • PENDING -> ACTIVE -> DONE
  • ADJUSTED - Modified with reason
  • BLOCKED - Cannot achieve, triggers loop-back

Iteration Loop

When VERIFY finds issues:

BLOCKED row
    |
    +- Unclear what ideal looks like? -> Loop to THINK
    +- Wrong approach? -> Loop to PLAN
    +- Execution error? -> Loop to EXECUTE

Iteration count bounded by effort level:
- QUICK: 1 iteration max
- STANDARD: 2 iterations
- THOROUGH: 3-5 iterations
- DETERMINED: Unlimited until success

Integration

Uses

  • Agents Skill - AgentFactory for dynamic agent composition
  • CORE Skill - User context for ISC inference
  • Browser Skill - Web verification in VERIFY phase
  • DeepPlan Skill - Persistent planning integration

Memory

  • ISC artifacts: ~/.claude/MEMORY/Work/{session}/ISC.md
  • Learnings: ~/.claude/MEMORY/Learning/ALGORITHM/
  • State: ~/.claude/MEMORY/State/algorithm-state.json

Workflow Routing

TriggerAction
"run the algorithm"Full execution
"use the algorithm"Full execution
"algorithm effort LEVEL"Force effort level + full execution
Complex multi-step requestAuto-invoke if appropriate

Files

FilePurpose
Tools/AlgorithmDisplay.tsLCARS visual display + voice announcements
Tools/EffortClassifier.tsClassify TRIVIAL->DETERMINED
Tools/ISCManager.tsCreate/update/query ISC with capabilities

The Purpose

Produce euphoric, highly surprising, exceptional results that solve the user's problem better than expected.

The ISC captures what "ideal" looks like. Effort determines available capabilities. Execute against it. Verify against it. Iterate until achieved.

Score

Total Score

40/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon