AGENTS

AGENTS is a command for Claude Code from max-sixty/worktrunk. It costs 0 tokens per session (259 once invoked), scanned A, original, Apache-2.0.

A command for testing a program in a temporary repository through a real interactive terminal. It captures terminal output and can inspect detailed logs when timing or shell behavior affects the result.

In plain words
What is it for?
It is for checking command-line tools, terminal interactions, timing-sensitive behavior, and shell-state issues.
Why use it?
A command that works when its input is piped may fail in an interactive terminal. This provides a closer test of how the program behaves for a real user.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: mentions AGENTS.md.

Good fit It is for checking command-line tools, terminal interactions, timing-sensitive behavior, and shell-state issues.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/max-sixty/worktrunk/agents
About the project

Worktrunk is a command-line tool that simplifies Git worktrees, which are separate working directories for branches in one repository. Developers use it to run multiple coding agents or parallel changes without having their files overlap, with hooks and build-cache features for related local workflows.

max-sixty/worktrunk · 12,832 stars · on GitHub · worktrunk.dev

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.

Clone the repo
git clone --depth 1 https://github.com/max-sixty/worktrunk

Made for: Claude Code.

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 AGENTS

README.md
[![agentmods](https://agentmods.dev/badge/commands/max-sixty/worktrunk/agents/github.svg)](https://agentmods.dev/commands/max-sixty/worktrunk/agents)
Your own site
<a href="https://agentmods.dev/commands/max-sixty/worktrunk/agents"><img src="https://agentmods.dev/badge/commands/max-sixty/worktrunk/agents/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 AGENTS

Your own site · 80×15
<a href="https://agentmods.dev/commands/max-sixty/worktrunk/agents"><img src="https://agentmods.dev/badge/commands/max-sixty/worktrunk/agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 259 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.
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.00000 $0.00259
Opus 5.5 $0.00000 $0.00104
Sonnet 5.5 $0.00000 $0.00052
Haiku 4.5 $0.00000 $0.00026

Measured 2mo ago against content hash f8da80e05625, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

AGENTS 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 2mo ago.

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.

src/commands/AGENTS.md · 16 lines

What it actually says

Command development

Interactive debugging

Run the current binary in a temporary test repository with a real PTY. Use tmux-cli when available, capture terminal output, and inspect -vv logs when behavior depends on timing or shell state. Avoid treating a piped command as proof of interactive behavior.

Adding a CLI command

Define the Clap interface and help in src/cli/mod.rs, implement the command here, and wire dispatch in src/commands/mod.rs. Update generated command pages with test_docs_are_in_sync and refresh help snapshots with test_help. See docs/AGENTS.md for the sync contract.

Worktree-naming arguments accept a branch, with a path as an alias; route them through Repository::resolve_worktree. Use the established target terminology for merge destinations. Keep --dry-run read-only, and make -v add detail rather than change behavior.

CLI help and command pages

The first Clap doc line is the short command description. The second may add context under the terminal header. after_long_help owns the guide and examples, shared by terminal help and generated site pages. Do not repeat the short description there. Describe what the command does without presuming why the user runs it; keep implementation detail below common workflows. Link to dedicated pages for cross-command concepts.

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. 2mo ago First seen · 16 lines · 0 tokens per session scan A f8da80e05625

Subscribe to this mod's changes

AGENTS is a command published in the GitHub repository max-sixty/worktrunk (12,832 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 259 tokens. 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-24.

Related

AGENTS compared with commands from other repositories

AGENTS next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
AGENTSmax-sixty/worktrunkCommand13ktodayApache-2.0A0Claude Code
fix-issueyonatangross/orchestkitCommand312todayMITA54Claude Code, Cursor
hotfixfatihkan/badiCommand81mo agoMITA0Claude Code
trace-regressionyeaight7/agent-powerupsCommand102mo agoApache-2.0A18Claude Code
pre-editproffesor-for-testing/agentic-qeCommand537yesterdayMITA0Claude Code
pull-repostravisjneuman/.claudeCommand115yesterdayMITA13Claude Code
type-coverageTheBeardedBearSAS/claude-craftCommand10813d agoMITA8Claude Code