← 返回 Skills 市场
110
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install leetcode-plan
功能描述
12周LeetCode跳槽刷题计划助手。当用户输入"第X天"或"DX"时触发,返回对应题目;当用户提交解题答案或表示未解出时,生成错题记录并写入errorset.md;根据当天进度推荐复习之前的错题。适用于系统性刷题打卡、错题管理和间隔复习场景。
使用说明 (SKILL.md)
LeetCode 刷题计划助手
核心工作流
1. 用户输入天数
当用户说"第X天"或"DX"时:
- 查阅
references/plan.md找到对应天数的题目 - 若为复盘日(D7/D14/D20/D21/D28/D36/D44/D51/D58/D66/D73/D80等):提示用户复习错题,并运行:
python3 scripts/manage_errors.py review \x3Cday> - 若为正常题目日:输出格式:
## 第X天 - [题型]
**题号**:[题号]. [题目名称]
**难度**:[Easy/Medium/Hard]
**LeetCode链接**:https://leetcode.cn/problems/[slug]/
---
完成后请回复:
- 你的解题方案(代码或思路)
- 或「没做出来」+ 错误原因(可简短描述)
同时推荐当天需要复习的错题(若有):
python3 scripts/manage_errors.py review \x3Cday>
2. 用户提交解答
用户解出了:给出简短点评,指出可优化点,标注相似题(查 references/plan.md 相似题表)。若解法与最优解差距过大,则按未解出处理。
用户没做出来:
- 请用户提供错误原因(一句话即可)
- 收到原因后,自动生成:
- 核心思路:该题的关键解题思路(2-4句)
- 相似题:从 references/plan.md 查找对应相似题
- 调用脚本记录到
errorset.md(路径:当前工作目录下):python3 scripts/manage_errors.py add \x3Cday> "\x3C题号>" "\x3C题目名>" "\x3C类型>" "\x3C错误原因>" "\x3C核心思路>" "\x3C相似题>" - 确认记录成功,告知用户复习计划(D+1、D+3、D+7)
3. 复习推荐
每次用户说天数时,先检查当天是否有待复习错题,若有则在题目前展示:
## 今日复习提醒
以下错题需要今天重做:
- [题号] [题目名] (类型:XXX)
核心思路:...
注意事项
- errorset.md 保存在用户当前工作目录,不是 skill 目录
- 核心思路和相似题由 Claude 生成,不需要用户填写
- 错误原因需用户提供,其余字段自动填充
- 题号参考表在
references/plan.md,相似题也在该文件末尾
安全使用建议
This skill appears coherent and limited in scope, but check the working directory before running it: it will create or overwrite errorset.md in whatever directory the agent runs in. Ensure you are comfortable with a local file being written there and that you have Python 3 available. Also avoid pasting sensitive data into '错误原因' fields since the skill stores user-provided text in the local errorset.md (the script does not transmit data externally). If you prefer the file elsewhere, run the agent from a directory you control or modify the script to point to a different path.
功能分析
Type: OpenClaw Skill
Name: leetcode-plan
Version: 1.0.1
The skill bundle is designed to manage a LeetCode study plan using a local Python script (scripts/manage_errors.py) to maintain a markdown-based error log (errorset.md). It is classified as suspicious because the instructions in SKILL.md direct the AI agent to execute shell commands using user-provided input (error reasons) as arguments, which presents a shell injection vulnerability. However, there is no evidence of intentional malice, data exfiltration, or unauthorized network activity.
能力评估
Purpose & Capability
Name/description (12-week LeetCode plan,错题管理) match the provided files: references/plan.md contains the schedule and similarity table, SKILL.md describes using scripts/manage_errors.py to record/review errors. No unrelated credentials, binaries, or paths are requested.
Instruction Scope
SKILL.md instructs the agent to consult references/plan.md and to run scripts/manage_errors.py to add/review/list errors. The script only reads/writes errorset.md in the current working directory and reads references/plan.md for problem info; it does not access other system files or external endpoints. The SKILL.md explicitly warns errorset.md is created in the user's current working directory.
Install Mechanism
Instruction-only skill with a small Python script; no install spec, no downloads, and no archive extraction. Risk from installation is minimal — it requires a local Python runtime to run the script.
Credentials
No environment variables, credentials, or config paths are requested. The script uses os.getcwd() to decide where to write errorset.md — this is proportional to the stated goal of storing a local错题本.
Persistence & Privilege
always is false and the skill does not request persistent elevated privileges or modify other skills. Its only side effect is creating/updating errorset.md in the agent's current working directory.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install leetcode-plan - 安装完成后,直接呼叫该 Skill 的名称或使用
/leetcode-plan触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- 简化和统一脚本调用路径,将 manage_errors.py 路径从 ~/.codeflicker/skills/leetcode-plan/scripts/ 更改为 scripts/
- 所有相关 Bash 调用和说明中移除绝对路径,使用相对 scripts/ 目录
- 其余功能描述未作更动
v1.0.0
LeetCode刷题计划助手首次发布!
- 支持查询每日刷题内容及LeetCode题目信息,适用12周跳槽刷题计划
- 智能记录并管理用户未解出和做错的题,生成错题本(errorset.md)
- 按间隔复习法推荐每日需复习的错题
- 自动对错题归档,标注核心思路和相似题,方便系统性提高
- 适配打卡、错题整理和阶段性复习等场景
元数据
常见问题
leetcode-plan 是什么?
12周LeetCode跳槽刷题计划助手。当用户输入"第X天"或"DX"时触发,返回对应题目;当用户提交解题答案或表示未解出时,生成错题记录并写入errorset.md;根据当天进度推荐复习之前的错题。适用于系统性刷题打卡、错题管理和间隔复习场景。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 110 次。
如何安装 leetcode-plan?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install leetcode-plan」即可一键安装,无需额外配置。
leetcode-plan 是免费的吗?
是的,leetcode-plan 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
leetcode-plan 支持哪些平台?
leetcode-plan 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 leetcode-plan?
由 八云绿(@candiecandyy)开发并维护,当前版本 v1.0.1。
推荐 Skills