Token导航 LogoToken导航

Agent Skill · 研究检索

algorithm-practice(算法练习)

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

algorithm-practice 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为只读;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 34,616。

总安装 2,203周安装 90GitHub Stars 公开资料未说明下载 706核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:algorithm-practice(算法练习)
来源仓库:https://github.com/kadijin/algorithm-practice
安装命令:
openclaw skills install algorithm-practice
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install algorithm-practice

这个 Skill 是做什么的

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

algorithm-practice 提供交互式算法练习,包含 100+ 难度分级的问题集。适合在 OpenClaw 中需要刷题训练、代码练习或算法能力提升时使用。支持 Java 和 Python 代码模板生成,可立即运行测试用例验证结果。安装前请确认权限范围和维护状态,注意可能涉及本地代码执行环境。

建议结合原始 README 了解问题分类、难度级别和提交方式。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install algorithm-practice;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

algorithm-practice 怎么安装?

在终端执行 openclaw skills install algorithm-practice。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

algorithm-practice 支持哪些 AI 工具?

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

algorithm-practice 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

algorithm-practice 是免费的吗?

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

algorithm-practice 用的人多吗?

公开数据是累计安装 2,203 次,近一周安装 90 次,下载 706 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

algorithm-practice 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

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

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要厂商级技术支持和 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调用外部服务未明确有提醒
algorithm-practice

算法练习 · 本页

2,203—只读MIT-0有提醒

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

SKILL.md 原文

name
algo-practice
description
🎯 Interactive algorithm practice with 100+ problems across Easy/Medium/Hard difficulties. Generates ready-to-run code templates in Java & Python with built-in test cases. Perfect for coding interview preparation and algorithm learning. Covers arrays, strings, linked lists, trees, dynamic programming, graphs, and more.

🎯 Algo Practice - Interactive Algorithm Training

Transform your coding interview preparation with curated algorithm problems, auto-generated code templates, and instant test feedback.

✨ Features

  • 📚 100+ Algorithm Problems - Carefully selected from classic interview questions
  • 🎚️ Three Difficulty Levels - Easy, Medium, Hard with progressive learning path
  • 💻 Dual Language Support - Java & Python templates with identical test cases
  • ✅ Built-in Testing - 5-8 test cases per problem including edge cases
  • 📊 Progress Tracking - Auto-maintained history to avoid duplicates
  • 🎓 Learning Oriented - Hints provided without giving away solutions
  • 🚀 Ready to Run - Complete code templates with main entry points

🚀 Quick Start

Basic Usage

User: 出算法题 / 刷题 / 练算法 / algo practice / 来一道题

The skill will:

  1. Ask for your preferred difficulty level
  2. Generate a unique problem you haven't seen
  3. Create ready-to-code templates in both Java and Python
  4. Track your progress automatically

Example Interaction

User: 刷题
AI: [Asks for difficulty preference]
User: Medium
AI: [Generates problem with templates]

📋 Workflow

Step 1: Check Problem History

Read algo_history.md from the workspace root to track previously assigned problems and ensure no duplicates.

# Algorithm Practice History

| # | Problem Name | Difficulty | Category | Date |
|---|-------------|------------|----------|------|
| 1 | TwoSum | Easy | Array, Hash Table | 2026-03-27 |

Step 2: Ask Difficulty Preference

Use the AskUserQuestion tool:

Question: "Which difficulty level would you like?"

Options:

  • 🟢 Easy - Basic data structures & simple logic, perfect for warm-up
  • 🟡 Medium - Requires algorithmic thinking, covers common patterns
  • 🔴 Hard - Advanced algorithms, optimization, complex data structures

Step 3: Generate Problem

Create an original algorithm problem with:

Problem Structure
  • Title: PascalCase format (e.g., LongestSubstring, MergeIntervals)
  • Difficulty Badge: 🟢 Easy / 🟡 Medium / 🔴 Hard
  • Description: Clear Chinese explanation of input/output requirements
  • Examples: Minimum 2 examples with input/output pairs
  • Constraints: Data ranges, time/space complexity requirements
  • Hints: Direction hints without revealing the solution
Problem Categories (Rotate through these)

Arrays, Strings, Linked Lists, Trees, Graphs, Dynamic Programming, Greedy, Backtracking, Sorting, Searching, Stack/Queue, Hash Tables, Two Pointers, Sliding Window, Bit Manipulation, BFS/DFS, Divide & Conquer

Step 4: Create Code Templates

Java Template: java/<ProblemName>.java
import java.util.*;

public class <ProblemName> {

    /**
     * TODO: Implement your algorithm here
     *
     * <Brief description of function>
     *
     * @param <parameter description>
     * @return <return value description>
     */
    public <ReturnType> <methodName>(<Parameters>) {
        // Write your code here
        return <default value>;
    }

    public static void main(String[] args) {
        <ProblemName> solution = new <ProblemName>();
        int passed = 0;
        int total = 0;

        // Test Case 1: Normal case
        total++;
        <Type> result1 = solution.<methodName>(<input1>);
        if (<check if result1 equals expected1>) {
            System.out.println("Test Case " + total + ": ✅ Pass");
            passed++;
        } else {
            System.out.println("Test Case " + total + ": ❌ Fail");
            System.out.println("  Input: <input description>");
            System.out.println("  Expected: <expected output>");
            System.out.println("  Actual: " + result1);
        }

        // Test Case 2-N: Include edge cases (minimum 5 total)
        // Must cover: normal cases, boundary cases, special cases

        System.out.println("\
Results: " + passed + "/" + total + " Passed");
        if (passed == total) {
            System.out.println("🎉 All tests passed!");
        } else {
            System.out.println("💪 Keep trying! Review the failed cases above.");
        }
    }
}
Python Template: python/<problem_name>.py
from typing import List, Optional


class Solution:
    def <method_name>(self, <parameters>) -> <return_type>:
        """
        TODO: Implement your algorithm here

        <Brief description of function>

        Args:
            <parameter description>

        Returns:
            <return value description>
        """
        # Write your code here
        pass


def main():
    solution = Solution()
    passed = 0
    total = 0

    # Test Case 1: Normal case
    total += 1
    result1 = solution.<method_name>(<input1>)
    if result1 == <expected1>:
        print(f"Test Case {total}: ✅ Pass")
        passed += 1
    else:
        print(f"Test Case {total}: ❌ Fail")
        print(f"  Input: <input description>")
        print(f"  Expected: <expected output>")
        print(f"  Actual: {result1}")

    # Test Case 2-N: Include edge cases (minimum 5 total)
    # Must cover: normal cases, boundary cases, special cases

    print(f"\
Results: {passed}/{total} Passed")
    if passed == total:
        print("🎉 All tests passed!")
    else:
        print("💪 Keep trying! Review the failed cases above.")


if __name__ == "__main__":
    main()
Test Case Requirements
  • Minimum 5 test cases per problem
  • Must include:

- Normal/typical cases - Edge cases (empty input, single element, maximum values) - Special cases (negative numbers, duplicates, etc.)

  • Consistency: Java and Python test cases must match
  • Proper comparison: Use Arrays.equals() for Java arrays, == for Python lists

Step 5: Update Progress Tracking

Append the problem to algo_history.md in workspace root:

# Algorithm Practice History

| # | Problem Name | Difficulty | Category | Date |
|---|-------------|------------|----------|------|
| 1 | TwoSum | Easy | Array, Hash Table | 2026-03-27 |
| 2 | MergeIntervals | Medium | Array, Sorting | 2026-03-27 |

Auto-increment the sequence number and use current date.

Step 6: Present Problem to User

Display the complete problem with:

  1. 📝 Problem Title & Difficulty Badge
  2. 📖 Problem Description (clear Chinese explanation)
  3. 💡 Examples (input/output pairs)
  4. ⚙️ Constraints (data ranges, complexity requirements)
  5. 🎯 Hints (direction without solution)
  6. 📁 File Locations:

- Java: java/<ProblemName>.java - Python: python/<problem_name>.py

  1. 🚀 Next Steps: "Implement your solution and run the file to test!"

💡 Pro Tips for Users

How to Use Effectively

  1. Start Easy - Build confidence with fundamentals
  2. Think First - Try to solve before looking at hints
  3. Test Thoroughly - Run both Java and Python versions
  4. Track Progress - Check algo_history.md for your journey
  5. Practice Regularly - Consistency beats intensity

Running Your Solutions

# Java
cd java
javac <ProblemName>.java && java <ProblemName>

# Python
python python/<problem_name>.py

Common Workflow

  1. Read problem carefully
  2. Think about approach (don't code immediately!)
  3. Write solution in the TODO section
  4. Run tests to verify
  5. Debug failed cases
  6. Optimize if needed
  7. Move to next problem

🎯 Problem Quality Standards

  • ✅ Interview-Relevant: Based on real coding interview questions
  • ✅ Well-Tested: 5-8 comprehensive test cases
  • ✅ Progressive Difficulty: Clear learning path
  • ✅ No Duplicates: Tracked via history file
  • ✅ Bilingual: Java + Python with consistent logic
  • ✅ Production-Ready: Ready to compile and run

🛠️ Technical Requirements

  • Method signatures must be clear and type-safe
  • Java filename MUST match public class name
  • Python filename uses snake_case convention
  • Problem titles use PascalCase (e.g., ValidParentheses)
  • NEVER include solutions or implementation hints in code files
  • Test case expected outputs MUST be correct
  • Create java/ and python/ directories if they don't exist

🌟 Target Audience

  • 👨‍💻 Job seekers preparing for coding interviews
  • 🎓 Computer science students learning algorithms
  • 🔄 Developers wanting to practice problem-solving
  • 🌱 Beginners starting their algorithm journey
  • 🏆 Advanced programmers tackling hard problems

📊 Success Metrics

After using this skill, users should:

  • Have working code templates ready to implement
  • Understand the problem clearly with examples
  • Know the constraints and edge cases
  • Feel motivated to solve and test their solution
  • Track their progress over time

💡 Tip: This skill is perfect for daily algorithm practice. Try solving 1-2 problems per day to build strong problem-solving skills!

平台分布

OpenClaw

83.48%
按下载量换算589

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

继续浏览同类 Skills