Loading...
Loading...
Install and use China-focused education Agent Skills for textbook sync, exam prep, mistake review, daily practice, and teacher workflows with Hermes Agent
npx skill4agent add aradotso/hermes-skills hermes-edu-skillsSkill by ara.so — Hermes Skills collection.
hermes-edu-skillsSKILL.md# Use npx (recommended - no install needed)
npx hermes-edu-skills --version
# Or install globally
npm install -g hermes-edu-skills# Default: installs all skills + generates HERMES.md prompt
npx hermes-edu-skills install hermes --config ~/.hermes/config.yaml
# Install without generating prompt
npx hermes-edu-skills install hermes --config ~/.hermes/config.yaml --no-prompt
# Force overwrite existing HERMES.md
npx hermes-edu-skills install hermes --config ~/.hermes/config.yaml --overwrite-promptskills/skills.external_dirsHERMES.md# Install textbook sync category (41 skills)
npx hermes-edu-skills install hermes textbook-sync --config ~/.hermes/config.yaml
# Install learning core category (15 skills)
npx hermes-edu-skills install hermes learning-core --config ~/.hermes/config.yaml
# Install exam prep category (27 skills)
npx hermes-edu-skills install hermes exam-prep --config ~/.hermes/config.yaml
# Chinese category names also supported
npx hermes-edu-skills install hermes 教材同步 --config ~/.hermes/config.yamlHERMES.md# Install only study plan skill
npx hermes-edu-skills install hermes agent-study-plan --config ~/.hermes/config.yaml
# Install mistake review skill
npx hermes-edu-skills install hermes agent-mistake-review --config ~/.hermes/config.yamlHERMES.md# Search skills by keyword
npx hermes-edu-skills search 错题
npx hermes-edu-skills search textbook
npx hermes-edu-skills search exam
# Get detailed info about a skill
npx hermes-edu-skills info agent-mistake-review
npx hermes-edu-skills info textbook-exercise-generator
# List all categories
npx hermes-edu-skills list categories
# List skills in a category
npx hermes-edu-skills list textbook-sync# Ask a question - shows matched skills then calls Hermes
npx hermes-edu-skills ask "帮我出5道八年级下册物理力学选择题"
# The command will:
# 1. Search relevant skills (e.g. textbook-exercise-generator)
# 2. Display matched skills
# 3. Route to Hermes with skill context# View full HERMES.md prompt content
npx hermes-edu-skills prompt
# Save to file
npx hermes-edu-skills prompt > HERMES.md
# Generate prompt for specific category
npx hermes-edu-skills prompt --category textbook-sync > HERMES_TEXTBOOK.md# Check installation status, version, config, Hermes visibility
npx hermes-edu-skills doctor
# Output shows:
# - Number of skills installed
# - Categories available
# - Hermes config path and status
# - HERMES.md existence
# - Version info# Install to Cursor workspace
npx hermes-edu-skills install cursor --workspace /path/to/project
# Installs to /path/to/project/.cursor/skills/npx hermes-edu-skills install openclaw
# Installs to ~/.openclaw/skills/hermes-edu-skills/npx hermes-edu-skills install codex
# Installs to ~/.codex/skills/hermes-edu-skills/npx hermes-edu-skills install claude
# Installs to ~/.claude/skills/hermes-edu-skills/# Export all skills to custom directory
npx hermes-edu-skills export generic --target ./dist/agent-skills
# Export single category
npx hermes-edu-skills export generic --target ./dist/textbook --category textbook-sync~/.hermes/config.yaml--configskills:
dirs:
- ~/.hermes/skills
external_dirs:
- /path/to/hermes-edu-skills/skills # Added by installer
discovery:
enabled: true
auto_load: true# Override default Hermes config path
export HERMES_CONFIG_PATH=~/custom/hermes/config.yaml
# Use custom install location
export HERMES_EDU_SKILLS_PATH=~/my-skills/hermes-edutextbook-sync// In Hermes Agent session or via API
const request = {
skill: 'textbook-exercise-generator',
params: {
subject: '物理',
grade: '八年级',
semester: '下册',
textbook_version: '人教版',
unit: '第七单元:力',
exercise_type: '选择题',
difficulty: '中等',
quantity: 5
}
};
// Hermes routes to skill and returns structured exercises"帮我出5道八年级下册物理力学选择题,人教版"agent-mistake-review// User uploads photo of wrong problem
const mistakeReview = {
skill: 'agent-mistake-review',
input: {
image: 'data:image/jpeg;base64,...',
subject: '数学',
grade: '九年级'
}
};
// Skill returns:
// 1. Original problem transcription
// 2. Student's wrong answer analysis
// 3. Correct solution step-by-step
// 4. Knowledge point summary
// 5. Similar practice problems (3-5)"这道题我做错了,帮我分析一下" [with image]daily-practice// Generate daily mental math practice
const dailyDrill = {
skill: 'daily-mental-math',
params: {
grade: '三年级',
operation_types: ['加法', '减法'],
difficulty: '基础',
quantity: 20,
time_limit_minutes: 5
}
};
// Returns 20 problems with timer and auto-grading"给我三年级的口算练习,20道题,加减法"teacher-tools// Generate lesson plan
const lessonPrep = {
skill: 'teacher-lesson-planner',
params: {
subject: '语文',
grade: '五年级',
semester: '上册',
textbook_version: '统编版',
lesson: '第15课:桂花雨',
class_duration: 40,
teaching_goals: ['理解课文内容', '感受思乡情感', '学习生字词']
}
};
// Returns:
// - Teaching objectives
// - Key/difficult points
// - Teaching process (导入-新授-练习-总结)
// - Classroom activities
// - Homework assignment"帮我备课,五年级语文统编版第15课桂花雨,一节课40分钟"exam-prep// Generate high school entrance exam prep plan
const examPlan = {
skill: 'exam-prep-study-planner',
params: {
exam_type: '中考',
subjects: ['数学', '物理', '化学'],
current_level: '中等',
target_score: '优秀',
days_until_exam: 90,
daily_study_hours: 2
}
};
// Returns:
// - 90-day phased plan (基础-强化-冲刺)
// - Daily task breakdown by subject
// - Weekly mock exam schedule
// - Weak point focus areas
// - Progress tracking checkpoints"距离中考还有90天,帮我制定数理化复习计划,每天2小时"SKILL.md---
id: skill-unique-id
name: Display Name
description: One-line description
category: textbook-sync
subcategory: exercise-generation
version: 1.0.0
author: Shineway
tags: [grade, subject, textbook]
triggers:
- "natural phrase user might say"
- "another trigger phrase"
parameters:
- name: grade
type: string
required: true
options: [一年级, 二年级, ..., 高三]
- name: subject
type: string
required: true
roles: [student, teacher, parent]
complexity: medium
estimated_tokens: 500
---
# Skill Content
Detailed prompt and workflow...// All these map to same internal grade level:
"一年级上册" → grade: 1, semester: 1
"小学一年级第一学期" → grade: 1, semester: 1
"1年级上" → grade: 1, semester: 1基础中等提高拔高// 1. Photo Q&A extracts problem
skill: 'agent-photo-qa'
// 2. Mistake review analyzes error
skill: 'agent-mistake-review'
// 3. Exercise generator creates similar problems
skill: 'textbook-exercise-generator'
// 4. Daily practice adds to drill queue
skill: 'daily-practice-tracker'npx hermes-edu-skills doctor
# Verify skills.external_dirs contains correct path
cat ~/.hermes/config.yaml | grep external_dirsskills:
external_dirs:
- /absolute/path/to/hermes-edu-skills/skillshermes restart# Check current directory for HERMES.md
ls -la HERMES.md
# Regenerate if missing
npx hermes-edu-skills prompt > HERMES.md# Hermes should load HERMES.md from project root
# Or from config-specified project_prompt_path"使用 hermes-edu-skills 的 textbook-exercise-generator 技能出5道题"# Catalog is pre-built, but if modified locally:
cd hermes-edu-skills/
node scripts/build-catalog.js# List all skill IDs
npx hermes-edu-skills list all | grep "id:"# Cursor export
ls -ld ~/.cursor/skills/
mkdir -p ~/.cursor/skills/ # if missing
# Generic export
mkdir -p ./target/dir
npx hermes-edu-skills export generic --target ./target/dirnpx hermes-edu-skills install cursor --workspace $(pwd)/my-projectgit clone https://github.com/zhongweiv/hermes-edu-skills.git
cd hermes-edu-skills/
# Install dependencies
npm install
# Run CLI locally
npm run cli -- install hermes --config ~/.hermes/config.yaml
# Run tests
npm test
# Validate all skills
npm run validateskills/_template/SKILL.mdskills/<category>/<skill-id>/SKILL.mdnpm run validatenode scripts/build-catalog.jsnpm run cli -- info your-new-skill-id
npm run cli -- install hermes your-new-skill-id --config ~/.hermes/config.yamlskills/<category>/<id>/SKILL.mdnpx hermes-edu-skills validateimport { HermesEduSkills } from 'hermes-edu-skills';
const skills = new HermesEduSkills();
// Search skills
const results = skills.search('错题复盘');
// Get skill metadata
const skill = skills.getSkill('agent-mistake-review');
// List categories
const categories = skills.listCategories();
// Install programmatically
await skills.install('hermes', {
configPath: '~/.hermes/config.yaml',
categories: ['textbook-sync'],
generatePrompt: true
});