mentor

作者 smixs已验证

mentor — a session-insights skill for AI coding agents. This skill reads your local Claude Code and OpenAI Codex history and writes an /insights-style HTML report on how you work: what you build, where you lose time, and concrete fixes. An agent skill for Claude Code, Codex, and any skills-capable agent.

75
Stars
1
Forks
Python
语言
2026/8/24
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/smixs/mentor

快速入门

使用 mentor 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

mentor skill

mentor

a skill that reads your local session history and writes report on how you actually work.

Agents now do the work juniors used to. But juniors became seniors by getting feedback from seniors. Give agents to juniors and retire the seniors, and that feedback loop disappears. This skill is that loop, packaged as an agent skill you install once and run every week.

Example report

What the skill does

  • Reads your local session history. Claude Code transcripts under ~/.claude and Codex rollouts under ~/.codex. Nothing is uploaded; the skill runs entirely on your machine.
  • Aggregates many sessions into headline numbers (messages, sessions, tool calls, edits, files touched, tokens) plus per-day activity, tool mix, and languages.
  • Writes one self-contained report.html with eight sections, inline SVG icons, count-up numbers, and an animated chart. No dependencies and no build step, so any browser opens it.
SectionWhat it gives you
What you work onYour sessions clustered into themes, with rough share
How you use the agentTool ratios, languages, model tiering, checkpoints
What you did wellReal wins, handed back
Where things go wrongFriction points, each with evidence and a concrete fix
Features worth tryingCapabilities you under-use
Suggested CLAUDE.md additionsCopy-paste lines that kill a recurring friction
New ways to use itBetter workflows for your patterns
On the horizonWhere your workflow is heading

The friction section is the point of the skill: every friction names a repeatable fix, a CLAUDE.md line, a hook, or a habit, so the same mistake stops showing up next week.

Install the skill

Recommended, via skills.sh, the open marketplace for agent skills. One command installs the skill into any supported agent:

npx skills add smixs/mentor

Useful flags:

# globally, for every project
npx skills add smixs/mentor -g

# into specific agents
npx skills add smixs/mentor -a claude-code -a codex

# no questions, for CI
npx skills add smixs/mentor -g -y

Update the skill to the latest version: npx skills update mentor.

Manual (Claude Code) clones the skill straight into your skills directory:

git clone https://github.com/smixs/mentor.git ~/.claude/skills/mentor

For Codex, clone the skill into ~/.codex/skills/mentor instead. The bundled scripts need uv; the skill itself is plain Markdown that any skills-capable agent can read.

Use the skill

Run the command, or just ask the agent for it in your own words ("review how I work with the agent", "разбери мои сессии"):

/mentor            # both agents, last 30 days (default)
/mentor claude     # Claude Code sessions only
/mentor codex      # OpenAI Codex sessions only
/mentor both       # cross-agent read: habits that show up in both tools

Add a window with --days N. The skill writes the report to ~/.claude/usage-data/mentor-report.html and opens it. Make the skill a weekly habit, since the patterns show up over runs, not in a single one:

claude -p "/mentor both"

How the skill works

Three small scripts, no magic:

  1. collect.py parses every session in the window into one stats bundle. The numbers are counted, not guessed.
  2. The agent reads that digest and writes the eight-section analysis, grounded in your actual prompts and metrics.
  3. render_report.py merges stats and analysis into the final HTML.

The report is written in your language (English by default; Russian chrome is built into the skill). Some judgments, like themes and satisfaction, are model-inferred and flagged as such; read them as hypotheses, not verdicts.

Privacy

The skill reads local log files and writes a local HTML file. Your transcripts never leave your machine.

License

MIT, see LICENSE. Русская версия: README.ru.md.

常见问题

What is mentor?

mentor is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by smixs. mentor — a session-insights skill for AI coding agents. This skill reads your local Claude Code and OpenAI Codex history and writes an /insights-style HTML report on how you work: what you build, where you lose time, and concrete fixes. An agent skill for Claude Code, Codex, and any skills-capable agent. It has 75 GitHub stars.

Is mentor safe to use?

Yes. mentor passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install mentor?

Clone the repository with "git clone https://github.com/smixs/mentor" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is mentor written in?

mentor is primarily written in Python. It is open-source under smixs on GitHub, so you can review or fork the full source.

Are there alternatives to mentor?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh mentor against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情