一键导入
agent-config-bridge
Analyze a repository, plan safe config bridging between GitHub Copilot CLI and OpenCode, and apply the approved translation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze a repository, plan safe config bridging between GitHub Copilot CLI and OpenCode, and apply the approved translation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Index Logseq markdown into SQLite, query the index quickly, and synchronize markdown updates back into the database.
Publish or update a Copilot CLI plugin in a repository marketplace by wiring marketplace metadata, source paths, README guidance, and install instructions.
Add custom agents, reusable skills, and MCP configuration to a Copilot CLI plugin while keeping the manifest and documentation aligned.
Create a new GitHub Copilot CLI plugin skeleton with a manifest, starter documentation, agent files, skill directories, and optional MCP wiring.
Perform safe, auditable open, close, create, move, and edit operations on KeePass databases via a local Python helper script.
Queue and run delegated repo tasks inside tmux-managed worker sessions using external coding CLIs such as Copilot or OpenCode.
| name | agent-config-bridge |
| description | Analyze a repository, plan safe config bridging between GitHub Copilot CLI and OpenCode, and apply the approved translation. |
Use this skill when the user wants to understand or bridge agent-related repository configuration between GitHub Copilot CLI and OpenCode.
It inspects the current repository, inventories agent, skill, MCP, command, and instruction files, and then uses plugins/util-skills/scripts/agent_config_bridge.py to generate a transparent bridge plan.
The helper is safety-first:
scan and plan before applyBefore running the helper, determine the repository root explicitly. Use the user's requested directory when provided; otherwise inspect the current working tree and identify the top-level repository root before continuing.
All helper invocations should pass --repo-root <repo-root> so the scan, plan, and apply steps operate on the same tree.
The bridge can safely create relative symlinks for assets that already share the same Markdown-based structure:
skills/<name>/SKILL.md -> OpenCode .opencode/skills/<name>/SKILL.md.opencode/skills/<name>/SKILL.md (or compatibility roots under .claude/skills and .agents/skills) -> Copilot skills/<name>/SKILL.mdsource-command.md provenance files.github/copilot-instructions.md -> AGENTS.md only when targeting OpenCode and no AGENTS.md already existsThese assets require generated wrapper or config files instead of raw symlinks:
agents/*.agent.md -> generated OpenCode .opencode/agents/*.md.opencode/agents/*.md -> generated Copilot agents/*.agent.md.mcp.json -> generated OpenCode opencode.json mcp entriesopencode.json or opencode.jsonc mcp entries -> generated Copilot .mcp.json.opencode/commands/*.md -> generated Copilot skills/<name>/SKILL.md wrappers plus symlinked source markdownRun the helper in scan mode first:
python3 plugins/util-skills/scripts/agent_config_bridge.py scan \
--repo-root <repo-root>
Review the structured inventory and identify whether the repository is classified as copilot, opencode, mixed, or none.
Generate a plan before any writes or symlink creation:
python3 plugins/util-skills/scripts/agent_config_bridge.py plan \
--repo-root <repo-root> \
--target <copilot|opencode> \
[--source-root <source-root>] \
[--target-root <target-root>]
Always show the exact plan to the user.
The plan makes each operation explicit as link, write-file, write-json, or skip, with reasons.
Before running apply, present the exact plan and ask the user for explicit confirmation.
Use a direct yes/no question such as:
Shall I apply this exact bridge plan? (yes/no)
Do not create any files or symlinks until the user answers yes.
After approval, run:
python3 plugins/util-skills/scripts/agent_config_bridge.py apply \
--repo-root <repo-root> \
--target <copilot|opencode> \
[--source-root <source-root>] \
[--target-root <target-root>]
Summarize:
link, write-file, write-json, and skipIf the repository contains multiple possible Copilot plugin roots or multiple OpenCode-compatible skill roots, do not guess. Surface the ambiguity in the plan and ask the user which source root should be used.
If a destination file already exists as a regular file, treat that as a collision risk. Do not overwrite it silently.
If a destination symlink already points at the correct source, it is safe to keep it as-is.
Return a concise summary with:
Classification: <copilot|opencode|mixed|none>
Target: <copilot|opencode>
Source root: <path>
Target root: <path>
Planned actions:
- <action> <destination> — <reason>
Apply summary:
- linked: <n>
- written: <n>
- json_written: <n>
- kept: <n>
- skipped: <n>
scan or plan before apply.