Token导航 LogoToken导航TokenDH.com
前端设计执行命令github未标认证来源可访问许可证需确认审计异常

codex-promptingCodex prompting 前端

Agent Skill

用于辅助提示词、系统指令、Agent 行为约束和工作流模板的整理。它适合让 Agent 规范任务边界、统一输出格式、拆分操作步骤或优化提示词可复用性。使用时需要保留真实业务约束,不要把示例当硬规则;涉及自动执行、外部工具或高风险操作时,应在提示词中明确确认步骤、权限边界和失败处理方式。

总安装

737

周安装

31

GitHub Stars

55

下载量

258
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:codex-prompting(Codex prompting 前端)
来源仓库:https://github.com/joelhooks/joelclaw
仓库路径:skills/codex-prompting
安装命令:
npx skills add https://github.com/joelhooks/joelclaw --skill codex-prompting
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/joelhooks/joelclaw --skill codex-prompting

简介

codex-prompting 优化提示词结构与系统指令,提升 Agent 行为一致性。

  • 适用于规范任务边界、统一输出格式或构建可复用工作流模板。
  • 自动设置 gpt-5.4 模型,仅按用户要求覆盖其他模型。
  • 涉及高风险操作时应在提示词中明确确认步骤与失败处理逻辑。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Codex Prompting Skill

What this skill is for

Use this when the request is any of the following:

  • "send to codex"
  • "prompt codex"
  • "use codex"
  • "ask codex"
  • "delegate to codex"
  • "delegate this to codex"
  • "run this in codex"
  • "run in codex"
  • "handoff to codex"
  • "handoff this to codex"
  • "codex this"

The job is to produce a high-signal Codex request that gets directly executed with minimal ambiguity.

Required model default

  • Codex tasks must set model to gpt-5.4 when unspecified.
  • Use an explicit model override only when user explicitly requests another.

Local runtime defaults (Panda)

  • Global defaults live in ~/.codex/config.toml:

- approval_policy = "never" - sandbox_mode = "danger-full-access" - allow_login_shell = false

  • Hard safety rails live in ~/.codex/rules/safety.rules:

- forbid force/mirror pushes - forbid obvious filesystem root wipe commands - forbid disk-destruction primitives (diskutil eraseDisk, mkfs, dd)

  • pi-tools codex extension defaults to:

- --ask-for-approval never - --sandbox danger-full-access - full_auto = false (opt-in legacy mode)

  • Expected behavior:

- normal git commit and git push should run without permission friction - blocked commands fail fast with explicit forbidden decision

System shape to anchor Codex prompts

  • Orchestrated by packages/system-bus and durable Inngest functions.
  • Event bridge and notifications flow through Redis, gateway, and Telegram.
  • Observability is required: OTEL -> Typesense (otel_events) -> Convex/UI surfaces.
  • CLI-first operations are expected; prefer joelclaw, slog, and skill commands instead of direct daemon/db/process pokes.

Always-follow execution contract (from OpenAI Codex prompting guide)

  1. No preamble, no plans, and no “I’ll do X then Y” narration.
  2. Preserve strict action-first output:

- do exactly what the user asked - include only necessary confirmation - return direct results.

  1. Keep prompts structured and executable.
  2. Preserve one clear objective and constrained scope.
  3. Prioritize safe shell/tool actions and explicit failure handling.
  4. Use parallel tool calls whenever independent work can run concurrently.
  5. Use durable workflow patterns in Codex loops:

- explicit IDs - explicit rollback/retry context - structured outputs for downstream steps.

Canonical request format for Codex handoff

Use this exact shape unless the user already provided a better one:

  • Goal: <single concrete outcome>
  • Context: <repo/path/runtime facts>
  • Constraints: <time/risk/tool limits>
  • Do:

- <task 1> - <task 2>

  • Deliver:

- <artifact paths> - <verification commands + expected signals>

  • Rollback:

- <quick recovery command>

If asking Codex to operate this repo, include absolute paths and the owning system paths (apps/web, packages/system-bus, etc.).

Skill routing reminders

When Codex output needs deeper execution, remind Codex to use these local/system skills first:

  • inngest and inngest-durable-functions for durable work definitions and retries
  • gateway and gateway-diagnose for session/event bridge and Telegram path checks
  • o11y-logging for telemetry-first implementations
  • joelclaw-system-check for full environment health checks
  • skill-creator when defining/expanding skill content
  • joelclaw CLI (status, runs, logs, etc.) for validation

If context is web work, add:

  • joelclaw-web, frontend-design, and any relevant next-* skill.

Do NOT poll codex_tasks

After dispatching a codex task, do not poll codex_tasks in a loop. The widget shows live status automatically. Polling every 2-3 seconds wastes tokens, clutters the conversation, and adds no value.

Instead:

  • Dispatch the task
  • Do other useful work (read files, update ADRs, prepare next steps)
  • Check codex_tasks once after ~60 seconds, or when the widget shows completion
  • If the task is still running after 60s, check once more at ~120s
  • Never poll more than 3 times total for a single task

The task result is reported back automatically when it finishes. Trust the widget.

What to include in prompts

For any Codex-requested operational run:

  • exact paths
  • exact command(s) to run
  • expected signals for success/failure
  • idempotency strategy
  • rollback command.

For any code change:

  • file targets (absolute or repo-relative)
  • compatibility constraints
  • observability check to prove behavior.

Mac volume mounting note

  • Do not assume this is solved universally.
  • Treat macOS volume mount failures as environmental and include explicit mount/permission checks before retries.
  • If failures recur, route through retry + diagnostic signal collection before reattempt.

Trigger and detection notes

  • This is an intent skill: treat natural language variants as valid.
  • If user includes any of:

- "send to codex" - "prompt codex" - "use codex" - "ask codex" - "delegate to codex" - "run in codex" then route here first.

  • If phrasing is vague, ask one minimal clarification and keep the response minimal.

Quick command patterns

rg -n "toolName\\\":\\\"codex\\\"|send to codex|prompt codex|use codex|ask codex|delegate to codex|delegate this to codex|run this in codex|run in codex|handoff to codex|handoff this to codex|codex this" ~/.pi/agent/sessions
joelclaw status
joelclaw runs --count 10 --hours 24
joelclaw otel stats --hours 24

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.59%
按下载量换算87

Claude

31.68%
按下载量换算82

Cursor

19%
按下载量换算49

Gemini CLI

10.49%
按下载量换算27

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/joelhooks/joelclaw --skill codex-prompting 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills