| name | hidden-folder-audit-migrate-agent-os-to-Codex |
| description | Sub-skill of hidden-folder-audit: Migrate .agent-os to .Codex (+4). |
| version | 1.2.0 |
| category | _internal |
| type | reference |
| scripts_exempt | true |
Migrate .agent-os to .Codex (+4)
Migrate .agent-os to .Codex
cp -r .agent-os .agent-os.backup
mkdir -p .Codex/agents
cp -r .agent-os/agents/* .Codex/agents/ 2>/dev/null
mkdir -p .Codex/standards
*See sub-skills for full details.*
```bash
cp -r .ai .ai.backup
mkdir -p .Codex/skills/prompts
cp -r .ai/prompts/* .Codex/skills/prompts/ 2>/dev/null
cp .ai/config.* .Codex/ 2>/dev/null
git rm -r --cached .ai/ 2>/dev/null
rm -rf .ai
Clean Dead Symlinks
find . -maxdepth 2 -type l ! -exec test -e {} \; -print
find . -maxdepth 2 -type l ! -exec test -e {} \; -delete
rm -rf .agent-runtime
Consolidate Runtime Directories
rm -rf .coordination .session
Update .gitignore
Add these patterns after consolidation:
# Runtime and state (not tracked)
.coordination/
.session/
# Legacy folders (prevent re-creation)
.agent-os/
.ai/
*See sub-skills for full details.*