Buckets:

HuggingFaceDocBuilder's picture
download
raw
20.1 kB
import{s as il,n as nl,o as sl}from"../chunks/scheduler.b8c17244.js";import{S as al,i as ol,e as a,s as n,c as r,h as pl,a as o,d as l,b as s,f as el,g as m,j as p,k as ll,l as rl,m as i,n as u,t as d,o as h,p as c}from"../chunks/index.d374165a.js";import{C as ml,H as M,E as ul}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.200f62db.js";import{C as ft}from"../chunks/CodeBlock.1a49eeaf.js";function dl(Te){let f,gt,Mt,Tt,w,bt,g,yt,T,be="This lesson looks at skills in more depth: what they are, what problems they solve, and how they compare to prompts.",$t,b,xt,y,ye="Imagine you’re working on the Hugging Face Hub and ask your code agent:",vt,$,$e="<p>“Train a model on this dataset and publish it when done.”</p>",kt,x,xe="Without proper context, your agent might:",Ct,v,ve="<strong>Failure 1: Authentication Issues</strong>",Ut,k,Jt,C,ke="The agent knows authentication is needed but not how to set it up in <em>your</em> specific environment.",jt,U,Ce="<strong>Failure 2: Incorrect Configuration</strong>",Lt,J,Bt,j,Ue="The agent doesn’t know your dataset format or how to convert it.",It,L,Je="<strong>Failure 3: Missing Best Practices</strong>",Ht,B,St,I,je="The model is uploaded, but missing:",Wt,H,Le="<li>README documentation</li> <li>Model card with training details</li> <li>License information</li> <li>Example usage code</li>",Ft,S,Be="These failures happen because the agent lacks <strong>domain knowledge</strong>. It knows how to write code, but not the specifics of your workflow, tools, or best practices.",Gt,W,Et,F,Ie="A <strong>skill</strong> packages domain-specific knowledge in a structured, reusable format that agents can automatically discover and use.",Zt,G,He="A skill can include:",_t,E,Se="<li>Metadata that helps agents decide when to use it</li> <li>Step-by-step instructions for completing a task</li> <li>Helper scripts that automate common operations</li> <li>Links to documentation and example code</li> <li>Troubleshooting guides for common problems</li>",Pt,Z,We="For example, with a dataset publishing skill, the same agent would:",Nt,_,Fe="<li>Automatically discover the skill when you mention publishing</li> <li>Load authentication instructions and validation scripts</li> <li>Reference best practices without being prompted</li> <li>Execute the task reliably and completely</li>",Rt,P,Vt,N,At,R,Ge="You might try to solve this with a detailed prompt:",Yt,V,zt,A,Ee="<strong>Problems with prompt-based context:</strong>",Qt,Y,Ze="<li>Not reusable: You paste this into every conversation</li> <li>Not shareable: Team members must copy-paste independently</li> <li>Not maintainable: Update once, update everywhere</li> <li>Not discoverable: How do other teams find this knowledge?</li> <li>Not composable: Hard to combine multiple domains</li> <li>Not versioned: No way to track changes or roll back</li>",Xt,z,Kt,Q,_e="A <strong>skill</strong> packages the same knowledge in a structured and reusable format. It follows a consistent directory structure and contains a single SKILL.md file with metadata and instructions.",qt,X,Pe="In short, the structure is:",Dt,K,Ne="<li><strong>File structure</strong>: skill-name/ directory with SKILL.md, scripts/, references/</li> <li><strong>Metadata format</strong>: YAML frontmatter with name, description, triggers, etc.</li> <li><strong>Discovery protocol</strong>: How agents find and load skills automatically</li> <li><strong>Compatibility guarantees</strong>: What agents need to implement to support skills</li>",Ot,q,Re="Think of it like a package.json for skills. It ensures compatibility and enables tooling.",te,D,Ve="The directory structure is:",ee,O,le,tt,Ae="The SKILL.md file contains the metadata like name, description, and version, and the instructions:",ie,et,ne,lt,Ye="<strong>Benefits of skill-based context:</strong>",se,it,ze="<li>Reusable across projects and teams</li> <li>Shareable through local repos, team registries, and version control</li> <li>Maintainable in one place with version control</li> <li>Composable with other skills</li> <li>Automatically loaded by compliant agents</li> <li>Follows an open standard (Agent Skills Spec)</li>",ae,nt,oe,st,Qe="Here’s how the skill loading process works in practice:",pe,at,Xe='<img src="https://huggingface.co/datasets/mcp-course/images/resolve/main/unit1/skill-loading-process.svg" alt="Skill loading process from user request through discovery, activation, execution, and feedback"/>',re,ot,Ke="This happens automatically and transparently—users don’t need to manually activate skills. Agents discover and load them based on task context.",me,pt,ue,rt,qe="Here are skills commonly shared in the Hugging Face skills repository:",de,mt,De='<thead><tr><th>Skill</th> <th>Description</th></tr></thead> <tbody><tr><td><a href="https://github.com/huggingface/skills/tree/main/skills/huggingface-papers" rel="nofollow">Scientific Paper Review</a></td> <td>Discovers scientific papers</td></tr> <tr><td><a href="https://github.com/huggingface/skills/tree/main/skills/huggingface-llm-trainer" rel="nofollow">model-training</a></td> <td>Train models using TRL and popular frameworks</td></tr> <tr><td><a href="https://github.com/huggingface/skills/tree/main/skills/huggingface-gradio" rel="nofollow">gradio-ui-builder</a></td> <td>Build interactive web interfaces for models</td></tr></tbody>',he,ut,Oe="Each skill encodes domain expertise that would take hours to learn from documentation, and makes agents immediately expert in that domain.",ce,dt,fe,ht,tl="Next, we look at the SKILL.md format itself.",Me,ct,we,wt,ge;return w=new ml({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),g=new M({props:{title:"What Are Agent Skills?",local:"what-are-agent-skills",headingTag:"h1"}}),b=new M({props:{title:"The Problem: Agents Without Context",local:"the-problem-agents-without-context",headingTag:"h2"}}),k=new ft({props:{code:"RXJyb3IlM0ElMjBVbmFibGUlMjB0byUyMGF1dGhlbnRpY2F0ZSUyMHdpdGglMjBIdWdnaW5nJTIwRmFjZSUyMEh1YiUwQUhpbnQlM0ElMjBTZXQlMjB5b3VyJTIwSEZfVE9LRU4lMjBlbnZpcm9ubWVudCUyMHZhcmlhYmxl",highlighted:`<span class="hljs-keyword">Error: </span>Unable to authenticate with Hugging Face Hub
Hint: Set your HF_TOKEN environment variable`,wrap:!1}}),J=new ft({props:{code:"VmFsdWVFcnJvciUzQSUyMERhdGFzZXQlMjBmb3JtYXQlMjBub3QlMjByZWNvZ25pemVkJTBBRXhwZWN0ZWQlM0ElMjBwYXJxdWV0JTJDJTIwY3N2JTJDJTIwb3IlMjBhcnJvdyUwQUdvdCUzQSUyMC5ucHklMjBmaWxlcw==",highlighted:`<span class="hljs-symbol">ValueError:</span> Dataset format not recognized
<span class="hljs-symbol">Expected:</span> parquet, csv, <span class="hljs-keyword">or</span> arrow
<span class="hljs-symbol">Got:</span> .npy files`,wrap:!1}}),B=new ft({props:{code:"TW9kZWwlMjB1cGxvYWRlZCUyMHN1Y2Nlc3NmdWxseSE=",highlighted:"Model uploaded successfully!",wrap:!1}}),W=new M({props:{title:"Skills: The Solution",local:"skills-the-solution",headingTag:"h2"}}),P=new M({props:{title:"From Prompts to Portable Knowledge",local:"from-prompts-to-portable-knowledge",headingTag:"h2"}}),N=new M({props:{title:"The Traditional Approach: Prompt-Based Context",local:"the-traditional-approach-prompt-based-context",headingTag:"h3"}}),V=new ft({props:{code:"WW91JTIwYXJlJTIwYSUyMEh1Z2dpbmclMjBGYWNlJTIwZXhwZXJ0LiUyMFdoZW4lMjBwdWJsaXNoaW5nJTIwbW9kZWxzJTNBJTBBMS4lMjBGaXJzdCUyMGF1dGhlbnRpY2F0ZSUyMHdpdGglMjBIRl9UT0tFTiUyMGVudmlyb25tZW50JTIwdmFyaWFibGUlMEEyLiUyMFZhbGlkYXRlJTIwdGhhdCUyMHRoZSUyMGRhdGFzZXQlMjBpcyUyMGluJTIwQ1NWJTIwZm9ybWF0JTIwd2l0aCUyMGNvbHVtbnMlM0ElMjAlMEElMjAlMjAlMjAtJTIwdGV4dCUyMChzdHJpbmcpJTBBJTIwJTIwJTIwLSUyMGxhYmVsJTIwKGNhdGVnb3JpY2FsKSUwQSUyMCUyMCUyMC0lMjBzcGxpdCUyMCh0cmFpbiUyRnZhbCUyRnRlc3QpJTBBMy4lMjBUcmFpbiUyMHVzaW5nJTIwdGhlc2UlMjBoeXBlcnBhcmFtZXRlcnMlM0ElMEElMjAlMjAlMjAtJTIwbGVhcm5pbmdfcmF0ZSUzQSUyMDJlLTUlMEElMjAlMjAlMjAtJTIwYmF0Y2hfc2l6ZSUzQSUyMDMyJTBBJTIwJTIwJTIwLSUyMGVwb2NocyUzQSUyMDMlMEE0LiUyMEFmdGVyJTIwdHJhaW5pbmclMkMlMjBjcmVhdGUlMjBtb2RlbCUyMGNhcmQlMjB3aXRoJTNBJTBBJTIwJTIwJTIwLSUyMFRyYWluaW5nJTIwZGF0YSUyMGRlc2NyaXB0aW9uJTBBJTIwJTIwJTIwLSUyME1vZGVsJTIwcGVyZm9ybWFuY2UlMjBtZXRyaWNzJTBBJTIwJTIwJTIwLSUyMEV4YW1wbGUlMjB1c2FnZSUwQSUyMCUyMCUyMC0lMjBMaWNlbnNlJTIwKENDLUJZLTQuMCklMEE1LiUyMFB1c2glMjB0byUyMGh1YiUyMHdpdGglMjBjb3JyZWN0JTIwb3JnYW5pemF0aW9uLi4uJTBBJTBBJTVCVGhpcyUyMGNvbnRpbnVlcyUyMGZvciUyMGh1bmRyZWRzJTIwb2YlMjBsaW5lcyU1RA==",highlighted:`You are a Hugging Face expert. When publishing <span class="hljs-keyword">models</span>:
<span class="hljs-number">1.</span> First authenticate with HF_TOKEN environment <span class="hljs-keyword">variable</span>
2. Validate <span class="hljs-comment">that the dataset is in CSV format with columns:</span>
- text <span class="hljs-comment">(string)</span>
- label <span class="hljs-comment">(categorical)</span>
- split <span class="hljs-comment">(train</span>/val/<span class="hljs-comment">test)</span>
3. Train <span class="hljs-comment">using these hyperparameters:</span>
- learning_rate: 2e-5
- batch_size: 32
- epochs: 3
4. After <span class="hljs-comment">training, create model card with:</span>
- Training <span class="hljs-comment">data description</span>
- Model <span class="hljs-comment">performance metrics</span>
- Example <span class="hljs-comment">usage</span>
- License <span class="hljs-comment">(CC-BY-4.0)</span>
5. Push <span class="hljs-comment">to hub with correct organization...</span>
[This <span class="hljs-comment">continues for hundreds of lines]</span>`,wrap:!1}}),z=new M({props:{title:"The Skill-Based Approach: Structured, Portable Knowledge",local:"the-skill-based-approach-structured-portable-knowledge",headingTag:"h3"}}),O=new ft({props:{code:"c2tpbGwtbmFtZSUyRiUwQSVFMiU5NCU5QyVFMiU5NCU4MCVFMiU5NCU4MCUyMFNLSUxMLm1kJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIzJTIwUmVxdWlyZWQlM0ElMjBtZXRhZGF0YSUyMCUyQiUyMGluc3RydWN0aW9ucw==",highlighted:`skill-name/
├── SKILL.md <span class="hljs-meta"># Required: metadata + instructions</span>`,wrap:!1}}),et=new ft({props:{code:"LS0tJTBBbmFtZSUzQSUyMCUyMmh1Z2dpbmdmYWNlLW1vZGVsLXB1Ymxpc2hpbmclMjIlMEFkZXNjcmlwdGlvbiUzQSUyMCUyMlB1Ymxpc2glMjBtb2RlbHMlMjB0byUyMEh1Z2dpbmclMjBGYWNlJTIwSHViLiUyMFVzZSUyMHdoZW4lMjB1cGxvYWRpbmclMjBtb2RlbHMlMkMlMjBjcmVhdGluZyUyMG1vZGVsJTIwY2FyZHMlMkMlMjBvciUyMG1hbmFnaW5nJTIwbW9kZWwlMjB2ZXJzaW9ucy4lMjIlMEEtLS0lMEElMjMlMjBIdWdnaW5nJTIwRmFjZSUyME1vZGVsJTIwUHVibGlzaGluZyUyMFNraWxsJTBBJTBBLi4u",highlighted:`---
name: &quot;huggingface-model-publishing&quot;
<span class="hljs-section">description: &quot;Publish models to Hugging Face Hub. Use when uploading models, creating model cards, or managing model versions.&quot;
---</span>
<span class="hljs-section"># Hugging Face Model Publishing Skill</span>
...`,wrap:!1}}),nt=new M({props:{title:"Progressive Disclosure: How Agents Load Skills",local:"progressive-disclosure-how-agents-load-skills",headingTag:"h2"}}),pt=new M({props:{title:"Real-World Examples of Skills",local:"real-world-examples-of-skills",headingTag:"h2"}}),dt=new M({props:{title:"Next Steps",local:"next-steps",headingTag:"h2"}}),ct=new ul({props:{source:"https://github.com/huggingface/context-course/blob/main/units/en/unit1/what-are-skills.mdx"}}),{c(){f=a("meta"),gt=n(),Mt=a("p"),Tt=n(),r(w.$$.fragment),bt=n(),r(g.$$.fragment),yt=n(),T=a("p"),T.textContent=be,$t=n(),r(b.$$.fragment),xt=n(),y=a("p"),y.textContent=ye,vt=n(),$=a("blockquote"),$.innerHTML=$e,kt=n(),x=a("p"),x.textContent=xe,Ct=n(),v=a("p"),v.innerHTML=ve,Ut=n(),r(k.$$.fragment),Jt=n(),C=a("p"),C.innerHTML=ke,jt=n(),U=a("p"),U.innerHTML=Ce,Lt=n(),r(J.$$.fragment),Bt=n(),j=a("p"),j.textContent=Ue,It=n(),L=a("p"),L.innerHTML=Je,Ht=n(),r(B.$$.fragment),St=n(),I=a("p"),I.textContent=je,Wt=n(),H=a("ul"),H.innerHTML=Le,Ft=n(),S=a("p"),S.innerHTML=Be,Gt=n(),r(W.$$.fragment),Et=n(),F=a("p"),F.innerHTML=Ie,Zt=n(),G=a("p"),G.textContent=He,_t=n(),E=a("ul"),E.innerHTML=Se,Pt=n(),Z=a("p"),Z.textContent=We,Nt=n(),_=a("ol"),_.innerHTML=Fe,Rt=n(),r(P.$$.fragment),Vt=n(),r(N.$$.fragment),At=n(),R=a("p"),R.textContent=Ge,Yt=n(),r(V.$$.fragment),zt=n(),A=a("p"),A.innerHTML=Ee,Qt=n(),Y=a("ul"),Y.innerHTML=Ze,Xt=n(),r(z.$$.fragment),Kt=n(),Q=a("p"),Q.innerHTML=_e,qt=n(),X=a("p"),X.textContent=Pe,Dt=n(),K=a("ol"),K.innerHTML=Ne,Ot=n(),q=a("p"),q.textContent=Re,te=n(),D=a("p"),D.textContent=Ve,ee=n(),r(O.$$.fragment),le=n(),tt=a("p"),tt.textContent=Ae,ie=n(),r(et.$$.fragment),ne=n(),lt=a("p"),lt.innerHTML=Ye,se=n(),it=a("ul"),it.innerHTML=ze,ae=n(),r(nt.$$.fragment),oe=n(),st=a("p"),st.textContent=Qe,pe=n(),at=a("p"),at.innerHTML=Xe,re=n(),ot=a("p"),ot.textContent=Ke,me=n(),r(pt.$$.fragment),ue=n(),rt=a("p"),rt.textContent=qe,de=n(),mt=a("table"),mt.innerHTML=De,he=n(),ut=a("p"),ut.textContent=Oe,ce=n(),r(dt.$$.fragment),fe=n(),ht=a("p"),ht.textContent=tl,Me=n(),r(ct.$$.fragment),we=n(),wt=a("p"),this.h()},l(t){const e=pl("svelte-u9bgzb",document.head);f=o(e,"META",{name:!0,content:!0}),e.forEach(l),gt=s(t),Mt=o(t,"P",{}),el(Mt).forEach(l),Tt=s(t),m(w.$$.fragment,t),bt=s(t),m(g.$$.fragment,t),yt=s(t),T=o(t,"P",{"data-svelte-h":!0}),p(T)!=="svelte-4vb76h"&&(T.textContent=be),$t=s(t),m(b.$$.fragment,t),xt=s(t),y=o(t,"P",{"data-svelte-h":!0}),p(y)!=="svelte-4gxal2"&&(y.textContent=ye),vt=s(t),$=o(t,"BLOCKQUOTE",{"data-svelte-h":!0}),p($)!=="svelte-4gfgra"&&($.innerHTML=$e),kt=s(t),x=o(t,"P",{"data-svelte-h":!0}),p(x)!=="svelte-cf991m"&&(x.textContent=xe),Ct=s(t),v=o(t,"P",{"data-svelte-h":!0}),p(v)!=="svelte-12snmia"&&(v.innerHTML=ve),Ut=s(t),m(k.$$.fragment,t),Jt=s(t),C=o(t,"P",{"data-svelte-h":!0}),p(C)!=="svelte-yalssa"&&(C.innerHTML=ke),jt=s(t),U=o(t,"P",{"data-svelte-h":!0}),p(U)!=="svelte-wdq5bo"&&(U.innerHTML=Ce),Lt=s(t),m(J.$$.fragment,t),Bt=s(t),j=o(t,"P",{"data-svelte-h":!0}),p(j)!=="svelte-6143rf"&&(j.textContent=Ue),It=s(t),L=o(t,"P",{"data-svelte-h":!0}),p(L)!=="svelte-xz314g"&&(L.innerHTML=Je),Ht=s(t),m(B.$$.fragment,t),St=s(t),I=o(t,"P",{"data-svelte-h":!0}),p(I)!=="svelte-uiu07p"&&(I.textContent=je),Wt=s(t),H=o(t,"UL",{"data-svelte-h":!0}),p(H)!=="svelte-5cbt4k"&&(H.innerHTML=Le),Ft=s(t),S=o(t,"P",{"data-svelte-h":!0}),p(S)!=="svelte-bk67hc"&&(S.innerHTML=Be),Gt=s(t),m(W.$$.fragment,t),Et=s(t),F=o(t,"P",{"data-svelte-h":!0}),p(F)!=="svelte-ygq3cb"&&(F.innerHTML=Ie),Zt=s(t),G=o(t,"P",{"data-svelte-h":!0}),p(G)!=="svelte-1ld5h7a"&&(G.textContent=He),_t=s(t),E=o(t,"UL",{"data-svelte-h":!0}),p(E)!=="svelte-17vyba2"&&(E.innerHTML=Se),Pt=s(t),Z=o(t,"P",{"data-svelte-h":!0}),p(Z)!=="svelte-k4pold"&&(Z.textContent=We),Nt=s(t),_=o(t,"OL",{"data-svelte-h":!0}),p(_)!=="svelte-koi83c"&&(_.innerHTML=Fe),Rt=s(t),m(P.$$.fragment,t),Vt=s(t),m(N.$$.fragment,t),At=s(t),R=o(t,"P",{"data-svelte-h":!0}),p(R)!=="svelte-11gk3he"&&(R.textContent=Ge),Yt=s(t),m(V.$$.fragment,t),zt=s(t),A=o(t,"P",{"data-svelte-h":!0}),p(A)!=="svelte-173c4m"&&(A.innerHTML=Ee),Qt=s(t),Y=o(t,"UL",{"data-svelte-h":!0}),p(Y)!=="svelte-uau3wp"&&(Y.innerHTML=Ze),Xt=s(t),m(z.$$.fragment,t),Kt=s(t),Q=o(t,"P",{"data-svelte-h":!0}),p(Q)!=="svelte-lg1mox"&&(Q.innerHTML=_e),qt=s(t),X=o(t,"P",{"data-svelte-h":!0}),p(X)!=="svelte-dwee5j"&&(X.textContent=Pe),Dt=s(t),K=o(t,"OL",{"data-svelte-h":!0}),p(K)!=="svelte-98lqsr"&&(K.innerHTML=Ne),Ot=s(t),q=o(t,"P",{"data-svelte-h":!0}),p(q)!=="svelte-m9n07s"&&(q.textContent=Re),te=s(t),D=o(t,"P",{"data-svelte-h":!0}),p(D)!=="svelte-1xgetr7"&&(D.textContent=Ve),ee=s(t),m(O.$$.fragment,t),le=s(t),tt=o(t,"P",{"data-svelte-h":!0}),p(tt)!=="svelte-pkri6y"&&(tt.textContent=Ae),ie=s(t),m(et.$$.fragment,t),ne=s(t),lt=o(t,"P",{"data-svelte-h":!0}),p(lt)!=="svelte-v7flba"&&(lt.innerHTML=Ye),se=s(t),it=o(t,"UL",{"data-svelte-h":!0}),p(it)!=="svelte-1c39kkp"&&(it.innerHTML=ze),ae=s(t),m(nt.$$.fragment,t),oe=s(t),st=o(t,"P",{"data-svelte-h":!0}),p(st)!=="svelte-lxv9op"&&(st.textContent=Qe),pe=s(t),at=o(t,"P",{"data-svelte-h":!0}),p(at)!=="svelte-5cn6kq"&&(at.innerHTML=Xe),re=s(t),ot=o(t,"P",{"data-svelte-h":!0}),p(ot)!=="svelte-2usozr"&&(ot.textContent=Ke),me=s(t),m(pt.$$.fragment,t),ue=s(t),rt=o(t,"P",{"data-svelte-h":!0}),p(rt)!=="svelte-1n70e59"&&(rt.textContent=qe),de=s(t),mt=o(t,"TABLE",{"data-svelte-h":!0}),p(mt)!=="svelte-1k8kl9d"&&(mt.innerHTML=De),he=s(t),ut=o(t,"P",{"data-svelte-h":!0}),p(ut)!=="svelte-1kg6i4x"&&(ut.textContent=Oe),ce=s(t),m(dt.$$.fragment,t),fe=s(t),ht=o(t,"P",{"data-svelte-h":!0}),p(ht)!=="svelte-17czsxu"&&(ht.textContent=tl),Me=s(t),m(ct.$$.fragment,t),we=s(t),wt=o(t,"P",{}),el(wt).forEach(l),this.h()},h(){ll(f,"name","hf:doc:metadata"),ll(f,"content",hl)},m(t,e){rl(document.head,f),i(t,gt,e),i(t,Mt,e),i(t,Tt,e),u(w,t,e),i(t,bt,e),u(g,t,e),i(t,yt,e),i(t,T,e),i(t,$t,e),u(b,t,e),i(t,xt,e),i(t,y,e),i(t,vt,e),i(t,$,e),i(t,kt,e),i(t,x,e),i(t,Ct,e),i(t,v,e),i(t,Ut,e),u(k,t,e),i(t,Jt,e),i(t,C,e),i(t,jt,e),i(t,U,e),i(t,Lt,e),u(J,t,e),i(t,Bt,e),i(t,j,e),i(t,It,e),i(t,L,e),i(t,Ht,e),u(B,t,e),i(t,St,e),i(t,I,e),i(t,Wt,e),i(t,H,e),i(t,Ft,e),i(t,S,e),i(t,Gt,e),u(W,t,e),i(t,Et,e),i(t,F,e),i(t,Zt,e),i(t,G,e),i(t,_t,e),i(t,E,e),i(t,Pt,e),i(t,Z,e),i(t,Nt,e),i(t,_,e),i(t,Rt,e),u(P,t,e),i(t,Vt,e),u(N,t,e),i(t,At,e),i(t,R,e),i(t,Yt,e),u(V,t,e),i(t,zt,e),i(t,A,e),i(t,Qt,e),i(t,Y,e),i(t,Xt,e),u(z,t,e),i(t,Kt,e),i(t,Q,e),i(t,qt,e),i(t,X,e),i(t,Dt,e),i(t,K,e),i(t,Ot,e),i(t,q,e),i(t,te,e),i(t,D,e),i(t,ee,e),u(O,t,e),i(t,le,e),i(t,tt,e),i(t,ie,e),u(et,t,e),i(t,ne,e),i(t,lt,e),i(t,se,e),i(t,it,e),i(t,ae,e),u(nt,t,e),i(t,oe,e),i(t,st,e),i(t,pe,e),i(t,at,e),i(t,re,e),i(t,ot,e),i(t,me,e),u(pt,t,e),i(t,ue,e),i(t,rt,e),i(t,de,e),i(t,mt,e),i(t,he,e),i(t,ut,e),i(t,ce,e),u(dt,t,e),i(t,fe,e),i(t,ht,e),i(t,Me,e),u(ct,t,e),i(t,we,e),i(t,wt,e),ge=!0},p:nl,i(t){ge||(d(w.$$.fragment,t),d(g.$$.fragment,t),d(b.$$.fragment,t),d(k.$$.fragment,t),d(J.$$.fragment,t),d(B.$$.fragment,t),d(W.$$.fragment,t),d(P.$$.fragment,t),d(N.$$.fragment,t),d(V.$$.fragment,t),d(z.$$.fragment,t),d(O.$$.fragment,t),d(et.$$.fragment,t),d(nt.$$.fragment,t),d(pt.$$.fragment,t),d(dt.$$.fragment,t),d(ct.$$.fragment,t),ge=!0)},o(t){h(w.$$.fragment,t),h(g.$$.fragment,t),h(b.$$.fragment,t),h(k.$$.fragment,t),h(J.$$.fragment,t),h(B.$$.fragment,t),h(W.$$.fragment,t),h(P.$$.fragment,t),h(N.$$.fragment,t),h(V.$$.fragment,t),h(z.$$.fragment,t),h(O.$$.fragment,t),h(et.$$.fragment,t),h(nt.$$.fragment,t),h(pt.$$.fragment,t),h(dt.$$.fragment,t),h(ct.$$.fragment,t),ge=!1},d(t){t&&(l(gt),l(Mt),l(Tt),l(bt),l(yt),l(T),l($t),l(xt),l(y),l(vt),l($),l(kt),l(x),l(Ct),l(v),l(Ut),l(Jt),l(C),l(jt),l(U),l(Lt),l(Bt),l(j),l(It),l(L),l(Ht),l(St),l(I),l(Wt),l(H),l(Ft),l(S),l(Gt),l(Et),l(F),l(Zt),l(G),l(_t),l(E),l(Pt),l(Z),l(Nt),l(_),l(Rt),l(Vt),l(At),l(R),l(Yt),l(zt),l(A),l(Qt),l(Y),l(Xt),l(Kt),l(Q),l(qt),l(X),l(Dt),l(K),l(Ot),l(q),l(te),l(D),l(ee),l(le),l(tt),l(ie),l(ne),l(lt),l(se),l(it),l(ae),l(oe),l(st),l(pe),l(at),l(re),l(ot),l(me),l(ue),l(rt),l(de),l(mt),l(he),l(ut),l(ce),l(fe),l(ht),l(Me),l(we),l(wt)),l(f),c(w,t),c(g,t),c(b,t),c(k,t),c(J,t),c(B,t),c(W,t),c(P,t),c(N,t),c(V,t),c(z,t),c(O,t),c(et,t),c(nt,t),c(pt,t),c(dt,t),c(ct,t)}}}const hl='{"title":"What Are Agent Skills?","local":"what-are-agent-skills","sections":[{"title":"The Problem: Agents Without Context","local":"the-problem-agents-without-context","sections":[],"depth":2},{"title":"Skills: The Solution","local":"skills-the-solution","sections":[],"depth":2},{"title":"From Prompts to Portable Knowledge","local":"from-prompts-to-portable-knowledge","sections":[{"title":"The Traditional Approach: Prompt-Based Context","local":"the-traditional-approach-prompt-based-context","sections":[],"depth":3},{"title":"The Skill-Based Approach: Structured, Portable Knowledge","local":"the-skill-based-approach-structured-portable-knowledge","sections":[],"depth":3}],"depth":2},{"title":"Progressive Disclosure: How Agents Load Skills","local":"progressive-disclosure-how-agents-load-skills","sections":[],"depth":2},{"title":"Real-World Examples of Skills","local":"real-world-examples-of-skills","sections":[],"depth":2},{"title":"Next Steps","local":"next-steps","sections":[],"depth":2}],"depth":1}';function cl(Te){return sl(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Tl extends al{constructor(f){super(),ol(this,f,cl,dl,il,{})}}export{Tl as component};

Xet Storage Details

Size:
20.1 kB
·
Xet hash:
ee68c5e7e8881aadfea975a6521e1c53506cb84896ce042806fe1f265c3e2ab6

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