doctor-bill-ops

doctor-bill-ops is a skill for Codex from Magical-Bear/BillUserManualSkills. It costs 56 tokens per session (2,125 once invoked), scanned D, original, MIT.

A Doctor Bill operations skill for Linux services, automated deployments, health checks, logs, and rollback. systemd is Linux software that starts and supervises services.

In plain words
What is it for?
Use it to configure systemd services, deploy through GitHub Actions and SSH, inspect logs, run health checks, restart applications, and plan rollbacks.
Why use it?
It requires the environment, permissions, service state, backups, and recovery options to be checked before deployment or restart work.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to configure systemd services, deploy through GitHub Actions and SSH, inspect logs, run health checks, restart applications, and plan rollbacks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/magical-bear/billusermanualskills/doctor-bill-ops
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Magical-Bear/BillUserManualSkills --skill doctor-bill-ops
Clone the repo
git clone --depth 1 https://github.com/Magical-Bear/BillUserManualSkills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for doctor-bill-ops

README.md
[![agentmods](https://agentmods.dev/badge/skills/magical-bear/billusermanualskills/doctor-bill-ops/github.svg)](https://agentmods.dev/skills/magical-bear/billusermanualskills/doctor-bill-ops)
Your own site
<a href="https://agentmods.dev/skills/magical-bear/billusermanualskills/doctor-bill-ops"><img src="https://agentmods.dev/badge/skills/magical-bear/billusermanualskills/doctor-bill-ops/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for doctor-bill-ops

Your own site · 80×15
<a href="https://agentmods.dev/skills/magical-bear/billusermanualskills/doctor-bill-ops"><img src="https://agentmods.dev/badge/skills/magical-bear/billusermanualskills/doctor-bill-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,125 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.02125
Opus 5 $0.00028 $0.01063
Sonnet 5 $0.00011 $0.00425
Haiku 4.5 $0.00006 $0.00213

Measured 12d ago against content hash 3588fc7d1bc4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade D, and why

doctor-bill-ops scanned grade D with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (assets/deploy/deploy.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

description: Doctor Bill 运维领域 Skill。用于 Linux、systemd system/user service、无 sudo linger、GitHub Actions SSH 自动部署、main 更新重启、健康检查、日志和回滚;必须由 doctor-bill 主 Skill 编排。

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

2. 公钥追加到服务器部署用户 `~/.ssh/authorized_keys`。

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl --fail --show-error --max-time <seconds> <health-url>
skills/doctor-bill-ops/SKILL.md · 238 lines

How it starts

The opening of the file, as written. The whole thing — 238 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Doctor Bill Ops

1. 调用边界

  • 执行身份是 super_bill,品牌是贝尔 / Doctor Bill。
  • 本 Skill 不能绕过主 Skill 的需求批准、风险确认、分支、独立测试和用户验收。
  • 生产部署、权限提升、迁移、重启、回滚和修改用户级系统文件前必须说明影响并得到授权。
  • 主 Skill「小改动快速通道」不适用于本领域:部署脚本、CI workflow、systemd 单元、健康检查和回滚逻辑的任何改动都必须走完整流程和独立验证。

2. 运维前检查

先检查并记录:

  • OS、发行版、架构、用户、shell、时区和时间同步。
  • sudo 权限、systemd 版本、user manager 和 linger。
  • 项目目录、所有者、磁盘、端口、防火墙和反向代理。
  • Git 分支、remote、工作树、部署用户和 SSH 配置。
  • Python/uv/Node/Docker、数据库、Redis 和外部依赖。
  • 如环境提供经批准的 SSH MCP,可用于连接服务器,但仍遵守主机校验、最小权限和生产授权。
  • 当前服务、日志、健康接口、备份和回滚能力。

禁止:

  • 未授权读取生产 .env、私钥和 secrets。
  • 默认关闭 SSH host key、TLS 或防火墙验证。
  • 覆盖服务器脏工作树。
  • 将数据库迁移默认等同于安全操作。

3. systemd 选择

有 sudo

可安装 system service:

/etc/systemd/system/<service>.service
sudo systemctl daemon-reload
sudo systemctl enable --now <service>.service

无 sudo

优先 user service:

~/.config/systemd/user/<service>.service
systemctl --user daemon-reload
systemctl --user enable --now <service>.service

必须检查 user manager 和 linger:

loginctl show-user "$USER" -p Linger
systemctl --user status

如果退出登录后仍需运行,需要 linger。当前用户不能自行启用时,明确告诉用户由管理员执行:

sudo loginctl enable-linger <user>

禁止绕过权限或谎称 linger 已开启。

4. systemd 单元要求

模板见本 Skill 的 assets/systemd/,使用前必须替换占位符并按项目验证。

至少配置和说明:

  • Description
  • After / Wants
  • User/Group(system service)
  • WorkingDirectory
  • EnvironmentFile
  • ExecStart
  • ExecReload(确有支持时)
  • Restart
  • RestartSec
  • TimeoutStartSec
  • TimeoutStopSec
  • KillSignal
  • StartLimitIntervalSec
  • StartLimitBurst
  • WantedBy

规则:

  • ExecStart 使用绝对路径。
  • EnvironmentFile 权限最小化,不把 secrets 写进 unit。
  • user service 使用 WantedBy=default.target;system service 通常使用 multi-user.target
  • restart 阈值按应用启动时间和故障模式配置,不能无限快速重启。
  • 服务必须正确处理 SIGTERM、停止接收、等待任务和关闭资源。

5. 启停、日志和健康检查

部署后至少执行:

systemctl [--user] status <service> --no-pager
journalctl [--user] -u <service> -n 200 --no-pager
curl --fail --show-error --max-time <seconds> <health-url>

健康检查区分:

  • liveness:进程是否存活。
  • readiness:数据库、Redis、关键依赖是否达到接流条件。

Read the full file on GitHub · 238 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 238 lines · 56 tokens per session scan D 3588fc7d1bc4

Subscribe to this mod's changes

doctor-bill-ops is a skill published in the GitHub repository Magical-Bear/BillUserManualSkills (8 stars, last pushed 19d ago), licensed MIT. It adds 56 tokens to every session and 2,125 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it D with 3 findings (asks for root, reaches for credential files, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

import-prom-rule

Bulk import of a Prometheus alert rule YAML file (create a whole set of rules at once). Dedicated to handling a remote URL or local YAML text, automatically parsing the three formats groups / a plain rules array / a single rule. ⚠️ Do not use this skill for single-rule creation — when the user describes a single alert…

ccfos/nightingale · 125 tokens

chinese-git-workflow

A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.

jnMetaCode/superpowers-zh · 69 tokens

configure-env-variables

Configures environment variables for Power Pages site settings to support ALM across environments. Creates environment variable definitions in Dataverse, guides the user through linking site settings to those variables via the Power Pages Management app, adds the variables to the solution, and generates a…

microsoft/power-platform-skills · 119 tokens

atmos-profiles

Atmos profiles: profile directories, --profile and ATMOSPROFILE activation, profile merge behavior, environment switching, and routing profile-specific auth/toolchain/config overrides.

cloudposse/atmos · 35 tokens

managing-github-actions-secrets

Creates and updates GitHub Actions secrets for PostHog workflows. Use when adding a new CI secret, rotating an existing secret, wiring a workflow to an API token, package registry credential, deploy key, or any value referenced via ${{ secrets. }} in .github/workflows/.

PostHog/posthog-foss · 67 tokens

webhook-management

Configure and validate CCAM webhook targets across supported chat, incident, automation, and generic providers. Use when listing provider requirements, creating or updating a target, scoping it to alert rules, sending a test notification, reviewing delivery history, or deleting a target.

hoangsonww/Claude-Code-Agent-Monitor · 56 tokens