# Plugin Mapper Install

> Install and bridge a plugin into agent environments.

- Skill: `bcgov/plugin-mapper-install-3` (Agent Skill)
- Install (CLI): `npx skillmds@latest add bcgov/plugin-mapper-install-3`
- Raw SKILL.md: https://api.skillmd.com/api/skills/bcgov/plugin-mapper-install-3/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: bcgov (https://skillmd.com/u/bcgov)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/bcgov/plugin-mapper-install-3

---


# Install/Bridge Plugin

This command installs a plugin into your project (if not present) and bridges its capabilities to your specific agent environment. It prioritizes local plugins first. Note you MUST pass your own architecture name (e.g., `antigravity`) to the `--target_env` parameter.

```bash
PLUGIN_NAME="${plugin_name}"
TARGET_ENV="${target_env}"
LOCAL_PATH="plugins/$PLUGIN_NAME"
VENDOR_PATH=".vendor/agent-plugins-skills/plugins/$PLUGIN_NAME"

# 1. Check Local (Priority: User Created/Modified)
if [ -d "$LOCAL_PATH" ]; then
    echo "Processing local plugin: '$PLUGIN_NAME'..."

# 2. Check Vendor (Fallback: Downloadable)
elif [ -d "$VENDOR_PATH" ]; then
    echo "Plugin '$PLUGIN_NAME' found in vendor. Installing..."
    mkdir -p plugins
    cp -r "$VENDOR_PATH" "plugins/"
else
    echo "Error: Plugin '$PLUGIN_NAME' not found locally or in vendor collection."
    exit 1
fi

# 3. Bridge/Convert (The Core Action)
echo "Bridging '$PLUGIN_NAME' to environment '$TARGET_ENV'..."
python plugins/plugin-mapper/skills/agent-bridge/scripts/bridge_installer.py --plugin "plugins/$PLUGIN_NAME" --target "$TARGET_ENV"
```

