/cookbook:customer-360from cookbook
One 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.
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 "Customer 360: an account page built from your own content" following https://developers.glean.com/cookbook/customer-360
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.
Path A — parallel Platform Search tiles + Platform Chat synthesis
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:
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 a customer-360 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/customer-360/platform-search-chat customer-360
Install dependencies Installs the Glean API client and the small local server that serves the page.
cd customer-360 && npm install
See it work before you connect anything Runs the whole page against recorded answers for a fictional account named Globex, so you can see what it produces 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 SEARCH and CHAT scopes.
npm run login -- --email "<work-email>"
Choose which customer the page is about Signing in does not pick an account for you, so open .env and set GLEAN_ACCOUNT_NAME to one of your own customers, for example Acme Logistics. Spell it the way your Glean documents spell it, because the page searches your content for that exact name and builds the whole page from what it finds.
Check it against your own content Takes 1 to 3 minutes. It starts its own server, asks your Glean instance the three demo questions about the account you chose, and fails if any answer comes back without citing a real document.
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.
Path B — Platform Agents createRun for prescriptive account briefs
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:
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.
Build the Account Brief agent In Agent Builder, create a conversational agent that writes an account brief, and copy its ID from the browser URL. It must be conversational, because this page sends it a question and reads the reply. A form-triggered agent will not work here.
Copy the project onto your machine Creates a customer-360 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/customer-360/platform-agents customer-360
Install dependencies Installs the Glean API client and the small local server that serves the page.
cd customer-360 && npm install
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 SEARCH and AGENTS scopes.
npm run login -- --email "<work-email>"
Choose the customer and point at your agent Signing in does not pick an account for you, so open .env and set two values. GLEAN_ACCOUNT_NAME is one of your own customers, for example Acme Logistics, spelled the way your Glean documents spell it. GLEAN_AGENT_ID is the ID of the Account Brief agent you created in Agent Builder.
Check it against your own content Takes 1 to 3 minutes. It starts its own server, confirms your agent answers for the account you chose, and fails if the brief comes back without citing a real document.
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
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.Other plugins' skills for the same job