Skip to content

AI-Maker-Space/AIMS---UPSkill-Event

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Makerspace Logo

UPSkill Workshop: Generate Agent Skills with Teacher/Student Models

Welcome to the AI Makerspace workshop on UPSkill - HuggingFace's CLI tool for generating and evaluating reusable agent skills.


What is UPSkill?

UPSkill enables you to create reusable "skills" with powerful teacher models (expensive/slow) that student models (cheap/fast) can use to perform harder tasks reliably. Instead of always relying on expensive frontier models, you can:

  • Generate skills using a teacher model (e.g., Claude Opus, GPT-4)
  • Package instructions into reusable SKILL.md files
  • Evaluate performance across multiple student models
  • Automatically refine skills until they meet quality thresholds

This approach lets you "distill" the reasoning of expensive models into portable, reusable instructions that dramatically improve the performance of cheaper models.


About This Repository

This repository contains materials for learning UPSkill through hands-on examples. You'll generate real skills, evaluate them against multiple models, and understand when and how to use this powerful tool in production.


What You'll Learn

  1. The Teacher/Student Paradigm - How expensive models can teach cheaper ones
  2. Skill Generation - Creating skills from simple task descriptions
  3. Skill Structure - Understanding SKILL.md files and supporting documents
  4. Evaluation & Metrics - Measuring skill lift and success rates
  5. Multi-Model Benchmarking - Comparing performance across providers
  6. Automatic Refinement - Iterating until quality thresholds are met
  7. Python API Integration - Using UPSkill programmatically in your applications

Why This Matters

In production AI systems, you often face a tradeoff:

Approach Cost Latency Quality
Always use frontier models High High High
Always use cheaper models Low Low Variable
UPSkill approach Low Low High

UPSkill lets you invest once in generating high-quality skills, then reuse them infinitely with cheaper models. This is particularly valuable for:

  • Repetitive tasks (commit messages, code review, data extraction)
  • Cost-sensitive applications (high-volume processing)
  • Latency-sensitive applications (real-time systems)
  • Consistent outputs (standardized formats, compliance)

Setup Instructions

1. Clone the Repository

git clone <repository-url>
cd "UPSkill Event"

2. Install Dependencies

uv sync

3. Configure API Keys

Create a .env file with your API keys:

ANTHROPIC_API_KEY=your-anthropic-key-here
OPENAI_API_KEY=your-openai-key-here  # Optional, for multi-model evaluation

4. Launch Jupyter

uv run jupyter notebook

Workshop Structure

Section Topic Description
1 Introduction Understanding UPSkill and the teacher/student paradigm
2 Setup API configuration and installation verification
3 First Skill Generate a skill for writing git commit messages
4 Evaluation Run evaluations and understand metrics
5 Complex Skills Generate skills from detailed task descriptions
6 Refinement Automatic skill improvement based on failures
9 Conclusion Key takeaways and resources

Key Takeaways

After completing this workshop, you will be able to:

  • Generate reusable skills using UPSkill CLI and Python API
  • Evaluate skill effectiveness across multiple models
  • Understand when UPSkill is the right solution for your use case
  • Integrate skill-enhanced prompting into production applications
  • Create custom skills with supporting documentation

Resources


Files in This Repository

File Description
01_UPSkill_Tutorial.ipynb Main workshop notebook
pyproject.toml Python project configuration
.env API keys (create this yourself)
README.md This file

Built with care by AI Makerspace

About

A companion repository to the UPskill event.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors