Adapt Agent System
Adapts a project that was set up for one AI agent system so that it can also be used with another supported system.
Goal
Transfer project instructions, rules, commands, and, if needed, other AI-specific configuration between supported agent systems without destroying existing setups or copying private local information in an uncontrolled way.
Supported target systems in version 1:
- Claude Code (
CLAUDE.md, .claude/)
- OpenAI Codex (
AGENTS.md, .codex/, .agents/skills/)
- Hermes Agent (
SOUL.md, MEMORY.md, USER.md, project-specific AGENTS.md)
Prerequisites
- Read the system profiles in
agent-personas/systems/ as a reference, in particular:
claude-code.md
openai-codex.md
hermes-agent.md
- Always read existing target-system files before making changes and do not blindly overwrite them.
- Preserve existing source-system files; this skill creates compatibility, not a migration with deletion.
- Only carry over private, local, or personal content after explicit confirmation.
Steps
Determine source and target
- Detect existing systems based on typical files:
- Claude Code:
CLAUDE.md, .claude/CLAUDE.md, .claude/rules/, .claude/commands/, .claude/settings*.json
- OpenAI Codex:
AGENTS.md, .codex/config.toml, .agents/skills/
- Hermes Agent:
SOUL.md, MEMORY.md, USER.md, project-specific AGENTS.md
- If the source or target is not clear, ask the user which combination they want.
Let the porting depth be chosen
- Before implementing, ask the user which depth should be used:
- Project instructions: Transfer only durable project context, architecture notes, conventions, build/test commands, and repository guidance.
- Plus commands/rules: Additionally review commands, rules, and comparable workflow files and transfer them into the most appropriate target-system format, or document them as a migration note.
- Everything AI-specific: Additionally review settings, skills, memories, local overrides, and personal/system-level files. Never automatically copy secrets, tokens, absolute machine paths, private memories, or personal content.
Classify content
- Separate project context, workflow rules, reusable skills, persona/identity, user preferences, and local configuration.
- Claude/Codex project files should primarily contain repository context, conventions, commands, and working rules.
- Hermes
SOUL.md is meant for identity, personality, and communication style; project context belongs in AGENTS.md whenever possible.
- When a piece of content has no clear equivalent in the target system, do not force it; instead, output it as a migration note.
Create or extend target-system files
- Use the respective structure from the appropriate system profile.
- Preserve existing target content unless it clearly conflicts.
- Add new content concisely, durably, and specific to the target system.
- Avoid generic best practices that do not come from the project context.
Safeguard private and local content
- Treat these sources as sensitive:
*.local.*, local overrides, memories, settings, absolute paths, tokens, secrets, personal preferences.
- Explicitly ask before carrying over or summarizing them.
- If no confirmation is given, skip them and mention them in the output.
Output
After the adaptation, report:
- Which source and which target system were used.
- Which porting depth was chosen.
- Which files were created or changed.
- A short mapping summary: which content was transferred where.
- Assumptions, skipped content, and warnings about parts that could not be transferred cleanly.
For a pure planning run without file changes, use the same structure, but instead of changed files, name the recommended target files and concrete content.
1---2name: adapt-agent-system3description: Adapts a project set up for one AI agent system to work with another supported system4---56# Adapt Agent System78Adapts a project that was set up for one AI agent system so that it can also be used with another supported system.910## Goal1112Transfer project instructions, rules, commands, and, if needed, other AI-specific configuration between supported agent systems without destroying existing setups or copying private local information in an uncontrolled way.1314Supported target systems in version 1:1516- Claude Code (`CLAUDE.md`, `.claude/`)17- OpenAI Codex (`AGENTS.md`, `.codex/`, `.agents/skills/`)18- Hermes Agent (`SOUL.md`, `MEMORY.md`, `USER.md`, project-specific `AGENTS.md`)1920## Prerequisites2122- Read the system profiles in `agent-personas/systems/` as a reference, in particular:23 - `claude-code.md`24 - `openai-codex.md`25 - `hermes-agent.md`26- Always read existing target-system files before making changes and do not blindly overwrite them.27- Preserve existing source-system files; this skill creates compatibility, not a migration with deletion.28- Only carry over private, local, or personal content after explicit confirmation.2930## Steps31321. **Determine source and target**33 - Detect existing systems based on typical files:34 - Claude Code: `CLAUDE.md`, `.claude/CLAUDE.md`, `.claude/rules/`, `.claude/commands/`, `.claude/settings*.json`35 - OpenAI Codex: `AGENTS.md`, `.codex/config.toml`, `.agents/skills/`36 - Hermes Agent: `SOUL.md`, `MEMORY.md`, `USER.md`, project-specific `AGENTS.md`37 - If the source or target is not clear, ask the user which combination they want.38392. **Let the porting depth be chosen**40 - Before implementing, ask the user which depth should be used:41 1. **Project instructions:** Transfer only durable project context, architecture notes, conventions, build/test commands, and repository guidance.42 2. **Plus commands/rules:** Additionally review commands, rules, and comparable workflow files and transfer them into the most appropriate target-system format, or document them as a migration note.43 3. **Everything AI-specific:** Additionally review settings, skills, memories, local overrides, and personal/system-level files. Never automatically copy secrets, tokens, absolute machine paths, private memories, or personal content.44453. **Classify content**46 - Separate project context, workflow rules, reusable skills, persona/identity, user preferences, and local configuration.47 - Claude/Codex project files should primarily contain repository context, conventions, commands, and working rules.48 - Hermes `SOUL.md` is meant for identity, personality, and communication style; project context belongs in `AGENTS.md` whenever possible.49 - When a piece of content has no clear equivalent in the target system, do not force it; instead, output it as a migration note.50514. **Create or extend target-system files**52 - Use the respective structure from the appropriate system profile.53 - Preserve existing target content unless it clearly conflicts.54 - Add new content concisely, durably, and specific to the target system.55 - Avoid generic best practices that do not come from the project context.56575. **Safeguard private and local content**58 - Treat these sources as sensitive: `*.local.*`, local overrides, memories, settings, absolute paths, tokens, secrets, personal preferences.59 - Explicitly ask before carrying over or summarizing them.60 - If no confirmation is given, skip them and mention them in the output.6162## Output6364After the adaptation, report:65661. Which source and which target system were used.672. Which porting depth was chosen.683. Which files were created or changed.694. A short mapping summary: which content was transferred where.705. Assumptions, skipped content, and warnings about parts that could not be transferred cleanly.7172For a pure planning run without file changes, use the same structure, but instead of changed files, name the recommended target files and concrete content.