Skip to main content

Deploy the Glean plug-in in Claude Code

Add the marketplace and plug-in to a repository to make the Glean plug-in available to everyone who works in that repository. Users can also install it individually.

Prerequisites

Before you begin:

Install at the repository level

Add the marketplace and plug-in to .claude/settings.json. Merge these settings with any existing configuration:

{
"extraKnownMarketplaces": {
"glean-plugins": {
"source": {
"source": "github",
"repo": "gleanwork/claude-plugins",
"ref": "main"
}
}
},
"enabledPlugins": {
"glean@glean-plugins": true
},
"env": {
"USE_CLAUDE_PROJECT_DIR": "1"
}
}

extraKnownMarketplaces makes the plug-in available. enabledPlugins is optional and installs the plug-in automatically for everyone who works in the repository.

Setting USE_CLAUDE_PROJECT_DIR to 1 prevents repeated file-read permission requests during local project workflows.

Ignore plug-in working files

The plug-in can create files inside the repository during local workflows. Add its working path to .gitignore:

# Glean plug-in local files
.claude/tmp/

For per-user installation, see Set up the Glean plug-in in Claude Code.

For current Claude Code requirements and commands, see Glean Plugin for Claude Code on the Developer Portal.

See also