/cookbook:import-skill-from-githubfrom cookbook
Preview a public GitHub skill on a branch URL with the official TypeScript API client, import the selected URL, sync that captured skill, confirm it with get and list, then delete only IDs this run created.
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 "Import a skill from GitHub" following https://developers.glean.com/cookbook/import-skill-from-github
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 Copy the runnable TypeScript GitHub import CLI and credential-free MSW fixture tests into a new directory. OAuth login and secure token storage come from the pinned @gleanwork/auth package.
npx -y [email protected] gleanwork/glean-cookbook/recipes/import-skill-from-github import-skill-from-github
Install dependencies
cd import-skill-from-github && npm install
Run the fixture tests Run Vitest with recorded preview payloads and MSW, without GitHub or Glean credentials, covering JSON preview, optional SSE preview, import, sync, and captured-ID cleanup.
npm test
Sign in with OAuth Discover your Glean backend from work email and request skills:read and skills:write. Only a recognized scope-grant failure triggers one retry with legacy SKILLS. If OAuth is not available, skip this command: copy .env.example to .env and fill GLEAN_API_TOKEN and GLEAN_SERVER_URL.
npm run login -- --email "<work-email>"
Pass an explicit backend if you need one If email discovery is wrong, pass --server-url with the complete Glean backend HTTPS origin on login, verify, and start. If DCR is restricted, export GLEAN_OAUTH_CLIENT_ID in your shell before npm run login. npm run login does not read .env, so do not store that client id only in .env.
Verify against your instance Preview the public GitHub skill-creator directory on main, import the selected URL, sync that captured skill, confirm get and list, then permanently delete only IDs this run created. HTTP 400 means an unsupported GitHub URL or ref, including commit permalinks. HTTP 503 means GitHub import is disabled or unavailable. HTTP 403 means this credential cannot import. HTTP 429 means rate-limiting. Success prints an Imported line that ends with cleanup completed.
npm run verify -- --email "<work-email>"
Watch repository scan progress Run the same preview, import, and sync path with --stream. Scan events print as the tenant walks the GitHub directory. This command still deletes the captured skill when it finishes; there is no keep path. Pass --yes when the terminal is not interactive.
npm start -- --email "<work-email>" --yes --stream
Run the command in this chat and report its concise result rather than reproducing routine install or debug output. Do not invent a browser URL. Then give the first verification action.
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.