add-skill
CommandAdd a skill to the project with validation and README generation
Create a detailed implementation plan using Codex 5.2 with high reasoning
$ npx -y skills add softaworks/agent-toolkit --agent claude-code
description: Create a detailed implementation plan using Codex 5.2 with high reasoning argument-hint: "<what you want to plan>" allowed-tools: Read, Write, Bash, AskUser
You are being asked to create a detailed implementation plan using a Codex subagent. Your job is to: 1. Understand the user's planning request 2. Ask clarifying questions using AskUser to improve plan quality 3. Craft an excellent, detailed prompt for Codex 4. Execute Codex to generate and save the plan
**Always uses:** `gpt-5.2-codex` with `high` reasoning
$ARGUMENTS
Look at what the user wants to plan. Identify:
**Use AskUser to ask 3-6 targeted clarifying questions** before generating the plan.
Good clarifying questions:
**For "implement auth":**
**For "build an API":**
**For "migrate to microservices":**
**For "add testing":**
After getting answers, also gather relevant context:
Create a detailed prompt that includes: 1. **Clear objective** - What plan needs to be created 2. **All requirements** - Everything learned from clarifying questions 3. **Constraints** - Technology choices, timeline, team size 4. **Context** - Relevant codebase info, existing patterns 5. **File references** - List of important files/docs the Codex should read for context 6. **Plan structure** - What sections the plan should include 7. **Output instructions** - Write to `codex-plan.md` in current directory
Always include a section in the prompt telling Codex which files to read first for context:
## Files to Read for Context Before creating the plan, read these files to understand the current codebase: **Architecture & Config:** - `README.md` - Project overview - `package.json` / `pyproject.toml` - Dependencies and scripts - `.env.example` - Environment variables needed **Existing Code Patterns:** - `src/lib/db.ts` - How database connections are handled - `src/middleware/auth.ts` - Existing auth patterns (if any) - `src/types/index.ts` - Type definitions **Documentation:** - `docs/architecture.md` - System architecture - `docs/api.md` - API documentation Read these files FIRST to understand existing patterns before creating the plan.
Adapt this list based on what you discovered in Step 3 (Gather Context). Include:
**Critical instruction to include:** Tell Codex to NOT ask any further clarifying questions - it has all the information it needs and should just write the plan and save the file.
Save the crafted prompt to `prompt_to_codex.md` for manual execution.
The user will execute Codex manually using:
# --full-auto: Executa automaticamente sem interação humana # --skip-git-repo-check: Pula verificação se está em um repositório git # -c model=gpt-5.2-codex: Usa o modelo GPT-5.2 Codex (mais avançado) # -c model_reasoning_effort=high: Ativa raciocínio de alto nível (deep thinking) # --output-last-message: Salva a última mensagem do Codex em arquivo codex exec --full-auto --skip-git-repo-check \ -c model=gpt-5.2-codex \ -c model_reasoning_effort=high \ --output-last-message /tmp/codex-plan-result.txt \ "$(cat prompt_to_codex.md)"
Or read the prompt and execute it:
cat prompt_to_codex.md # Review the prompt first
**User:** `/codex-plan help me implement auth into my webapp`
**You ask (using AskUser):**
I'd like to create a detailed auth implementation plan for you. A few questions first: 1. What authentication methods do you need? - Email/password - OAuth (Google, GitHub, etc.) - Magic links - SSO/SAML 2. Do you need role-based access control (admin, user, etc.) or just authenticated vs not? 3. What's your backend stack? (e.g., Node/Express, Python/FastAPI, Next.js API routes) 4. Where will you store sessions? (Database, Redis, JWT stateless) 5. Do you need any of these features? - Password reset - Email verification - Two-factor authentication (2FA) - Remember me /
Opinionated skills shared by @leonardocouy for improving daily work efficiency with Claude Code. Skills are packaged instructions and scripts that extend agent capabilities across development, documentation, planning, and professional workflows.
Add a skill to the project with validation and README generation
Sync root README.md with current skills inventory from skills/ directory
Draft a professional email using the What-Why-How framework. Use when you need to compose emails to colleagues, stakeholders, or…
Build a mental model of changes by splitting them into smaller logical chunks
You are `Code-Sage`, an expert AI code reviewer and technical writer. Your purpose is to assist human developers by providing…
Run or manage the SkillOpt-Sleep self-evolution cycle (review past sessions, replay tasks through a selected backend, consolidate…
Create or update an OpenCode skill using the bundled skill-creator workflow