Agent skill

Algorithm

by Snailclimb in Snailclimb/interview-guide

“用于算法面试出题;重点评估复杂度分析、边界处理和优化能力,区分背题与真实理解。”

— description from SKILL.md by Snailclimb
AGPL-3.0Auto-check passedDatabases

Install Algorithm

skills CLI
$ npx skills add Snailclimb/interview-guide --skill algorithm -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Snailclimb/interview-guide algorithm --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Snailclimb/interview-guide.git skills-src && mkdir -p .claude/skills && cp -r skills-src/app/src/main/resources/skills/algorithm .claude/skills/algorithm && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
algorithm
GitHub stars
3.3k
Token cost
~129 tokens
SKILL.md length
18 words
Files
2
Skills in repo
9
Repo updated
First seen
Licence
AGPL-3.0

At a glance

  • Works in 5 steps: 文字/语音面试不要求写代码;每题先让候选人口述:建模方式、关键数据结构、核心步骤、… → 数据结构必须覆盖多样性:哈希表、栈/队列、堆、树/图、数组/链表应轮换考察,避免只… → 回答正确后继续追问边界条件、退化场景和同类变体,不停在基础答案。 → …
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

About this skill

Algorithm is a skill in Snailclimb/interview-guide (3.3k stars). Its SKILL.md is about 129 tokens, with 1 other file in the folder. Licence: AGPL-3.0.

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. 文字/语音面试不要求写代码;每题先让候选人口述:建模方式、关键数据结构、核心步骤、时间/空间复杂度。
  2. 数据结构必须覆盖多样性:哈希表、栈/队列、堆、树/图、数组/链表应轮换考察,避免只刷单一套路。
  3. 回答正确后继续追问边界条件、退化场景和同类变体,不停在基础答案。
  4. 对暴力解必须追问瓶颈,并要求给出可落地的优化路径(如剪枝、单调结构、预处理、空间换时间)。
  5. 至少一次要求候选人解释正确性证明思路(不变式/归纳/反证任一即可)。

What it can do on your machine

Read from SKILL.md and the folder at commit 969e2af. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Algorithm loads about 129 tokens when it runs. Until then it costs about 12 tokens; SKILL.md has 18 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~12
When it runs · the whole SKILL.md, loaded when a task matches
~129

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Snailclimb/interview-guide at commit 969e2af, republished under its AGPL-3.0 licence (© Snailclimb). 18 words, ~129 tokens.

Download SKILL.mdSave it as .claude/skills/algorithm/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
algorithm
description
用于算法面试出题;重点评估复杂度分析、边界处理和优化能力,区分背题与真实理解。

Overview

你是一位算法面试官,目标是评估候选人的建模能力和复杂度优化能力。

Instructions

  1. 文字/语音面试不要求写代码;每题先让候选人口述:建模方式、关键数据结构、核心步骤、时间/空间复杂度。
  2. 数据结构必须覆盖多样性:哈希表、栈/队列、堆、树/图、数组/链表应轮换考察,避免只刷单一套路。
  3. 回答正确后继续追问边界条件、退化场景和同类变体,不停在基础答案。
  4. 对暴力解必须追问瓶颈,并要求给出可落地的优化路径(如剪枝、单调结构、预处理、空间换时间)。
  5. 至少一次要求候选人解释正确性证明思路(不变式/归纳/反证任一即可)。

Additional Resources

出题前优先参考这些资料,并按分类落题:

  • ARRAY_LINKEDLIST/HASH_HEAP_QUEUE/TREE_GRAPH/DP/GREEDY_BACKTRACK/DESIGN -> algorithm-data-structures.md

© Snailclimb, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in app/src/main/resources/skills/algorithm of Snailclimb/interview-guide.

  • SKILL.md
  • skill.meta.yml

Open the folder on GitHubat commit 969e2af

Compare with similar skills

Algorithm next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Algorithm compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Algorithm this skillSnailclimb/interview-guide3.3k—~129Automated safety check: PassAGPL-3.0
Keeper Stress AnalysisClickHouse/ClickHouse50k—~4.7kAutomated safety check: PassApache-2.0
Perf ComparisonClickHouse/ClickHouse50k—~3.9kAutomated safety check: NotesApache-2.0
Patch Release CheckClickHouse/ClickHouse50k—~4kAutomated safety check: NotesApache-2.0
Evolving The Data ModelTriliumNext/Trilium38k—~2.1kAutomated safety check: PassAGPL-3.0
Hybrid Cloud Outboxesgetsentry/sentry46k—~4.8kAutomated safety check: PassCustom licence

Similar skills

  • Keeper Stress Analysis

    ClickHouse/ClickHouse

    Analyze ClickHouse Keeper stress-test results from play.clickhouse.com / keeperstresstests data warehouse.

    50k GitHub stars~4.7k tokensUpdated today
    DatabasesAuto-check passed
  • Perf Comparison

    ClickHouse/ClickHouse

    Evaluate ClickHouse performance test results from existing CI/dashboard data or local perf.py runs.

    50k GitHub stars~3.9k tokensUpdated today
    DatabasesAuto-check: notes
  • Patch Release Check

    ClickHouse/ClickHouse

    Check whether ClickHouse's supported versions (last 3 majors + latest LTS) have recent stable patch releases, diagnose why the scheduled AutoReleases pipeline failed, and identify which releases…

    50k GitHub stars~4k tokensUpdated today
    DatabasesAuto-check: notes
  • Evolving The Data Model

    TriliumNext/Trilium

    A skill your agent uses when adding a DB migration or a new column/field to a Becca entity in Trilium ("add a migration", "new column on notes/attributes", "ALTER TABLE", "add a field to…

    38k GitHub stars~2.1k tokensUpdated today
    DatabasesAuto-check passed
  • Hybrid Cloud Outboxes

    getsentry/sentry

    Official

    Guide for creating and maintaining outbox-based eventually consistent operations in Sentry.

    46k GitHub stars~4.8k tokensUpdated today
    DatabasesAuto-check passed
  • Adaptive Spin Wait

    microsoft/garnet

    Official

    Selects Garnet spin-wait policies based on the slow-path cost.

    12k GitHub stars~1k tokensUpdated today
    DatabasesAuto-check passed

More from Snailclimb/interview-guide

All 9 skills in this repo
  • AI Agent Developer Interview Questions

    Snailclimb/interview-guide

    Plays an interviewer for AI agent developer roles, probing agent loops, tool integration, MCP, RAG, context engineering and multi-agent design through practical scenarios.

    3.3k GitHub stars~183 tokensUpdated 21 days ago
    Auto-check passed
  • Alibaba Backend Interviewer

    Snailclimb/interview-guide

    Generates backend interview questions in the style of an Alibaba interviewer, probing real projects, trade-offs and middleware choices in depth.

    3.3k GitHub stars~153 tokensUpdated 21 days ago
    Auto-check passed
  • ByteDance Backend Interviewer

    Snailclimb/interview-guide

    Plays a ByteDance backend interviewer who sets algorithm questions first, probes correctness and complexity, then asks how the solution holds up under high concurrency.

    3.3k GitHub stars~165 tokensUpdated 21 days ago
    Auto-check passed
  • Frontend Interview Question Setter

    Snailclimb/interview-guide

    Sets frontend engineering interview questions on JavaScript, React or Vue, browser internals and performance, with scenario-based follow-ups drawn from the candidate's resume.

    3.3k GitHub stars~123 tokensUpdated 21 days ago
    Auto-check passed
  • Java Backend Interviewer

    Snailclimb/interview-guide

    Acts as a Java backend interviewer who asks about Java core, MySQL, Redis, Spring and project work, then probes design trade-offs, failure handling and performance.

    3.3k GitHub stars~132 tokensUpdated 21 days ago
    Auto-check passed
  • Tencent Java Backend Interview

    Snailclimb/interview-guide

    Sets the agent up as a Tencent-style backend interviewer who probes networking and operating-system fundamentals, then ties technology choices to business scenarios.

    3.3k GitHub stars~143 tokensUpdated 21 days ago
    Auto-check passed

Categories

Questions about Algorithm

How do I install Algorithm in Claude Code?

Run `npx skills add Snailclimb/interview-guide --skill algorithm -a claude-code`. Or copy the skill folder (app/src/main/resources/skills/algorithm in Snailclimb/interview-guide) into .claude/skills/algorithm in your project. Claude Code loads it when a task matches its description.

How do I install Algorithm in Codex?

Run `npx skills add Snailclimb/interview-guide --skill algorithm -a codex`. Or copy the skill folder (app/src/main/resources/skills/algorithm in Snailclimb/interview-guide) into .agents/skills/algorithm in your project. Codex loads it when a task matches its description.

Can I use Algorithm in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Snailclimb/interview-guide --skill algorithm -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/algorithm, .gemini/skills/algorithm, .github/skills/algorithm and .opencode/skills/algorithm in your project.

What does Algorithm need to run?

SKILL.md names no scripts, command-line tools or credentials: Algorithm is instructions for the agent only.

Does Algorithm access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Algorithm safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Algorithm use?

Algorithm is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Algorithm use?

About 129 tokens (SKILL.md is roughly 516 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Algorithm?

Skills that share tags, products or a category with Algorithm: Keeper Stress Analysis (ClickHouse/ClickHouse, 50k stars), Perf Comparison (ClickHouse/ClickHouse, 50k stars), Patch Release Check (ClickHouse/ClickHouse, 50k stars) and Evolving The Data Model (TriliumNext/Trilium, 38k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Algorithm?

Snailclimb (a GitHub user) maintains it in Snailclimb/interview-guide, which has 3,315 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on September 16, 2026.

Source: Snailclimb/interview-guide on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.