Install any skill in seconds. Free to start, no credit card required.
Get Started Free →jeremylongshore/glean-multi-env-setup
Use separate datasource names per environment (wiki_staging vs wiki_prod). Trigger: "glean multi env setup", "multi-env-setup".
Passed 18 of 21 test cases with the skill, and 5 of 21 without it.
and 24 more in the full report
14 fixed5 passed either way3 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 13 test cases the skill fixed. Same model, same prompt, with and without the skill.
In step 3 of our connector promotion pipeline, what exact command line invocation compares staging relevance scores against a baseline?
| Checked | Without skill | With skill |
|---|---|---|
| Invokes node scripts/compare-search-quality.js | Missed | Passed |
| Passes --env staging and --baseline baseline.json arguments | Missed | Passed |
The instructions your model reads when the skill loads.
Glean enterprise search requires environment isolation to prevent test data from polluting production search results. Each environment uses its own datasource names, API tokens, and connector configurations. Sandbox indexes synthetic test documents, staging indexes a curated subset of real documents for search quality validation, and production indexes the full corpus. Connector changes must be tested in staging before promotion to avoid breaking search relevance for end users.
const gleanConfig = (env: string) => ({
development: {
apiToken: process.env.GLEAN_API_TOKEN_DEV!, baseUrl: "https://sandbox.glean.com/api/v1",
datasourceSuffix: "_sandbox", indexingEnabled: true, searchQualityChecks: false,
},
staging: {
apiToken: process.env.GLEAN_API_TOKEN_STG!, baseUrl: "https://staging.glean.com/api/v1",
datasourceSuffix: "_staging", indexingEnabled: true, searchQualityChecks: true,
},
production: {
apiToken: process.env.GLEAN_API_TOKEN_PROD!, baseUrl: "https://app.glean.com/api/v1",
datasourceSuffix: "_prod", indexingEnabled: true, searchQualityChecks: false,
},
}[env]);
# Per-env files: .env.development, .env.staging, .env.production
GLEAN_API_TOKEN_{DEV|STG|PROD}=<token>
GLEAN_BASE_URL=https://{sandbox|staging|app}.glean.com/api/v1
GLEAN_DATASOURCE_SUFFIX={_sandbox|_staging|_prod}
GLEAN_INSTANCE={sandbox|staging|production}
function validateGleanEnv(env: string): void {
const suffix = { development: "_DEV", staging: "_STG", production: "_PROD" }[env];
test cases passed, vs 5 / 21 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.