agent-config-adapter
Skill1 starsChanged 5 months agoMITView on GitHub
Adapt an existing agent configuration or plugin to a new agent or model route. Use when moving agent-harness or another agent setup between Claude Code, Codex, Gemini, Cursor, local models, or non-native model backends such as DeepSeek routed through another agent.
In this repository42 other files it gives its agents.
- codex/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- new-hookSkill
- new-ruleSkill
- new-skillSkill
- publishSkill
- agent-update-watcherSkill
- autopilotSkill
- autoresearch-toolfinderSkill
- claude-desktop-sessionsSkill
- code-verifierSkill
- doc-writingSkill
- end-of-turn-markerSkill
- figma-authoring-constraintsSkill
- figma-design-fetchSkill
- autopilotSkill
- autoresearch-toolfinderSkill
- code-verifierSkill
- linux-freeze-triageSkill
- long-running-tasksSkill
- preview-templateSkill
- privacy-redactSkill
- research-criticSkill
- agent-harness-generalSkill
- system-cleanupSkill
- verify-templateSkill
- verify-visualSkill
- init-codex-configSkill
- long-running-tasksSkill
- memory-flywheelSkill
- preview-templateSkill
- privacy-redactSkill
- prompt-librarySkill
- research-criticSkill
- system-cleanupSkill
- task-orchestratorSkill
- feature-audit-templateSkill
- workflow-fix-templateSkill
- task-relationship-analysisSkill
- tui-installerSkill
- verify-templateSkill
- verify-visualSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 8 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this workflow to port an existing agent configuration without dumping every rule into the target agent context.
- Distinctive: line 45
Verify structurally first, then run one realistic prompt per major workflow.
- Distinctive: line 49
When the target model is not native to the agent, or implicit tool use is weak:
- Distinctive: line 51
Prefer explicit skill invocation in user docs and default prompts.
- Distinctive: line 54
Use scripts for deterministic checks instead of relying on the model to remember every invariant.
- Distinctive: line 57
Avoid hidden global instructions that the routed model may ignore.
- Distinctive: line 58
Keep model-specific workarounds in the adapter skill, not in shared rules.
- Distinctive: line 62
Every adaptation should leave:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
agent-config-adapter
Use this workflow to port an existing agent configuration without dumping every rule into the target agent context.
Inputs to establish
- Source agent and config root.
- Target agent and target model route.
- Whether the model is native to the target agent or routed through a compatibility layer.
- Required capabilities: durable instructions, skills, hooks, MCP/tools, slash commands, subagents, browser/computer use, memories, and installers.
- Non-negotiable isolation constraints: what must not affect the original agent setup.
Adaptation steps
- Inventory the source configuration:
- manifests
- skills
- hooks
- rules/instructions
- MCP/app/tool config
- install scripts
- templates
- tests or validation scripts
- Research the target agent's current extension surfaces from local docs or
official docs. For Codex, use the
openai-docsCodex manual route. - Build a mapping table: source item, target surface, required rewrite, verification method, and isolation risk.
- Choose the smallest target entrypoint:
- instructions file for always-on repo rules
- skill for reusable workflow
- plugin for distribution
- hook for lifecycle enforcement
- MCP/app for live tools or private external data
- Implement target-specific wrappers. Keep shared source content as references so implicit skill metadata stays small.
- Verify structurally first, then run one realistic prompt per major workflow.
Model-route fallbacks
When the target model is not native to the agent, or implicit tool use is weak:
- Prefer explicit skill invocation in user docs and default prompts.
- Split long rule sets into small wrappers that name exactly which references to read.
- Use scripts for deterministic checks instead of relying on the model to remember every invariant.
- Require command output or file inspection before success claims.
- Avoid hidden global instructions that the routed model may ignore.
- Keep model-specific workarounds in the adapter skill, not in shared rules.
Deliverables
Every adaptation should leave:
- A plan document with the mapping table and selected architecture.
- Agent-specific manifest/config files.
- A validation command or script.
- Installation notes for the target agent.
- A rollback note explaining which original agent files were not touched.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

