Agent Skill Groups
Use this skill when the user wants to inspect, group, profile, enable, disable,
or clean up local SKILL.md directories across agent runtimes.
Workflow
- Identify the runtime:
codex,claude-code,opencode, orgeneric. - Inspect the current skill inventory before moving anything.
- Generate or load a
groups.jsonfile. - Preview changes with
plan. - Generate persistent agent instructions with
memory. - Create a backup before moving directories.
- Switch profiles only after the plan is understood.
- Validate the final filesystem state.
For a safe end-to-end rehearsal, run agent-skill-groups demo --json first.
It creates sample active and disabled skill roots, writes groups.json and an
agent memory block, switches a profile, restores the backup, and reports
ok: true when the reversible workflow succeeds.
Commands
agent-skill-groups runtimes
agent-skill-groups demo --json
agent-skill-groups analyze --runtime codex --json
agent-skill-groups suggest --runtime codex --json
agent-skill-groups init --runtime codex --output groups.json
agent-skill-groups status --config groups.json --runtime codex --json --details
agent-skill-groups plan --config groups.json --runtime codex research
agent-skill-groups memory --config groups.json --runtime codex --write AGENTS.md
agent-skill-groups backup --config groups.json --runtime codex
agent-skill-groups profile --config groups.json --runtime codex research
agent-skill-groups validate --config groups.json --runtime codex --json
Use AGENT_SKILL_GROUPS_CONFIG when scripts or hooks need a stable config path.
Safety
- Do not edit skill contents during grouping.
- Do not delete skills as part of a profile switch.
- Keep
.systemand other protected skills incore. - Prefer
--jsonoutput when another agent or script consumes results.