/cookbook:onboarding-hubfrom cookbook
A guided first-week hub for new hires: a checklist with progress, and every step able to answer itself from your own onboarding content.
Ships in cookbook. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Build "Onboarding Hub: a day-one checklist grounded in your own docs" following https://developers.glean.com/cookbook/onboarding-hub
Ask which variant to build first, on its own, and wait for the answer. Then follow only that variant below, asking its questions one at a time.
Web SDK variant — checklist + renderChat
Use nonsecret inputs the user already supplied. Ask only for missing information needed by the selected recipe path, resolving dependent choices before continuing. Do not request credential values in conversation; use the recipe's documented secure sign-in or secret-entry path. Required questions for this recipe are:
steps.json is fine to keep.Cookie SSO requires the user's normal signed-in browser. Never open or automate the app yourself.
Run the step commands in one shell session, starting in the directory where the project should be
created. A cd in one step still applies to later steps, so do not repeat it. If your tool starts
each command in a fresh process, run each later command from the directory the earlier cd entered.
A step marked (new terminal) runs while an earlier step keeps running: start it in a new shell in
the starting directory, and run the steps after it in that shell.
Copy the project onto your machine
Creates an onboarding-hub folder in whatever directory you run this from. Every command after this one runs inside that folder.
npx -y [email protected] --mode=git gleanwork/glean-cookbook/recipes/onboarding-hub/web-sdk onboarding-hub
Install dependencies Installs the Glean Web SDK and the Vite dev server that hosts the page.
cd onboarding-hub && npm install
Find your Glean tenant
Your email is used once to find which Glean tenant you belong to. The command creates .env.local and fills in VITE_GLEAN_BACKEND.
npm run configure -- --email "<work-email>"
Keep the sample checklist, or use your own
public/steps.json is already in the project, so you can run with the sample. To use your own onboarding program, replace those steps. Each one needs a unique id, a title, a group (it, hr, team, or engineering), initiallyDone, and an askPrompt.
Open the page Starts Vite and prints a Local URL. Open that URL yourself in your normal browser where you are already signed in to Glean.
npm run dev
Keep the server running. Capture the exact Local URL it prints and report it as a clickable Markdown link. Do not open or automate the link. Ask the user to click it in their normal browser where they are already signed in to Glean and confirm the page is ready. Then give the first verification action.
Check it against your own content Once the page is open in your signed-in browser, confirm your checklist renders. Click Ask about this on a step and check that Glean returns a cited first-day answer.
Platform Chat variant — server-side API call, custom UI
This applies only when the selected recipe explicitly declares a presentation-demo path.
Do not infer demo support merely because this shared instruction is present. Where supported,
check whether GLEAN_COOKBOOK_DEMO is exactly true without printing environment values.
Offline fixture tests are separate from presentation demos. Run required tests in either mode; do not suppress their failures or skip them just because demo mode is disabled.
Use nonsecret inputs the user already supplied. Ask only for missing information needed by the selected recipe path, resolving dependent choices before continuing. Do not request credential values in conversation; use the recipe's documented secure sign-in or secret-entry path. Required questions for this recipe are:
steps.json is fine to keep.Follow the selected authentication path. If OAuth is selected, run the recipe's shipped login command with its declared scopes. If the documented token path is selected, skip OAuth login and use that path's declared secure configuration. Keep sign-in and secret entry user-controlled. Do not implement or alter OAuth while setting up the recipe, and do not silently substitute a path when the documented one fails.
Run the step commands in one shell session, starting in the directory where the project should be
created. A cd in one step still applies to later steps, so do not repeat it. If your tool starts
each command in a fresh process, run each later command from the directory the earlier cd entered.
A step marked (new terminal) runs while an earlier step keeps running: start it in a new shell in
the starting directory, and run the steps after it in that shell.
Copy the project onto your machine
Creates an onboarding-hub folder in whatever directory you run this from. Every command after this one runs inside that folder.
npx -y [email protected] --mode=git gleanwork/glean-cookbook/recipes/onboarding-hub/platform-chat onboarding-hub
Install dependencies Installs the Glean API client and the small local server that serves the page.
cd onboarding-hub && npm install
See it work before you connect anything Runs the checklist and chat against recorded Sample Corp answers, so you can see cited first-day, VPN, and PTO replies plus unsupported-question escalation before you connect anything. This needs no Glean credentials.
npm run verify:fixture
Sign in to Glean
Your email is used once to find which Glean tenant you belong to, then a browser window opens for you to approve access. The command creates the .env file for you and fills in GLEAN_SERVER_URL and GLEAN_API_TOKEN. If your tenant has not enabled OAuth, skip this command and do it by hand instead: copy .env.example to .env, then fill in your Glean instance URL and a Glean API token that has the CHAT scope.
npm run login -- --email "<work-email>"
Keep the sample checklist, or use your own
steps.json is already selected in .env, so you can run with the sample. To use your own onboarding program, replace those steps. Each one needs a unique id, a title, a group (it, hr, team, or engineering), initiallyDone, and an askPrompt.
Check it against your own content Takes 1 to 3 minutes. It starts its own server, checks your onboarding topics for cited answers, and fails if an unsupported question does not escalate.
npm run verify
Open the page Starts the server and prints a Local URL. Open that URL in your browser.
npm start
Keep the server running and report its exact printed local URL as a clickable Markdown link. For a non-cookie-SSO path, use available authorized browser tools to exercise the documented workflow and verify the result. Hand off only actions that require the user. If tooling or access is unavailable, report the blocker and the exact action needed; do not claim a live pass. Cookie-SSO paths use the separate user-browser handoff and must not be automated.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub gleanwork/glean-cookbook --plugin cookbook19 skills in this plugin
/batch-retrieve-documentsRetrieve up to 100 indexed documents you can open in Glean, mixing document IDs and URLs. Documents Glean does not return are listed under warnings./browse-cookbookUse when the user asks what Glean cookbook recipes exist, wants to browse or pick a recipe to build, or asks "what can I build with Glean" — lists the available recipes and points to the matching /cookbook:{recipe-id} command./cookbook-conventionsShared setup, authentication, browser handoff, documentation lookup, Web SDK sizing, and visual conventions for Glean cookbook recipes./customer-360One page per account — status, risks, and a drill-in chat — assembled from whatever your instance already knows about that customer. No CRM export, no separate index./customer-meeting-prep-triggerRegister a calendar Trigger through the Platform Triggers API and deliver one signed event to a small receiver that prints a customer-meeting prep request./embed-search-chatPut permission-aware Glean search and chat directly inside an internal app with the Web SDK, so your team gets answers where they already work.