teach
Teach a skill or concept at the user's current level, optionally preserving a lightweight multi-session learning record.
- License 许可
- MIT
- 所属仓库
- stevesolun/ctx
- 最近更新
- 2026-10-15
- Stars
- ★ 593
- Forks
- 69
01 前言 Front Matter
- name
- teach
- description
- Teach a skill or concept at the user's current level, optionally preserving a lightweight multi-session learning record.
02 资源文件 6
- 参考文档agents/openai.yaml139 B
- 参考文档GLOSSARY-FORMAT.md2.1 KB
- 参考文档LEARNING-RECORD-FORMAT.md2.7 KB
- 参考文档MISSION-FORMAT.md1.5 KB
- 参考文档references/teaching-principles.md1.2 KB
- 参考文档RESOURCES-FORMAT.md1.9 KB
03 SKILL.md 正文
Teach adaptively
- Establish the user's practical goal and current understanding. Ask one focused question when either is unclear.
- Choose the smallest lesson that creates a useful step forward. Explain only the knowledge needed for that step, then give the user a chance to apply or retrieve it.
- Use trustworthy references in proportion to the claim and stakes. Separate sourced facts from your teaching choices.
- Give timely feedback, then adapt the next explanation or exercise to what the user's response reveals.
- Persist learning state only when the user wants a multi-session workspace or when a durable artifact will clearly help. Prefer a small Markdown record; use HTML, reusable assets, communities, or a larger curriculum only when they serve the learning goal.
For a multi-session curriculum, read references/teaching-principles.md. Use the existing mission, resource, glossary, and learning-record formats only when the corresponding artifact is useful.
04 同仓库更多 Skills
toolbox
Pre/post dev toolbox — named bundles of skills/agents loaded before development work and councils of experts invoked after. Run /toolbox or the toolbox.py CLI to list, activate, initialize, export, import, and validate toolboxes. Invoke at the start or end of a dev session, when setting up a new repo, or when sharing toolboxes with a team.
skill-router
Alive skill router — reads the current project's stack and loads/unloads skills dynamically. Invoke at session start or when project context changes.
repo-stats-autoupdate
Keeps README badge + inline counts in sync with the real number of skills, agents, graph nodes/edges, communities, converted pipelines, and test inventory. Runs automatically on every commit via a git pre-commit hook. Use when the README drifts from reality or before publishing a release.
find-skills
Discover installable agent skills from ctx's shipped Skills.sh catalog, the Skills.sh search API, and the npx skills CLI. Use when a user asks whether a skill exists, wants to add/update a skill, or needs a repeatable procedure for finding candidate skills safely.
no-mistakes
Validate committed feature-branch changes through the no-mistakes pipeline: intent, rebase, review, test, docs, lint, push, PR, and CI. Use when the user asks to run no-mistakes, ship safely, validate before pushing, or gate a change before it reaches upstream.
zoom-out
Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.