Buckets:

download
raw
11.8 kB
import{s as ue,n as he,o as ge}from"../chunks/scheduler.4048030c.js";import{S as $e,i as ke,e as m,s as n,c as l,h as ye,a as u,d as i,b as a,f as fe,j as o,g as le,k as me,l as xe,m as s,n as r,t as d,o as c,p}from"../chunks/index.5d0b9360.js";import{C as we,H as W,E as ve}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.8dfdfd7d.js";import{Q as H}from"../chunks/Question.e487118a.js";function be(oe){let f,O,N,M,h,E,g,I,$,re="Test your understanding of skills and the Agent Skills Specification. Answer the following questions to check your knowledge before moving forward.",j,k,R,y,U,x,G,w,K,v,F,b,Y,C,B,S,D,q,J,A,V,X,Z,T,ee,_,de="Count your correct answers:",te,P,ce="<li><strong>5/5</strong>: Excellent! You have a solid understanding of skills and the specification. Move on to the next lesson.</li> <li><strong>4/5</strong>: Good understanding. Review the questions you missed and reread those sections.</li> <li><strong>3/5 or less</strong>: Consider reviewing the “What Are Skills” and “Skill Format” lessons before continuing.</li>",ie,Q,pe="Ready to learn how to use skills with different agents? Let’s move on to the next lesson.",se,L,ne,z,ae;return h=new we({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),g=new W({props:{title:"Quiz 1: Understanding Skills and the Specification",local:"quiz-1-understanding-skills-and-the-specification",headingTag:"h1"}}),k=new W({props:{title:"Question 1: What is a skill?",local:"question-1-what-is-a-skill",headingTag:"h2"}}),y=new H({props:{choices:[{text:"A skill is a reusable package of knowledge (instructions, scripts, and references) that makes agents expert at a specific task",explain:"Correct! Skills are portable, structured packages that include instructions, helper scripts, documentation, and metadata—all designed to make agents reliable at completing specific tasks.",correct:!0},{text:"A skill is a long prompt you paste into every conversation",explain:"Not quite. While skills contain similar information to detailed prompts, they're structured and reusable. The key difference is that skills work across projects and teams automatically.",correct:!1},{text:"A skill is a feature only available in Claude Code",explain:"No, skills are supported by many agents including Claude Code, Codex, OpenCode, and others. The Agent Skills Specification is an open standard.",correct:!1},{text:"A skill is a Python package you install with pip",explain:"No, skills are not Python packages. However, skills can contain Python scripts in their scripts/ directory, and they can live in normal project or team directories.",correct:!1}]}}),x=new W({props:{title:"Question 2: What does the Agent Skills Specification define?",local:"question-2-what-does-the-agent-skills-specification-define",headingTag:"h2"}}),w=new H({props:{choices:[{text:"A standard format for packaging agent knowledge, including directory structure, metadata fields, and how agents discover and load skills",explain:"Correct! The Agent Skills Specification (at agentskills.io) defines the portable format that allows skills to work across different agents and platforms.",correct:!0},{text:"The best practices for writing Python code in helper scripts",explain:"Not quite. While the spec does cover script storage, it doesn't define Python best practices. The spec focuses on the overall skill structure and metadata format.",correct:!1},{text:"Requirements for one hosting or distribution platform only",explain:"No, the Agent Skills Specification is agent-agnostic and applies across all platforms (Claude Code, Codex, OpenCode, etc.). It is not tied to one distribution method.",correct:!1},{text:"Guidelines for writing instruction text in skills",explain:"The spec covers some guidance, but it's primarily about the overall structure (directories, metadata, file names) rather than the instruction content itself.",correct:!1}]}}),v=new W({props:{title:"Question 3: What are the required frontmatter fields in a SKILL.md file?",local:"question-3-what-are-the-required-frontmatter-fields-in-a-skillmd-file",headingTag:"h2"}}),b=new H({props:{choices:[{text:"name and description",explain:"Correct! The Agent Skills Specification requires two fields: 'name' (the identifier for the skill) and 'description' (what the skill does and when to use it). Other fields like license, compatibility, and metadata are optional.",correct:!0},{text:"name, description, version, and author",explain:"While version and author are useful metadata, they're optional. Only 'name' and 'description' are required by the specification.",correct:!1},{text:"Any metadata the creator wants to include",explain:"Not quite. The spec defines specific required fields (name and description) to ensure compatibility and discoverability. Without these, agents can't properly identify and load the skill.",correct:!1},{text:"There is no required frontmatter—skills can be just Markdown files",explain:"No, frontmatter is essential. It provides metadata that agents use to discover and load skills automatically. Without it, skills won't be recognized by compliant agents.",correct:!1}]}}),C=new W({props:{title:"Question 4: How do agents discover and load skills?",local:"question-4-how-do-agents-discover-and-load-skills",headingTag:"h2"}}),S=new H({props:{choices:[{text:"Agents read skill metadata to decide if the skill applies, then load the full SKILL.md only when needed—this is called 'progressive disclosure'",explain:"Correct! The discovery process is progressive: agents first check metadata (~100 tokens), then load full skill content only when the task matches. This keeps agent startup fast.",correct:!0},{text:"Agents automatically load all available skills into context at startup",explain:"No, that would be inefficient. Agents use progressive disclosure: they load only skill metadata initially, then activate full skills when the task matches.",correct:!1},{text:"Users must manually activate skills by typing a command like '/skill dataset-publishing'",explain:"While some agents support manual activation, the primary design is automatic discovery. Agents analyze the user's request and load relevant skills on their own.",correct:!1},{text:"Skills are only available if installed via npm or pip",explain:"No, skills can be discovered from multiple sources: local directories, shared repositories, community registries, or custom paths. The Agent Skills Specification supports many discovery mechanisms.",correct:!1}]}}),q=new W({props:{title:"Question 5: How many agents support the Agent Skills Specification?",local:"question-5-how-many-agents-support-the-agent-skills-specification",headingTag:"h2"}}),A=new H({props:{choices:[{text:"Many agents, including Claude Code, Codex, OpenCode, and others",explain:"Correct! The Agent Skills Specification is an open standard adopted by many agents. This means a single skill works across multiple platforms.",correct:!0},{text:"Only Claude Code and Codex",explain:"No, while Claude Code and Codex are major supporters, the spec is adopted by many agents including OpenCode and other commercial tools.",correct:!1},{text:"Only agents developed by Anthropic",explain:"No, the spec is open and platform-agnostic. It was originally created by Anthropic but is now maintained as an open standard and adopted by many organizations.",correct:!1},{text:"Only agents from a single vendor or registry",explain:"No, skills can be used with agents available anywhere. Agents can load skills from local directories, team repositories, or other registries as long as they support the spec.",correct:!1}]}}),T=new W({props:{title:"Scoring",local:"scoring",headingTag:"h2"}}),L=new ve({props:{source:"https://github.com/huggingface/context-course/blob/main/units/en/unit1/quiz1.mdx"}}),{c(){f=m("meta"),O=n(),N=m("p"),M=n(),l(h.$$.fragment),E=n(),l(g.$$.fragment),I=n(),$=m("p"),$.textContent=re,j=n(),l(k.$$.fragment),R=n(),l(y.$$.fragment),U=n(),l(x.$$.fragment),G=n(),l(w.$$.fragment),K=n(),l(v.$$.fragment),F=n(),l(b.$$.fragment),Y=n(),l(C.$$.fragment),B=n(),l(S.$$.fragment),D=n(),l(q.$$.fragment),J=n(),l(A.$$.fragment),V=n(),X=m("hr"),Z=n(),l(T.$$.fragment),ee=n(),_=m("p"),_.textContent=de,te=n(),P=m("ul"),P.innerHTML=ce,ie=n(),Q=m("p"),Q.textContent=pe,se=n(),l(L.$$.fragment),ne=n(),z=m("p"),this.h()},l(e){const t=ye("svelte-u9bgzb",document.head);f=u(t,"META",{name:!0,content:!0}),t.forEach(i),O=a(e),N=u(e,"P",{}),fe(N).forEach(i),M=a(e),o(h.$$.fragment,e),E=a(e),o(g.$$.fragment,e),I=a(e),$=u(e,"P",{"data-svelte-h":!0}),le($)!=="svelte-tuqfgx"&&($.textContent=re),j=a(e),o(k.$$.fragment,e),R=a(e),o(y.$$.fragment,e),U=a(e),o(x.$$.fragment,e),G=a(e),o(w.$$.fragment,e),K=a(e),o(v.$$.fragment,e),F=a(e),o(b.$$.fragment,e),Y=a(e),o(C.$$.fragment,e),B=a(e),o(S.$$.fragment,e),D=a(e),o(q.$$.fragment,e),J=a(e),o(A.$$.fragment,e),V=a(e),X=u(e,"HR",{}),Z=a(e),o(T.$$.fragment,e),ee=a(e),_=u(e,"P",{"data-svelte-h":!0}),le(_)!=="svelte-1f1pbmf"&&(_.textContent=de),te=a(e),P=u(e,"UL",{"data-svelte-h":!0}),le(P)!=="svelte-17c1gh6"&&(P.innerHTML=ce),ie=a(e),Q=u(e,"P",{"data-svelte-h":!0}),le(Q)!=="svelte-duy0yo"&&(Q.textContent=pe),se=a(e),o(L.$$.fragment,e),ne=a(e),z=u(e,"P",{}),fe(z).forEach(i),this.h()},h(){me(f,"name","hf:doc:metadata"),me(f,"content",Ce)},m(e,t){xe(document.head,f),s(e,O,t),s(e,N,t),s(e,M,t),r(h,e,t),s(e,E,t),r(g,e,t),s(e,I,t),s(e,$,t),s(e,j,t),r(k,e,t),s(e,R,t),r(y,e,t),s(e,U,t),r(x,e,t),s(e,G,t),r(w,e,t),s(e,K,t),r(v,e,t),s(e,F,t),r(b,e,t),s(e,Y,t),r(C,e,t),s(e,B,t),r(S,e,t),s(e,D,t),r(q,e,t),s(e,J,t),r(A,e,t),s(e,V,t),s(e,X,t),s(e,Z,t),r(T,e,t),s(e,ee,t),s(e,_,t),s(e,te,t),s(e,P,t),s(e,ie,t),s(e,Q,t),s(e,se,t),r(L,e,t),s(e,ne,t),s(e,z,t),ae=!0},p:he,i(e){ae||(d(h.$$.fragment,e),d(g.$$.fragment,e),d(k.$$.fragment,e),d(y.$$.fragment,e),d(x.$$.fragment,e),d(w.$$.fragment,e),d(v.$$.fragment,e),d(b.$$.fragment,e),d(C.$$.fragment,e),d(S.$$.fragment,e),d(q.$$.fragment,e),d(A.$$.fragment,e),d(T.$$.fragment,e),d(L.$$.fragment,e),ae=!0)},o(e){c(h.$$.fragment,e),c(g.$$.fragment,e),c(k.$$.fragment,e),c(y.$$.fragment,e),c(x.$$.fragment,e),c(w.$$.fragment,e),c(v.$$.fragment,e),c(b.$$.fragment,e),c(C.$$.fragment,e),c(S.$$.fragment,e),c(q.$$.fragment,e),c(A.$$.fragment,e),c(T.$$.fragment,e),c(L.$$.fragment,e),ae=!1},d(e){e&&(i(O),i(N),i(M),i(E),i(I),i($),i(j),i(R),i(U),i(G),i(K),i(F),i(Y),i(B),i(D),i(J),i(V),i(X),i(Z),i(ee),i(_),i(te),i(P),i(ie),i(Q),i(se),i(ne),i(z)),i(f),p(h,e),p(g,e),p(k,e),p(y,e),p(x,e),p(w,e),p(v,e),p(b,e),p(C,e),p(S,e),p(q,e),p(A,e),p(T,e),p(L,e)}}}const Ce='{"title":"Quiz 1: Understanding Skills and the Specification","local":"quiz-1-understanding-skills-and-the-specification","sections":[{"title":"Question 1: What is a skill?","local":"question-1-what-is-a-skill","sections":[],"depth":2},{"title":"Question 2: What does the Agent Skills Specification define?","local":"question-2-what-does-the-agent-skills-specification-define","sections":[],"depth":2},{"title":"Question 3: What are the required frontmatter fields in a SKILL.md file?","local":"question-3-what-are-the-required-frontmatter-fields-in-a-skillmd-file","sections":[],"depth":2},{"title":"Question 4: How do agents discover and load skills?","local":"question-4-how-do-agents-discover-and-load-skills","sections":[],"depth":2},{"title":"Question 5: How many agents support the Agent Skills Specification?","local":"question-5-how-many-agents-support-the-agent-skills-specification","sections":[],"depth":2},{"title":"Scoring","local":"scoring","sections":[],"depth":2}],"depth":1}';function Se(oe){return ge(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Pe extends $e{constructor(f){super(),ke(this,f,Se,be,ue,{})}}export{Pe as component};

Xet Storage Details

Size:
11.8 kB
·
Xet hash:
022288ed0cb350b7dee4cad89e2681eaf580ed2166f69fca601a4b0ed9985828

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.