linux-administration
ALWAYS invoke before answering or planning any Linux administration command on a systemd host, even when told not to run anything and only asked for a plan, a verdict or a list of confirmation questions: `dd` or other writes to a block device, disabling SSH password auth or editing sshd_config over a live session, creating users, opening firewall ports, or explaining how a command or systemd unit behaves (cite the man page). First-party Linux system administration guidance for systemd-based distributions: package management (apt/dnf/pacman), systemd service management and diagnosis, filesystem operations, user/permission management, disk partitioning, network/firewall configuration (ufw/firewalld/nftables), and SSH hardening (sshd_config, authorized_keys). Sorts every command shape into one of three mechanical buckets — safe to run freely, needs explicit confirmation, or never run autonomously — the same categorical discipline `~/.claude/CLAUDE.md`'s "Action categories" applies generally, made concrete for sysadmin command shapes instead of a single "be careful with destructive commands" reminder. Also requires citing the relevant man page or official docs for any claim about how a specific command or unit behaves, since behavior varies by distro/version. Use before running, or advising the user to run, any Linux administration command — installing/removing packages, starting/stopping/enabling services, changing file ownership or permissions, managing users or groups, partitioning or formatting disks (including `dd` to a block device), disabling SSH password auth, or changing firewall/network configuration — on a systemd-based Linux host (local, remote/SSH, or a container). Also applies when asked only to plan, list or answer with the commands without running them. Does not cover non-systemd init systems (sysvinit, OpenRC, runit) or Windows/macOS administration.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- linux-administration
- license
- MIT
- metadata
- { "version": "1.2.0" }
- description
- ALWAYS invoke before answering or planning any Linux administration command on a systemd host, even when told not to run anything and only asked for a plan, a verdict or a list of confirmation questions: `dd` or other writes to a block device, disabling SSH password auth or editing sshd_config over a live session, creating users, opening firewall ports, or explaining how a command or systemd unit behaves (cite the man page). First-party Linux system administration guidance for systemd-based distributions: package management (apt/dnf/pacman), systemd service management and diagnosis, filesystem operations, user/permission management, disk partitioning, network/firewall configuration (ufw/firewalld/nftables), and SSH hardening (sshd_config, authorized_keys). Sorts every command shape into one of three mechanical buckets — safe to run freely, needs explicit confirmation, or never run autonomously — the same categorical discipline `~/.claude/CLAUDE.md`'s "Action categories" applies generally, made concrete for sysadmin command shapes instead of a single "be careful with destructive commands" reminder. Also requires citing the relevant man page or official docs for any claim about how a specific command or unit behaves, since behavior varies by distro/version. Use before running, or advising the user to run, any Linux administration command — installing/removing packages, starting/stopping/enabling services, changing file ownership or permissions, managing users or groups, partitioning or formatting disks (including `dd` to a block device), disabling SSH password auth, or changing firewall/network configuration — on a systemd-based Linux host (local, remote/SSH, or a container). Also applies when asked only to plan, list or answer with the commands without running them. Does not cover non-systemd init systems (sysvinit, OpenRC, runit) or Windows/macOS administration.
02 资源文件 8
- 参考文档.claude-plugin/plugin.json469 B
- 参考文档evals/linux-administration-cites-man-page/case.yaml2.0 KB
- 参考文档evals/linux-administration-labels-command-batch/case.yaml2.8 KB
- 参考文档evals/linux-administration-quiet-on-openrc-ssh-password/case.yaml1.4 KB
- 参考文档evals/linux-administration-refuses-lone-pacman-sy/case.yaml2.4 KB
- 参考文档evals/linux-administration-separate-go-ahead-per-action/case.yaml3.8 KB
- 参考文档evals/linux-administration-ssh-password-off-hands-back-without-rollback/case.yaml3.1 KB
- 参考文档evals/linux-administration-stays-quiet-on-macos-service/case.yaml1.6 KB
03 SKILL.md 正文
Linux administration
Scope
In scope: systemd-based Linux distributions — Debian/Ubuntu (apt),
Fedora/RHEL/CentOS-family (dnf), and Arch (pacman) — since these cover
the large majority of Linux systems actually administered through an agent
session today (local dev boxes, cloud VMs, containers with a systemd PID 1).
Covers: package management, systemd unit/service management and failure
diagnosis, filesystem operations, user and permission management, disk
partitioning, network/firewall configuration (ufw, firewalld, raw
nftables/iptables), and SSH hardening (sshd_config directives,
authorized_keys management).
Out of scope, explicitly: non-systemd init systems (sysvinit, OpenRC,
runit, Alpine's default setup), BSD variants, and Windows/macOS
administration. A command shape below that doesn't exist on a given distro
(e.g. ufw on a RHEL-family host, which ships firewalld instead) simply
doesn't apply there — check which stack a given host actually runs (systemctl status ufw/firewalld, command -v ufw) before assuming.
This is a deliberate v1 boundary, not a claim of universal coverage. If a real task needs a non-systemd distro or a domain not listed above (SELinux policy authoring, LVM/ZFS-specific management, containers-as-init), treat that as new scope requiring its own review against this same bar — don't silently stretch this skill to cover it.
The three-tier action model
Every Linux administration command shape falls into exactly one bucket.
This mirrors ~/.claude/CLAUDE.md's "Action categories" (Prohibited /
Explicit permission required / Regular) rather than inventing a parallel
scheme — sysadmin work is just a domain where "Explicit permission
required" and "Prohibited" both need concrete, command-level content
instead of staying abstract.
<!-- tier-policy:start --> Sort every command into one tier before running or recommending it: run freely (read-only), ask first (state the exact command and its target, then wait for a go-ahead), or hand back (never run it yourself; name the tier, say why, and give the user the command). A command that sits between two tiers takes the higher one. Hand back stays hand back even when the user says "go ahead". <!-- tier-policy:end -->
Here Tier 1 is run freely, Tier 2 is ask first, and Tier 3 is hand back.
Tier 1 — Safe: run freely, no confirmation needed
Read-only or purely diagnostic. These never mutate state, so there is nothing to confirm.
- Service/process status:
systemctl status|list-units|list-unit-files|is-active|is-enabled, boundedjournalctlreads (--since/--until, or-n <N>) — not bare-f/--follow, which streams indefinitely and can hang an agent workflow waiting for it to end —ps, a boundedtop -b -n 1/singlehtopsnapshot (not an interactive, unbounded session),pgrep. Route a genuinely interactivetop/htop/journalctl -fsession throughdetached-terminalinstead of treating it as Tier 1. - Package queries:
apt list|search|show,apt-cache policy,apt update(refreshes the package index only — installs/upgrades nothing),dnf list|info|repoquery,dnf check-update,dpkg -l|-s,rpm -qa|-qi,pacman -Q|-Si. Notpacman -Sy— see the package-manager quick reference below for why a standalone sync is unsafe on Arch specifically. - Filesystem/disk queries:
df,du,lsblk,blkid,fdisk -l(list-only),parted <device> print,stat,findrestricted to search/print/stat predicates — excludes every execution action, not just-delete/-exec rm: no-exec/-execdirof any kind, since those can runchmod,chown, a shell, or a network client just as easily asrm—file. - Network/firewall queries:
ip addr|route|link show,ss,netstat,ufw status,firewall-cmd --list-all|--state,iptables -L/nft list ruleset. - Identity queries:
id,whoami,groups,getent passwd|group,last,w. - Reading non-secret config files (
cat/less/grepover/etc/**, unit files, logs) — except credential-bearing paths (/etc/shadow,/etc/gshadow,/etc/sudoersand/etc/sudoers.d/**,/etc/ssh/ssh_host_*_key, or any other/etc/**path holding a private key, API token, or password): reading one of those puts its contents in the session's context, so treat it as Tier 2 — state the specific path and why before reading it.
Tier 2 — Needs explicit confirmation: state-changing but scoped
Mutates the system, but the blast radius is a single named unit, package,
file, user, or rule — reversible or at least narrowly contained. Follow
this repo's gh-publish-guide pattern: state exactly what will run
(the command, the target) and get an explicit go-ahead before running it,
same as any other "Explicit permission required" action.
- Package management — targeted:
apt install|remove|purge <pkg>,dnf install|remove <pkg>,pacman -S|-R <pkg>— one or more named packages, not the whole system. - Package management — full-system upgrade:
apt upgrade/apt full-upgrade,dnf upgrade(no package argument),pacman -Syu. These upgrade every installed package, not a bounded target — when asking for the go-ahead, say so explicitly (system-wide blast radius, not one package) rather than describing it as if it were scoped like the targeted case above. - Fetch-and-execute installs (
curl <url> | sh,curl <url> | sudo bash, an install script piped straight into a shell): governed by thefetch-execute-guideskill, not this skill's own tiering — that skill's per-run, exact-command permission gate applies here unchanged, so this is Tier 2 (confirmation-required), not Tier 3. Root/sudo context (curl <url> | sudo bash) raises the stakes further: say so explicitly when asking, and treat the request as void if the actual command differs even slightly from what was approved. - Service management:
systemctl start|stop|restart|reload|enable|disable <unit>for one named unit. - Filesystem: creating/removing/moving a specific, named file or
directory outside a designated scratch area;
rm <specific-path>(non-recursive, non-wildcard, outside scratch); mounting/unmounting one named filesystem — except the protected paths listed under Tier 3 below, where "it's just one named path" stops being a scoping argument because the path itself is the whole blast radius. - Users/permissions:
useradd|usermod|userdel <user>for a non-system account (UID ≥ 1000, per the distro's/etc/login.defsUID_MIN— verify the actual threshold on the host rather than assuming 1000, since it's configurable);usermod -aG <group> <user>;chmod/chownon a single, named file or directory (no-R— see Tier 3 for the recursive form, and for the same protected-paths exception as Filesystem above). - Network/firewall: adding or removing one specific rule —
ufw allow|deny <port/service>,firewall-cmd --add-port=<port>/<proto> [--permanent],nft add rule ...for a single rule; changing config for one named network interface. - SSH hardening: editing one directive in
/etc/ssh/sshd_config(or a drop-in under/etc/ssh/sshd_config.d/) — e.g.PasswordAuthentication no,PermitRootLogin no, changingPort— validated withsshd -tbefore reloading; adding a public key to an existing user's~/.ssh/authorized_keys. These are Tier 2 on their own, but see the Tier 3 rule below on cutting off session access: a change to the auth method or listening config the current session depends on needs a confirmed second access path or rollback, not just a go-ahead on the edit itself. - Disk: creating a new partition on confirmed-unused space; running
mkfson a partition just created and confirmed empty; resizing a filesystem after a confirmed backup exists.
Tier 3 — Never run autonomously, even with a general "go ahead"
These map to this repo's "Prohibited" category: stop and tell the user to run it themselves, even if they say "yes, do it" in general terms — a sysadmin-specific instance still needs the same per-repo-defined scope of explicit, request-scoped permission, and some of these should never be run by an agent at all regardless of permission, per the global rule.
rm -rftargeting anything outside an explicitly designated scratch/temp directory, or anyrm -rf /-shaped invocation (includingrm -rf /*,rm -rf ~,rm -rf .at a root-like cwd).ddwithof=pointing at a block device (/dev/sd*,/dev/nvme*,/dev/vd*,/dev/xvd*,/dev/mapper/*) — a single wrong argument overwrites a disk with no confirmation prompt of its own and no undo.- Partition table changes on a disk already in use:
fdisk/parted/gdiskoperations that delete, resize, or recreate an existing partition;wipefs;parted ... mklabelon a disk with existing data. chmod -R/chown -Ron broad system paths —/,/etc,/usr,/var,/home,/boot, or any path that is itself one of those (not a single user's home subdirectory). Recursive permission/ownership changes at that scope routinely break package-manager assumptions and PAM/sudo, and are not realistically reversible.- Disabling a firewall entirely, or flushing all rules:
ufw disable,systemctl stop ufw|firewalldas a blanket disable,iptables -F(flush) oriptables -P INPUT ACCEPTas a policy-wide open,nft flush ruleset. A scoped rule change (Tier 2) is different from turning the firewall off. - Deleting a system account or root:
userdelon a UID below the distro'sUID_MIN, or onroot; directly editing/etc/shadowor/etc/sudoerswith an editor/sedinstead ofpasswd/chage/visudo(the latter validates syntax before saving; direct edits can lock outsudoentirely). - Any
rm/mv/chmod/chowntargeting a protected path, regardless of how narrowly the command is scoped:/etc/passwd,/etc/shadow,/etc/gshadow,/etc/sudoersand/etc/sudoers.d/**, anything under/etc/pam.d/**, and/,/etc,/usr,/var,/boot,/homeas paths in their own right (an ordinary file living under one of those is fine as Tier 2 — it's the directory itself, or a credential/auth file, that's off-limits). Tier 2's "it's just one named path, so it's scoped" reasoning assumes the path's own blast radius is small; these paths break authentication or the whole system on their own regardless of how precisely the command targets them, so a single confirmation isn't enough — treat them the same as the recursive case above. - Anything that would cut off the current session's own access without
a confirmed rollback path — e.g. changing the SSH daemon's auth method
or restarting
sshdin a way that drops the auth method the current session is using, or a firewall rule that blocks the management connection currently in use — unless a second access path or a timed auto-revert is already confirmed and in place. - Entering a password (root, sudo, or any account's) into any prompt,
including
passwd,sudo -S, or an expect-style script that supplies one — this is~/.claude/CLAUDE.md's "Prohibited" credential-entry rule, restated here because sysadmin work is exactly where it comes up.
Sourcing discipline
Before asserting how a specific command, flag, or systemd unit directive
behaves, check that tool's own man page or official docs rather than
answering from memory — behavior varies by distro and version (apt
14 vs. Debian's earlier version, dnf vs dnf5, systemd 253 vs. 257,
ufw on Ubuntu vs. a manually-installed copy elsewhere). This is the same
"Cite sources for platform-capability claims" convention ~/.claude/CLAUDE.md
already requires generally, applied to sysadmin tooling specifically.
Practical ways to satisfy it, in order of preference:
man <command>or<command> --helpon the actual host being administered — the authoritative source for that host's installed version, not a generic assumption.- The tool's own upstream docs when the host's man page is unavailable or
the question is about a directive rather than a flag, e.g.:
- systemd unit semantics:
systemd.unit(5),systemd.service(5)— https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html systemctl(1)— https://www.freedesktop.org/software/systemd/man/latest/systemctl.htmlapt(8)— https://manpages.debian.org/stable/apt/apt.8.en.htmldnfcommand reference — https://dnf.readthedocs.io/en/latest/command_ref.htmlufw(8)— https://manpages.ubuntu.com/manpages/noble/man8/ufw.8.htmlfirewalld.cmd(5)/firewall-cmd(1)— https://firewalld.org/documentation/partedmanual — https://www.gnu.org/software/parted/manual/parted.htmldd(GNU coreutils) — https://www.gnu.org/software/coreutils/manual/html_node/dd-invocation.html
- systemd unit semantics:
- If neither is checkable in the moment, say so explicitly ("this is my
general understanding of
<tool>; verify againstman <tool>on this host before relying on it") rather than presenting an unverified, version-specific claim as settled fact.
Distro/package-manager flag differences are exactly where memory goes
stale fastest (an apt flag added in a later release, a dnf→dnf5
default change) — treat any such claim as needing the check above before
it goes into an actual command run against a real system.
Procedure
- Identify the command's tier (above) before running it or recommending it verbatim.
- Tier 1: run it and report the result.
- Tier 2: state the exact command and its target, then get an
explicit go-ahead — the same explicit/request-scoped/specific bar
gh-publish-guideapplies to GitHub publish actions, applied here to a state-changing sysadmin command. Don't infer permission from a broader adjacent ask ("clean up this server" does not by itself authorize a specificapt remove). - Tier 3: refuse to run it yourself regardless of how the request is
phrased, explain which Tier-3 bucket it falls into and why, and tell
the user the exact command to run themselves if they still want to do
it. This holds even if the user says "yes, I'm sure" or supplies every
detail — per
~/.claude/CLAUDE.md's Prohibited-category handling, the answer is to state the rule and hand it back, not to comply. - When a command's tier is ambiguous (a
chownwhose recursion target turns out to be a symlink into/etc, a "temporary" directory that isn't actually scratch space), treat it as the higher tier until confirmed otherwise — err toward asking, not toward assuming safety. - Don't bundle logically separate Tier 2 actions into one confirmation.
A request like "set up a new deploy user and open port 8080 for the app"
contains two independent actions — user provisioning and a firewall
change — that happen to arrive in the same sentence. Get a separate
explicit go-ahead for each rather than listing every command and asking
for one blanket yes. A single combined "yes" leaves it genuinely
ambiguous whether the user weighed both parts or just the one they were
thinking about, and it removes their ability to approve one now and hold
off on the other. Steps that are only sub-parts of one coherent operation
—
useradd deployimmediately followed byusermod -aG sudo deployto finish provisioning that same account — are one action and can share a single confirmation; the test is whether the pieces would make sense as separate asks on their own, not whether they happen to share a sentence.
Diagnosing a failing or misbehaving service
A "why is X broken" or "X won't start" request is a Tier 1 diagnostic phase followed by a Tier 2 fix, not a single step — resist naming the fix before the diagnosis actually supports it, even when the symptom looks familiar.
- Status first:
systemctl status <unit>. This alone often names the failure directly (a crashed process, a failed config test, an unmet dependency) and tells you what to look at next, before touching logs at all. - Bounded logs next, scoped to the unit:
journalctl -u <unit> --since <window>or-n <N>— not a bare-f/--follow(see Tier 1 above), and not an unscoped read of the entire system log when the unit name is already known. Widen the time window only if the first read doesn't explain it. - State the diagnosis before proposing the fix. "The status output
shows
(dead) failedand the log shows a syntax error atnginx.conf:12, so the fix is correcting that line and reloading" is a diagnosis someone can check against the evidence. "Let's restart it and see" is a guess wearing a diagnosis's clothes — it may work, but it didn't come from reading the evidence, and Tier 2's "state the exact command and target" requirement means the target should follow from what was actually found, not from the symptom alone. - Apply the Tier 2 procedure for the fix itself (state the command,
get the go-ahead, run it), then re-check status/logs afterward to
confirm the fix actually took —
active (running)immediately after a config reload doesn't yet prove the underlying problem is gone if the failure was intermittent or config-validation-only; re-reading the same status/log source you diagnosed from is what closes the loop.
Package-manager quick reference
Command shapes are equivalent across these three, but flags and defaults are not identical — verify against the sourcing discipline above rather than assuming a direct translation, especially for anything beyond install/remove/search:
| Action | Debian/Ubuntu (apt) |
Fedora/RHEL (dnf) |
Arch (pacman) |
|---|---|---|---|
| Install | apt install <pkg> |
dnf install <pkg> |
pacman -S <pkg> |
| Remove | apt remove <pkg> (keeps config) / apt purge <pkg> |
dnf remove <pkg> |
pacman -R <pkg> |
| Search | apt search <term> |
dnf search <term> |
pacman -Ss <term> |
| List installed | dpkg -l |
rpm -qa |
pacman -Q |
| Update index only | apt update (Tier 1) |
dnf check-update (Tier 1) |
not supported standalone — see note below |
| Upgrade all | apt upgrade (Tier 2, full-system) |
dnf upgrade (Tier 2, full-system) |
pacman -Syu (Tier 2, full-system) |
Never run pacman -Sy on its own. Unlike apt update/dnf check-update, which only refresh metadata, Arch's own docs treat a
database sync with no immediately-following upgrade as an unsupported
partial-upgrade state that can break the system, because Arch's
rolling-release model assumes the local package database and installed
packages stay in sync (https://wiki.archlinux.org/title/System_maintenance).
Always pair it as pacman -Syu.
Firewall stack quick reference
Check which stack a host actually runs before assuming — ufw and
firewalld are both front-ends over the kernel's nftables/iptables,
and only one is normally active at a time:
- Debian/Ubuntu default:
ufw. Status:ufw status verbose(Tier 1). Scoped rule change:ufw allow <port>/<proto>(Tier 2). Full disable:ufw disable(Tier 3). - Fedora/RHEL default:
firewalld. Status:firewall-cmd --state,firewall-cmd --list-all(Tier 1). Scoped rule change:firewall-cmd --add-port=<port>/<proto> --permanent && firewall-cmd --reload(Tier 2). Full disable:systemctl stop firewalldas a blanket measure, orfirewall-cmd --add-interface=... --zone=trustedopening everything (Tier 3). - Raw
nftables/iptables(no front-end, or scripting one directly): listing rules is Tier 1; adding one scoped rule is Tier 2;flushing a table/chain or setting anACCEPTdefault policy onINPUTis Tier 3.
SSH hardening quick reference
sshd's config lives in /etc/ssh/sshd_config (plus any drop-ins under
/etc/ssh/sshd_config.d/*.conf, which are read in glob order and can
override the main file — check for a conflicting drop-in before assuming a
main-file edit is the only place a directive is set).
- Check current settings (Tier 1):
sshd -T | grep -i <directive>reports sshd's actual effective config after all includes are applied — more reliable than grepping the raw file, which won't show a drop-in override. - Edit one directive, then validate before reloading (Tier 2): run
sshd -t— with no-f— after every edit and before reloading. With no-fit tests the actual effective config,Included drop-ins and all, which is the thing that's about to become live; that's mandatory, not optional.sshd -t -f <file>is a different, narrower check — it treats<file>as if it were the whole config, so it can catch a syntax error in the drop-in you just edited before you've wired it in, but a clean-fresult doesn't mean the merged config is clean too. Use-fas an extra quick check on the file you're editing if you want one; it never substitutes for the plainsshd -trun against the real config. - Reload, don't restart, for a config-only change — but find the
actual unit name on this host first rather than assuming: the systemd
unit is
ssh.serviceon Debian/Ubuntu andsshd.serviceon Fedora/RHEL (some Ubuntu versions aliassshdtossh, but don't rely on that without checking —systemctl status ssh sshd 2>/dev/nullon the actual host shows which one is real).systemctl reload <unit>re-reads config without dropping existing connections;systemctl restart <unit>does drop them. Prefer reload unless the change specifically requires a full restart. - The session-continuity rule (Tier 3) applies directly here: disabling
password auth, changing the port, or restarting in a way that drops the
current session's own auth method or connection needs a confirmed second
access path (a second open session, console/out-of-band access, a
provider's rescue mode) or a timed auto-revert before it runs — "it
validated with
sshd -t" proves the config is syntactically valid, not that it won't lock out the session applying it.
04 同仓库更多 Skills
youtube-transcript
ALWAYS invoke before fetching a transcript, captions or description for a YouTube video, even when only asked how you would get them. Given a YouTube URL (youtube.com/watch, youtu.be, shorts), save the video's English auto-captions as plain text and its description to files with `yt-dlp`, and print the title, channel and duration. Use when asked to "get the transcript for this video", "grab the captions", "summarize this YouTube video", "put these videos' transcripts in an artifact", or when a YouTube link is pasted and its spoken content is needed. Do not drive the browser's transcript panel or try `youtube-transcript-api` first: both were tried and are slower or empty.
git-worktree-usage
Load this before pushing to, or opening a PR from, a branch whose earlier PR already merged (a squash merge leaves its commits off the default branch, so a new PR from it shows stale history), even when only advising: it defines the fresh-branch and cherry-pick fix. Create worktrees with the `EnterWorktree` tool, never raw `git worktree add`. Git worktree and branch mechanics for isolating non-trivial work: locking and the stale-worktree sweep, picking what to parallelize by file surface, the repo-wide `git stash` collision hazard and its `git restore` alternative, branch naming, catching a branch up to a moved `main` via merge (not rebase), CI/coverage gotchas after a merge, conflict-resolution escalation levels, and PR-splitting sequencing. Also ships two SessionStart hooks that self-heal a project's own symlinked-worktree-directory convention and auto-prune merged worktrees, and a commit-branch guard hook that asks before a git commit lands on the default or an unrelated checked-out branch. Use when creating, entering, or cleaning up a git worktree, including before starting work in an existing worktree that another session may be using; deciding how to parallelize agent sessions across a repo; hitting a `git stash` collision between sessions; resolving a merge/rebase conflict; splitting an already-written diff into multiple PRs; or a stale or wrongly-linked worktree directory needs diagnosing. Do not use for a plain `git stash` in a single clone with no other worktrees or sessions, for rewriting an unpushed branch's history, or for running commands in a worktree the user just created.
url-to-audio
ALWAYS invoke before answering any request to narrate or convert a URL or article to audio, even when only asked what you would do or which backend you would use (including when `OPENAI_API_KEY` is unset and the fallback is `say`). Turn a web article into a narrated audio file: fetch the page, extract the clean reading text, and synthesize it with macOS `say` by default (free, local, already installed, no API key) or OpenAI TTS optionally (when `OPENAI_API_KEY` is set and a `say` voice isn't good enough). Voice and speed are configurable per call, with env var defaults. Produces a `.m4a`/`.mp3` file at a predictable path and prints it. Use when asked to "read this article to me", "convert this page/URL to audio", "make an audio version of this link", or "text-to-speech this article" — including when asked only for the commands or plan, or when `OPENAI_API_KEY` is unset.
subagent-orchestration
Use FIRST, before answering or planning, whenever the user hands over a list of two or more separate tasks ("do A, B and C", numbered or in no order) that each need real exploration, even if they only ask how you would tackle them: it triages which can run as parallel sub-agents and which must stay serial. Also use when asked how to configure a sub-agent already chosen for a large search or exploration (agent type, model tier), and when about to spawn a sub-agent, fan out with the Workflow tool, or run a task that would put large tool output (more than ~50 lines, or ~3 file reads) into the main context. Routes the work to the main context, a single Agent call, or a Workflow; defines the compact handback a delegated agent should return; and picks the model tier. Use for "should I delegate this", "which agent do I use", or "keep my context small".
config
Internal primitive that reads YAML frontmatter from vault config files via mcp__obsidian__* tools, and returns it as merged key-value data. Not a user-facing slash command — this skill is never triggered by a user request directly; other agent-config skills (screen-capture, and second-brain's own capture/query skills) invoke it to load their own settings. Degrades to an empty config, never a hard failure, when the Obsidian MCP is disconnected or the config file doesn't exist. Parse `$ARGUMENTS` as `<skill-name> [project-name]`.
lighthouse
Run a Lighthouse CLI pass (mobile + desktop) against a URL and store the results in the second-brain vault under knowledge/lighthouse/<project>/. ALWAYS invoke this skill first when asked to run, repeat or script a Lighthouse pass or performance/accessibility audit against a URL, before writing any `lighthouse` command, including when the config disables it (it defines the no-op behaviour). Complements, not replaces, a manual responsive resize-and-look pass. Not for advice about fixing a Lighthouse finding. Config-driven: which form factors run, whether the skill runs at all, and where results land are all controlled by lighthouse_enabled, lighthouse_form_factors, and lighthouse_output_dir.