Token导航 LogoToken导航

Agent Skill · 研究检索

edu-role-play(教育角色扮演)

edu-role-play 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

edu-role-play 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 67,439。

总安装 245周安装 10GitHub Stars 公开资料未说明下载 79核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:edu-role-play(教育角色扮演)
来源仓库:https://github.com/minicoursegenerator/edu-role-play
仓库路径:skills/edu-role-play
安装命令:
npx skills add https://github.com/minicoursegenerator/edu-role-play --skill edu-role-play
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/minicoursegenerator/edu-role-play --skill edu-role-play

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于生成 HTML 角色扮演练习环境,训练对话技能。适合在 Codex、Claude、Cursor、Gemini CLI 中设计语言学习目标。需用户提供五要素(场景、角色、目标、评估、交互)方可开始。CLI 自动 lint 与打包,确保输出可直接打开使用。

edu-role-play 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/edu-role-play

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/minicoursegenerator/edu-role-play --skill edu-…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

edu-role-play 怎么安装?

在终端执行 npx skills add https://github.com/minicoursegenerator/edu-role-play --skill edu-role-play。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

edu-role-play 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

edu-role-play 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

edu-role-play 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

edu-role-play 用的人多吗?

公开数据是累计安装 245 次,近一周安装 10 次,下载 79 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

edu-role-play 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
edu-role-play

教育角色扮演 · 本页

245—操作浏览器未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

edu-role-play

Generate a single HTML file that learners open to practice a conversation with an AI persona. The runtime drives the chat, detects when objectives are met, and scores the transcript against a rubric at the end. You author the composition; the CLI lints and bundles it.

1. Approach

When the user asks for a role-play, your job is to produce a composition HTML that exercises a specific, observable skill. Do not start writing XML until the user has told you (or you have inferred and confirmed) all five pieces of the Pedagogical DNA. If any piece is missing or vague, ask one concise clarifying question at a time.

The shape of every composition:

  • One persona with goals, constraints, and speech patterns
  • One scenario that places the learner in role
  • 2–4 observable objectives
  • A rubric that scores each objective with a positive-integer weight (sum 1–20)
  • Termination conditions (always a turn cap; manual-end by default)

2. Pedagogical DNA Gate (hard requirement)

Before generating any composition, confirm all five:

  1. Learner role — who is practicing, and what skill are they building?
  2. Observable objectives — what concrete actions should the learner take? (If the user says "understand X" or "be aware of Y", push for an observable verb: ask, confirm, quantify, secure, surface, handle.)
  3. Success criteria — what does a good answer on each objective look like?
  4. Rubric dimensions — how is each objective weighted relative to the others?
  5. Persona goals + constraints — what does the AI character want and what can't they budge on?

If the user is vague, ask the smallest next question. Do not invent content that changes the pedagogical intent.

2.5. Plan confirmation (before generating)

Once you have all five pieces of the Pedagogical DNA, do not start writing XML yet. First, summarize the plan back to the user in 4–6 short lines and ask for explicit approval. Use this exact shape:

Plan:
- Conversation: <one line on what the role-play is about>
- Learner role: <who the user is practicing as>
- Persona: <name + role of the AI character they'll talk to>
- Objectives: <comma-separated short list>
- Difficulty / tone: <if known>
- Language: <code from §3.5, inferred from how the user is talking to you>

Want me to generate this, or change anything first?

Only proceed to generate the composition HTML after the user confirms ("yes", "go", "looks good", etc.). If they request changes, update the plan, re-print it, and ask again. Do not skip this step even when the DNA was provided up-front in a single message — confirmation is the gate.

2.6. Persona avatar

Set an avatar attribute on <edu-persona> from this fixed list. The CLI inlines the matching portrait into the bundled HTML at build time. Pick the closest match — do not invent new IDs.

  • middle-aged-man-friendly — approachable, salt-and-pepper, business casual
  • middle-aged-man-frustrated — serious / tense expression, good for upset customers or hard stakeholders
  • middle-aged-woman-professional — confident, business attire
  • young-woman-professional — late-20s, polished
  • young-man-thoughtful — late-20s, neutral / considered expression
  • older-woman-warm — 60s+, warm and smiling

Choose primarily on demographic fit (age, gender), then tone match. If none fit, omit the attribute and the runtime falls back to a generic silhouette.

3. Composition structure

Wrap the composition in the standard HTML shell below. The <style> block and the "not bundled yet" <div data-erp-fallback> are required — they turn the raw source into a self-explaining page when a user opens it directly in a browser. The runtime wipes the <edu-role-play> contents on mount, so these have no effect on the bundled output.

<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>my-roleplay</title>
    <style>
      edu-role-play > :not([data-erp-fallback]) { display: none; }
      [data-erp-fallback].notice { display: block; font-family: system-ui, sans-serif; max-width: 560px; margin: 60px auto; padding: 24px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fafafa; line-height: 1.5; }
      [data-erp-fallback] h2 { margin: 0 0 8px 0; font-size: 18px; }
      [data-erp-fallback] pre { background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; padding: 10px 12px; font-family: ui-monospace, monospace; font-size: 13px; }
    </style>
  </head>
  <body>
<edu-role-play id="my-roleplay" runtime-version="0.1.0" locale="en">
  <div class="notice" data-erp-fallback>
    <h2>This role-play isn't bundled yet</h2>
    <p>Open a terminal in this folder and run:</p>
    <pre><code>npx edu-role-play start my-roleplay.html</code></pre>
  </div>
  <edu-persona name="Sarah Chen" role="VP of Operations">
    <background>15 years in logistics. Burned by a CRM migration in 2023.</background>
    <goals>Cut vendor count by 30% before Q4 board review.</goals>
    <constraints>Budget locked until Q3. Won't sign without a peer reference.</constraints>
    <speech-patterns>Direct. Asks for specifics. Interrupts vague claims.</speech-patterns>
  </edu-persona>

  <edu-scenario>
    You are an account executive pitching Acme CRM to Sarah. You have 15 minutes to
    uncover a pain point, quantify its impact, and secure a follow-up meeting.
  </edu-scenario>

  <edu-objective id="discover-pain">Surface at least one current operational pain point Sarah owns.</edu-objective>
  <edu-objective id="quantify-impact">Get Sarah to share a number (dollars, hours, or headcount).</edu-objective>
  <edu-objective id="book-followup">Secure a concrete follow-up meeting (date + attendees).</edu-objective>

  <edu-rubric>
    <criterion objective="discover-pain" weight="3">Full credit: pain is specific, Sarah-owned, and tied to a process.</criterion>
    <criterion objective="quantify-impact" weight="4">Full credit: Sarah volunteers a dollar / hour / headcount number.</criterion>
    <criterion objective="book-followup" weight="3">Full credit: follow-up has a date, owner, and named attendees.</criterion>
  </edu-rubric>

  <edu-termination>
    <turn-limit>20</turn-limit>
    <objective-check-every>1</objective-check-every>
    <manual-end>true</manual-end>
  </edu-termination>
</edu-role-play>
  </body>
</html>

3.5. Language / locale (mandatory)

Set locale="<code>" on the root <edu-role-play> element to match the language the user is authoring in. This drives the UI chrome (briefing, objectives heading, buttons, debrief modal, system notes) — the persona, scenario, and objectives stay in whatever language you wrote them.

Detection rule: pick the locale from the language the user is speaking to you in this session. If they switched to Turkish to request the role-play, set locale="tr" even if your reply is in English. When in doubt, ask once: "Should the activity UI be in Turkish or English?"

Supported codes: en, es, fr, de, pt, it, tr, ja, zh, ar. Anything else falls back to en.

When you write the persona / scenario / objectives in a non-English language, the locale attribute MUST match — otherwise the learner sees Turkish content under English headings, which looks broken.

4. Persona design

See persona-design.md. Rules:

  • name + role must be concrete (no "a salesperson").
  • <goals> state what the persona wants from THIS conversation.
  • <constraints> are hard limits. They make pushback believable.
  • <speech-patterns> shape voice. Be specific ("interrupts vague claims") not generic ("assertive").

5. Objectives and rubric

See objective-patterns.md and rubric-design.md. Rules:

  • Every objective is observable in the transcript. Forbidden verbs: *understand, know, feel, appreciate, be aware, familiarize, learn about*.
  • Every objective has exactly one matching <criterion>.
  • Weights are positive integers; the sum must be in [1, 20].
  • Criterion text spells out what full credit looks like.

6. Termination

Always include <turn-limit> (default 20) or <time-limit> in seconds. <manual-end>true</manual-end> lets the learner stop and get scored. <objective-check-every> (default 1) controls how often the runtime checks whether all objectives are met. Set higher to reduce LLM calls at the cost of laggier checklist updates.

7. Non-negotiable rules (linter-enforced)

  1. Every <edu-objective> must be observable — no vague verbs.
  2. The rubric must cover every objective id and contain no orphan criteria.
  3. Persona must have non-empty <goals> and <constraints>.
  4. Termination must include at least one hard cap (turn-limit or time-limit).
  5. The scenario must mention the persona by name and address the learner in the second person.
  6. Rubric weights must be positive integers summing to [1, 20].

Failing any of these blocks bundle.

8. Output checklist

Each role-play gets its own folder so files don't pile up in the user's working directory.

  1. Pick a short kebab-case slug (e.g. gdpr-sar-audit). Create the folder: the composition file path is <slug>/<slug>.html.
  2. Write the composition to <slug>/<slug>.html.
  3. You (the agent) run npx -y edu-role-play lint <slug>/<slug>.html. Fix every error. Warnings (e.g. stale runtime-version) can stay but prefer to fix.
  4. You (the agent) run npx -y edu-role-play bundle <slug>/<slug>.html to produce the playable HTML in-place. Do not ask the user for an API key — bundling never needs one (keys live on the proxy, not in the HTML). If the environment cannot run npx (no shell, no network), fall back to instructing the user to run it themselves and skip section (a) below.
  5. Your final message MUST include all three sections below, in this order, every time. Do not omit any of them, even if the conversation is brief. a. Confirmation that it's bundled and ready to play — one short line, e.g.: Bundled. Open <slug>/<slug>.html in your browser to start the role-play, or run npx edu-role-play start <slug>.html from inside the folder to re-open it later. b. Tweak invitation — invite the user to iterate with you, e.g.: Try it out and tell me what to change — persona traits, objectives, opening behavior, rubric weights, scenario details. We can keep tweaking together until it feels right. c. Deploy-before-sharing note — required, but the *path* depends on whether you have a shell. Always lead with this sentence verbatim: This bundle uses a shared public proxy for quick testing — it's rate-limited and only meant for iteration. Before you share this role-play with teammates or learners, deploy your own Cloudflare Worker so you control the model, the key, and the rate limits. Keys never ship inside the HTML. Then pick exactly one of the two tracks below. Track A — terminal host (Claude Code, Cursor, Codex, anywhere with Bash + npx). Tell the user: Run npx edu-role-play deploy-proxy. It walks through provider choice, runs wrangler login if needed, deploys the Worker, and sets your ANTHROPIC_API_KEY (or OPENAI_API_KEY) as a Worker secret. Then re-bundle with --proxy-url https://<your-worker>.workers.dev (or set EDU_ROLE_PLAY_PROXY_URL). Track B — web host (claude.ai, or any environment without a shell). Tell the user, in this exact shape: Click Deploy to Cloudflare: https://deploy.workers.cloudflare.com/?url=https://github.com/minicoursegenerator/edu-role-play-proxy. It OAuths into your Cloudflare account and deploys the Worker. Copy the resulting https://<name>.workers.dev URL. In the Cloudflare dashboard → that Worker → Settings → Variables and Secrets → Add variable → set ANTHROPIC_API_KEY (recommended) or OPENAI_API_KEY, mark it as Secret (encrypted). Paste the Worker URL back to me. I'll edit the bundled HTML to add <meta name="edu-role-play-proxy" content="https://<your-worker>.workers.dev"> in <head> — no re-bundle needed. Alternative (no edits): share the file as your-roleplay.bundled.html?erp-proxy=https://<your-worker>.workers.dev. Track detection. Default to Track A if Bash and npx are available; otherwise Track B. If unsure, ask: "Are you on the web (claude.ai) or in a terminal-capable environment?" Optional polish — Cloudflare MCP connected. If a Cloudflare Developer Platform MCP connector is available in the session, after the user reports the deploy is done you may use it to: list their Workers, confirm the new Worker exists, and read its URL so the user doesn't have to copy-paste. Do not use the MCP to *create* or *deploy* Workers (the supported operations don't cover deploying arbitrary source) and do not use it to set the API-key secret — both stay user-driven via the Cloudflare UI. This is verification only. Credential boundary (non-negotiable). Do not enter the user's Cloudflare login or API key on their behalf, even if a connector seems to allow it. Direct them to Cloudflare's own UI — the OAuth deploy button and the dashboard secret form. Reason: credential locality. Every hop a secret takes (chat, agent, script) is a hop where it can leak. Cloudflare's dashboard is the system that will store the secret; that's where the human should type it.

Only suggest --proxy-url <…> if the user *explicitly* asks to point at a different Worker. There is no option to bake an API key into the HTML — keys never ship in source.

d. SCORM / LMS packaging — offer it. Once the role-play feels right and either (Track A) the user's proxy is deployed or (Track B) they've pasted back a Worker URL, ask:

Want a SCORM 1.2 zip you can upload to your LMS (Moodle, Canvas, Cornerstone, TalentLMS, SCORM Cloud, etc.)? It reports completion + a 0–100 score back to the gradebook automatically.

If yes, run:

npx -y edu-role-play scorm <slug>/<slug>.html --proxy-url https://<their-worker>.workers.dev

Output: <slug>/<slug>.scorm.zip. Tell the user to upload that zip to their LMS as a SCORM 1.2 package — no extra config needed; the runtime detects window.API on launch and reports cmi.core.lesson_status + cmi.core.score.* on finish.

Pass --proxy-url only when the user has their own Worker. Without it the SCORM zip points at the shared public proxy, which is rate-limited and not suitable for real learners — warn the user and prefer to deploy the proxy first. Do not offer SCORM before the user has at least tried the bundle in a browser; SCORM packaging is the "ready to ship to learners" step, not part of the iteration loop.

9. On-demand references

Load only when needed:

Privacy note to surface to the user

Transcripts are not stored. The bundled artifact runs entirely in the learner's browser; inference requests are routed through the project's Cloudflare Worker proxy by default (POST /v1/chat), which calls Cloudflare Workers AI via the env.AI binding — no API keys live anywhere. Learners can override this per-browser via the Use my own key ▾ link in the role-play footer — see docs/byo-key.md.

平台分布

Codex

35.32%
按下载量换算28

Claude

31.94%
按下载量换算25

Cursor

18.3%
按下载量换算14

Gemini CLI

8.38%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills