supervisor-config-gen
БесплатноБез исполняемых скриптовНе проверенBash tool that generates a Supervisor (supervisord) `[program:*]` config file from zero CLI flags — it derives everything from the current directory (program…
от psyb0t1 104 установки в других каталогахОб этом скилле
supervisor-config-gen — generate a Supervisor program config from a directory
supervisor-config-gen is a single bash script with no flags, no args, no env vars. Run it from inside an app directory and it emits a Supervisor [program:x] config for that app, inferring everything from the directory itself.
Security & safety
- Generates a local plain-text config file. No network calls, no external services.
- The generated config controls what Supervisor executes and as which user — review the output before pointing supervisord at it, same as reviewing any generated shell/config artifact.
- It overwrites
<dirname>-supervisor.confin the current directory without prompting if one already exists. Don't run it in a directory where that file has manual edits you want to keep. - The script does not sandbox or validate the target
run.sh— it just references its path. Make surerun.shis what you expect before Supervisor runs it.
When to use
- The user wants a Supervisor program config for an app directory that has a
run.shentrypoint (a startup script Supervisor should manage). - The user says "generate a supervisor config for this app" / "supervisorize this" / "make a supervisord conf".
When NOT to use
- The app has no
run.sh— the generatedcommand=will point at a script that doesn't exist. Add/rename arun.shentrypoint first, or hand-write the config. - You need non-default supervisord settings (custom
numprocs, environment vars, non-TERM stop signal, different log paths/rotation, etc.) — this tool has no flags to control those. Generate the base config, then hand-edit it. - You need configs for multiple apps at once — the tool is single-directory, single-invocation.
Inputs → output
There is nothing to pass in. The script derives every field from ambient state at run time:
| Field | Source |
|---|---|
program_name (used in filename + [program:x]) |
basename $(pwd) — the current directory's name |
command |
$(pwd)/run.sh — a run.sh is REQUIRED to exist in the current directory (the script doesn't check, it just hardcodes the path) |
directory |
$(pwd) |
user |
$(whoami) — the user invoking the script |
stdout_logfile / stderr_logfile |
$HOME/logs/supervisord/<program_name>-{out,err}.log |
| output path | ./<program_name>-supervisor.conf (written in the current directory, overwritten if it exists) |
Everything else (numprocs=1, stopsignal=TERM, stopwaitsecs=10, stopasgroup=true, killasgroup=true, autostart=true, autorestart=true, redirect_stderr=true, redirect_stdout=true, 50MB log rotation with 10 backups on stdout) is fixed/hardcoded — not configurable via flags.
Example invocation
Given an app directory shitty-app/ containing main.py and run.sh:
cd shitty-app
supervisor-config-gen
# Generated shitty-app-supervisor.conf
Resulting shitty-app-supervisor.conf (paths reflect the actual invoking user/home/cwd):
[program:shitty-app]
command=/home/not-root/shitty-app/run.sh
directory=/home/not-root/shitty-app
process_name=%(program_name)s
numprocs=1
user=not-root
stopsignal=TERM
stopwaitsecs=10
stopasgroup=true
killasgroup=true
autostart=true
autorestart=true
redirect_stderr=true
redirect_stdout=true
stdout_logfile=/home/not-root/logs/supervisord/%(program_name)s-out.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=10
stderr_logfile=/home/not-root/logs/supervisord/%(program_name)s-err.log
stderr_logfile_maxbytes=50MB
For install steps and the full field reference, see references/setup.md.
Установить supervisor-config-gen в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл supervisor-config-gen?
Bash tool that generates a Supervisor (supervisord) `[program:*]` config file from zero CLI flags — it derives everything from the current directory (program name = dirname, `command=<dir>/run.sh`, `directory=<dir>`, `user=$(whoami)`, logs under `$HOME/logs/supervisord/`) and writes `<dirname>-supervisor.conf` into that same directory, overwriting silently if present. Use when the user wants to generate a Supervisor program config for an app directory that has a `run.sh` entrypoint.
Как установить скилл supervisor-config-gen?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл supervisor-config-gen запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic