On this page
A useful setup lets Claude Code and Codex follow the same review procedure without maintaining two drifting copies. Begin by deciding what belongs in project instructions and what belongs in a reusable skill.
The example is a release review: inspect the diff, run existing checks, and report unresolved risks. No deployment permission is implied. The reusable part is the procedure; host-specific configuration is kept small and explicit.
Keep rules, skills and state separate
| Layer | Put here | Avoid here |
|---|---|---|
| Project instructions | Build commands, code conventions, scoped constraints | A long activity diary |
| Reusable skill | When to use it, procedure, required inputs, expected output | Assumed private credentials or universal tool names |
| Current project state | Latest decision, current blocker, next action | An instruction that silently changes for every task |
This split makes change review easier. A new test command updates the project rules; a better release procedure updates the skill; an incomplete release stays in the task record.
Write a skill with an explicit input and result
The Agent Skills specification describes a skill directory with SKILL.md and optional supporting resources. Keep the description concrete enough for a host to recognize when to use it. Do not assume optional frontmatter or special tool directives behave the same everywhere.
--- name: release-review description: Review a proposed release using the current diff, project checks and stated release scope. --- 1. Read the project instructions and the release scope. 2. Inspect the diff and identify affected user flows. 3. Run the existing checks relevant to those flows. 4. Report evidence, failures and unresolved risks. 5. Update the release record. Request no deployment unless authorized.
This is a starting example. Add a small checklist or reference file only when it helps the procedure; keep machine-specific paths in host setup, not in the portable body.
Check compatibility in both actual hosts
- Confirm where the installed version discovers project and user skills.
- Ask each host to identify the loaded review skill and project instructions.
- Run the same harmless review fixture and compare the steps and evidence.
- Check missing commands, tool names, file access and permissions. Adapt only the host-specific difference.
- Change one shared instruction, start a fresh session and verify that both hosts see it.
A file existing on disk proves neither discovery nor execution. If a host cannot load the skill, reference the procedure as a document until its supported installation path is working.
Keep skill changes linked to project decisions
A shared record service such as SaveSlot can hold the current review decision, checklist version and handoff evidence. Skill installation still belongs to the host’s supported mechanism. Store a source link and revision for the shared procedure so an agent can explain what it actually followed.
For host-specific details, use the Claude Code and Codex setup pages. After a procedure change, repeat the narrow compatibility fixture; do not treat one successful host as proof of the other.
Sources & notes
Check the linked official documentation for current product behavior. Illustrations and downloadable examples use fictional data; they do not demonstrate a live account connection or write.
Revision history
- : Published
- : Updated content and references
Prepared by Jasper with AI-assisted drafting and illustrations.


