Skip to content
Back to skills

Pitchfork Dev Servers

ASecurity

Start, stop, check and tail local dev servers through the project's workflow, pitchfork or a framework background mode, and set up `pitchfork.toml` with stable .localhost addresses. Use for dev or background servers, pitchfork tasks, port clashes or unresolved proxy URLs.

  • 3 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 24, 2026
ai-agentsdebuggingapi

Works with

  • terminal
  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 24, 2026

npx -y skills add timmo001/skills --skill pitchfork-dev-servers --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pitchfork Dev Servers?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pitchfork Dev Servers
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/timmo001-pitchfork-dev-servers/badge)](https://www.skillsdirectory.com/skills/timmo001-pitchfork-dev-servers)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pitchfork-dev-servers
license: Apache-2.0
compatibility: Requires Pitchfork through its CLI, its MCP server or a `pitchfork` Code Mode namespace, and repository daemon configuration. Repositories without pitchfork may fall back to a framework-native background mode.
description: Start, stop, check and tail local dev servers through the project's workflow, pitchfork or a framework background mode, and set up `pitchfork.toml` with stable .localhost addresses. Use for dev or background servers, pitchfork tasks, port clashes or unresolved proxy URLs.
---

# Pitchfork Dev Servers

Use this skill when a task involves starting or managing a long-running local server and the repo provides `pitchfork.toml`, local tasks, pitchfork tools, or AGENTS guidance mentioning pitchfork. When adding or changing a repo's `pitchfork.toml`, its `serve:*` tasks, or its AGENTS dev-server section, read [references/hosting-standard.md](references/hosting-standard.md) first.

Follow the project's own declared workflow first, then pitchfork, then a framework-native background mode when the repo has no pitchfork config, then foreground for explicit debugging.

## Preflight

1. Check for a `## Background Dev Servers` section in the local `AGENTS.md`.
2. Check for repo-provided pitchfork wrappers: `mise tasks`, `pitchfork.toml`, or project-specific task names such as `serve:*`, `dev:*`, `background:*`, or aliases documented locally.
3. Check whether the `pitchfork` Code Mode namespace (list, logs, start, stop, restart) or pitchfork's MCP tools are available for observation and control.
4. Check whether the `pitchfork` CLI is installed before falling back to raw foreground server commands.
5. Only when the repo has no pitchfork config, check for a framework-native background mode (for example Astro 7+, which self-detaches `astro dev` under an agent).

## Rules

1. Do not invent a naming convention when the repo has one.
2. Use pitchfork when the repo ships `pitchfork.toml` or pitchfork-backed tasks. Prefer `serve:*` tasks over foreground `run:*`, `dev`, or raw server commands.
3. Use a framework-native background mode only in repos without pitchfork config. It has no stable proxy address, so suggest moving the server onto pitchfork when the address matters.
4. Use foreground commands only for explicit foreground debugging, one-shot checks, or when the declared workflow is unavailable.
5. Do not assume a tool's start (Code Mode or MCP `pitchfork_start`) can start per-repo daemons from any cwd. If start fails with no matching daemon, run the repo's local pitchfork-backed task from that repo directory.
6. Use the pitchfork tools for status, logs, restart and stop when available once a daemon exists. Otherwise use the matching CLI commands.
7. When wrappers stop production resource owners, avoid replacing them with broad process kills. Prefer resource-targeted commands like `fuser <port>/tcp` or `fuser <socket>`.
8. OpenCode's `pitchfork-dev-server-guard` plugin enforces the pitchfork tier: in repos that declare `pitchfork.toml` it redirects known foreground dev-server commands, including `astro dev`, `blume dev` and `mise run <name>:dev`, to `serve:*` or `pitchfork start` and notes the change.

## Command Discovery

1. Typical operations are `pitchfork start <daemon>`, `pitchfork status`, `pitchfork logs -t <daemon>`, `pitchfork restart <daemon>`, and `pitchfork stop <daemon>`.
2. Start every server a task needs in one call (`pitchfork start api worker`, or `--group <name>`) rather than one at a time. Each returns once ready; prefer the daemon's `--port`, `--http` or `--output` readiness check over a fixed `--delay`.
3. Stop daemons by name, `--group` or `--local`, not `pitchfork stop --all`. Since 2.35 it lists daemons from other projects and refuses without a terminal, which is how an agent runs it. Use `--all --force` only when the user asks to stop every project's daemons.
4. Treat `serve:*` as a common local convention, not a requirement.
5. Find a running server's address with `pitchfork proxy status` rather than guessing a port. When the proxy is enabled, use the `https://<daemon>.<project>.localhost` address without a port. If it only works with the proxy's own port, run `pitchfork proxy doctor` and report the result rather than switching to the raw port.

## Notes

- Some repos use pitchfork wrappers to stop production services or resource owners before starting dev servers, then restore production when dev exits. Preserve that behaviour.

Files in this skill

  • SKILL.md4.4 KB
  • references/hosting-standard.md5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.