← 返回 Skills 市场
samuelkahessay

Code Mentor

作者 samuelkahessay · GitHub ↗ · v1.0.2
cross-platform ⚠ suspicious
7009
总下载
3
收藏
39
当前安装
3
版本数
在 OpenClaw 中安装
/install code-mentor
功能描述
Comprehensive AI programming tutor for all levels. Teaches programming through interactive lessons, code review, debugging guidance, algorithm practice, project mentoring, and design pattern exploration. Use when the user wants to: learn a programming language, debug code, understand algorithms, review their code, learn design patterns, practice data structures, prepare for coding interviews, understand best practices, build projects, or get help with homework. Supports Python and JavaScript.
安全使用建议
Install only if you are comfortable with a coding tutor that may read selected code files, run test suites on your machine, and save session progress locally. Avoid running its test helper on untrusted repositories or projects with secrets, and review or remove the learning log if you do not want progress notes retained.
功能分析
Type: OpenClaw Skill Name: code-mentor Version: 1.0.2 The skill is classified as suspicious due to several high-risk capabilities, although without clear evidence of intentional malicious intent. The `SKILL.md` contains direct instructions to the AI agent to update `references/user-progress/learning_log.md`, which, while benign in purpose, demonstrates a form of prompt injection. More significantly, the `scripts/run_tests.py` script executes user-provided code via external test runners (`pytest`, `unittest`, `jest`), allowing for potential arbitrary code execution if a malicious user provides a crafted test file. Additionally, the `scripts/analyze_code.py` and `scripts/complexity_analyzer.py` scripts can read and process arbitrary files, which could be leveraged by a malicious agent to access sensitive local data and output its content.
能力评估
Purpose & Capability
The tutoring, code review, debugging, and testing features fit the stated purpose, but the optional test runner executes pytest, unittest, and Jest targets on the host, including npx-based Jest execution, without sandboxing or path scoping.
Instruction Scope
The skill uses broad activation examples such as debugging and code review requests, and it instructs the agent to update the learning log after each session rather than asking the user to opt in.
Install Mechanism
No install hooks or hidden setup behavior were found. The optional Python dependencies use lower-bound version constraints, and Jest installation is documented as a manual optional step.
Credentials
Reading user-selected code files is expected for code review, but running repository tests is high-impact because tests can execute arbitrary project code in the user's environment.
Persistence & Privilege
The skill persistently writes progress to references/user-progress/learning_log.md after sessions and discloses that behavior, but it does not provide clear opt-in, retention, minimization, or deletion controls.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install code-mentor
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /code-mentor 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Updated metadata: author and version information revised, new license and compatibility sections added. - Language support now explicitly limited to Python and JavaScript. - Added a .DS_Store file (no functionality change). - No core skill logic or documentation content updated beyond metadata adjustments.
v1.0.1
Version 1.0.1 Changelog - No file changes detected in this release. - Functionality and features remain unchanged from the previous version.
v1.0.0
Initial release of Code Mentor — a comprehensive AI programming tutor for all levels. - Offers interactive lessons, code review, debugging guidance, algorithm practice, project mentoring, and design pattern exploration. - Supports 40+ programming languages including Python, JavaScript, TypeScript, Java, C++, Go, and Rust. - Adapts teaching style and content to the user's experience level and preferred learning style. - Provides eight distinct teaching modes, from concept learning to interview prep and project guidance. - Uses guided questioning (Socratic method) for debugging and code review, focusing on user learning and understanding.
元数据
Slug code-mentor
版本 1.0.2
许可证
累计安装 264
当前安装数 39
历史版本数 3
常见问题

Code Mentor 是什么?

Comprehensive AI programming tutor for all levels. Teaches programming through interactive lessons, code review, debugging guidance, algorithm practice, project mentoring, and design pattern exploration. Use when the user wants to: learn a programming language, debug code, understand algorithms, review their code, learn design patterns, practice data structures, prepare for coding interviews, understand best practices, build projects, or get help with homework. Supports Python and JavaScript. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 7009 次。

如何安装 Code Mentor?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install code-mentor」即可一键安装,无需额外配置。

Code Mentor 是免费的吗?

是的,Code Mentor 完全免费(开源免费),可自由下载、安装和使用。

Code Mentor 支持哪些平台?

Code Mentor 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Code Mentor?

由 samuelkahessay(@samuelkahessay)开发并维护,当前版本 v1.0.2。

💬 留言讨论