agentleFS
jajupmochijajupmochi/agent-harness/skills/agent-config-adapter/SKILL.md

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.

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
  1. Distinctive:

    Use this workflow to port an existing agent configuration without dumping every rule into the target agent context.

    line 8
  2. Distinctive:

    Verify structurally first, then run one realistic prompt per major workflow.

    line 45
  3. Distinctive:

    When the target model is not native to the agent, or implicit tool use is weak:

    line 49
  4. Distinctive:

    Prefer explicit skill invocation in user docs and default prompts.

    line 51
  5. Distinctive:

    Use scripts for deterministic checks instead of relying on the model to remember every invariant.

    line 54
  6. Distinctive:

    Avoid hidden global instructions that the routed model may ignore.

    line 57
  7. Distinctive:

    Keep model-specific workarounds in the adapter skill, not in shared rules.

    line 58
  8. Distinctive:

    Every adaptation should leave:

    line 62

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

agent-config-adapter

Use this workflow to port an existing agent configuration without dumping every rule into the target agent context.

Inputs to establish

  1. Source agent and config root.
  2. Target agent and target model route.
  3. Whether the model is native to the target agent or routed through a compatibility layer.
  4. Required capabilities: durable instructions, skills, hooks, MCP/tools, slash commands, subagents, browser/computer use, memories, and installers.
  5. Non-negotiable isolation constraints: what must not affect the original agent setup.

Adaptation steps

  1. Inventory the source configuration:
    • manifests
    • skills
    • hooks
    • rules/instructions
    • MCP/app/tool config
    • install scripts
    • templates
    • tests or validation scripts
  2. Research the target agent's current extension surfaces from local docs or official docs. For Codex, use the openai-docs Codex manual route.
  3. Build a mapping table: source item, target surface, required rewrite, verification method, and isolation risk.
  4. 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
  5. Implement target-specific wrappers. Keep shared source content as references so implicit skill metadata stays small.
  6. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.