6 Claude Code Slash
Description
Agentic workflow in Claude Code: slash command orchestrates a subagent to research, then formats output with a skill. All in Markdown—no compilation needed.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
06 — Slash command + subagent + skill, all inside Claude Code
Claude Code example: a slash command orchestrates a research subagent and a formatting skill to produce a travel trip brief.
**Tags:** `claude-code` `anthropic` `claude` `ai-agents` `subagents` `slash-commands` `agentic-workflows` `llm` `automation` `prompt-engineering`
The whole thing runs **in the Claude Code app**, driven by **slash syntax**. Nothing to compile or host — Claude Code auto-discovers the files under `.claude/` and wires them together.
06-claude-code-slash/
└── .claude/
├── commands/trip-plan.md ← slash command: /trip-plan (entry point)
├── agents/trip-researcher.md ← subagent: does the research
└── skills/trip-brief/SKILL.md ← skill: formats the output
How the three pieces connect
/trip-plan— a slash command (.claude/commands/trip-plan.md).$ARGUMENTSreceives whatever you type after the command. This is the entry point and the orchestration prompt.- It delegates research to the
trip-researchersubagent (.claude/agents/trip-researcher.md) — its own context window, its own allowed tools (WebSearch,WebFetch), running on a cheaper model. - It formats the researcher's facts using the
trip-briefskill (.claude/skills/trip-brief/SKILL.md), which Claude loads on demand.
So: **slash command orchestrates → subagent researches → skill formats.** All three are just Markdown files; Claude Code is the runtime.
Run it
cd 06-claude-code-slash
claude # open the Claude Code app in this directory
Then type:
/trip-plan Lisbon 2026-08-15
Claude Code kicks off the command, spawns the `trip-researcher` subagent to gather weather + flight facts, then hands them to the `trip-brief` skill and prints the finished brief.
- Type
/to seetrip-planin the slash-command list. - These live in the project
.claude/. Move them to `~/.c
Related Skills
Doc Co-authoring
Guide users through structured workflow for co-authoring documentation
Documentation Docx
Create, edit, and analyze Word documents with tracked changes, comments, and formatting
Documentation Extract text, create PDFs, merge/split documents, and handle forms
Documentation Pptx
Create, edit, and analyze PowerPoint presentations with layouts and templates
Documentation Xlsx
Create, edit, and analyze Excel spreadsheets with formulas, formatting, and visualization
Documentation mcp-server-fetch
Fetch and convert web pages to markdown.
Documentation