herdr

herdr is a skill for Claude Code, Codex from sfc-gh-eraigosa/dotfiles. It costs 74 tokens per session (1,661 once invoked), scanned A, original, Apache-2.0.

A skill for herdr, a terminal workspace manager that organizes workspaces, tabs, and panes for coding agents. It can manage layouts, local preferences, themes, and agents in other herdr panes when used inside herdr.

In plain words
What is it for?
Use it to save or restore pane layouts, change herdr preferences or themes, inspect or start another pane's agent, and diagnose unreadable sidebar colors.
Why use it?
It provides documented commands for restoring a workspace and changing host-only settings without editing the shared dotfiles repository.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it to save or restore pane layouts, change herdr preferences or themes, inspect or start another pane's agent, and diagnose unreadable sidebar colors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sfc-gh-eraigosa/dotfiles/herdr
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 sfc-gh-eraigosa/dotfiles --skill herdr
Clone the repo
git clone --depth 1 https://github.com/sfc-gh-eraigosa/dotfiles

Made for: Claude Code, 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 herdr

README.md
[![agentmods](https://agentmods.dev/badge/skills/sfc-gh-eraigosa/dotfiles/herdr/github.svg)](https://agentmods.dev/skills/sfc-gh-eraigosa/dotfiles/herdr)
Your own site
<a href="https://agentmods.dev/skills/sfc-gh-eraigosa/dotfiles/herdr"><img src="https://agentmods.dev/badge/skills/sfc-gh-eraigosa/dotfiles/herdr/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 herdr

Your own site · 80×15
<a href="https://agentmods.dev/skills/sfc-gh-eraigosa/dotfiles/herdr"><img src="https://agentmods.dev/badge/skills/sfc-gh-eraigosa/dotfiles/herdr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,661 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 67
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00074 $0.01661
Opus 5 $0.00037 $0.00830
Sonnet 5 $0.00015 $0.00332
Haiku 4.5 $0.00007 $0.00166

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

Security

Grade A, and why

herdr scanned grade A with 0 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 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/herdr-skill_test.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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

ai/skills/herdr/SKILL.md · 114 lines

How it starts

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

herdr

herdr is the terminal workspace manager the dotfiles install for coding agents (workspaces > tabs > panes, with agent state in the sidebar). This skill is the herdr counterpart of the tmux skill: the same verbs, backed by herdr's own CLI plus two bundled tools for what the CLI lacks.

Gate first. Every command below talks to the server socket of the pane you are in. Run test "${HERDR_ENV:-}" = 1; if it fails, say you are not inside herdr and stop. Never control a herdr session from outside it.

Host-local by design. Everything this skill writes lives under ~/.config/herdr/ (layouts/, config.toml), never in the dotfiles repo. The fleet baseline for config.toml is ai/herdr/config.toml, rendered by install_herdr.sh config; per-host changes go through herdr-prefs, which takes ownership of the file away from install.sh.

Verb map (tmux skill -> herdr)

tmux-mgr herdr Notes
session list/new/attach/kill herdr session list/attach <name>/stop <name> Named sessions are separate servers; prefer workspaces
window split, pane split herdr pane split --current --direction right|down --cwd "$PWD" --no-focus Read the new id from .result.pane.pane_id
window move/resize herdr pane focus/resize --direction ...
capture herdr pane read <id> / herdr agent read <name>
agent start herdr agent start <name> --kind claude --pane <id> Pane must be an idle shell; then herdr agent prompt <name> "..." --wait
agent list/complete herdr agent list / herdr agent wait <name> + agent read States: working, blocked, done, idle, unknown
save / restore scripts/herdr-layout save|restore <name> No CLI equivalent in herdr; see below
(none) scripts/herdr-prefs status|get|set|reset Host-local preferences

The installed binary is the syntax authority: herdr <group> with no subcommand prints that group's usage. Do not run bare herdr (it attaches the TUI). Never answer a blocked approval dialog on the user's behalf.

Read the full file on GitHub · 114 lines

Files

What ships with it

4 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. 3d ago First seen · 114 lines · 74 tokens per session scan A d1af7827862b

Subscribe to this mod's changes

herdr is a skill published in the GitHub repository sfc-gh-eraigosa/dotfiles (46 stars, last pushed today), licensed Apache-2.0. It adds 74 tokens to every session and 1,661 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-06.

Related

Other skills, from other repositories

review-pr

Review and merge GitHub pull requests for Spatie packages. Use when asked to review a PR, review a pull request, merge a PR, or when given a GitHub PR URL to review. Also triggers on 'review this PR,' 'check this pull request,' 'merge this,' or '/review-pr'. Uses gh CLI for all GitHub operations.

freekmurze/dotfiles · 75 tokens

git-commit

This skill should be used BEFORE running any git commit command. Triggers when about to run git commit. Ensures commit messages follow Conventional Commits specification and prompts for the Jira ticket number.

fredrikaverpil/dotfiles · 43 tokens

gh-cli

../../../.claude/skills/gh-cli/SKILL.md.

fredrikaverpil/dotfiles · 0 tokens

gh-pr

../../../.claude/skills/gh-pr/SKILL.md.

fredrikaverpil/dotfiles · 0 tokens

churn-prevention

When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies. Also use when the user mentions 'churn,' 'cancel flow,' 'offboarding,' 'save offer,' 'dunning,' 'failed payment recovery,' 'win-back,' 'retention,' 'exit survey,' 'pause…

freekmurze/dotfiles · 140 tokens

marketing-psychology

When the user wants to apply psychological principles, mental models, or behavioral science to marketing. Also use when the user mentions 'psychology,' 'mental models,' 'cognitive bias,' 'persuasion,' 'behavioral science,' 'why people buy,' 'decision-making,' or 'consumer behavior.' This skill provides 70+ mental…

freekmurze/dotfiles · 79 tokens