Skip to content
Back to skills

Codex

ASecurity

Codex app-serverへ相談、独立レビュー、または範囲を決めた実装を委譲する。Codexを指名した相談・実装・第二意見で使う。Codexを指名しない別アプローチや熟考には deepthink を使う。

  • 8 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 23, 2026
ai-agentspythongit

Works with

  • cursor
  • mcp

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add coil398/dotfiles --skill codex --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Codex?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Codex
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/coil398-codex-238423b3/badge)](https://www.skillsdirectory.com/skills/coil398-codex-238423b3)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "codex"
description: "Codex app-serverへ相談、独立レビュー、または範囲を決めた実装を委譲する。Codexを指名した相談・実装・第二意見で使う。Codexを指名しない別アプローチや熟考には deepthink を使う。"
---

<!-- Cursor native overlay: Codex app-server runner -->

# /codex:Codex app-serverへの委任

`/codex <内容>` でCodexへ相談または実装を依頼します。問い・確認済み事実・対象範囲・禁止範囲・受入条件を具体化し、model / effort と相談・実装のsandbox境界は共有原本 [../../../.agents/skills/codex/SKILL.md](../../../.agents/skills/codex/SKILL.md) に従います。

## runner の起動

共有runner [../../../.agents/skills/codex/scripts/codex-run.py](../../../.agents/skills/codex/scripts/codex-run.py) の絶対pathをこのSkillの実体から解決します。runnerはblocking scriptなので、`generalPurpose` Taskをbackgroundで起動し、そのTaskにはscriptの起動とJSON結果の返却だけを任せます。Cursor Taskにはvendor modelを固定しません。

```text
Task({ subagent_type: "generalPurpose", run_in_background: true, description: "codex runner", prompt: "Run only: python3 <script-path> <runner-arguments>; return its JSON line and process exit code." })
```

`PROMPT` は非空本文または既存prompt fileのどちらか、`CWD` と `WORK_DIR` と `SESSION_FILE` は必要に応じて絶対pathで渡します。`WORK_DIR` は [sanitized-cwd.md](../../../.agents/skills/pir2/references/sanitized-cwd.md) に従い、親の `RUN_DIR` があればそれをそのまま使い、単発呼び出し時は `../../../.agents/skills/pir2/scripts/reserve-run-dir.sh` で確保します。相談・レビューは `--sandbox read-only`、実装では `--sandbox` を省略します。`RUN_ID` は `[A-Za-z0-9._-]+` の一意な値です。新規sessionは未作成の `SESSION_FILE`、続行は同じ `SESSION_FILE` と新しい `RUN_ID` を使います。同じ `SESSION_FILE` を使うjobは同時に1つだけで、前のjobの `DONE_FILE` を確認してから続行します。

Background Taskの完了通知を受けるまで別作業を進め、通知後にJSON要約と実在するartifactを確認します。jobの終了状態、`DONE_FILE` の有無、復旧可否は共有 [runner reference](../../../.agents/skills/codex/references/runner.md) の終了契約に従います。

## app-serverと結果

共有runner scriptはCodex app-server helperを親プロセスから切り離して実行し、終了後に公開完了markerとmachine-readable summaryを作ります。出力path、requested / observed値、usage、最終応答、session検証の詳細は共有 [runner reference](../../../.agents/skills/codex/references/runner.md) を正本とします。

Codexの自己申告やexit codeだけを成功とみなしません。呼び出し元が最終応答、stderr、git diff、変更ファイル、要求した確認結果を検証します。CodexにMCP、外部送信、権限昇格、破壊的操作、本番変更を許可しません。

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.