Catalog PyPI
Back to packageRELEASE DETAILS

0.1.0

PyPI

agentlint-dev

Lint, score, and optimize AI agent configuration files (CLAUDE.md, AGENTS.md, Cursor rules)

agentsaiclaudeclaude-mdcodegencursorlint
Published28 Mar 2026
Direct dependencies5
Transitive dependenciesNot calculated

README

Version 0.1.0 documentation

agentlint

Lint, score, and optimize your AI agent configuration files.

agentlint analyzes CLAUDE.md, AGENTS.md, Cursor rules, and other AI agent configs — and tells you exactly what's wrong and how to fix it.

Install

pip install agentlint

Usage

# Lint a file and show issues
agentlint lint CLAUDE.md

# Score your config from 0-100
agentlint score CLAUDE.md

# Generate an optimized version
agentlint optimize CLAUDE.md          # saves to CLAUDE.optimized.md
agentlint optimize CLAUDE.md --ai     # uses Claude API for smarter suggestions

# Show diff of what optimize would change
agentlint diff CLAUDE.md

# Scan entire directory for all config files
agentlint scan .

Lint Rules

CodeSeverityDescription
TOO_LONG❌ ErrorFile exceeds 80 lines — Claude starts ignoring instructions
TOKEN_WASTE⚠️ WarningPersonality instructions waste tokens with little effect
DUPLICATE_RULE⚠️ WarningSame instruction repeated more than once
CONTRADICTION❌ ErrorConflicting instructions cause unpredictable behavior
MISSING_COMMANDS❌ ErrorNo shell commands defined — agent can't verify its work
MISSING_STACK❌ ErrorNo tech stack defined — agent may make wrong assumptions
AT_MENTION_ABUSE⚠️ WarningExcessive @file refs embed large files every session
NO_VERIFY_STEP❌ ErrorNo instructions for verifying changes work
VAGUE_INSTRUCTION⚠️ WarningInstruction too vague to be reliably actionable
BLOAT_DETECTED⚠️ WarningLengthy procedures belong in skill files, not base config
MISSING_NEVER⚠️ WarningNo prohibition rules — negative constraints are highly effective
INSTRUCTION_LIMIT⚠️ WarningEstimated 150+ instructions — models lose track

Scoring

CategoryPointsWhat it measures
Length & Density25File size, no token waste, no duplicates
Specificity25Concrete rules, no vague/contradicting instructions
Structure25Headers, bullets, code blocks, no bloat
Completeness25Stack, commands, verify step, never rules

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 5

Native requirements
5 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
click
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
click>=8.0runtime
rich
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
rich>=13.0runtime
anthropic
Environment
{
  "extras": "",
  "marker": "extra == \"ai\"",
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
anthropic>=0.30; extra == "ai"runtime
pytest-cov
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
pytest-cov>=4.0; extra == "dev"runtime
pytest
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
pytest>=7.0; extra == "dev"runtime

Distribution files

2 collected
agentlint_dev-0.1.0-py3-none-any.whl

bdist_wheel · 17.26 KB · Python py3

Source file
agentlint_dev-0.1.0.tar.gz

sdist · 39.16 KB · Python source

Source file

Repository

PENDING
yourusername/agentlint

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:35 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:cb84b0db7fb734f20fc8b06443590c68c2212df7fbbb6e02b0bd698f4d8bcc56

Other collected versions

View all collected versions →