← 返回 Skills 市场
samuelkahessay

Code Mentor

作者 samuelkahessay · GitHub ↗ · v1.0.2
cross-platform ⚠ suspicious
7769
总下载
3
收藏
0
当前安装
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 local test suites, and save progress notes. Do not use the test runner on untrusted repositories or projects containing secrets unless you run it in an isolated environment, and review or delete references/user-progress/learning_log.md if you do not want session history 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
Tutoring, code review, static analysis, and test feedback fit the stated purpose, but the optional test runner invokes pytest, unittest, and Jest against user-selected targets, which can execute arbitrary project code on the host.
Instruction Scope
The skill uses broad programming-help triggers and instructs the agent to update a learning log after each session, creating side effects that are not gated by an explicit opt-in flow.
Install Mechanism
No hidden install hook or automatic setup behavior was found. Optional dependencies are documented, but requirements use lower-bound version ranges rather than pinned versions.
Credentials
Reading user-selected code files is expected for a code mentor, but direct test execution and unrestricted file-path analysis are high-impact if used on untrusted repositories or sensitive local files.
Persistence & Privilege
The README, SKILL.md, and bundled learning log disclose automatic progress persistence, but there is no clear consent, retention, minimization, disable, or deletion mechanism.
如何使用
  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
许可证
累计安装 0
当前安装数 0
历史版本数 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 插件,目前累计下载 7769 次。

如何安装 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。

💬 留言讨论