config-export
Installation
SKILL.md
config-export
Exports CLAUDE.md and ai-context/ to tool-native instruction files for GitHub Copilot, Google Gemini, and Cursor.
Triggers: /config-export, export config, copilot instructions, gemini config, cursor rules
Purpose
config-export reads a source configuration bundle, lets the user select one or more target AI assistants, generates tool-specific instruction files via LLM transformation, shows a dry-run preview, and writes the confirmed files to their canonical locations. It never modifies source files and never writes without explicit user confirmation.
Two source modes:
- Core mode (preferred when
core/exists): the agent-config repo's tool-neutralcore/directory (persona, protocols, methodology, format-types) is the single source of truth. Becausecore/is already strip-free (no~/.claude/paths, no slash commands), the heavy STRIP preamble collapses to a thin guard — see "STRIP in core mode" below. Detect by the presence ofcore/PORTABILITY.mdat the repo root. - Project mode (fallback): the consumer project's
CLAUDE.md+ai-context/files, as described in Step 1. Used when nocore/is present (a downstream consumer project, not the agent-config repo itself).