richfrem/project_sanctuary · Archived

bridge-plugin

Bridge plugin capabilities (commands, skills, agents, hooks, MCP) to specific agent environments (Claude Code, GitHub Copilot, Gemini, Antigravity). Use this skill when converting or installing a plugin to a target runtime.

First seen May 24, 2026

Installation

$ npx skills add richfrem/project_sanctuary --skill bridge-plugin

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from richfrem/project_sanctuary · top by installs.

npx skills add richfrem/project_sanctuary

Browse all from richfrem/project_sanctuary

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Declared
Codex Declared
GitHub Copilot Declared
Windsurf Declared
Gemini CLI Declared
Cline Declared
OpenCode Declared

Repository health

Stars 4
License LICENSE
Default branch main
Open issues 1
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsBash, Write, Read
Declared agents claude-code cursor codex github-copilot windsurf gemini cline opencode amp antigravity kiro-cli roo

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 6,213 B
  • docs SUMMARY.md 244 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Agent Bridge

Overview

[!NOTE]
Preferred Installation Method: npx skills
For standard consumption, we strongly recommend using npx skills add richfrem/agent-plugins-skills/plugins/<name>. It auto-detects your agent environment and installs plugins natively without Python. This bridge-plugin local skill is retained primarily for contributors deploying local source modifications or replicating repos.

This skill adapts and transforms plugin content into the specific formats required by different AI agent environments. It ensures each runtime can see and use the plugin's capabilities in its native format.

Prerequisite

The auto-detect mode only targets existing directories. Create them first:

mkdir .agent .github .gemini .claude

If no directories are found, the installer will print this exact error with the mkdir command.

Usage

CRITICAL: You must never use --target auto. You must explicitly specify your own runtime environment (e.g., antigravity, claude, gemini, github) to avoid polluting other IDEs.

Universal Target Support (Agent Awareness): You are a Universal Translator. You are not limited to the primary examples. If you identify your host system as ANY of the following platforms (or similar ones), you MUST invoke the installer with that specific target name (e.g. --target roo). Supported Environments: amp, codex, cursor, gemini cli, github copilot, kimi code cli, opencode, antigravity, augment, claude code, openclaw, cline, codebuddy, command code, continue, cortex code, crush, droid, goose, junie, iflow cli, kiko code, kiro cli, kode, mcpjam, mistral vibe, mux, openhands, pi, qoder, qwen code, roo code, trae, trae cn, windsurf, zencoder, neovate, pochi, adal.

Bridge a Single Plugin

# Bridge to Claude Code specifically
python ./scripts/bridge_installer.py --plugin <plugin-path> --target claude

# Bridge to Antigravity specifically
python ./scripts/bridge_installer.py --plugin <plugin-path> --target antigravity

Example:

python ./scripts/bridge_installer.py --plugin plugins/my-plugin --target antigravity

Bridge All Plugins (Ecosystem Sync)

For a standalone plugin install:

python ./scripts/install_all_plugins.py --target gemini

Component Mapping Matrix

The bridge intelligently maps plugin source components to the correct file extensions, directories, and architectures expected by the agent environment.

Target Environment commands/*.md skills/ agents/*.md rules/ hooks/hooks.json .mcp.json
Claude Code (.claude/) commands/*.md skills/ skills/<plugin>-<agent>/SKILL.md Appended to ./CLAUDE.md hooks/<plugin>-hooks.json Merged (./.mcp.json)
GitHub Copilot (.github/) prompts/*.prompt.md skills/ skills/<plugin>-<agent>/SKILL.md Appended to .github/copilot-instructions.md (Ignored) Merged (./.mcp.json)
Google Gemini (.gemini/) commands/*.toml skills/ skills/<plugin>/agents/ Appended to ./GEMINI.md (Ignored) Merged (./.mcp.json)
Antigravity (.agent/) workflows/*.md skills/ skills/<plugin>-<agent>/SKILL.md .agent/rules/ (Ignored) Merged (./.mcp.json)
Azure AI Foundry (.azure/) (Ignored) skills/ agents/ (Ignored) (Ignored) .vscode/mcp.json (Capability Hosts)
Universal Generic (.<target>/) commands/*.md skills/ skills/<plugin>/agents/ .<target>/rules/ (Ignored) Merged (./.mcp.json)

GitHub Copilot — Two Agent Types: The agents/*.agent.md column for GitHub Copilot covers two distinct use cases:
- IDE / UI Agents: .github/agents/name.agent.md + .github/prompts/name.prompt.md — invokable by human via Copilot Chat slash command or agent dropdown in VS Code / GitHub.com.
- CI/CD Autonomous Agents: .github/agents/name.agent.md + .github/workflows/name-agent.yml — triggered automatically by GitHub Actions on PR/push/schedule with a Kill Switch quality gate.

The commands/.mdprompts/.prompt.md mapping handles the slash-command pointer only. The full rich instruction body should live in the .agent.md file, not the .prompt.md. Use the create-agentic-workflow skill to scaffold either or both agent types from an existing Skill.

Supported Environments (In-Depth)

Gemini TOML Format

Command .md files are wrapped in TOML. Frontmatter is parsed — the description field is extracted and used as the TOML description. The frontmatter block is stripped from the prompt body.


Skills vs Workflows (Commands) Caution

CRITICAL: The bridge processes skills/ and commands/ (or workflows/ in older plugins) as distinct directories. Algorithms/Logic can be deployed to either, but be careful of duplicating them!
- skills/ are typically for passive knowledge, tools, and persistent behavior.
- commands/ are for active, slash-command execution workflows.

Do not place identical markdown files in both directories within the same plugin, or the bridge will blindly duplicate the logic into the target environments (e.g. into .agent/workflows/ and .agent/skills/ simultaneously, causing contextual bloat).

command = "plugin-name:command-name"
description = "Description from frontmatter"
prompt = """
# Command content without frontmatter
...
"""

When to Use

  • Installing a new plugin: Run bridge after dropping a plugin into plugins/.
  • Adding a new target environment: Existing plugins need to be re-bridged after adding .gemini/ etc.
  • Upgrading a plugin: Re-run bridge to overwrite with latest command content.