with one click
skill-presentation
Presentation extraction and slide generation routing
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Presentation extraction and slide generation routing
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Orchestrate multi-agent implementation with parallel phase execution. Spawns teammates for independent phases and coordinates dependent phases. Includes debugger teammate for error recovery.
Orchestrate multi-agent planning with parallel plan generation. Spawns 2-3 teammates for diverse planning approaches and synthesizes into final plan with trade-off analysis.
Orchestrate multi-agent research with wave-based parallel execution. Spawns 2-4 teammates for diverse investigation angles and synthesizes findings.
Full structural hard-mode orchestration state machine with per-phase dispatch (H1), adversarial verification (H4), convergence policing (H6), territory contracts (H7), and churn detection (H5). Invoke for /orchestrate --hard.
Autonomous state machine that drives a task through its full lifecycle (research -> plan -> implement -> complete) without user confirmation between phases. Invoke for /orchestrate command.
Execute hard-mode implementation with anti-analysis contracts, per-phase dispatch, and territory-aware execution. Invoke for --hard implementation tasks.
Based on SOC occupation classification
| name | skill-presentation |
| description | Presentation extraction and slide generation routing |
| allowed-tools | Task |
Thin wrapper that routes presentation operations to the presentation-agent.
Reference (do not load eagerly):
.opencode/context/core/formats/subagent-return.mdNote: This skill is a thin wrapper. Context is loaded by the delegated agent, not this skill.
This skill activates when:
/slides commandWhen an implementing agent encounters any of these patterns:
Plan step language patterns:
File extension detection:
.pptx, .pptTask description keywords:
Do not invoke for:
Validate required inputs:
source_path - Must be provided and file must existoutput_path - Optional, defaults to source dir with .tex extensionoutput_format - Optional, defaults to "beamer"theme - Optional theme name# Validate source exists
if [ ! -f "$source_path" ]; then
return error "Source file not found: $source_path"
fi
# Validate source is presentation format
source_ext="${source_path##*.}"
case "$source_ext" in
pptx|ppt|md) ;; # Valid
*) return error "Not a presentation format: .$source_ext" ;;
esac
# Determine output path if not provided
if [ -z "$output_path" ]; then
source_dir=$(dirname "$source_path")
source_base=$(basename "$source_path" | sed 's/\.[^.]*$//')
case "$output_format" in
beamer|latex|tex) output_path="${source_dir}/${source_base}.tex" ;;
polylux|touying|typst|typ) output_path="${source_dir}/${source_base}.typ" ;;
pptx) output_path="${source_dir}/${source_base}_generated.pptx" ;;
*) output_path="${source_dir}/${source_base}.tex" ;;
esac
fi
Prepare delegation context:
{
"source_path": "/absolute/path/to/presentation.pptx",
"output_path": "/absolute/path/to/slides.tex",
"output_format": "beamer",
"theme": "metropolis",
"metadata": {
"session_id": "sess_{timestamp}_{random}",
"delegation_depth": 1,
"delegation_path": ["orchestrator", "slides", "skill-presentation"]
}
}
CRITICAL: You MUST use the Task tool to spawn the agent.
Required Tool Invocation:
Tool: Task (NOT Skill)
Parameters:
- subagent_type: "presentation-agent"
- prompt: [Include source_path, output_path, output_format, theme, metadata]
- description: "Convert {source_path} to {output_format} slides"
The agent will:
Validate return matches subagent-return.md schema:
Return validated result to caller without modification.
Expected successful return:
{
"status": "converted",
"summary": "Successfully converted presentation.pptx to Beamer slides with 15 slides",
"artifacts": [
{
"type": "implementation",
"path": "/absolute/path/to/slides.tex",
"summary": "Beamer presentation with speaker notes"
}
],
"metadata": {
"session_id": "sess_...",
"agent_type": "presentation-agent",
"delegation_depth": 2,
"tool_used": "python-pptx+pandoc",
"slide_count": 15,
"has_speaker_notes": true
},
"next_steps": "Review and compile slides"
}
Return immediately with failed status if source file not found or not a presentation.
Return failed status with clear message about supported formats.
Pass through the agent's error return verbatim.
Return failed status with installation instructions.