direnv

Unclutter your .profile with per-directory environment variables

workhorse Go direnv/direnv
86% pass rate
5/7 principles met

Spec Coverage

How many of the spec's requirements were verified for this tool. See /coverage for the full matrix.

Level Total Verified Unverified
MUST 23 9 14
SHOULD 16 0 16
MAY 7 0 7

Top Issues

All Checks

P1: Non-Interactive by Default

PASS Non-interactive by default
SKIP Non-interactive gate flag advertised in --help target satisfies P1 via alternative gate (help-on-bare or stdin-primary)
SKIP Flags advertise env-var bindings in --help target exposes no flags in --help

P2: Structured, Parseable Output

SKIP Structured output support no --output/--format flag detected

P3: Progressive Help Discovery

PASS Help flag produces useful output
PASS Version flag works

P4: Fail-Fast, Actionable Errors

PASS Rejects invalid arguments

P6: Composable, Predictable Command Structure

PASS Handles SIGPIPE gracefully
SKIP Pager-using CLI ships --no-pager escape hatch no pager signal (less/more/$PAGER/--pager) in --help
PASS Respects NO_COLOR

P7: Bounded, High-Signal Responses

WARN Quiet mode available no --quiet/-q flag detected in --help output

Details

Version scored
2.37.1
Audit date
2026-05-01 10:09:13 UTC
Duration
53ms
Platform
linux/x86_64
Mode
command
Anc build
0.3.0
Install
brew install direnv

Embed the badge

This score (86%) clears the badge floor (80%). Copy this into your README:

[![agent-native](https://anc.dev/badge/direnv.svg)](https://anc.dev/score/direnv)

Preview: agent-native badge for direnv

Reproduce this scorecard for direnv locally and inspect the failing checks:

anc check --command direnv --output json

Install anc first if you don't have it. Add --output json to get the same JSON shape committed under scorecards/.