Agent skill

DeerFlow Smoke Test

by bytedance in bytedance/deer-flow

Walks through an end-to-end smoke test of a DeerFlow deployment: pull the latest code, deploy with Docker or locally, verify services, run health checks and write a report.

MITAuto-check: notesTesting & QA

Install DeerFlow Smoke Test

skills CLI
$ npx skills add bytedance/deer-flow --skill smoke-test -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install bytedance/deer-flow smoke-test --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/bytedance/deer-flow.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agent/skills/smoke-test .claude/skills/smoke-test && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
smoke-test
GitHub stars
84k
Token cost
~2.5k tokens
SKILL.md length
1,163 words
Files
12 (incl. scripts, references)
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

Walks through an end-to-end smoke test of a DeerFlow deployment: pull the latest code, deploy with Docker or locally, verify services, run health checks and write a report.

  • Works in 6 steps: Code Update Check → Deployment Mode Selection and… → Configuration Preparation → …
  • Verifying that a fresh DeerFlow installation works end to end
  • SKILL.md covers Deployment Mode Selection, Structure, Standard Operating Procedure… and Execution Rules, plus 4 more sections
  • Runs Shell scripts from its folder; calls make, docker and bash; needs OPENAI_API_KEY

What it does

The skill guides the agent through five stages: updating the code, choosing between Docker and a local install, preparing configuration, verifying that services are available, and a health check that ends in a report. Local mode is the default and recommended path, and the agent switches to it automatically when Docker runs into network problems such as slow image pulls, unless you explicitly ask for Docker.

The first phase confirms the working directory is the DeerFlow project root, checks git status and pulls the latest main. Local mode then checks Node.js 22 or newer, pnpm, uv and nginx and that the needed ports are free, while Docker mode checks the installation, the daemon and Compose. Configuration preparation generates or upgrades config.yaml through make targets and verifies the .env values, including the model API keys.

Helper shell scripts handle pulling code, checking Docker and the local environment, deploying either way, a frontend check and a health check. A standard operating procedure, a troubleshooting reference and Docker and local report templates are included.

When your agent uses it

  • Verifying that a fresh DeerFlow installation works end to end
  • Smoke testing a deployment after pulling the latest code
  • Checking service availability and health after a Docker or local setup
  • Producing a final test report for a deployment

Example prompts

  • “Run the smoke test on this DeerFlow checkout using local mode.”
  • “Smoke test the Docker deployment and write the report.”
  • “Verify the installation: pull the latest code, deploy and tell me whether every service is healthy.”

Requirements

  • A DeerFlow project checkout
  • Node.js 22 or newer, pnpm, uv and nginx for local mode
  • Docker with Compose for Docker mode
  • Model API keys in the .env file

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Code Update Check
  2. Deployment Mode Selection and Environment Check
  3. Configuration Preparation
  4. Deployment Execution
  5. Service Health Check
  6. Generate Test Report

What it can do on your machine

Read from SKILL.md and the folder at commit 5ecc1c2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 7 files in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • make
    • docker
    • bash
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use docker and git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • OPENAI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

DeerFlow Smoke Test loads about 2.5k tokens when it runs, and up to ~8.1k if it reads all its reference files. Until then it costs about 107 tokens; SKILL.md has 1,163 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~107
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:75
    2. **Check the .env file**

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from bytedance/deer-flow at commit 5ecc1c2, republished under its MIT licence (© bytedance). 1,163 words, ~2,492 tokens.

Download SKILL.mdSave it as .claude/skills/smoke-test/SKILL.md (or your agent's skills folder). This skill also uses 11 other files; get the full folder from GitHub.
name
smoke-test
description
End-to-end smoke test skill for DeerFlow. Guides through: 1) Pulling latest code, 2) Docker OR Local installation and deployment (user preference, default to Local if Docker network issues), 3) Service availability verification, 4) Health check, 5) Final test report. Use when the user says "run smoke test", "smoke test deployment", "verify installation", "test service availability", "end-to-end test", or similar.

DeerFlow Smoke Test Skill

This skill guides the Agent through DeerFlow's full end-to-end smoke test workflow, including code updates, deployment (supporting both Docker and local installation modes), service availability verification, and health checks.

Deployment Mode Selection

This skill supports two deployment modes:

  • Local installation mode (recommended, especially when network issues occur) - Run all services directly on the local machine
  • Docker mode - Run all services inside Docker containers

Selection strategy:

  • If the user explicitly asks for Docker mode, use Docker
  • If network issues occur (such as slow image pulls), automatically switch to local mode
  • Default to local mode whenever possible

Structure

smoke-test/
├── SKILL.md                          ← You are here - core workflow and logic
├── scripts/
│   ├── check_docker.sh               ← Check the Docker environment
│   ├── check_local_env.sh            ← Check local environment dependencies
│   ├── frontend_check.sh             ← Frontend page smoke check
│   ├── pull_code.sh                  ← Pull the latest code
│   ├── deploy_docker.sh              ← Docker deployment
│   ├── deploy_local.sh               ← Local deployment
│   └── health_check.sh               ← Service health check
├── references/
│   ├── SOP.md                        ← Standard operating procedure
│   └── troubleshooting.md            ← Troubleshooting guide
└── templates/
    ├── report.local.template.md      ← Local mode smoke test report template
    └── report.docker.template.md     ← Docker mode smoke test report template

Standard Operating Procedure (SOP)

Phase 1: Code Update Check
  1. Confirm current directory - Verify that the current working directory is the DeerFlow project root
  2. Check Git status - See whether there are uncommitted changes
  3. Pull the latest code - Use git pull origin main to get the latest updates
  4. Confirm code update - Verify that the latest code was pulled successfully
Phase 2: Deployment Mode Selection and Environment Check

Choose deployment mode:

  • Ask for user preference, or choose automatically based on network conditions
  • Default to local installation mode

Local mode environment check:

  1. Check Node.js version - Requires 22+
  2. Check pnpm - Package manager
  3. Check uv - Python package manager
  4. Check nginx - Reverse proxy
  5. Check required ports - Confirm that ports 2026, 3000, and 8001 are not occupied

Docker mode environment check (if Docker is selected):

  1. Check whether Docker is installed - Run docker --version
  2. Check Docker daemon status - Run docker info
  3. Check Docker Compose availability - Run docker compose version
  4. Check required ports - Confirm that port 2026 is not occupied
Phase 3: Configuration Preparation
  1. Check whether config.yaml exists
    • If it does not exist, run make config to generate it
    • If it already exists, check whether it needs an upgrade with make config-upgrade
  2. Check the .env file
    • Verify that required environment variables are configured
    • Especially model API keys such as OPENAI_API_KEY
Phase 4: Deployment Execution

Local mode deployment:

  1. Check dependencies - Run make check
  2. Install dependencies - Run make install
  3. (Optional) Pre-pull the sandbox image - If needed, run make setup-sandbox
  4. Start services - Run make start (production mode)
  5. Wait for startup - Give all services enough time to start completely (90-120 seconds recommended)

Docker mode deployment (if Docker is selected):

  1. Initialize Docker environment - Run make docker-init
  2. Start Docker services - Run make up (production mode)
  3. Wait for startup - Give all containers enough time to start completely (60 seconds recommended)
Phase 5: Service Health Check

Local mode health check:

  1. Check process status - Confirm that Gateway, Frontend, and Nginx processes are all running
  2. Check frontend service - Visit http://localhost:2026 and verify that the page loads
  3. Check API Gateway - Verify the http://localhost:2026/health endpoint
  4. Check LangGraph-compatible API - Verify the /api/langgraph/* route exposed by Gateway
  5. Frontend route smoke check - Run bash .agent/skills/smoke-test/scripts/frontend_check.sh to verify key routes under /workspace. The script auto-detects whether authentication is enabled and, if so, registers / logs in a smoke-test user so the real pages are verified rather than the login redirect.

Docker mode health check (when using Docker):

  1. Check container status - Run docker ps and confirm that all containers are running
  2. Check frontend service - Visit http://localhost:2026 and verify that the page loads
  3. Check API Gateway - Verify the http://localhost:2026/health endpoint
  4. Check LangGraph-compatible API - Verify the /api/langgraph/* route exposed by Gateway
  5. Frontend route smoke check - Run bash .agent/skills/smoke-test/scripts/frontend_check.sh to verify key routes under /workspace. The script auto-detects whether authentication is enabled and, if so, registers / logs in a smoke-test user so the real pages are verified rather than the login redirect.
Optional Functional Verification
  1. List available models - Verify that model configuration loads correctly
  2. List available skills - Verify that the skill directory is mounted correctly
  3. Simple chat test - Send a simple message to verify the end-to-end flow
Phase 6: Generate Test Report
  1. Collect all test results - Summarize execution status for each phase
  2. Record encountered issues - If anything fails, record the error details
  3. Generate the final report - Use the template that matches the selected deployment mode to create the complete test report, including overall conclusion, detailed key test cases, and explicit frontend page / route results
  4. Provide follow-up recommendations - Offer suggestions based on the test results
Show full SKILL.md (450 more words)Show less

Execution Rules

  • Follow the sequence - Execute strictly in the order described above
  • Idempotency - Every step should be safe to repeat
  • Error handling - If a step fails, stop and report the issue, then provide troubleshooting suggestions
  • Detailed logging - Record the execution result and status of each step
  • User confirmation - Ask for confirmation before potentially risky operations such as overwriting config
  • Mode preference - Prefer local mode to avoid network-related issues
  • Template requirement - The final report must use the matching template under templates/; do not output a free-form summary instead of the template-based report
  • Report clarity - The execution summary must include the overall pass/fail conclusion plus per-case result explanations, and frontend smoke check results must be listed explicitly in the report
  • Optional phase handling - If functional verification is not executed, do not present it as a separate skipped phase in the final report

Known Acceptable Warnings

The following warnings can appear during smoke testing and do not block a successful result:

  • Feishu/Lark SSL errors in Gateway logs (certificate verification failure) can be ignored if that channel is not enabled
  • Warnings in Gateway logs about missing methods in the custom checkpointer, such as adelete_for_runs or aprune, do not affect the core functionality
  • The frontend_check.sh script automatically handles authentication. When auth is enabled it registers / logs in a smoke-test user (smoke-test@deerflow.dev by default) to verify the real /workspace/* pages. The registration may produce a log entry from the auth provider, which is expected and harmless.

Key Tools

Use the following tools during execution:

  1. bash - Run shell commands
  2. present_file - Show generated reports and important files
  3. task_tool - Organize complex steps with subtasks when needed

Success Criteria

Smoke test pass criteria (local mode):

  • Latest code is pulled successfully
  • Local environment check passes (Node.js 22+, pnpm, uv, nginx)
  • Configuration files are set up correctly
  • make check passes
  • make install completes successfully
  • make dev starts successfully
  • All service processes run normally
  • Frontend page is accessible
  • Frontend route smoke check passes (/workspace key routes)
  • API Gateway health check passes
  • Test report is generated completely

Smoke test pass criteria (Docker mode):

  • Latest code is pulled successfully
  • Docker environment check passes
  • Configuration files are set up correctly
  • make docker-init completes successfully
  • make up completes successfully
  • All Docker containers run normally
  • Frontend page is accessible
  • Frontend route smoke check passes (/workspace key routes)
  • API Gateway health check passes
  • Test report is generated completely

Read Reference Files

Before starting execution, read the following reference files:

  1. references/SOP.md - Detailed step-by-step operating instructions
  2. references/troubleshooting.md - Common issues and solutions
  3. templates/report.local.template.md - Local mode test report template
  4. templates/report.docker.template.md - Docker mode test report template

© bytedance, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 11 other files (scripts, references) in .agent/skills/smoke-test of bytedance/deer-flow.

  • SKILL.md
  • references/SOP.md
  • references/troubleshooting.md
  • scripts/check_docker.sh
  • scripts/check_local_env.sh
  • scripts/deploy_docker.sh
  • scripts/deploy_local.sh
  • scripts/frontend_check.sh
  • scripts/health_check.sh
  • scripts/pull_code.sh
  • templates/report.docker.template.md
  • templates/report.local.template.md

Open the folder on GitHubat commit 5ecc1c2

Compare with similar skills

DeerFlow Smoke Test next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

DeerFlow Smoke Test compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
DeerFlow Smoke Test this skillbytedance/deer-flow84k—~2.5kAutomated safety check: NotesMIT
Reflexo ReleaseMyriad-Dreamin/typst.ts1.2k—~1.5kAutomated safety check: PassApache-2.0
Releasear-io/ar-io-node127—~4.2kAutomated safety check: NotesAGPL-3.0
Docker Deploymentfossasia/eventyay1.7k—~574Automated safety check: NotesApache-2.0
Onboarding Validationopen-edge-platform/edge-ai-suites140—~3.3kAutomated safety check: PassApache-2.0
Deployment and CI/CD Patternsaffaan-m/ECC276k6 repos~2.8kAutomated safety check: PassMIT

Similar skills

  • Reflexo Release

    Myriad-Dreamin/typst.ts

    Guide Reflexo/typst.ts release preparation and operator handoffs.

    1.2k GitHub stars~1.5k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Release

    ar-io/ar-io-node

    Drive the AR.IO Node release process end-to-end — preflight checks, prepare commit, finalize with image SHAs, test docker compose profiles, tag & publish, and post-release cleanup.

    127 GitHub stars~4.2k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Docker Deployment

    fossasia/eventyay

    Docker Compose, container services, deployment. An agent skill from fossasia/eventyay.

    1.7k GitHub stars~574 tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Onboarding Validation

    open-edge-platform/edge-ai-suites

    Validate the get-started experience of Open Edge Platform (OEP) software components from the perspective of a first-time user.

    140 GitHub stars~3.3k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Covers rolling, blue-green and canary deployments, multi-stage Dockerfiles, a GitHub Actions pipeline, health checks and production readiness for web apps.

    276k GitHub starsUsed in 6 repos~2.8k tokens
    DevOps & CloudAuto-check passed
  • Deploy To Temps

    gotempsh/temps

    Deploy applications to the Temps platform with automatic framework detection, Dockerfile generation, and container orchestration.

    828 GitHub stars~1.3k tokensUpdated today
    DevOps & CloudAuto-check: notes

More from bytedance/deer-flow

All 23 skills in this repo
  • Vercel Deploy

    bytedance/deer-flow

    Deploys a project to Vercel with one script and no login, then returns a live preview URL and a claim link for moving the deployment into your own Vercel account.

    84k GitHub starsUsed in 10 repos~797 tokens
    Auto-check passed
  • Chart Visualization

    bytedance/deer-flow

    Picks a suitable chart type from 26 options for your data, maps the data to that chart's parameters and generates a chart image through a JavaScript script.

    84k GitHub starsUsed in 2 repos~840 tokens
    Auto-check passed
  • GitHub Deep Research

    bytedance/deer-flow

    Researches a GitHub repository over four rounds using the GitHub API and web search, then writes a structured markdown report with timeline, metrics and Mermaid diagrams.

    84k GitHub starsUsed in 4 repos~1.3k tokens
    Auto-check passed
  • Excel and CSV Data Analysis

    bytedance/deer-flow

    Analyzes uploaded Excel and CSV files with SQL through DuckDB, producing schema inspections, statistical summaries and exports to CSV, JSON or Markdown.

    84k GitHub starsUsed in 4 repos~2.2k tokens
    Auto-check passed
  • Structured Image Generation

    bytedance/deer-flow

    Turns an image request into a structured JSON prompt and runs a bundled Python script to generate the picture, optionally guided by reference images.

    84k GitHub starsUsed in 4 repos~2.9k tokens
    Auto-check passed
  • Video Generation

    bytedance/deer-flow

    Generates short videos from a structured JSON prompt, optionally guided by a reference image used as the first or last frame.

    84k GitHub starsUsed in 3 repos~1.4k tokens
    Auto-check passed

Questions about DeerFlow Smoke Test

What does DeerFlow Smoke Test do?

Walks through an end-to-end smoke test of a DeerFlow deployment: pull the latest code, deploy with Docker or locally, verify services, run health checks and write a report. The skill guides the agent through five stages: updating the code, choosing between Docker and a local install, preparing configuration, verifying that services are available, and a health check that ends in a report. Local mode is the default and recommended path, and the agent switches to it automatically when Docker runs into network problems such as slow image pulls, unless you explicitly ask for Docker.

When should I use DeerFlow Smoke Test?

DeerFlow Smoke Test fits situations like: verifying that a fresh DeerFlow installation works end to end; smoke testing a deployment after pulling the latest code; checking service availability and health after a Docker or local setup; producing a final test report for a deployment.

How do I install DeerFlow Smoke Test in Claude Code?

Run `npx skills add bytedance/deer-flow --skill smoke-test -a claude-code`. Or copy the skill folder (.agent/skills/smoke-test in bytedance/deer-flow) into .claude/skills/smoke-test in your project. Claude Code loads it when a task matches its description.

How do I install DeerFlow Smoke Test in Codex?

Run `npx skills add bytedance/deer-flow --skill smoke-test -a codex`. Or copy the skill folder (.agent/skills/smoke-test in bytedance/deer-flow) into .agents/skills/smoke-test in your project. Codex loads it when a task matches its description.

Can I use DeerFlow Smoke Test in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add bytedance/deer-flow --skill smoke-test -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/smoke-test, .gemini/skills/smoke-test, .github/skills/smoke-test and .opencode/skills/smoke-test in your project.

What does DeerFlow Smoke Test need to run?

Going by SKILL.md and its folder, DeerFlow Smoke Test needs a shell for the scripts in its folder, the command-line tools its instructions call (make, docker, bash and git) and credentials named OPENAI_API_KEY. Our summary lists: A DeerFlow project checkout; Node.js 22 or newer, pnpm, uv and nginx for local mode; Docker with Compose for Docker mode; Model API keys in the .env file.

Does DeerFlow Smoke Test access the network?

SKILL.md contains no URLs. Its commands use docker and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is DeerFlow Smoke Test safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does DeerFlow Smoke Test use?

DeerFlow Smoke Test is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does DeerFlow Smoke Test use?

About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.6k tokens, read only when the agent opens those files.

What are the alternatives to DeerFlow Smoke Test?

Skills that share tags, products or a category with DeerFlow Smoke Test: Reflexo Release (Myriad-Dreamin/typst.ts, 1.2k stars), Release (ar-io/ar-io-node, 127 stars), Docker Deployment (fossasia/eventyay, 1.7k stars) and Onboarding Validation (open-edge-platform/edge-ai-suites, 140 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains DeerFlow Smoke Test?

bytedance (a GitHub organization) maintains it in bytedance/deer-flow, which has 83,561 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on October 9, 2026.

Source: bytedance/deer-flow on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.