[{"data":1,"prerenderedAt":918},["ShallowReactive",2],{"navigation":3,"/features/skills":94,"/features/skills-surround":913},[4,22,39,68,81],{"title":5,"path":6,"stem":7,"children":8,"page":21},"Getting Started","/getting-started","1.getting-started",[9,13,17],{"title":10,"path":11,"stem":12},"Introduction","/getting-started/introduction","1.getting-started/1.introduction",{"title":14,"path":15,"stem":16},"Installation","/getting-started/installation","1.getting-started/2.installation",{"title":18,"path":19,"stem":20},"Workspace","/getting-started/workspace","1.getting-started/3.workspace",false,{"title":23,"path":24,"stem":25,"children":26,"page":21},"Configuration","/configuration","2.configuration",[27,31,35],{"title":28,"path":29,"stem":30},"Overview","/configuration/overview","2.configuration/1.overview",{"title":32,"path":33,"stem":34},"AI Providers","/configuration/ai-providers","2.configuration/2.ai-providers",{"title":36,"path":37,"stem":38},"Configuration Reference","/configuration/reference","2.configuration/3.reference",{"title":40,"path":41,"stem":42,"children":43,"page":21},"Features","/features","3.features",[44,48,52,56,60,64],{"title":45,"path":46,"stem":47},"Telegram","/features/telegram","3.features/1.telegram",{"title":49,"path":50,"stem":51},"Tools","/features/tools","3.features/2.tools",{"title":53,"path":54,"stem":55},"Scheduling","/features/scheduling","3.features/3.scheduling",{"title":57,"path":58,"stem":59},"Heartbeat","/features/heartbeat","3.features/4.heartbeat",{"title":61,"path":62,"stem":63},"Memory","/features/memory","3.features/5.memory",{"title":65,"path":66,"stem":67},"Skills","/features/skills","3.features/6.skills",{"title":69,"path":70,"stem":71,"children":72,"page":21},"Cli","/cli","4.cli",[73,77],{"title":74,"path":75,"stem":76},"CLI Commands","/cli/commands","4.cli/1.commands",{"title":78,"path":79,"stem":80},"Running as a Service","/cli/service-management","4.cli/2.service-management",{"title":82,"path":83,"stem":84,"children":85,"page":21},"Reference","/reference","5.reference",[86,90],{"title":87,"path":88,"stem":89},"Sessions","/reference/sessions","5.reference/1.sessions",{"title":91,"path":92,"stem":93},"Troubleshooting","/reference/troubleshooting","5.reference/3.troubleshooting",{"id":95,"title":65,"body":96,"description":907,"extension":908,"links":909,"meta":910,"navigation":201,"path":66,"seo":911,"stem":67,"__hash__":912},"docs/3.features/6.skills.md",{"type":97,"value":98,"toc":896},"minimark",[99,103,112,123,128,135,145,148,152,158,220,223,228,289,293,301,304,324,327,358,365,392,395,419,422,426,432,456,463,466,470,473,688,762,768,772,779,832,839,850,854,864,870,873,889,892],[100,101,65],"h1",{"id":102},"skills",[104,105,106,107,111],"p",{},"Skills are extensions that teach the agent how to use specific tools or services. Each skill is a directory with a ",[108,109,110],"code",{},"SKILL.md"," file that contains instructions and metadata. The agent reads eligible skills at the start of a session and uses them when relevant.",[104,113,114,115,122],{},"BabyClaw uses the same skill format as OpenClaw, so it's compatible with the ",[116,117,121],"a",{"href":118,"rel":119},"https://clawhub.ai",[120],"nofollow","ClawHub"," skill registry.",[124,125,127],"h2",{"id":126},"where-skills-live","Where skills live",[104,129,130,131,134],{},"Skills are stored in the ",[108,132,133],{},"skills/"," directory inside the workspace:",[136,137,142],"pre",{"className":138,"code":140,"language":141},[139],"language-text","workspace/\n└── skills/\n    ├── web-scraper/\n    │   └── SKILL.md\n    └── image-gen/\n        └── SKILL.md\n","text",[108,143,140],{"__ignoreMap":144},"",[104,146,147],{},"The agent discovers all skill directories automatically on session start.",[124,149,151],{"id":150},"skill-format","Skill format",[104,153,154,155,157],{},"A ",[108,156,110],{}," file has YAML frontmatter followed by instructions:",[136,159,163],{"className":160,"code":161,"language":162,"meta":144,"style":144},"language-markdown shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","---\nname: web-scraper\ndescription: Scrape web pages and extract structured data\nmetadata: { \"openclaw\": { \"requires\": { \"bins\": [\"curl\"] }, \"primaryEnv\": \"SCRAPER_API_KEY\" } }\n---\n\n## How to use\n\nUse the shell tool to run `curl` with the following patterns...\n","markdown",[108,164,165,173,179,185,191,196,203,209,214],{"__ignoreMap":144},[166,167,170],"span",{"class":168,"line":169},"line",1,[166,171,172],{},"---\n",[166,174,176],{"class":168,"line":175},2,[166,177,178],{},"name: web-scraper\n",[166,180,182],{"class":168,"line":181},3,[166,183,184],{},"description: Scrape web pages and extract structured data\n",[166,186,188],{"class":168,"line":187},4,[166,189,190],{},"metadata: { \"openclaw\": { \"requires\": { \"bins\": [\"curl\"] }, \"primaryEnv\": \"SCRAPER_API_KEY\" } }\n",[166,192,194],{"class":168,"line":193},5,[166,195,172],{},[166,197,199],{"class":168,"line":198},6,[166,200,202],{"emptyLinePlaceholder":201},true,"\n",[166,204,206],{"class":168,"line":205},7,[166,207,208],{},"## How to use\n",[166,210,212],{"class":168,"line":211},8,[166,213,202],{"emptyLinePlaceholder":201},[166,215,217],{"class":168,"line":216},9,[166,218,219],{},"Use the shell tool to run `curl` with the following patterns...\n",[104,221,222],{},"The frontmatter tells BabyClaw about the skill. The body tells the agent how to use it.",[224,225,227],"h3",{"id":226},"frontmatter-fields","Frontmatter fields",[229,230,231,247],"table",{},[232,233,234],"thead",{},[235,236,237,241,244],"tr",{},[238,239,240],"th",{},"Field",[238,242,243],{},"Required",[238,245,246],{},"Description",[248,249,250,264,276],"tbody",{},[235,251,252,258,261],{},[253,254,255],"td",{},[108,256,257],{},"name",[253,259,260],{},"Yes",[253,262,263],{},"Skill identifier",[235,265,266,271,273],{},[253,267,268],{},[108,269,270],{},"description",[253,272,260],{},[253,274,275],{},"Short description of what the skill does",[235,277,278,283,286],{},[253,279,280],{},[108,281,282],{},"metadata",[253,284,285],{},"No",[253,287,288],{},"JSON object with eligibility requirements and other metadata",[124,290,292],{"id":291},"bundled-skills","Bundled skills",[104,294,295,296,300],{},"BabyClaw ships with a set of bundled skills that are available out of the box. Bundled skills are ",[297,298,299],"strong",{},"disabled by default"," and must be explicitly enabled from the CLI.",[104,302,303],{},"List available bundled skills:",[136,305,309],{"className":306,"code":307,"language":308,"meta":144,"style":144},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","babyclaw skill bundled\n","bash",[108,310,311],{"__ignoreMap":144},[166,312,313,317,321],{"class":168,"line":169},[166,314,316],{"class":315},"sBMFI","babyclaw",[166,318,320],{"class":319},"sfazB"," skill",[166,322,323],{"class":319}," bundled\n",[104,325,326],{},"Enable a bundled skill:",[136,328,330],{"className":306,"code":329,"language":308,"meta":144,"style":144},"babyclaw skill enable --slug \u003Cskill-name>\n",[108,331,332],{"__ignoreMap":144},[166,333,334,336,338,341,344,348,351,355],{"class":168,"line":169},[166,335,316],{"class":315},[166,337,320],{"class":319},[166,339,340],{"class":319}," enable",[166,342,343],{"class":319}," --slug",[166,345,347],{"class":346},"sMK4o"," \u003C",[166,349,350],{"class":319},"skill-nam",[166,352,354],{"class":353},"sTEyZ","e",[166,356,357],{"class":346},">\n",[104,359,360,361,364],{},"If you want to skip automatic dependency setup, pass ",[108,362,363],{},"--skip-setup",":",[136,366,368],{"className":306,"code":367,"language":308,"meta":144,"style":144},"babyclaw skill enable --slug \u003Cskill-name> --skip-setup\n",[108,369,370],{"__ignoreMap":144},[166,371,372,374,376,378,380,382,384,386,389],{"class":168,"line":169},[166,373,316],{"class":315},[166,375,320],{"class":319},[166,377,340],{"class":319},[166,379,343],{"class":319},[166,381,347],{"class":346},[166,383,350],{"class":319},[166,385,354],{"class":353},[166,387,388],{"class":346},">",[166,390,391],{"class":319}," --skip-setup\n",[104,393,394],{},"Disable a bundled skill:",[136,396,398],{"className":306,"code":397,"language":308,"meta":144,"style":144},"babyclaw skill disable --slug \u003Cskill-name>\n",[108,399,400],{"__ignoreMap":144},[166,401,402,404,406,409,411,413,415,417],{"class":168,"line":169},[166,403,316],{"class":315},[166,405,320],{"class":319},[166,407,408],{"class":319}," disable",[166,410,343],{"class":319},[166,412,347],{"class":346},[166,414,350],{"class":319},[166,416,354],{"class":353},[166,418,357],{"class":346},[104,420,421],{},"When you enable a bundled skill, its dependencies are automatically set up. The skill files stay in the package and are read directly at runtime -- they are not copied into your workspace. This means bundled skills are automatically updated when you update BabyClaw. The same eligibility checks (required binaries, environment variables, etc.) apply to bundled skills.",[124,423,425],{"id":424},"installing-skills-from-clawhub","Installing skills from ClawHub",[104,427,428,431],{},[116,429,121],{"href":118,"rel":430},[120]," is a public registry of skills. You can install skills from it using the CLI:",[136,433,435],{"className":306,"code":434,"language":308,"meta":144,"style":144},"babyclaw skill install --slug \u003Cskill-name>\n",[108,436,437],{"__ignoreMap":144},[166,438,439,441,443,446,448,450,452,454],{"class":168,"line":169},[166,440,316],{"class":315},[166,442,320],{"class":319},[166,444,445],{"class":319}," install",[166,447,343],{"class":319},[166,449,347],{"class":346},[166,451,350],{"class":319},[166,453,354],{"class":353},[166,455,357],{"class":346},[104,457,458,459,462],{},"Or let the agent install skills during a conversation -- it has a ",[108,460,461],{},"clawhub_install"," tool that does the same thing. If the agent notices it needs a skill it doesn't have, it can look it up on ClawHub and install it.",[104,464,465],{},"After installation, a post-install setup step runs where the agent can help configure the skill (e.g., setting API keys).",[124,467,469],{"id":468},"configuring-skills","Configuring skills",[104,471,472],{},"You can enable, disable, and configure skills in the config file:",[136,474,478],{"className":475,"code":476,"language":477,"meta":144,"style":144},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"skills\": {\n    \"entries\": {\n      \"web-scraper\": { \"enabled\": true },\n      \"image-gen\": {\n        \"enabled\": true,\n        \"apiKey\": \"your-api-key\",\n        \"env\": {\n          \"IMAGE_MODEL\": \"dall-e-3\"\n        }\n      },\n      \"unused-skill\": { \"enabled\": false }\n    }\n  }\n}\n","json",[108,479,480,485,501,515,548,561,575,596,609,630,636,642,670,676,682],{"__ignoreMap":144},[166,481,482],{"class":168,"line":169},[166,483,484],{"class":346},"{\n",[166,486,487,490,493,496,498],{"class":168,"line":175},[166,488,489],{"class":346},"  \"",[166,491,102],{"class":492},"spNyl",[166,494,495],{"class":346},"\"",[166,497,364],{"class":346},[166,499,500],{"class":346}," {\n",[166,502,503,506,509,511,513],{"class":168,"line":181},[166,504,505],{"class":346},"    \"",[166,507,508],{"class":315},"entries",[166,510,495],{"class":346},[166,512,364],{"class":346},[166,514,500],{"class":346},[166,516,517,520,524,526,528,531,534,538,540,542,545],{"class":168,"line":187},[166,518,519],{"class":346},"      \"",[166,521,523],{"class":522},"sbssI","web-scraper",[166,525,495],{"class":346},[166,527,364],{"class":346},[166,529,530],{"class":346}," {",[166,532,533],{"class":346}," \"",[166,535,537],{"class":536},"swJcz","enabled",[166,539,495],{"class":346},[166,541,364],{"class":346},[166,543,544],{"class":346}," true",[166,546,547],{"class":346}," },\n",[166,549,550,552,555,557,559],{"class":168,"line":193},[166,551,519],{"class":346},[166,553,554],{"class":522},"image-gen",[166,556,495],{"class":346},[166,558,364],{"class":346},[166,560,500],{"class":346},[166,562,563,566,568,570,572],{"class":168,"line":198},[166,564,565],{"class":346},"        \"",[166,567,537],{"class":536},[166,569,495],{"class":346},[166,571,364],{"class":346},[166,573,574],{"class":346}," true,\n",[166,576,577,579,582,584,586,588,591,593],{"class":168,"line":205},[166,578,565],{"class":346},[166,580,581],{"class":536},"apiKey",[166,583,495],{"class":346},[166,585,364],{"class":346},[166,587,533],{"class":346},[166,589,590],{"class":319},"your-api-key",[166,592,495],{"class":346},[166,594,595],{"class":346},",\n",[166,597,598,600,603,605,607],{"class":168,"line":211},[166,599,565],{"class":346},[166,601,602],{"class":536},"env",[166,604,495],{"class":346},[166,606,364],{"class":346},[166,608,500],{"class":346},[166,610,611,614,618,620,622,624,627],{"class":168,"line":216},[166,612,613],{"class":346},"          \"",[166,615,617],{"class":616},"su27w","IMAGE_MODEL",[166,619,495],{"class":346},[166,621,364],{"class":346},[166,623,533],{"class":346},[166,625,626],{"class":319},"dall-e-3",[166,628,629],{"class":346},"\"\n",[166,631,633],{"class":168,"line":632},10,[166,634,635],{"class":346},"        }\n",[166,637,639],{"class":168,"line":638},11,[166,640,641],{"class":346},"      },\n",[166,643,645,647,650,652,654,656,658,660,662,664,667],{"class":168,"line":644},12,[166,646,519],{"class":346},[166,648,649],{"class":522},"unused-skill",[166,651,495],{"class":346},[166,653,364],{"class":346},[166,655,530],{"class":346},[166,657,533],{"class":346},[166,659,537],{"class":536},[166,661,495],{"class":346},[166,663,364],{"class":346},[166,665,666],{"class":346}," false",[166,668,669],{"class":346}," }\n",[166,671,673],{"class":168,"line":672},13,[166,674,675],{"class":346},"    }\n",[166,677,679],{"class":168,"line":678},14,[166,680,681],{"class":346},"  }\n",[166,683,685],{"class":168,"line":684},15,[166,686,687],{"class":346},"}\n",[229,689,690,704],{},[232,691,692],{},[235,693,694,696,699,702],{},[238,695,240],{},[238,697,698],{},"Type",[238,700,701],{},"Default",[238,703,246],{},[248,705,706,725,746],{},[235,707,708,712,717,722],{},[253,709,710],{},[108,711,537],{},[253,713,714],{},[108,715,716],{},"boolean",[253,718,719],{},[108,720,721],{},"true",[253,723,724],{},"Whether the skill is loaded",[235,726,727,731,736,739],{},[253,728,729],{},[108,730,581],{},[253,732,733],{},[108,734,735],{},"string",[253,737,738],{},"--",[253,740,741,742,745],{},"API key (mapped to the skill's ",[108,743,744],{},"primaryEnv",")",[235,747,748,752,757,759],{},[253,749,750],{},[108,751,602],{},[253,753,754],{},[108,755,756],{},"object",[253,758,738],{},[253,760,761],{},"Environment variables injected when the skill is used",[104,763,764,765,767],{},"Environment variables from ",[108,766,602],{}," are injected only during agent runs, not globally. They won't override variables already set in your environment.",[124,769,771],{"id":770},"eligibility","Eligibility",[104,773,774,775,778],{},"Skills can declare requirements that must be met for them to be loaded. This is done through the ",[108,776,777],{},"metadata.openclaw.requires"," field:",[229,780,781,791],{},[232,782,783],{},[235,784,785,788],{},[238,786,787],{},"Requirement",[238,789,790],{},"What it checks",[248,792,793,803,813,822],{},[235,794,795,800],{},[253,796,797],{},[108,798,799],{},"bins",[253,801,802],{},"All listed binaries must exist on your PATH",[235,804,805,810],{},[253,806,807],{},[108,808,809],{},"anyBins",[253,811,812],{},"At least one of the listed binaries must exist",[235,814,815,819],{},[253,816,817],{},[108,818,602],{},[253,820,821],{},"Listed environment variables must be set (or provided via config)",[235,823,824,829],{},[253,825,826],{},[108,827,828],{},"config",[253,830,831],{},"Listed config paths must be truthy",[104,833,834,835,838],{},"If a skill has an ",[108,836,837],{},"always: true"," flag in its metadata, it's loaded regardless of requirements.",[104,840,841,842,845,846,849],{},"Skills can also be restricted to specific operating systems with the ",[108,843,844],{},"os"," field (e.g., ",[108,847,848],{},"[\"darwin\", \"linux\"]",").",[124,851,853],{"id":852},"writing-your-own-skills","Writing your own skills",[104,855,856,857,860,861,863],{},"Create a directory in ",[108,858,859],{},"workspace/skills/"," with a ",[108,862,110],{}," file:",[136,865,868],{"className":866,"code":867,"language":141},[139],"workspace/skills/my-skill/\n└── SKILL.md\n",[108,869,867],{"__ignoreMap":144},[104,871,872],{},"Write the frontmatter and instructions. The instructions should tell the agent:",[874,875,876,880,883,886],"ul",{},[877,878,879],"li",{},"What the skill does",[877,881,882],{},"When to use it",[877,884,885],{},"How to invoke the underlying tools or commands",[877,887,888],{},"Any quirks or gotchas",[104,890,891],{},"The agent reads these instructions and follows them when the skill is relevant to a conversation. Keep instructions concise -- they're included in the agent's context and cost tokens on every session.",[893,894,895],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .su27w, html code.shiki .su27w{--shiki-light:#916B53;--shiki-default:#916B53;--shiki-dark:#916B53}",{"title":144,"searchDepth":169,"depth":175,"links":897},[898,899,902,903,904,905,906],{"id":126,"depth":175,"text":127},{"id":150,"depth":175,"text":151,"children":900},[901],{"id":226,"depth":181,"text":227},{"id":291,"depth":175,"text":292},{"id":424,"depth":175,"text":425},{"id":468,"depth":175,"text":469},{"id":770,"depth":175,"text":771},{"id":852,"depth":175,"text":853},"Extending the agent with skills from ClawHub or your own custom skills.","md",null,{},{"title":65,"description":907},"3Y8n9B0A_eA_xFHmLYJp1gyoEFRggLkm8TXqNT0XFSQ",[914,916],{"title":61,"path":62,"stem":63,"description":915,"children":-1},"How BabyClaw remembers things between sessions -- working memory and long-term extraction.",{"title":74,"path":75,"stem":76,"description":917,"children":-1},"All available CLI commands for managing BabyClaw.",1771846894211]