greenline

greenline is a command for Claude Code from alleneubank/claude-code. It costs 44 tokens per session (542 once invoked), scanned A, original, Apache-2.0.

A command that starts a Tilt development environment and then improves its end-to-end tests. End-to-end tests check a complete user workflow across the running application.

In plain words
What is it for?
Use it in projects that use Tilt, a tool for running local development services, to bootstrap the environment and repair selected or complete end-to-end test suites.
Why use it?
It gives a recorded test baseline and organizes repeated fixes for flaky, outdated, or broken tests.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it in projects that use Tilt, a tool for running local development services, to bootstrap the environment and repair selected or complete end-to-end test suites.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/alleneubank/claude-code/greenline
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/alleneubank/claude-code

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 greenline

README.md
[![agentmods](https://agentmods.dev/badge/commands/alleneubank/claude-code/greenline/github.svg)](https://agentmods.dev/commands/alleneubank/claude-code/greenline)
Your own site
<a href="https://agentmods.dev/commands/alleneubank/claude-code/greenline"><img src="https://agentmods.dev/badge/commands/alleneubank/claude-code/greenline/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 greenline

Your own site · 80×15
<a href="https://agentmods.dev/commands/alleneubank/claude-code/greenline"><img src="https://agentmods.dev/badge/commands/alleneubank/claude-code/greenline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 542 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.00044 $0.00542
Opus 5.5 $0.00018 $0.00217
Sonnet 5.5 $0.00009 $0.00108
Haiku 4.5 $0.00004 $0.00054

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

Security

Grade A, and why

greenline 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 1mo 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.

commands/greenline.md · 66 lines

What it actually says

Greenline

Bootstrap dev environment, then improve e2e test baseline through categorized fix iterations.

Arguments

$ARGUMENTS

  • TEST_FILTER: grep/filter for test files or names (e.g., transfer, auth.spec.ts)
  • --skip-tilt: Skip Phase 1 (tilt already healthy)
  • --no-commit: Skip committing fixes

Phase 1: Tilt Bootstrap (skip if --skip-tilt)

Follow the tiltup skill workflow. Exit when all resources reach runtime=ok, update=ok.

If a resource cannot be fixed after 3 iterations, report it and continue to Phase 2 — it may not block e2e tests.

Phase 2: E2E First Run

  1. Discover e2e config and the canonical test command
  2. Verify tilt environment is serving
  3. Locate spec files for bug verification
  4. Run suite (apply TEST_FILTER if provided), record pass/fail baseline

Phase 3: Categorize and Fix (Loop)

Follow the e2e skill taxonomy and fix rules. Fix in priority order: flaky, outdated, bug. Report unverified failures without fixing.

After each logical fix or batch (unless --no-commit):

  • Run builds, checks, unit tests
  • Commit per git-best-practices with scope: fix(e2e): ... for test fixes, fix(scope): ... for bug fixes

Re-run suite after fixes. If failures changed, repeat categorization.

Exit: pass count improved from baseline AND no actionable failures remain.

Phase 4: Report

Combine tiltup and e2e skill report formats:

## Greenline Report

**Tilt**: <healthy|skipped|degraded>
**E2E**: X/Y passed (was A/B on first run)

### Fixed
- CATEGORY: `file:line` — what was fixed

### Remaining
- UNVERIFIED: `file:line` — needs spec or user decision

### Commits
- `hash` type(scope): description

Ralph Integration

For autonomous execution: /ralph /greenline [args]

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. 1mo ago First seen · 66 lines · 0 tokens per session scan A 88db78e0369b

Subscribe to this mod's changes

greenline is a command published in the GitHub repository alleneubank/claude-code (50 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 44 tokens to every session and 542 once invoked, about $0.0002 per session on Opus 5.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-08-30.