# Teach > Enseña al usuario una nueva habilidad o concepto a lo largo de varias sesiones, usando el directorio actual como un espacio de enseñanza con estado, con lecciones, registros de aprendizaje y materiales de referencia. Fuente: https://skillsagentes.com/skills/trailofbits/skills-curated/teach Markdown: https://skillsagentes.com/skills/trailofbits/skills-curated/teach.md Repositorio: https://github.com/trailofbits/skills-curated Autor: trailofbits Licencia: CC-BY-SA-4.0 Actualizado: hace 4 meses Coste de contexto: 45 tok instalada, 2.6k tok al activarse, 4.7k tok con todos los archivos del bundle Bundle: 5 archivos, 18 KB Permisos que pide: read, write, edit, grep, glob, bash, webfetch, websearch, askuserquestion ## Instalación Un skill son archivos markdown: los mismos archivos valen para cualquier agente y lo único que cambia es el directorio de destino, es decir la bandera `--agent`. Añade `-g` para instalarlo en todos los proyectos de la máquina. ```bash # Claude Code npx -y skills add trailofbits/skills-curated --skill teach --agent claude-code # Cursor npx -y skills add trailofbits/skills-curated --skill teach --agent cursor # Codex npx -y skills add trailofbits/skills-curated --skill teach --agent codex # Gemini CLI npx -y skills add trailofbits/skills-curated --skill teach --agent gemini # Windsurf npx -y skills add trailofbits/skills-curated --skill teach --agent windsurf # Cline npx -y skills add trailofbits/skills-curated --skill teach --agent cline ``` ## Qué hace - Convierte el directorio actual en un espacio de aprendizaje con estado: MISSION.md, RESOURCES.md, lecciones HTML, registros de aprendizaje y documentos de referencia - Genera lecciones HTML autocontenidas, numeradas y con estilo cuidado, basadas en componentes reutilizables de ./assets/ - Busca recursos externos de alta confianza para fundamentar el contenido en lugar de fiarse del conocimiento paramétrico del modelo - Ajusta cada lección a la zona de desarrollo próximo del usuario leyendo sus registros de aprendizaje previos - Recomienda comunidades externas donde el usuario pueda poner a prueba sus habilidades y adquirir sabiduría ## Cuándo usarla - El usuario quiere aprender un tema en profundidad a lo largo de varias sesiones (un lenguaje de programación, una habilidad física, un cuerpo teórico) - Se retoma un espacio de enseñanza existente para continuar donde quedó la sesión anterior ## Cuándo no - El usuario hace una pregunta puntual: simplemente respóndela, el espacio de trabajo y los registros son overhead sin beneficio - El usuario quiere que se le redacte un documento o resumen en lugar de aprender él mismo la materia ## Qué la activa - "Quiero aprender yoga desde cero, enséñame poco a poco en varias sesiones" - "Ayúdame a aprender Rust a fondo, con lecciones y ejercicios" - "Retomemos mi aprendizaje de física teórica donde lo dejamos" - "Quiero dominar el francés con lecciones cortas y repaso espaciado" ## Antes de instalar - runs shell commands - writes to your files - makes network requests ## Archivos - SKILL.md — 10 KB - references/GLOSSARY-FORMAT.md — 2 KB - references/LEARNING-RECORD-FORMAT.md — 3 KB - references/MISSION-FORMAT.md — 2 KB - references/RESOURCES-FORMAT.md — 2 KB ## SKILL.md Reproducido tal cual desde trailofbits/skills-curated bajo CC-BY-SA-4.0. Esta sección es el documento original y está en inglés. # Teach The user has asked you to teach them something. This is a stateful request — they intend to learn the topic over multiple sessions. ## When to Use - The user wants to learn a topic in depth over multiple sessions (a programming language, a physical skill, a body of theory) - Returning to an existing teaching workspace to continue where a previous session left off ## When NOT to Use - The user asks a one-off question — just answer it; a workspace and learning records are overhead with no payoff - The user wants a document or summary written for them rather than to learn the material themselves ## Teaching Workspace Treat the current directory as a teaching workspace. The state of their learning is captured in this directory in several files: - `MISSION.md`: A document capturing the _reason_ the user is interested in the topic. This should be used to ground all teaching. Use the format in [MISSION-FORMAT.md]({baseDir}/references/MISSION-FORMAT.md). - `./reference/*.html`: A directory of reference materials. These are the compressed learnings from the lessons - cheat sheets, reference algorithms, syntax, yoga poses, glossaries. They are the raw units of learning. They should be beautiful documents which print out well, and are designed for quick reference. - `RESOURCES.md`: A list of resources which can be explored to ground your teaching in contextual knowledge, or to acquire knowledge and wisdom. Use the format in [RESOURCES-FORMAT.md]({baseDir}/references/RESOURCES-FORMAT.md). - `./learning-records/*.md`: A directory of learning records, which capture what the user has learned. These are loosely equivalent to architectural decision records in software development - they capture non-obvious lessons and key insights that may need to be revised later, or drive future sessions. These should be used to calculate the zone of proximal development. They are titled `0001-.md`, where the number increments each time. Use the format in [LEARNING-RECORD-FORMAT.md]({baseDir}/references/LEARNING-RECORD-FORMAT.md). - `./lessons/*.html`: A directory of lessons. A **lesson** is a single, self-contained HTML output that teaches one tightly-scoped thing tied to the mission. This is the primary unit of teaching in this workspace. - `./assets/*`: Reusable **components** shared across lessons. See [Assets](#assets). - `NOTES.md`: A scratchpad for you to jot down user preferences, or working notes. ## Philosophy To learn at a deep level, the user needs three things: - **Knowledge**, captured from high-quality, high-trust resources - **Skills**, acquired through highly-relevant interactive lessons devised by you, based on the knowledge - **Wisdom**, which comes from interacting with other learners and practitioners Before the `RESOURCES.md` is well-populated, your focus should be to find high-quality resources which will help the user acquire knowledge. Never trust your parametric knowledge. Some topics may require more skills than knowledge. Learning more about theoretical physics might be more knowledge-based. For yoga, more skills-based. ### Fluency vs Storage Strength You should be careful to split between two types of learning: - **Fluency strength**: in-the-moment retrieval of knowledge - **Storage strength**: long-term retention of knowledge Fluency can give the user an illusory sense of mastery, but storage strength is the real goal. Try to design lessons which build long-term retention by desirable difficulty: - Using retrieval practice (recall from memory) - Spacing (distributing practice over time) - Interleaving (mixing up different but related topics in practice - for skills practice only) ## Lessons A lesson is the main thing you produce — the unit in which knowledge and skills reach the user. Each lesson is one self-contained HTML file, saved to `./lessons/` and titled `0001-.html` where the number increments each time. A lesson should be **beautiful** — clean, readable typography and layout — since the user will return to these later to review. Think Tufte. The lesson should be short, and completable very quickly. Learners' working memory is very small, and we need to stay within it. But each lesson should give the user a single tangible win that they can build on. It should be directly tied to the mission, and should be in the user's zone of proximal development. If possible, open the lesson file for the user by running a CLI command. Each lesson should link via HTML anchors to other lessons and reference documents. Each lesson should recommend a primary source for the user to read or watch. This should be the most high-quality, high-trust resource you found on the topic. Each lesson should contain a reminder to ask followup questions to the agent. The agent is their teacher, and can assist with anything that's unclear. ## Assets Lessons are built from reusable **components**, stored in `./assets/`: stylesheets, quiz widgets, simulators, diagram helpers — anything a second lesson could reuse. Reuse is the default, not the exception. Before authoring a lesson, read `./assets/` and build from the components already there. When a lesson needs something new and reusable, write it as a component in `./assets/` and link to it — never inline code a future lesson would duplicate. A shared stylesheet is the first component every workspace earns: every lesson links it, so the lessons look like one consistent course rather than a pile of one-offs. As the workspace grows, so should the component library. ## The Mission Every lesson should be tied into the mission - the reason that the user is interested in learning about the topic. If the user is unclear about the mission, or the `MISSION.md` is not populated, your first job should be to question the user on why they want to learn this. Failing to understand the mission will mean knowledge acquisition is not grounded in real-world goals. Lessons will feel too abstract. You will have no way of judging what the user should do next. Missions may change as the user develops more skills and knowledge. This is normal - make sure to update the `MISSION.md` and add a learning record to capture the change. Confirm with the user before changing the mission. ## Zone Of Proximal Development Each lesson, the user should always feel as if they are being challenged 'just enough'. The user may specify an exact thing they want to learn. If they don't, figure out their zone of proximal development by: - Reading their `learning-records` - Figuring out the right thing to teach them based on their mission - Teach the most relevant thing that fits in their zone of proximal development ## Knowledge Lessons should be designed around a skill the user is going to learn. The knowledge in the lesson should be only what's required to acquire that skill. You teach the knowledge first, then get the user to practice the skills via an interactive feedback loop. Knowledge should first be gathered from trusted resources. Use `RESOURCES.md` to keep track of them. Lessons should be littered with citations - links to external resources to back up any claim made. This increases the trustworthiness of the lesson. For acquiring knowledge, difficulty is the enemy. It eats working memory you need for understanding. ## Skills If knowledge is all about acquisition, skills are about durability and flexibility. Make the knowledge stick. For skill acquisition, difficulty is the tool. Effortful retrieval is what builds storage strength. Skills should be taught through interactive lessons. There are several tools at your disposal: - Interactive lessons, using quizzes and light in-browser tasks - Lessons which guide the user through a list of real-world steps to take (for instance, yoga poses) Each of these should be based on a **feedback loop**, where the user receives feedback on their performance. This feedback loop should be as tight as possible, giving feedback immediately - and ideally automatically. For quizzes, each answer should be exactly the same number of words (and characters, if possible). Don't give the user any clues about the answer through formatting. ## Acquiring Wisdom Wisdom comes from true real-world interaction - testing your skills outside the learning environment. When the user asks a question that appears to require wisdom, your default posture should be to attempt to answer - but to ultimately delegate to a **community**. A community is a place (online or offline) where the user can test their skills in the real world. This might be a forum, a subreddit, a real-world class (budget permitting) or a local interest group. You should attempt to find high-reputation communities the user can join. If the user expresses a preference that they don't want to join a community, respect it. ## Reference Documents While creating lessons, you should also create reference documents. Lessons can reference these documents - they are useful for tracking raw units of knowledge useful across lessons. Lessons will rarely be revisited later - reference documents will be. They should be the compressed essence of the lesson, in a format designed for quick reference. Some learning topics lend themselves to reference: - Syntax and code snippets for programming - Algorithms and flowcharts for processes - Yoga poses and sequences for yoga - Exercises and routines for fitness - Glossaries for any topic with its own nomenclature Glossaries, in particular, are an essential reference. Once one is created, it should be adhered to in every lesson. Use the format in [GLOSSARY-FORMAT.md]({baseDir}/references/GLOSSARY-FORMAT.md). ## `NOTES.md` The user will sometimes express preferences of how they want to be taught, or things you should keep in mind. This is the place to record those preferences, so you can refer back to them when designing lessons or working with the user. ## Dónde encaja - Categoría: [Aprendizaje](https://skillsagentes.com/categorias/aprendizaje.md) — Explicaciones, tutorías y flujos de estudio estructurado. - Creador: [trailofbits](https://skillsagentes.com/creators/trailofbits.md) — 117 skills en el directorio - [Todas las skills](https://skillsagentes.com/skills.md) - [Ranking de instalaciones](https://skillsagentes.com/ranking.md) ## Otras skills del mismo repositorio - [Grilling](https://skillsagentes.com/skills/trailofbits/skills-curated/grilling.md): Interroga al usuario sin descanso sobre un plan, decisión o idea hasta resolver cada rama del árbol de decisión, o cuando dice "grill me on this". - [Handoff](https://skillsagentes.com/skills/trailofbits/skills-curated/handoff.md): Compacta la conversación actual en un documento de traspaso para que un agente nuevo pueda continuar el trabajo en otra sesión. - [Writing Great Skills](https://skillsagentes.com/skills/trailofbits/skills-curated/writing-great-skills.md): Referencia para escribir y editar bien skills de agentes: el vocabulario y los principios que hacen que un skill sea predecible. Consúltalo al redactar, revisar o podar un SKILL.md. - [Ffuf Web Fuzzing](https://skillsagentes.com/skills/trailofbits/skills-curated/ffuf-web-fuzzing.md): Guía experta para el fuzzing web con ffuf en pentesting autorizado: descubrimiento de directorios y subdominios, fuzzing de parámetros, peticiones autenticadas y análisis de resultados. - [Humanizer](https://skillsagentes.com/skills/trailofbits/skills-curated/humanizer.md): Elimina señales de escritura generada por IA en un texto, para que suene más natural y humano, según la guía de Wikipedia sobre 'Signs of AI writing'. ## Skills relacionadas - [Teach](https://skillsagentes.com/skills/mattpocock/skills/teach.md): Enseña al usuario una habilidad o un concepto nuevo, dentro de este workspace. - [Academy Guide](https://skillsagentes.com/skills/anthropics/skills/academy-guide.md): Antes de terminar cualquier respuesta sobre cómo usar Claude, revisa esta skill para recomendar cursos, tutoriales y casos de uso reales de Claude Academy (academy.claude.com). - [Agent Challenges](https://skillsagentes.com/skills/ruvnet/ruflo/agent-challenges.md): Especialista en desafíos de programación y gamificación. Gestiona la creación de desafíos, la validación de soluciones, las clasificaciones y los sistemas de logros dentro de Flow Nexus. - [Finetuning Method Selection](https://skillsagentes.com/skills/wshobson/agents/finetuning-method-selection.md): Decide si conviene hacer fine-tuning y enruta al método correcto (SFT, DPO/ORPO/KTO, GRPO/RLVR, continued pretraining) y al modelo base adecuado. - [Grpo Rlvr Training](https://skillsagentes.com/skills/wshobson/agents/grpo-rlvr-training.md): Entrena comportamiento de razonamiento y tareas verificables con GRPO y RL a partir de recompensas verificables (RLVR): cuándo aplicar RL, la receta de referencia y el gate de inspección de rewards. --- Skills Agentes · [Índice de páginas en markdown](https://skillsagentes.com/sitemap.md) · [Inicio](https://skillsagentes.com/index.md)