[{"data":1,"prerenderedAt":1956,"buildId":1957},["ShallowReactive",2],{"docs:\u002Freference\u002Fcli":3},{"page":4,"section":16,"document":17,"credits":10,"prev":10,"next":1952},{"id":5,"path":6,"file":7,"title":8,"sourceTitle":8,"description":9,"tagline":9,"eyebrow":10,"credits":10,"keywords":11,"icon":12,"layout":13,"sidebar":14,"toc":14,"kind":10,"group":10,"navigation":14,"order":15},"cli","\u002Freference\u002Fcli","reference\u002Fcli.md","Command line","Every fleetrc command and flag, the exit codes, the JSON output, the environment variables, and the functions the package exports.",null,[],"i-lucide-terminal","article",true,1,"reference",{"nodes":18,"toc":1936},[19,40,48,256,280,286,296,388,402,405,562,579,585,643,657,699,705,711,717,945,955,972,1094,1100,1231,1255,1259,1272,1290,1301,1311,1315,1350,1355,1372,1382,1388,1399,1405,1418,1446,1463,1486,1492,1498,1519,1535,1539,1572,1576,1588,1670,1708,1714,1735,1740,1746,1759,1891,1919],[20,21,22,23,27,28,31,32,35,36,39],"p",{},"Run ",[24,25,26],"code",{},"fleetrc \u003Ccommand>"," to sync skills, edit the manifest, and manage the machines in your fleet. ",[24,29,30],{},"fleetrc"," with no command runs ",[24,33,34],{},"sync",". ",[24,37,38],{},"fleetrc \u003Ccommand> --help"," prints that command's flags.",[41,42,47],"h2",{"id":43,"anchor":44},"commands",{"label":45,"icon":46},"Section titled \"Commands\"","#","Commands",[49,50,51,64],"table",{},[52,53,54],"thead",{},[55,56,57,61],"tr",{},[58,59,60],"th",{},"Command",[58,62,63],{},"What it does",[65,66,67,82,92,102,112,122,138,148,158,168,178,188,198,208,218,228,238],"tbody",{},[55,68,69,75],{},[70,71,72],"td",{},[24,73,74],{},"fleetrc sync [source]",[70,76,77,78,81],{},"Fetch the sources, or only ",[24,79,80],{},"source",", and link their skills. The default command.",[55,83,84,89],{},[70,85,86],{},[24,87,88],{},"fleetrc init [manifest]",[70,90,91],{},"Point this machine at a manifest, migrate its skill folders, sync, and install the launcher and session hooks.",[55,93,94,99],{},[70,95,96],{},[24,97,98],{},"fleetrc status",[70,100,101],{},"Show the last run, held and pending updates, edited skills, and sessions to restart.",[55,103,104,109],{},[70,105,106],{},[24,107,108],{},"fleetrc list",[70,110,111],{},"List the linked skills, files, and config entries, and where each comes from.",[55,113,114,119],{},[70,115,116],{},[24,117,118],{},"fleetrc agents",[70,120,121],{},"List every agent id, which are installed here, and where each reads skills.",[55,123,124,129],{},[70,125,126],{},[24,127,128],{},"fleetrc doctor",[70,130,131,132,137],{},"Check Node.js, git access, the sync trigger, and duplicate skills. See ",[133,134,136],"a",{"href":135},"\u002Freference\u002Fdoctor","Doctor",".",[55,139,140,145],{},[70,141,142],{},[24,143,144],{},"fleetrc add \u003Csource>",[70,146,147],{},"Add a source to the manifest, then sync.",[55,149,150,155],{},[70,151,152],{},[24,153,154],{},"fleetrc remove \u003Csource|skill>",[70,156,157],{},"Remove a source, or exclude one skill from its source.",[55,159,160,165],{},[70,161,162],{},[24,163,164],{},"fleetrc adopt \u003Cpath>",[70,166,167],{},"Move a hand-made skill folder into your personal repository.",[55,169,170,175],{},[70,171,172],{},[24,173,174],{},"fleetrc fork \u003Cskill>",[70,176,177],{},"Move a vendored skill into your personal repository, to edit it.",[55,179,180,185],{},[70,181,182],{},[24,183,184],{},"fleetrc diff [skill|mcp\u002F\u003Cagent>\u002F\u003Cserver>]",[70,186,187],{},"Show updates held for review, or one skill's or MCP server's local edits.",[55,189,190,195],{},[70,191,192],{},[24,193,194],{},"fleetrc merge \u003Cskill>",[70,196,197],{},"Merge an upstream update into an edited skill or a fork.",[55,199,200,205],{},[70,201,202],{},[24,203,204],{},"fleetrc update \u003Csource>",[70,206,207],{},"Apply the updates a review-mode source is holding.",[55,209,210,215],{},[70,211,212],{},[24,213,214],{},"fleetrc timer install|remove|status",[70,216,217],{},"Install, remove, or show the timer that syncs on the manifest's schedule.",[55,219,220,225],{},[70,221,222],{},[24,223,224],{},"fleetrc fleet sync|status|upgrade|init|add|run",[70,226,227],{},"Run on the manifest's machines over SSH, or add machines to it.",[55,229,230,235],{},[70,231,232],{},[24,233,234],{},"fleetrc hook install|remove [agent]",[70,236,237],{},"Add or remove the session hooks of Claude Code and Codex.",[55,239,240,245],{},[70,241,242],{},[24,243,244],{},"fleetrc self-install",[70,246,247,248,251,252,255],{},"Copy this fleetrc into the state folder. ",[24,249,250],{},"init"," and ",[24,253,254],{},"fleet upgrade"," run it.",[20,257,258,261,262,261,265,261,268,271,272,275,276,279],{},[24,259,260],{},"status",", ",[24,263,264],{},"list",[24,266,267],{},"agents",[24,269,270],{},"doctor",", and ",[24,273,274],{},"diff"," are read-only. They reject ",[24,277,278],{},"--dry-run",", since they change no skills, links, or manifest.",[41,281,285],{"id":282,"anchor":283},"flags",{"label":284,"icon":46},"Section titled \"Flags\"","Flags",[20,287,288,289,292,293,137],{},"These flags work on most commands. A command that does not take a flag exits ",[24,290,291],{},"2"," with ",[24,294,295],{},"\u003Ccommand> does not take --\u003Cflag>",[49,297,298,308],{},[52,299,300],{},[55,301,302,305],{},[58,303,304],{},"Flag",[58,306,307],{},"Meaning",[65,309,310,319,329,339,352,362,375],{},[55,311,312,316],{},[70,313,314],{},[24,315,278],{},[70,317,318],{},"Print what would change and change nothing.",[55,320,321,326],{},[70,322,323],{},[24,324,325],{},"--json",[70,327,328],{},"Print one JSON document on stdout. Messages go to stderr.",[55,330,331,336],{},[70,332,333],{},[24,334,335],{},"--offline",[70,337,338],{},"Use what is already fetched, with no network.",[55,340,341,349],{},[70,342,343,261,346],{},[24,344,345],{},"--copy",[24,347,348],{},"--no-copy",[70,350,351],{},"Copy skill folders, or link them again. fleetrc remembers the choice.",[55,353,354,359],{},[70,355,356],{},[24,357,358],{},"--manifest \u003Cm>",[70,360,361],{},"Use this manifest instead of the configured one.",[55,363,364,372],{},[70,365,366,261,369],{},[24,367,368],{},"-v",[24,370,371],{},"--version",[70,373,374],{},"Print the version.",[55,376,377,385],{},[70,378,379,261,382],{},[24,380,381],{},"-h",[24,383,384],{},"--help",[70,386,387],{},"Show help.",[20,389,390,251,392,394,395,397,398,137],{},[24,391,345],{},[24,393,348],{}," together exit ",[24,396,291],{},". A dry run does not save the choice. See ",[133,399,401],{"href":400},"\u002Fguide\u002Fsync#link-or-copy","Syncing",[20,403,404],{},"These flags belong to one or a few commands:",[49,406,407,417],{},[52,408,409],{},[55,410,411,413,415],{},[58,412,304],{},[58,414,47],{},[58,416,307],{},[65,418,419,436,452,468,485,500,517,531,545],{},[55,420,421,426,433],{},[70,422,423],{},[24,424,425],{},"--timer",[70,427,428,261,430],{},[24,429,250],{},[24,431,432],{},"fleet init",[70,434,435],{},"Install the timer too, for a machine where no agent runs.",[55,437,438,443,449],{},[70,439,440],{},[24,441,442],{},"--no-hooks",[70,444,445,261,447],{},[24,446,250],{},[24,448,432],{},[70,450,451],{},"Do not install the session hooks.",[55,453,454,459,465],{},[70,455,456],{},[24,457,458],{},"--force",[70,460,461,261,463],{},[24,462,250],{},[24,464,432],{},[70,466,467],{},"Go ahead even when skill names would be lost.",[55,469,470,475,480],{},[70,471,472],{},[24,473,474],{},"--timeout \u003Cs>",[70,476,477],{},[24,478,479],{},"fleet",[70,481,482,483,137],{},"Seconds to wait for each host. Default 30, or 120 for ",[24,484,432],{},[55,486,487,492,497],{},[70,488,489],{},[24,490,491],{},"--id \u003Cid>",[70,493,494],{},[24,495,496],{},"add",[70,498,499],{},"The source's id. Default: the repository, host, or package name.",[55,501,502,507,511],{},[70,503,504],{},[24,505,506],{},"--skills \u003Cglob>",[70,508,509],{},[24,510,496],{},[70,512,513,514,137],{},"Skill folders inside the source, such as ",[24,515,516],{},"skills\u002F*",[55,518,519,524,528],{},[70,520,521],{},[24,522,523],{},"--include \u003Cname>",[70,525,526],{},[24,527,496],{},[70,529,530],{},"Only this skill. Repeat for more.",[55,532,533,538,542],{},[70,534,535],{},[24,536,537],{},"--exclude \u003Cname>",[70,539,540],{},[24,541,496],{},[70,543,544],{},"Never this skill. Repeat for more.",[55,546,547,552,556],{},[70,548,549],{},[24,550,551],{},"--review",[70,553,554],{},[24,555,496],{},[70,557,558,559,137],{},"Hold the source's updates for review: sets ",[24,560,561],{},"\"update\": \"review\"",[20,563,564,566,567,570,571,251,573,575,576,578],{},[24,565,274],{}," takes ",[24,568,569],{},"--manifest"," only. ",[24,572,260],{},[24,574,264],{}," take ",[24,577,325],{}," only.",[41,580,584],{"id":581,"anchor":582},"exit-codes",{"label":583,"icon":46},"Section titled \"Exit codes\"","Exit codes",[49,586,587,596],{},[52,588,589],{},[55,590,591,594],{},[58,592,593],{},"Exit code",[58,595,307],{},[65,597,598,608,634],{},[55,599,600,605],{},[70,601,602],{},[24,603,604],{},"0",[70,606,607],{},"The command did what you asked.",[55,609,610,615],{},[70,611,612],{},[24,613,614],{},"1",[70,616,617,618,620,621,624,625,628,629,631,632,137],{},"The command ran and failed: a sync reported errors, a ",[24,619,270],{}," check failed, ",[24,622,623],{},"merge"," left conflicts, ",[24,626,627],{},"timer status"," found no timer, or a host in ",[24,630,479],{}," failed. Errors fleetrc expects, such as a bad manifest or an unreadable repository, also exit ",[24,633,614],{},[55,635,636,640],{},[70,637,638],{},[24,639,291],{},[70,641,642],{},"The command line is wrong: an unknown command or flag, a missing argument, or flags that contradict each other.",[20,644,645,646,649,650,653,654,656],{},"Errors go to stderr as one line, ",[24,647,648],{},"fleetrc: \u003Cmessage>",". An error fleetrc did not expect says so and names ",[24,651,652],{},"FLEETRC_DEBUG",". Under ",[24,655,325],{},", a failure is also a document on stdout:",[658,659,662],"pre",{"language":660,"class":661,"wrap":14},"json","shiki shiki-themes github-light-default github-dark-default dark:github-dark-default",[24,663,665],{"class":664},"language-json",[666,667,670,674,678,681,685,687,690,692,696],"span",{"class":668,"style":669},"line","display: inline",[666,671,673],{"style":672},"color:#1F2328;--shiki-dark:#E6EDF3","{ ",[666,675,677],{"style":676},"color:#116329;--shiki-dark:#7EE787","\"ok\"",[666,679,680],{"style":672},": ",[666,682,684],{"style":683},"color:#0550AE;--shiki-dark:#79C0FF","false",[666,686,261],{"style":672},[666,688,689],{"style":676},"\"error\"",[666,691,680],{"style":672},[666,693,695],{"style":694},"color:#0A3069;--shiki-dark:#A5D6FF","\"no manifest yet: run `fleetrc init \u003Cmanifest>` first\"",[666,697,698],{"style":672}," }",[20,700,701,702,704],{},"A Node.js older than 22.12 exits ",[24,703,614],{}," before any command runs.",[41,706,710],{"id":707,"anchor":708},"json-output",{"label":709,"icon":46},"Section titled \"JSON output\"","JSON output",[20,712,713,714,716],{},"With ",[24,715,325],{},", a command prints one document on stdout and its messages on stderr.",[49,718,719,728],{},[52,720,721],{},[55,722,723,725],{},[58,724,60],{},[58,726,727],{},"The document",[65,729,730,748,772,810,830,842,853,884,904,921,933],{},[55,731,732,739],{},[70,733,734,261,736],{},[24,735,34],{},[24,737,738],{},"update",[70,740,741,742,744,745,137],{},"The sync report, with a ",[24,743,30],{}," field for the version. See ",[133,746,401],{"href":747},"\u002Fguide\u002Fsync#report",[55,749,750,754],{},[70,751,752],{},[24,753,250],{},[70,755,756,759,760,762,763,261,766,271,769,137],{},[24,757,758],{},"{ plan, applied, sync, installed, hooks?, timer? }",". With ",[24,761,278],{},", the plan with ",[24,764,765],{},"launcher",[24,767,768],{},"hooks",[24,770,771],{},"timer",[55,773,774,778],{},[70,775,776],{},[24,777,260],{},[70,779,780,261,783,261,786,261,789,261,792,261,795,261,798,261,801,261,804,271,806,809],{},[24,781,782],{},"manifest",[24,784,785],{},"lastRun",[24,787,788],{},"lastChange",[24,790,791],{},"files",[24,793,794],{},"entries",[24,796,797],{},"forks",[24,799,800],{},"staleSessions",[24,802,803],{},"trigger",[24,805,771],{},[24,807,808],{},"timerSchedule"," when the schedule drifted.",[55,811,812,816],{},[70,813,814],{},[24,815,264],{},[70,817,818,261,821,261,823,261,826,271,828,137],{},[24,819,820],{},"version",[24,822,788],{},[24,824,825],{},"skills",[24,827,791],{},[24,829,794],{},[55,831,832,836],{},[70,833,834],{},[24,835,267],{},[70,837,838,839,137],{},"An array of ",[24,840,841],{},"{ id, name, dir?, detected, linkedInto?, kinds? }",[55,843,844,848],{},[70,845,846],{},[24,847,270],{},[70,849,838,850,137],{},[24,851,852],{},"{ name, ok, detail, skipped?, warn? }",[55,854,855,868],{},[70,856,857,261,859,261,862,261,865],{},[24,858,496],{},[24,860,861],{},"remove",[24,863,864],{},"adopt",[24,866,867],{},"fork",[70,869,870,871,261,874,261,877,880,881,883],{},"What changed, with ",[24,872,873],{},"file",[24,875,876],{},"push",[24,878,879],{},"dryRun",", and the sync report under ",[24,882,34],{}," when a sync ran.",[55,885,886,890],{},[70,887,888],{},[24,889,623],{},[70,891,892,271,895,261,898,271,901,903],{},[24,893,894],{},"{ merged, conflicts, into, dryRun }",[24,896,897],{},"resolved",[24,899,900],{},"markers",[24,902,782],{}," when they apply.",[55,905,906,918],{},[70,907,908,261,911,261,913,261,916],{},[24,909,910],{},"fleet sync",[24,912,260],{},[24,914,915],{},"upgrade",[24,917,250],{},[70,919,920],{},"An array with one result per host.",[55,922,923,928],{},[70,924,925],{},[24,926,927],{},"fleet run",[70,929,930,137],{},[24,931,932],{},"[{ host, reachable, exitCode, stdout, error }]",[55,934,935,942],{},[70,936,937,261,939],{},[24,938,771],{},[24,940,941],{},"hook",[70,943,944],{},"The timer's spec or status, or the hook changes.",[20,946,947,251,949,952,953,137],{},[24,948,274],{},[24,950,951],{},"self-install"," take no ",[24,954,325],{},[20,956,957,960,961,963,964,967,968,971],{},[24,958,959],{},"list --json"," reads only this machine's state, with no manifest and no network. A later version only adds fields, and bumps ",[24,962,820],{}," for any other change. A skill's ",[24,965,966],{},"dir"," may lack a readable ",[24,969,970],{},"SKILL.md",", so check before you read it.",[658,973,974],{"language":660,"class":661,"wrap":14},[24,975,976,981,982,981,994,981,1006,981,1014,981,1019,981,1031,981,1042,981,1054,981,1063,981,1068,981,1073,981,1081,981,1089],{"class":664},[666,977,978],{"class":668,"style":669},[666,979,980],{"style":672},"{","\n",[666,983,984,987,989,991],{"class":668,"style":669},[666,985,986],{"style":676},"  \"version\"",[666,988,680],{"style":672},[666,990,614],{"style":683},[666,992,993],{"style":672},",",[666,995,996,999,1001,1004],{"class":668,"style":669},[666,997,998],{"style":676},"  \"lastChange\"",[666,1000,680],{"style":672},[666,1002,1003],{"style":694},"\"2026-12-04T09:12:41.208Z\"",[666,1005,993],{"style":672},[666,1007,1008,1011],{"class":668,"style":669},[666,1009,1010],{"style":676},"  \"skills\"",[666,1012,1013],{"style":672},": [",[666,1015,1016],{"class":668,"style":669},[666,1017,1018],{"style":672},"    {",[666,1020,1021,1024,1026,1029],{"class":668,"style":669},[666,1022,1023],{"style":676},"      \"name\"",[666,1025,680],{"style":672},[666,1027,1028],{"style":694},"\"nuxt\"",[666,1030,993],{"style":672},[666,1032,1033,1036,1038,1040],{"class":668,"style":669},[666,1034,1035],{"style":676},"      \"source\"",[666,1037,680],{"style":672},[666,1039,1028],{"style":694},[666,1041,993],{"style":672},[666,1043,1044,1047,1049,1052],{"class":668,"style":669},[666,1045,1046],{"style":676},"      \"dir\"",[666,1048,680],{"style":672},[666,1050,1051],{"style":694},"\"\u002Fhome\u002Fme\u002F.local\u002Fstate\u002Ffleetrc\u002Fstore\u002Fnuxt\u002Flive\u002Fnuxt\"",[666,1053,993],{"style":672},[666,1055,1056,1059,1061],{"class":668,"style":669},[666,1057,1058],{"style":676},"      \"changedAt\"",[666,1060,680],{"style":672},[666,1062,1003],{"style":694},[666,1064,1065],{"class":668,"style":669},[666,1066,1067],{"style":672},"    }",[666,1069,1070],{"class":668,"style":669},[666,1071,1072],{"style":672},"  ],",[666,1074,1075,1078],{"class":668,"style":669},[666,1076,1077],{"style":676},"  \"files\"",[666,1079,1080],{"style":672},": [],",[666,1082,1083,1086],{"class":668,"style":669},[666,1084,1085],{"style":676},"  \"entries\"",[666,1087,1088],{"style":672},": []",[666,1090,1091],{"class":668,"style":669},[666,1092,1093],{"style":672},"}",[41,1095,1099],{"id":1096,"anchor":1097},"environment-variables",{"label":1098,"icon":46},"Section titled \"Environment variables\"","Environment variables",[49,1101,1102,1112],{},[52,1103,1104],{},[55,1105,1106,1109],{},[58,1107,1108],{},"Variable",[58,1110,1111],{},"Effect",[65,1113,1114,1132,1145,1166,1189,1198,1212],{},[55,1115,1116,1121],{},[70,1117,1118],{},[24,1119,1120],{},"XDG_CONFIG_HOME",[70,1122,1123,1124,1127,1128,1131],{},"Puts ",[24,1125,1126],{},"config.json"," in ",[24,1129,1130],{},"$XDG_CONFIG_HOME\u002Ffleetrc",". A relative value is ignored.",[55,1133,1134,1139],{},[70,1135,1136],{},[24,1137,1138],{},"XDG_STATE_HOME",[70,1140,1141,1142,1131],{},"Puts the state folder in ",[24,1143,1144],{},"$XDG_STATE_HOME\u002Ffleetrc",[55,1146,1147,1155],{},[70,1148,1149,261,1152],{},[24,1150,1151],{},"APPDATA",[24,1153,1154],{},"LOCALAPPDATA",[70,1156,1157,1158,1161,1162,1165],{},"On Windows, the config folder ",[24,1159,1160],{},"%APPDATA%\\fleetrc"," and the state folder ",[24,1163,1164],{},"%LOCALAPPDATA%\\fleetrc",", when the XDG variables are unset.",[55,1167,1168,1173],{},[70,1169,1170],{},[24,1171,1172],{},"FLEETRC_PACKAGE",[70,1174,1175,1176,251,1178,1180,1181,1184,1185,1188],{},"The package ",[24,1177,432],{},[24,1179,254],{}," run on hosts with ",[24,1182,1183],{},"npx",", instead of ",[24,1186,1187],{},"fleetrc@\u003Cversion>",": a tarball, a URL, or a preview build. It also skips the check that this version is on npm.",[55,1190,1191,1195],{},[70,1192,1193],{},[24,1194,652],{},[70,1196,1197],{},"Print the stack of an unexpected error.",[55,1199,1200,1205],{},[70,1201,1202],{},[24,1203,1204],{},"NPM_TOKEN",[70,1206,1207,1208,1211],{},"Sent as a bearer token to the registry of an ",[24,1209,1210],{},"npm"," source. Not sent for a source only an extended manifest names.",[55,1213,1214,1219],{},[70,1215,1216],{},[24,1217,1218],{},"npm_config_registry",[70,1220,1221,1222,1224,1225,1228,1229,137],{},"The registry for ",[24,1223,1210],{}," sources without a ",[24,1226,1227],{},"registry",", and for the release check in ",[24,1230,479],{},[20,1232,1233,1234,1237,1238,1240,1241,1243,1244,251,1247,1250,1251,1254],{},"fleetrc sets some variables itself. The timer and the syncs a session hook starts set ",[24,1235,1236],{},"FLEETRC_TIMER",": the report's first line then starts with its time, and a sync that finds another running exits ",[24,1239,604],{}," and logs that it skipped. A manifest ",[24,1242,768],{}," command gets ",[24,1245,1246],{},"FLEETRC_HOOK",[24,1248,1249],{},"FLEETRC_CHANGED",". fleetrc sets ",[24,1252,1253],{},"DO_NOT_TRACK=1"," unless you set it.",[41,1256,34],{"id":34,"anchor":1257},{"label":1258,"icon":46},"Section titled \"sync\"",[20,1260,1261,1264,1265,1267,1268,1271],{},[24,1262,1263],{},"sync [source]"," fetches every source, links the skills, and prints a report. With a source id, it fetches only that source and links the others from what is on disk. It exits ",[24,1266,614],{}," when the report has errors. See ",[133,1269,401],{"href":1270},"\u002Fguide\u002Fsync"," for what a sync does.",[658,1273,1276],{"language":1274,"frame":1275,"class":661,"wrap":14},"sh","terminal",[24,1277,1279],{"class":1278},"language-sh",[666,1280,1281,1284,1287],{"class":668,"style":669},[666,1282,30],{"style":1283},"color:#953800;--shiki-dark:#FFA657",[666,1285,1286],{"style":694}," sync",[666,1288,1289],{"style":683}," --offline",[658,1291,1293],{"language":1292,"class":661,"wrap":14},"txt",[24,1294,1296],{"class":1295},"language-txt",[666,1297,1298],{"class":668,"style":669},[666,1299,1300],{},"fleetrc: linked 12 skills into 2 folders (offline)",[20,1302,1303,1306,1307,1310],{},[24,1304,1305],{},"update \u003Csource>"," is ",[24,1308,1309],{},"sync \u003Csource>"," that also applies the updates the source holds for review.",[41,1312,250],{"id":250,"anchor":1313},{"label":1314,"icon":46},"Section titled \"init\"",[20,1316,1317,1320,1321,261,1324,261,1327,1330,1331,1334,1335,1338,1339,1342,1343,1345,1346,1349],{},[24,1318,1319],{},"init [manifest]"," sets up this machine. The manifest is a repository (",[24,1322,1323],{},"owner\u002Frepo",[24,1325,1326],{},"github:owner\u002Frepo",[24,1328,1329],{},"gitlab:group\u002Frepo",", or a ",[24,1332,1333],{},".git"," URL), read for ",[24,1336,1337],{},".fleetrc\u002Fmanifest.json","; ",[24,1340,1341],{},"\u003Crepo>\u002F\u002F\u003Cfile>","; or a file or folder on this machine. Without one, ",[24,1344,250],{}," uses the configured manifest again, and on a new machine asks your tailnet policy. ",[24,1347,1348],{},"init tailscale:"," switches a machine to the policy's manifest.",[20,1351,1352,1354],{},[24,1353,250],{}," plans the migration of your skill folders, syncs, installs the launcher, adds the session hooks to Claude Code and Codex where they exist, and keeps the timer on a machine that had one. Preview it first:",[658,1356,1357],{"language":1274,"frame":1275,"class":661,"wrap":14},[24,1358,1359],{"class":1278},[666,1360,1361,1363,1366,1369],{"class":668,"style":669},[666,1362,30],{"style":1283},[666,1364,1365],{"style":694}," init",[666,1367,1368],{"style":694}," my-team\u002Fagents",[666,1370,1371],{"style":683}," --dry-run",[20,1373,1374,1376,1377,1379,1380,137],{},[24,1375,250],{}," exits ",[24,1378,614],{}," and changes nothing when it would lose skill names. Add a source for them, or pass ",[24,1381,458],{},[41,1383,1387],{"id":1384,"anchor":1385},"status-list-and-agents",{"label":1386,"icon":46},"Section titled \"status, list, and agents\"","status, list, and agents",[20,1389,1390,1392,1393,1395,1396,1398],{},[24,1391,260],{}," prints the manifest, the last run, forks and merge conflicts that need you, what starts syncs here, the timer, and Codex sessions that began before the last skill change. ",[24,1394,264],{}," prints one line per skill, file, and config entry: name, source, and path. ",[24,1397,267],{}," prints each agent id, whether it is installed, and the folder it reads. None needs the network.",[41,1400,1404],{"id":1401,"anchor":1402},"add-remove-adopt-and-fork",{"label":1403,"icon":46},"Section titled \"add, remove, adopt, and fork\"","add, remove, adopt, and fork",[20,1406,1407,1410,1411,1413,1414,1417],{},[24,1408,1409],{},"add \u003Csource>"," accepts ",[24,1412,1323],{},", a git URL, a GitHub or GitLab page, an index URL, ",[24,1415,1416],{},"npm:\u003Cpackage>",", or a local path.",[658,1419,1420],{"language":1274,"frame":1275,"class":661,"wrap":14},[24,1421,1422],{"class":1278},[666,1423,1424,1426,1429,1432,1435,1438,1440,1443],{"class":668,"style":669},[666,1425,30],{"style":1283},[666,1427,1428],{"style":694}," add",[666,1430,1431],{"style":694}," onmax\u002Fnuxt-skills",[666,1433,1434],{"style":683}," --include",[666,1436,1437],{"style":694}," nuxt",[666,1439,1434],{"style":683},[666,1441,1442],{"style":694}," nuxt-ui",[666,1444,1445],{"style":683}," --review",[20,1447,1448,1451,1452,1455,1456,1459,1460,137],{},[24,1449,1450],{},"remove \u003Csource|skill>"," removes a source from ",[24,1453,1454],{},"sources",". For a source from an extended manifest, it adds the id to ",[24,1457,1458],{},"excludeSources",". For a skill, it adds the name to ",[24,1461,1462],{},"exclude",[20,1464,1465,1468,1469,1471,1472,1475,1476,35,1479,1482,1483,1485],{},[24,1466,1467],{},"adopt \u003Cpath>"," moves a skill folder with a ",[24,1470,970],{}," into the personal repository: the first source marked ",[24,1473,1474],{},"\"adopt\": true",", else the first git source with a ",[24,1477,1478],{},"path",[24,1480,1481],{},"fork \u003Cskill>"," copies a vendored git skill there, records it under ",[24,1484,797],{}," with the commit it started from, and excludes it from its source.",[20,1487,1488,1489,1491],{},"Each command edits the manifest and then syncs. A manifest fetched from a repository is not edited in place. fleetrc edits a working clone of it (a source with a ",[24,1490,1478],{},") and tells you to commit and push, or stops and says what to change.",[41,1493,1497],{"id":1494,"anchor":1495},"diff-and-merge",{"label":1496,"icon":46},"Section titled \"diff and merge\"","diff and merge",[20,1499,1500,1502,1503,1506,1507,1510,1511,1514,1515,1518],{},[24,1501,274],{}," with no argument prints every update a source holds for review. ",[24,1504,1505],{},"diff \u003Cskill>"," prints a skill's local edits against upstream, or its pending update against what is installed. ",[24,1508,1509],{},"diff mcp\u002F\u003Cagent>\u002F\u003Cserver>"," compares an MCP server in the agent's config with what the manifest gives it. It prints ",[24,1512,1513],{},"no differences"," or ",[24,1516,1517],{},"no updates are waiting for review"," when there is nothing.",[20,1520,1521,1524,1525,1527,1528,1530,1531,1534],{},[24,1522,1523],{},"merge \u003Cskill>"," brings an upstream update into an edited skill or a fork. It exits ",[24,1526,614],{}," when conflicts remain: resolve the markers by hand, then run ",[24,1529,623],{}," again. ",[24,1532,1533],{},"merge --dry-run"," shows what would merge.",[41,1536,771],{"id":771,"anchor":1537},{"label":1538,"icon":46},"Section titled \"timer\"",[20,1540,1541,1544,1545,1547,1548,1551,1552,1555,1556,1558,1559,1561,1562,1564,1565,1567,1568,137],{},[24,1542,1543],{},"timer install"," installs a user timer that runs ",[24,1546,34],{}," on the manifest's ",[24,1549,1550],{},"timer.cron",": systemd on Linux, launchd on macOS, Task Scheduler on Windows. ",[24,1553,1554],{},"timer remove"," removes it. ",[24,1557,627],{}," shows it and exits ",[24,1560,614],{}," when none is installed. ",[24,1563,627],{}," takes no ",[24,1566,278],{},". See ",[133,1569,1571],{"href":1570},"\u002Fguide\u002Ftimer","Timer",[41,1573,479],{"id":479,"anchor":1574},{"label":1575,"icon":46},"Section titled \"fleet\"",[20,1577,1578,1580,1581,1583,1584,1587],{},[24,1579,479],{}," runs on the machines in the manifest's ",[24,1582,479],{},", over SSH. Name hosts or ",[24,1585,1586],{},"tag:\u003Cname>"," after the action to use fewer machines.",[49,1589,1590,1599],{},[52,1591,1592],{},[55,1593,1594,1597],{},[58,1595,1596],{},"Action",[58,1598,63],{},[65,1600,1601,1613,1623,1635,1650,1660],{},[55,1602,1603,1608],{},[70,1604,1605],{},[24,1606,1607],{},"fleet sync [host...]",[70,1609,22,1610,1612],{},[24,1611,34],{}," on each host and report.",[55,1614,1615,1620],{},[70,1616,1617],{},[24,1618,1619],{},"fleet status [host...]",[70,1621,1622],{},"Show each host's version and last run.",[55,1624,1625,1630],{},[70,1626,1627],{},[24,1628,1629],{},"fleet upgrade [host...]",[70,1631,1632,1633,137],{},"Install this version on each host with ",[24,1634,1183],{},[55,1636,1637,1642],{},[70,1638,1639],{},[24,1640,1641],{},"fleet init \u003Chost...>",[70,1643,22,1644,1646,1647,1649],{},[24,1645,250],{}," on each new host with this machine's manifest, then add it to ",[24,1648,479],{},". The manifest must be in a repository.",[55,1651,1652,1657],{},[70,1653,1654],{},[24,1655,1656],{},"fleet add [host...]",[70,1658,1659],{},"Add hosts to the manifest. With none, suggest machines and tags on your tailnet.",[55,1661,1662,1667],{},[70,1663,1664],{},[24,1665,1666],{},"fleet run [host...] -- \u003Ccommand>",[70,1668,1669],{},"Run the command here and on each host, and print each host's output after its name.",[20,1671,1672,1674,1675,261,1677,261,1679,261,1681,271,1683,1685,1686,261,1689,271,1691,1694,1695,1697,1698,1700,1701,1703,1704,137],{},[24,1673,432],{}," passes ",[24,1676,345],{},[24,1678,348],{},[24,1680,425],{},[24,1682,442],{},[24,1684,458],{}," to each host. ",[24,1687,1688],{},"fleet status",[24,1690,915],{},[24,1692,1693],{},"run"," reject ",[24,1696,278],{},". All actions but ",[24,1699,496],{}," exit ",[24,1702,614],{}," when a host is unreachable or fails. See ",[133,1705,1707],{"href":1706},"\u002Fguide\u002Ffleet","Fleet",[41,1709,1713],{"id":1710,"anchor":1711},"hook-and-self-install",{"label":1712,"icon":46},"Section titled \"hook and self-install\"","hook and self-install",[20,1715,1716,1719,1720,1723,1724,1514,1727,1730,1731,137],{},[24,1717,1718],{},"hook install [agent]"," adds the session hooks, and ",[24,1721,1722],{},"hook remove [agent]"," takes them out. The agent is ",[24,1725,1726],{},"claude-code",[24,1728,1729],{},"codex",". Without one, the command acts on each agent whose folder exists. When a session starts, the hook starts a background sync if none was tried in the last 15 minutes and none is running. See ",[133,1732,1734],{"href":1733},"\u002Fguide\u002Fhooks-and-mcp","Hooks and MCP",[20,1736,1737,1739],{},[24,1738,951],{}," copies this fleetrc into the state folder, where the launcher, the hooks, and the timer run it.",[41,1741,1745],{"id":1742,"anchor":1743},"use-from-code",{"label":1744,"icon":46},"Section titled \"Use from code\"","Use from code",[20,1747,1748,1749,261,1751,1754,1755,1758],{},"The package exports ",[24,1750,1693],{},[24,1752,1753],{},"runOnFleet",", and the ",[24,1756,1757],{},"RunResult"," type.",[658,1760,1762],{"language":1761,"class":661,"wrap":14},"ts",[24,1763,1765,981,1789,981,1791,981,1797,981,1802,981,1855,981,1857,981,1862],{"class":1764},"language-ts",[666,1766,1767,1771,1774,1777,1780,1783,1786],{"class":668,"style":669},[666,1768,1770],{"style":1769},"color:#CF222E;--shiki-dark:#FF7B72","import",[666,1772,1773],{"style":672}," { run, runOnFleet, ",[666,1775,1776],{"style":1769},"type",[666,1778,1779],{"style":672}," RunResult } ",[666,1781,1782],{"style":1769},"from",[666,1784,1785],{"style":694}," \"fleetrc\"",[666,1787,1788],{"style":672},";",[666,1790],{"class":668,"style":669},[666,1792,1793],{"class":668,"style":669},[666,1794,1796],{"style":1795},"color:#6E7781;--shiki-dark:#8B949E","\u002F\u002F The command on every host in this machine's fleet, never on this machine.",[666,1798,1799],{"class":668,"style":669},[666,1800,1801],{"style":1795},"\u002F\u002F undefined when fleetrc has no config here or the fleet is empty.",[666,1803,1804,1807,1810,1813,1816,1819,1822,1825,1828,1831,1835,1838,1841,1843,1846,1849,1852],{"class":668,"style":669},[666,1805,1806],{"style":1769},"const",[666,1808,1809],{"style":683}," results",[666,1811,1812],{"style":1769},":",[666,1814,1815],{"style":1283}," RunResult",[666,1817,1818],{"style":672},"[] ",[666,1820,1821],{"style":1769},"|",[666,1823,1824],{"style":683}," undefined",[666,1826,1827],{"style":1769}," =",[666,1829,1830],{"style":1769}," await",[666,1832,1834],{"style":1833},"color:#8250DF;--shiki-dark:#D2A8FF"," runOnFleet",[666,1836,1837],{"style":672},"([",[666,1839,1840],{"style":694},"\"uname\"",[666,1842,261],{"style":672},[666,1844,1845],{"style":694},"\"-a\"",[666,1847,1848],{"style":672},"], { timeoutMs: ",[666,1850,1851],{"style":683},"30_000",[666,1853,1854],{"style":672}," });",[666,1856],{"class":668,"style":669},[666,1858,1859],{"class":668,"style":669},[666,1860,1861],{"style":1795},"\u002F\u002F The whole CLI, with help and error text naming the command the user typed.",[666,1863,1864,1867,1870,1873,1876,1879,1882,1885,1888],{"class":668,"style":669},[666,1865,1866],{"style":1769},"await",[666,1868,1869],{"style":1833}," run",[666,1871,1872],{"style":672},"(process.argv.",[666,1874,1875],{"style":1833},"slice",[666,1877,1878],{"style":672},"(",[666,1880,1881],{"style":683},"3",[666,1883,1884],{"style":672},"), ",[666,1886,1887],{"style":694},"\"mytool fleet\"",[666,1889,1890],{"style":672},");",[20,1892,1893,1896,1897,261,1900,261,1903,261,1906,261,1909,271,1912,1915,1916,1918],{},[24,1894,1895],{},"runOnFleet(argv, { timeoutMs })"," reads the fleet from the manifest's last fetched copy and returns one result per host: ",[24,1898,1899],{},"host",[24,1901,1902],{},"reachable",[24,1904,1905],{},"exitCode",[24,1907,1908],{},"stdout",[24,1910,1911],{},"stderr",[24,1913,1914],{},"error"," when there is no exit code. It throws when ",[24,1917,1126],{}," or the manifest does not read.",[20,1920,1921,1924,1925,1928,1929,1932,1933,1935],{},[24,1922,1923],{},"run(argv, name)"," runs the CLI on ",[24,1926,1927],{},"argv",", the arguments after the program name. It writes to stdout and stderr and sets ",[24,1930,1931],{},"process.exitCode",". A command line it can't run exits the process with ",[24,1934,291],{},", so call it once per process.",[1937,1939,1940,1941,1942,1943,1944,1945,1946,1947,1948,1949,1950,1951],{"id":43,"depth":1938,"text":47},2,{"id":282,"depth":1938,"text":285},{"id":581,"depth":1938,"text":584},{"id":707,"depth":1938,"text":710},{"id":1096,"depth":1938,"text":1099},{"id":34,"depth":1938,"text":34},{"id":250,"depth":1938,"text":250},{"id":1384,"depth":1938,"text":1387},{"id":1401,"depth":1938,"text":1404},{"id":1494,"depth":1938,"text":1497},{"id":771,"depth":1938,"text":771},{"id":479,"depth":1938,"text":479},{"id":1710,"depth":1938,"text":1713},{"id":1742,"depth":1938,"text":1745},{"path":1953,"title":1954,"description":1955},"\u002Freference\u002Fschema","Manifest schema","Every field of .fleetrc\u002Fmanifest.json, with its type and default, and the validation errors fleetrc prints when a manifest is wrong.",1796387377895,"d132e1fa-7946-4d59-bf8e-899a35cb66e2"]