# Adapt Claude To Agents

> Generate or refresh a project-local `AGENTS.md.tmpl` for Praxion Codex onboarding from a project's root `CLAUDE.md`. Use when `install.sh codex <project>` needs a Codex source template, when removing Claude-only operational details while preserving portable project guidance, or when refreshing a previously generated Codex project template. Use when this capability is needed.

- Skill: `tomevault-io/adapt-claude-to-agents` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/adapt-claude-to-agents`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/adapt-claude-to-agents/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/adapt-claude-to-agents

---


# Adapt Claude To Agents

Generate a project-local Codex template source from a project's root
`CLAUDE.md`. The output is `AGENTS.md.tmpl`, not the final compiled
`AGENTS.md`.

## Workflow

1. Read the project's root `CLAUDE.md`.
2. Preserve portable project guidance: project description, repository layout,
   build/test commands, verification paths, and cross-project conventions.
3. Remove or rewrite Claude-only operational details that do not belong in a
   Codex project template.
4. Write a reviewable `AGENTS.md.tmpl` that can be merged with Praxion's shared
   Codex baseline.

## Bundled Script

Use `scripts/claude_to_agents.py` for deterministic generation during
`install.sh codex`. The installer may call the script directly; the output still
follows this skill's workflow and contract.

## Guardrails

- Treat `AGENTS.md.tmpl` as project-local source.
- Treat final `AGENTS.md` as compiled output.
- Do not copy Praxion's shared Codex baseline into the generated project
  template.
- Favor conservative removal over speculative rewriting when Claude-only
  details are ambiguous.

---
> Source: [francisco-perez-sorrosal/praxion](https://github.com/francisco-perez-sorrosal/praxion) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-05-23 -->

