ホーム 車・バイク Should you develop Skills for Claude Code or prepare them for Codex?

Should you develop Skills for Claude Code or prepare them for Codex?

真鍋 千夏 真鍋 千夏 • 更新: • 公開: • 読了約 30 分
目次

The conclusion is, build them to be compatible with both by following the Agent Skills standard, and mature them by running them first in your primary battlefield..

Why this conclusion?

From October to December 2025, Skills entered a standardization race as common components for agents, rather than "convenient features unique to each company." Anthropic announced
Agent Skills on 2025-10-16 and released them as a cross-platform open standard on 2025-12-18. OpenAI also prepared a
Skills page
in the official Codex documentation, clarifying how to use them (e.g., /skills or $skill-name) in the Codex CLI/IDE.

In other words, the real challenge now is not "which tool to bet on," but "how to turn Skills into assets and keep them portable.".

What this article covers

na49dfc58888b
  • Agent Skills as the "next generation of prompt management"

  • Claude Code vs. Codex: how the "effectiveness" of Skills differs

  • Skills design that works for both, with portability in mind (folder structure, operations, security)

  • The first one you can build today (with templates)

1. The change happening now is the end of the "prompt battle"

When agents enter practical work, this happens every time.

  • Explaining "the same task as last time" over and over

  • Instructions become long, and the context gets cluttered

  • Procedures change midway, leading to inconsistent results

  • Cannot be reused by the team

The philosophy that solves this is Agent Skills.

Anthropic's definition is simple: Skills are designed as folders that bundle instructions, scripts, and resources. And what's important is that Skills are
read in stages.

  • At startup, only the name and description are read

  • When needed, the body of SKILL.md is read

  • If further needed, it drills down into references/ or scripts/

Because of this design (progressive disclosure), you don't need to create a massive "resident prompt".

2. "Standardization" was decided between October and December 2025

Keeping this fact in mind will help you make decisions faster.

  • Anthropic announced Agent Skills on 2025-10-16.

  • On 2025-12-18, it was released as an open standard (explicitly stating cross-platform portability). (Anthropic)

  • OpenAI codified how to use Skills in the official Codex documentation and also provided guidance on explicit invocation via /$ in the Codex CLI/IDE.

If you think "it's a Claude feature, so it's only for Claude," you will make the wrong judgment here.

Skills are becoming a "shared package format" that supports the practical operation of agents.

3. What do Skills actually replace in the first place?

There is a lot of confusion, so I will separate their roles.

AGENTS.md is for "resident rules"

Codex searches for instruction files at startup and always loads them up to a certain size. This is suitable for "team etiquette," "prohibited items," and "definitions of Done," which are
rules that should always be in effect.

Skills are "procedure manuals that are only called when needed"

On the other hand, Skills are loaded only when needed, triggered by their description. Therefore,

  • "PDF processing only"

  • "PR review only"

  • "Conventional Commits only," you can cultivate them as
    toolboxes for specific purposes.

In conclusion,

  • AGENTS.md = OS settings

  • Skills = command packs
    —this perspective is the most stable for operations.

4. The way Skills "work" differs between Claude Code and Codex

This is the main topic of this section.

4.1 The style of invocation is different

Claude Code basically has the model autonomously select Skills. The description is important.

Codex is designed with both

  • autonomous selection (automatic)

  • and explicit invocation (/skills or $skill-name) in mind.

This difference is significant.

  • If you want to "ensure this procedure is followed every time," Codex's explicit invocation is stronger.

  • If you want it to "work automatically most of the time and only appear when needed," Claude Code is a better fit.

4.2 The storage location and sharing units are different

Claude Code has a clear workflow for placing personal Skills in ~/.claude/skills/ and project-shared ones in .claude/skills/.

Codex is also written with the assumption that you prepare Skills documents and share them by checking them into the repository.

Both make it easy to create "team assets," but the directories are different.
Therefore, as described later, keeping a single common source and distributing it thinly is more stable.

4.3 The way "restrictions" are applied is different

The Claude side has a philosophy of operating by combining Skills with tool permissions (authorized tools), making the handling of execution permissions important.

Since the Codex side also performs local work as an agent, it is natural to think of Skills as being similar to "code distributed within the company."

5. So which one should be prioritized?

It is less risky not to limit the answer to just one of the two.

Basic policy
  • The content of Skills should be built using Agent Skills standards.

  • For actual operation, run them first in your primary environment (either Claude Code or Codex).

  • For the other one, simply align the directory structure and 'plug it in'.

By doing this,

  • Skills grow through daily improvements.

  • Assets are preserved even when switching tools.

  • It becomes easier to share within the team.
    are all achieved simultaneously.

Anthropic explicitly states that the goal of open standardization is 'cross-platform portability'.
The OpenAI side also assumes the same philosophy (progressive disclosure) and explicit invocation in their Skills documentation.

6. Tips for designing Skills that work in both environments without breaking

This is where the practical part begins.
We aim for them to 'work equally well in both Claude and Codex'.

6.1 Treat the description as a specification-level trigger

Claude Code documentation explicitly states that the description is 'used for application judgment'.
Anthropic's explanation also clarifies that the name and description are what get loaded at startup, serving as the first stage of disclosure.

Therefore, the description is not a prompt, but a routing definition.

Bad example:

  • 'I will support data.'
    Good example:

  • 'Read xlsx sales data, aggregate it, create a graph, and finally report in Markdown. Use this when words like sales, revenue, KPI, or pivot appear.'

This 'definitive statement' works for both Claude's autonomous invocation and Codex's automatic selection.

6.2 Keep SKILL.md short and offload details to references/

Anthropic explains that 'as Skills become complex, SKILL.md alone becomes too heavy, so bundle additional files and have them followed only when necessary'.

If you follow this,

  • The model stops doing the "full-text paste hell"

  • Specification changes become localized

  • Team reviews become easier
    to perform.

6.3 Move "parts requiring reproducibility" to scripts/

Skills become inconsistent the more you "make them do it via text."
For command execution, file conversion, etc., it is more stable to make them into scripts and have them referenced instead.
(This is compatible with the premise that both Claude and Codex are "agents that handle the file system.")

6.4 Do not rely too much on vendor-specific extensions

If you are aiming for "portability," it is safer to first build within the standard range, and if absolutely necessary, split them into derived versions.
Standardization is progressing, but implementation differences are not necessarily zero.

7. Distribution strategy: "One common source, two deployment locations"

Here is an operational example with the fewest accidents.

  • skills/ (common source) within the repository

  • .claude/skills/ for Claude Code

  • .codex/skills/ (or the location referenced by Codex) for Codex

The substance is the same; only the placement is lightly aligned.

repo/
  skills/
    pr-review/
      SKILL.md
      references/
      scripts/
  .claude/skills/
    pr-review -> ../../skills/pr-review
  .codex/skills/
    pr-review -> ../../skills/pr-review

If symbolic links are difficult in your environment, copying is fine, but update omissions will occur.
The point is to create a "single source of truth" somewhere, such as by synchronizing via CI.

8. Do not overlook security just because "it's convenient"

Skills are essentially "procedure manuals + code."

In fact, research reports have emerged showing that Skills can be abused to deploy ransomware. (Axios)
This type of risk is more direct than prompt injection.

At a minimum, it is realistic to observe the following:

  • Install Skills only from trusted sources

  • Skills distributed internally should be reviewed just like regular code

  • Especially for Skills that include scripts/, keep the execution content in a human-readable format

  • Do not let it "execute automatically"; first, establish a Plan -> Execute pattern

9. This is the strongest choice for the first one

If you fail at "what to build first," Skills will be seen as a "management cost" and discarded.

I recommend PR Review Skills. The reason is simple: the frequency of repetition is high, the results are visible, and the value of team sharing is immediate.

The framework (template) for PR Review Skills
---
name: pr-review
description: >
  Review pull requests for this repository. Use when the user asks for PR review,
  code review, risk assessment, regression risk, or wants a checklist-based review.
---
Purpose
You provide a repeatable PR review that prioritizes correctness, security, test coverage,
and maintainability.
When to Use
- The user asks to review a PR or diff
- The user wants regression risk analysis
- The user wants missing tests or edge cases
Workflow
1) Summarize change intent in 3 bullets
2) Identify risk areas (API changes, concurrency, config, migrations)
3) Check tests: existing, missing, and suggested
4) Provide actionable review comments (Must / Should / Nit)
5) Provide a merge decision recommendation with conditions
Output format
Summary
Risks
Tests
Review comments
Recommendation

From here on out,

  • Separate specific perspectives (Quality Department perspectives, product characteristics) into references/

  • Separate automated checks (lint/test) into scripts/
    and if you develop them this way, they will become team assets.

Calling with Codex (Example)

Codex guides explicit calls via /skills or $skill-name.
Therefore, it is easy to standardize operations such as "PR reviews must always use $pr-review."

Calling with Claude Code (Example)

Claude Code looks at the description to decide whether to apply it, so it is designed to be easily triggered even by natural language requests.

Summary

If I were to answer your question directly, it is this:

  • Those who use Claude Code will find that developing Skills with Claude Code is the fastest way

  • Those who plan to use Codex should also consider operations based on Codex's explicit calls

  • However, the optimal solution is to build them as standard Agent Skills to support both

The next step is simple.

Build just one PR Review Skill.
The moment that one starts working in your team, your experience will shift from "prompt management" to "Skills management."

Reference links

Anthropic: Equipping agents for the real world with Agent Skills
https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-agent-skills

Agent Skills open standard(agentskills.io)
https://agentskills.io/

OpenAI Codex: Skills docs
https://developers.openai.com/codex/skills/
https://developers.openai.com/codex/skills/create-skill/
https://developers.openai.com/codex/changelog/

Claude Code Docs: Skills
https://code.claude.com/docs/en/skills
https://code.claude.com/docs/ja/skills

同じカテゴリの記事

真鍋 千夏
デジタルマーケター 真鍋 千夏
プロフィールを見る →

美容と暮らしの話題を担当。メーカーの公式発表、商品成分の公表資料、専門家の監修記事をもとに事実を整理します。

おすすめの関連記事