Skip to main content

ask-codex

Delegate a question or coding task to local Codex when an independent perspective is requested or useful.

소스 정보

저장소
dvcrn/skills
최근 소스 활동
2026년 9월 8일 09:08
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
4 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
ask-codex
description
Delegate a question or coding task to local Codex when an independent perspective is requested or useful.
# Ask Codex Use local `codex exec`. Cloud tasks use `codex-cloud`; specialized review tasks use the corresponding `ask-codex-for-*` skill. ## Task contract Each invocation starts a separate session. Include the goal, necessary context and prior decisions, allowed scope, completion condition, and output format. State whether edits and network access are allowed. For questions and reviews, keep repository files read-only. Allow relevant read-only inspection rather than forbidding the commands needed to read the target. Preserve existing work. Implementation authorization does not grant destructive Git/filesystem operations, commits, pushes, or unrelated dependency changes. Carry forward authorization already established by the user and continue authorized work through verification. When requiring another skill, resolve its file from the session catalog, canonical location, or known repository skill directory. If genuinely unavailable, report the skill and attempted paths; do not invent its standard or claim a complete review. ## Invocation and access - Set `-C` for repository work and `-s` explicitly: `read-only` for analysis, `workspace-write` for authorized implementation. - Never use `danger-full-access` or `--dangerously-bypass-approvals-and-sandbox`. Ask only if the task requires access beyond the authorized boundary. - Use narrow `--add-dir` paths when necessary. Use `--skip-git-repo-check` only outside a Git repository. - Prefer `--ephemeral`; capture the final response in a unique `mktemp` output file. Check exit status and non-empty output before reporting success; clean up the file afterward. - Keep credential stores, private keys, secret files, and unrelated home-directory data outside scope unless the task already authorizes their use. Never put secrets in prompts or captured output. Ask only for sensitive access not already authorized. - Default review/Q&A to no network. Permit network for requested research or necessary documentation/package lookup and state that policy in the prompt. `workspace-write` limits writable locations, not the damage possible inside them. Preserve the task's action constraints in the delegated prompt. ## Model Use `gpt-5.6-sol` with medium effort for ordinary work and high for reviews. Honor a user-selected model or effort. Set effort explicitly. ```bash OUT="$(mktemp -t codex-last-message.XXXXXX)" if codex exec -m gpt-5.6-sol -c model_reasoning_effort="medium" \ -C /path/to/repo -s read-only --ephemeral -o "$OUT" \ "<self-contained task, scope, action/network boundaries, and completion condition>" then if [ -s "$OUT" ]; then cat "$OUT"; else echo "Codex returned no final output" >&2; fi else echo "Codex execution failed" >&2 fi rm -f "$OUT" ``` ## References - Execution failure or timeout: [fallback.md](references/fallback.md). - Continuing an existing session: [resuming.md](references/resuming.md). - Task-specific invocation examples: [examples.md](references/examples.md).
GitHub에서 보기