Skip to main content

Deploy the Glean plugin in Claude Code

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

Prerequisites​

Complete the following prerequisites:

Install at the repository level​

Add the marketplace and plugin 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 plugin available. enabledPlugins is optional and installs the plugin 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 plugin working files​

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

# Glean plugin local files
.claude/tmp/

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

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

See also​