masonjames/dockhand-plugin/dh-first-run

Claude Code and agent skill by masonjames/dockhand-plugin

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Detects first-run state and prompts user to configure Dockhand. Active when config is missing or incomplete.

Install

npx vskill@latest install masonjames/dockhand-plugin/dh-first-run

SKILL.md

Dockhand First-Run Detection

Automatically detect when Dockhand is unconfigured and guide users to setup.

Detection Logic

When ANY Dockhand command or skill is invoked, first check configuration state:

bash
# Check if config exists and read mode
ls ~/.config/dockhand/config.json 2>/dev/null

First-Run Response

If config file does not exist, respond with:

Dockhand is not yet configured. Let me help you set it up.
Would you like to run the setup wizard now? This will:
1. Choose your setup mode (Client Portal or Admin)
2. Configure credentials and connectivity
3. Generate the necessary configuration files
Run `/dh-setup` to begin, or I can start the wizard for you now.

Then use AskUserQuestion:

question: "Would you like to run the Dockhand setup wizard?"
options:
- "Yes, start setup now"
- "No, I'll configure manually"

If user chooses "Yes", invoke the /dh-setup command flow.

If user chooses "No", provide manual setup instructions:

To configure Dockhand manually:
For Client Portal users:
1. Get your API token from your Client Portal settings
2. Create ~/.mcp.json with the MCP configuration shown in the portal
3. Create ~/.config/dockhand/config.json with: {"mode": "client"}
For Admin users:
1. Create config directory: mkdir -p ~/.config/dockhand
2. Create config file at ~/.config/dockhand/config.json
(See dockhand.config.example.json in the plugin directory)
3. Create .mcp.json with MCP server config
4. Set up credentials via 1Password or .env.dockhand file
Run /dh-setup anytime to use the interactive wizard.

Partial Configuration Detection

Also check for incomplete configuration:

Missing required fields - If config exists but is missing critical fields:

  • mode (must be "client" or "admin")
  • For admin mode: platform_domain, hosts, dokploy.url, cloudflare.zone_id
  • For client mode: mcp_server_url

Respond with:

Your Dockhand configuration appears incomplete. Missing: <list fields>
Would you like to run /dh-setup to complete the configuration?

Skip Conditions

Do NOT show first-run prompts when:

  • User is already running /dh-setup
  • Config file exists and has all required fields for its mode
  • User has explicitly dismissed setup (tracked in session)

Integration with Other Skills

This skill runs BEFORE other Dockhand skills. If config is missing:

  1. Show first-run prompt
  2. Do NOT proceed with the requested operation
  3. After setup completes, remind user to retry their original request

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/masonjames/dockhand-plugin/dh-first-run/badge)](https://verified-skill.com/skills/masonjames/dockhand-plugin/dh-first-run)

Something wrong with this skill or its page? Tell us.