From hotl
Generates HOTL adapter files (CLAUDE.md, AGENTS.md, .clinerules, etc.) for code assistants like Claude Code, Codex, Cline, Cursor, and GitHub Copilot. Also optionally installs Codex custom agent templates.
How this skill is triggered — by the user, by Claude, or both
Slash command
/hotl:setup-projectThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate the right config files so every code assistant on your team follows HOTL principles.
Generate the right config files so every code assistant on your team follows HOTL principles.
Announce: "Running HOTL project setup. Let me check what tools your team uses."
Ask: "Which code assistants does your team use?" (select all that apply)
Ask: "Will this project run multi-phase initiatives?" Default: no. Only answer yes for multi-phase work like major migrations, v1/v2 rewrites, platform rebuilds, or any effort that will span multiple phases with separate phase design docs and workflows. For a single feature, bug fix, or refactor, answer no — the standard HOTL flow handles those just fine.
If yes, ask the follow-up: "What's the initiative slug? (kebab-case, e.g. ai-assurance, v2-migration)". Validate the answer matches [a-z0-9][a-z0-9-]*.
If no (or if the user declines to opt in), skip step 5 entirely and proceed with tool-adapter generation only.
For each selected tool, generate the appropriate file:
| Tool | File Generated | Location |
|---|---|---|
| Claude Code | CLAUDE.md | Project root |
| Codex | AGENTS.md; optional .codex/agents/*.toml | Project root |
| Cline | .clinerules | Project root |
| Cursor | .cursor/rules/hotl.md | Project root |
| GitHub Copilot | .github/copilot-instructions.md | Project root |
Each generated file contains:
docs/designs/docs/plans/YYYY-MM-DD-<slug>-workflow.md formatIf Codex was selected, ask whether to install HOTL Codex custom agent templates. Default: yes. These templates make the bundled reviewer, architect, researcher, QA, dev, and PM roles available to the target project as Codex project-scoped custom agents.
Resolve hotl-install-codex-agents.sh using the same six-location install-path order as the initiative scaffolder below:
hotl-plugin repo itself, use scripts/hotl-install-codex-agents.sh~/.codex/hotl/scripts/hotl-install-codex-agents.sh~/.codex/plugins/hotl-source/scripts/hotl-install-codex-agents.sh~/.codex/plugins/cache/codex-plugins/hotl/*/scripts/hotl-install-codex-agents.sh~/.cline/hotl/scripts/hotl-install-codex-agents.sh~/.claude/plugins/hotl/scripts/hotl-install-codex-agents.shInvoke the installer from the project root:
bash <resolved-hotl-install-codex-agents.sh>
The installer creates .codex/agents/ and copies the tracked HOTL templates from adapters/codex-agents/ into it. Existing agent files are preserved by default and emitted as SKIP: lines. Only use --force when the user explicitly approves overwriting existing project agent files.
If the user opted in to initiative support in step 2, invoke the scaffolder to create .hotl/config.yml, the six docs/<tier>/ directories, and the four initiative-tier templates under docs/prompts/. The scaffolder should configure docs/designs/ as the canonical design-doc home and docs/plans/ as the canonical workflow home.
Resolve hotl-init-initiative.sh using the same six-location order as document-lint.sh and hotl-config.sh (see skills/document-review/SKILL.md):
hotl-plugin repo itself, use scripts/hotl-init-initiative.sh~/.codex/hotl/scripts/hotl-init-initiative.sh~/.codex/plugins/hotl-source/scripts/hotl-init-initiative.sh~/.codex/plugins/cache/codex-plugins/hotl/*/scripts/hotl-init-initiative.sh~/.cline/hotl/scripts/hotl-init-initiative.sh~/.claude/plugins/hotl/scripts/hotl-init-initiative.shInvoke the scaffolder with the slug collected in step 2:
bash <resolved-hotl-init-initiative.sh> --name <slug>
The scaffolder refuses cleanly when .hotl/config.yml already exists — that is the intended behavior and should not be worked around. If any of the four target outputs under docs/prompts/ already exists, it is preserved byte-for-byte and a SKIP: line is emitted.
Only invoke the scaffolder when the user answered yes in step 2. If the user answered no (the default), skip this step entirely.
Commit all generated files:
git add AGENTS.md .clinerules .cursor/ .github/ CLAUDE.md
# If Codex custom agents were installed, also add:
# .codex/agents/
# If initiative support was scaffolded in step 6, also add:
# .hotl/config.yml docs/
git commit -m "chore: add HOTL adapter files for [tool list]"
# AGENTS.md — HOTL Operating Model
This project follows the Human-on-the-Loop (HOTL) development model.
## How to Work
1. Before feature work: brainstorm with intent/verification/governance contracts
2. Brainstorm into a design doc in `docs/designs/`, then create a dated workflow file at `docs/plans/YYYY-MM-DD-<slug>-workflow.md`
3. Execute steps autonomously within guardrails
4. Pause at `gate: human` for high-risk steps
## Risk Levels
- **low/medium + auto_approve: true:** Execute autonomously, auto-approve gates
- **high:** Always pause for human review at gates
## Always Requires Human Review
- Auth/authz changes
- Encryption or key management
- Privacy-critical logic (PII, consent, deletion)
- Billing or financial logic
- Broad access control changes
## Workflow Format
See `docs/plans/YYYY-MM-DD-<slug>-workflow.md` for canonical workflow instances or `workflows/` in the plugin for templates.
npx claudepluginhub yimwoo/hotl-plugin --plugin hotlRoutes users to the appropriate HOTL skill for code-changing tasks or provides direct answers for simple questions. Use when asked for HOTL guidance or workflow selection.
Generates or updates AGENTS.md/CLAUDE.md files for AI coding agents by auto-scanning project files combined with interactive Q&A. Supports multiple tech stacks and preserves customizations when updating.
Generates tailored rules and instruction files for 13+ AI coding agents (Claude Code, Cursor, Copilot, etc.) via interactive questionnaire. Use when setting up agent rules or establishing team coding standards.