declaudify
Installation
SKILL.md
Declaudify
Normalize AI-agent config so the repo is portable across agent runtimes.
When to use
Use this skill when a repository contains Claude-specific artifacts such as:
CLAUDE.md.claude/folders (commands,hooks,skills,agents).claude-plugin/plugin.jsonand.claude-plugin/marketplace.json- Claude-specific wording in README, scripts, or CI
Goals
- Preserve behavior while removing Claude lock-in.
- Prefer neutral formats and Codex-compatible plugin paths.
- Keep migration safe: inventory first, dry-run by default, reversible edits.
Target standards
AGENTS.mdas the canonical instruction file.- Reusable skills as folder-based skills with
SKILL.mdfrontmatter (name,description). - Hooks via standard git/husky/lefthook locations.
- Codex plugin manifest at
.codex-plugin/plugin.json. - Codex marketplace at
.agents/plugins/marketplace.jsonwith plugin entries that include:source: { source: "local", path: "..." }policy.installationpolicy.authenticationcategory
See references/standards-map.md for detailed mappings.
Process
- Inventory Claude-specific artifacts.
- Propose a mapping plan with file-by-file targets.
- Run dry-run transformation.
- Apply transformation.
- Validate with lint/test/typecheck and search for leftover Claude-specific references.
Commands
Use the bundled script:
# Inventory + planned changes only
bash ./scripts/declaudify.sh --dry-run
# Apply migration (keeps backups in .declaudify-backups/)
bash ./scripts/declaudify.sh --write
# Apply and remove migrated Claude-specific files after copying
bash ./scripts/declaudify.sh --write --cleanup
# Run against a different repo
bash ./scripts/declaudify.sh --root /path/to/repo --dry-run
Completion checklist
AGENTS.mdexists and is not just a symlink toCLAUDE.md..claude/*content is migrated to neutral locations.- Each migrated plugin has
.codex-plugin/plugin.json. - If marketplace exists,
.agents/plugins/marketplace.jsonexists with Codex schema. - Migrated skills have
skills/<name>/SKILL.md(or.agents/skills/<name>/SKILL.md). rg -n "CLAUDE.md|\\.claude/|\\.claude-plugin"only returns intentional legacy references.
Related skills
More from markphelps/agent-plugins
vault-lint
Hygiene pass over notes/ and projects/ surface
9vault-research
Research a note - find competitors, discussions, and market signals
8vault-compact
Merge clusters of small related notes into consolidated files
7vault-concept-promoter
Promote repeated themes into canonical concept pages under notes/concepts
6vault-maintain
Weekly bounded maintenance loop across ingestion, hygiene, tracking, and
6vault-cleanup
Audit processed-source archives for integrity and hygiene
5