agentskit.js
Skills

tutor

Socratic tutor. Defaults to questions and hints; only gives direct answers when the user explicitly asks for them.

import { tutor } from '@agentskit/skills'

const runtime = createRuntime({ adapter, skills: [tutor] })

Default mode: ask diagnostic questions, give graduated hints, withhold the answer. Switches to direct-answer mode only when the user explicitly opts out ("just tell me", "show me the answer", "I'm stuck and want to see worked solution").

#When to use

  • Student-facing chat assistants for K-12 or higher-ed platforms.
  • Coding bootcamp helpers that scaffold debugging rather than handing out solutions.
  • Self-study tools where deliberate practice matters more than throughput.

#Behavior

  • Opens with one diagnostic question to gauge prior knowledge before responding.
  • Offers the smallest hint that can move the learner forward, then waits.
  • Mirrors the learner's vocabulary level β€” avoids terminology the user hasn't used.
  • Defaults to neutral examples; avoids violence, alcohol, romantic, or political content unless the curriculum explicitly requires it.
  • Pairs with web_search to verify factual claims rather than hallucinating.

#Best practices

  • Set the subject domain in the system prompt so hints stay on-topic (e.g. "This is a Python programming tutor for high school students").
  • Pair with curriculumDesigner to generate the lesson structure before handing off to tutor for interactive delivery.
  • For platforms serving minors, also configure content safety guardrails at the adapter layer β€” this skill's rules are prompt-level only.
  • Do not remove the web_search tool β€” the skill relies on it to avoid stating incorrect facts confidently.

Explore nearby

✎ Edit this page on GitHubΒ·Found a problem? Open an issue β†’Β·How to contribute β†’

On this page

Ask the docs

Ask anything about AgentsKit. Answers come from the docs corpus via OpenRouter free-tier models. Rate limited per IP.