Token导航 LogoToken导航

Agent Skill · 研究检索

thealgorithm(thealgorithm 搜索)

thealgorithm 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

thealgorithm 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证为 MIT,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 36,067。

总安装 1,983周安装 81GitHub Stars 11,785下载 642核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:thealgorithm(thealgorithm 搜索)
来源仓库:https://github.com/danielmiessler/personal_ai_infrastructure
仓库路径:skills/thealgorithm
安装命令:
npx skills add https://github.com/danielmiessler/personal_ai_infrastructure --skill THEALGORITHM
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/danielmiessler/personal_ai_infrastructure --skill THEALGORITHM

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

thealgorithm 用于查找、检索和筛选相关信息。适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。通过 npx skills add 命令从指定 GitHub 仓库安装使用。安装前需确认权限范围、维护状态,避免触发联网或文件读写操作。

建议结合原始 README 核验具体用法和功能边界。

来源仓库内路径:skills/thealgorithm

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/danielmiessler/personal_ai_infrastructure --sk…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

thealgorithm 怎么安装?

在终端执行 npx skills add https://github.com/danielmiessler/personal_ai_infrastructure --skill THEALG…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

thealgorithm 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

thealgorithm 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

thealgorithm 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

thealgorithm 用的人多吗?

公开数据是累计安装 1,983 次,近一周安装 81 次,下载 642 次,GitHub 11,785 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

thealgorithm 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 来源仓库有 11,785 星,维护活跃度相对可查。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
thealgorithm

thealgorithm 搜索 · 本页

1,98311,785操作浏览器MIT未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Customization

Before executing, check for user customizations at: ~/.claude/skills/CORE/USER/SKILLCUSTOMIZATIONS/THEALGORITHM/

If this directory exists, load and apply any PREFERENCES.md, configurations, or resources found there. These override default behavior. If the directory does not exist, proceed with skill defaults.

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.


Core Mission

The goal of The Algorithm—and indeed of the PAI system overall—is to create Euphoric Surprise at its ability to perform every task in service of helping its principal become the best version of themselves.

This is the north star. Every capability, every phase, every ISC row exists to serve this mission. When the system works correctly, the principal should be genuinely surprised and delighted by how thoroughly, thoughtfully, and effectively their request was fulfilled—not just "done" but done in a way that exceeds expectations and moves them closer to their ideal self.


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/THEALGORITHM/Tools/AlgorithmDisplay.ts start THOROUGH -r "your request"

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

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

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

The display shows:

  • 🎯 Current effort level (TRIVIAL → DETERMINED) with color-coded banner
  • 📊 Phase progression bar (7 phases with completion status)
  • 📝 ISC summary (rows pending/active/done)
  • 🔊 Voice announcements when transitioning phases

Phase Icons: 👁️ OBSERVE → 🧠 THINK → 📋 PLAN → 🔨 BUILD → ⚡ EXECUTE → ✅ VERIFY → 📚 LEARN

Quick Start

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

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

# 3. LOAD CAPABILITIES for effort level
bun run ~/.claude/skills/THEALGORITHM/Tools/CapabilityLoader.ts --effort STANDARD

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

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

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

Effort → Capability Matrix

Capabilities.yaml is the source of truth. See Data/Capabilities.yaml.

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

ISC Scale (CRITICAL)

The ISC is NOT limited to a small number of rows. The ISC captures what "ideal" looks like, and for complex problems this can be massive:

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"

ISC rows come from:

  • EXPLICIT requirements - What user literally asked for
  • INFERRED requirements - From context (TECHSTACKPREFERENCES, past work, etc.)
  • IMPLICIT requirements - Security, quality, testing standards
  • Research findings - Best practices discovered via research agents
  • Anti-patterns - Things to AVOID discovered via research
  • Edge cases - Discovered through thinking/analysis
  • Verification criteria - How to confirm each requirement is met

The algorithm's capabilities EXPAND the ISC:

  • Research agents find best practices → add ISC rows
  • Research agents find anti-patterns → add "avoid X" ISC rows
  • Council debate surfaces edge cases → add ISC rows
  • FirstPrinciples analysis reveals assumptions → add ISC rows
  • Verification requirements → add ISC rows for each testable criterion

Higher effort = larger, higher quality ISC. The DETERMINED level can have thousands of ISC rows because we use ALL capabilities to discover everything that "ideal" looks like.

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

CRITICAL: The LEARN phase does NOT self-rate. User rates outputs for the memory system.

The ISC Table (FRONT AND CENTER)

Every non-trivial task has an ISC. Display this prominently throughout execution:

## 🎯 IDEAL STATE CRITERIA

**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 | 🔬 perplexity | ⏳ PENDING |
| 2 | Toggle component works | EXPLICIT | 🤖 engineer | 🔄 ACTIVE |
| 3 | Theme state persists | EXPLICIT | 🤖 engineer× | ⏳ PENDING |
| 4 | Uses TypeScript | INFERRED | — | ✅ DONE |
| 5 | Tests pass | IMPLICIT | ✅ qa_tester | ⏳ PENDING |
| 6 | Browser-verified | IMPLICIT | ✅ browser | ⏳ PENDING |

**Legend:** 🔬 Research | 💡 Thinking | 🗣️ Debate | 🔍 Analysis | 🤖 Execution | ✅ Verify | × Parallel

Source types:

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

Status progression:

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

Execution Flow

Step 1: EFFORT CLASSIFICATION (REQUIRED FIRST)

bun run ~/.claude/skills/THEALGORITHM/Tools/EffortClassifier.ts --request "your request"

Override methods:

  • CLI flag: --override THOROUGH
  • Inline pattern: "algorithm effort DETERMINED: build this feature"

The effort level determines ALL available capabilities.

Step 2: CAPABILITY LOADING

bun run ~/.claude/skills/THEALGORITHM/Tools/CapabilityLoader.ts --effort STANDARD

Returns available: models, thinking modes, debate systems, research agents, execution agents, verification.

Step 3: ISC CREATION + CAPABILITY ASSIGNMENT

For each ISC row, select appropriate capability:

bun run ~/.claude/skills/THEALGORITHM/Tools/CapabilitySelector.ts --row "Research best practices" --effort STANDARD
# Returns: research.perplexity as primary, with icon 🔬

bun run ~/.claude/skills/THEALGORITHM/Tools/ISCManager.ts capability --row 1 -c research.perplexity

Step 4: ORCHESTRATED EXECUTION

Execute in phases based on capability assignments:

PHASE A: RESEARCH (parallel for independent queries)
├─ Row with 🔬 research.perplexity → Spawn PerplexityResearcher
├─ Row with 🔬 research.gemini → Spawn GeminiResearcher
└─ Row with 🔬 research.grok → Spawn GrokResearcher

PHASE B: THINKING (for creative/analysis needs)
├─ Row with 💡 thinking.deep thinking → Invoke BeCreative skill
├─ Row with 🔍 analysis.first_principles → Invoke FirstPrinciples skill
└─ Row with 🗣️ debate.council → Invoke Council skill

PHASE C: EXECUTION (parallel agents)
├─ Row with 🤖 execution.engineer → Spawn Engineer agent
├─ Row with 🤖 execution.architect → Spawn Architect agent (THOROUGH+)
└─ Rows marked × → Run in parallel

PHASE D: VERIFICATION (skeptical, different from executor)
├─ Row with ✅ verification.browser → Browser skill validation
└─ All rows → Skeptical verifier agent (skeptical,meticulous,adversarial traits)

For TRIVIAL (skip algorithm):

Direct response, no ISC, no capability loading. Just answer.

Capability Categories

Models (compute resources)

  • models.haiku - Fast, cheap (QUICK+)
  • models.sonnet - Balanced reasoning (STANDARD+)
  • models.opus - Maximum intelligence (DETERMINED)

Thinking Modes

  • thinking.deep thinking - BeCreative skill for creative solutions (STANDARD+)
  • thinking.tree_of_thought - Branching exploration (THOROUGH+)
  • thinking.plan_mode - EnterPlanMode for complex implementations (THOROUGH+)

Debate Systems

  • debate.council - 4 agents, collaborative analysis (THOROUGH+)
  • debate.redteam - 32 agents, adversarial stress-testing (DETERMINED)

Analysis Modes

  • analysis.first_principles - Challenge assumptions (STANDARD+)
  • analysis.science - Hypothesis-driven exploration (STANDARD+)

Research Agents

  • research.perplexity - Web research, current events (STANDARD+)
  • research.gemini - Multi-perspective research (STANDARD+)
  • research.grok - Contrarian fact-checking (STANDARD+)
  • research.claude - Academic/scholarly sources (STANDARD+)
  • research.codex - Technical code pattern research (STANDARD+)

Execution Agents

  • execution.intern - Parallel grunt work (QUICK+)
  • execution.engineer - Implementation/coding (STANDARD+)
  • execution.qa_tester - Testing/validation (STANDARD+)
  • execution.designer - UX/UI design (STANDARD+)
  • execution.architect - System design (THOROUGH+)
  • execution.pentester - Security testing (THOROUGH+)

Verification

  • verification.browser - Web application validation (STANDARD+)
  • verification.skeptical_verifier - Different agent than executor (STANDARD+)

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
  • BeCreative Skill - deep thinking for THINK phase
  • Council Skill - Multi-perspective debate (THOROUGH+)
  • RedTeam Skill - Adversarial analysis (DETERMINED)
  • FirstPrinciples Skill - Assumption challenging
  • Research Skill - Multi-source research agents

Memory

  • ISC artifacts: MEMORY/Work/{session}/ISC.md
  • Learnings: MEMORY/Learning/ALGORITHM/
  • Patterns: MEMORY/Signals/algorithm-patterns.jsonl

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

Enhanced ISC Features

Verification Paired at Creation

CRITICAL: Every ISC row should have a verification method defined at creation, not after.

# Add row WITH verification (recommended)
bun run ISCManager.ts add -d "Toggle component works" -s EXPLICIT \
  --verify-method browser --verify-criteria "Toggle visible in settings"

Verification methods: browser, test, grep, api, lint, manual, agent, inferred

See Data/VerificationMethods.yaml for selection guidance.

Agent Claim System

Prevents race conditions when multiple agents work on ISC items.

# Claim an item
bun run ISCManager.ts claim --row 1 --agent Engineer

# Release when done
bun run ISCManager.ts release --row 1

# See what's available
bun run ISCManager.ts available

Claims expire after 30 minutes (stale detection).

Research Override System

Research findings can BLOCK user assumptions. User must acknowledge.

# Research agent finds issue
bun run ISCManager.ts research-block --row 2 \
  --reason "Best practice is X, not Y" --source research.perplexity

# User acknowledges
bun run ISCManager.ts acknowledge --row 2 --action OVERRIDE  # or ACCEPT

Nested Algorithm

Complex items spawn child ISAs.

# Mark item as nested
bun run ISCManager.ts nest --row 5

# Update child status
bun run ISCManager.ts child-status --row 5 --child-status COMPLETE

Interview Protocol

When ideal state is unclear, use structured questions.

bun run ISCManager.ts interview -r "vague request"

The 5 Questions:

  1. What does success look like when this is done?
  2. Who will use this and what will they do with it?
  3. What would make you show this to your friends?
  4. What existing thing is this most similar to?
  5. What should this definitely NOT do?

Files

FilePurpose
Data/Capabilities.yamlSource of truth for all capabilities
Data/VerificationMethods.yamlVerification method registry
Tools/AlgorithmDisplay.tsLCARS visual display + voice announcements
Tools/EffortClassifier.tsClassify TRIVIAL→DETERMINED
Tools/CapabilityLoader.tsLoad + filter capabilities by effort
Tools/CapabilitySelector.tsSelect capabilities for ISC rows
Tools/ISCManager.tsEnhanced: ISC with verification, claims, research, nesting
Tools/TraitModifiers.tsEffort → trait mappings
Phases/*.mdDetailed phase documentation (Observe.md has interview protocol)
Reference/CapabilityMatrix.mdEffort → capability documentation

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.

This is not documentation. This is a command. Execute the algorithm.

平台分布

Claude Code

28.17%
按下载量换算181

Codex

24.27%
按下载量换算156

Gemini CLI

16.9%
按下载量换算108

OpenCode

13.4%
按下载量换算86

github-copilot

6.75%
按下载量换算43

clawdbot

3.57%
按下载量换算23

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills