← Back to Skills Marketplace
xueyetianya

Lint

by bytesagain4 · GitHub ↗ · v2.0.1 · MIT-0
cross-platform ✓ Security Clean
481
Downloads
0
Stars
2
Active Installs
8
Versions
Install in OpenClaw
/install lint
Description
Check code syntax, enforce style, and suggest auto-fixes with CI integration. Use when linting PRs, enforcing code style, detecting errors before merge.
README (SKILL.md)

Lint

Lint is a developer-focused toolkit for recording and tracking code quality operations from the terminal. It provides 13 core action commands for managing checks, validations, formatting, linting, code generation, conversions, templates, diffs, previews, fixes, reports, and explanations — all with timestamped local logging for full traceability. Additional utility commands let you view statistics, export data, search history, and monitor health status.

Commands

Core Action Commands

Each action command works in two modes: run without arguments to view the 20 most recent entries, or pass input text to record a new timestamped entry.

Command Description
lint check \x3Cinput> Record a syntax/code check entry
lint validate \x3Cinput> Record a validation result
lint generate \x3Cinput> Record a code generation action
lint format \x3Cinput> Record a formatting operation
lint lint \x3Cinput> Record a linting pass
lint explain \x3Cinput> Record an explanation or annotation
lint convert \x3Cinput> Record a conversion operation
lint template \x3Cinput> Record a template action
lint diff \x3Cinput> Record a diff comparison
lint preview \x3Cinput> Record a preview action
lint fix \x3Cinput> Record an auto-fix action
lint report \x3Cinput> Record a report generation

Utility Commands

Command Description
lint stats Show summary statistics — entry counts per category, total entries, data size, and earliest activity timestamp
lint export \x3Cfmt> Export all data to JSON, CSV, or TXT format. Output file saved to ~/.local/share/lint/export.\x3Cfmt>
lint search \x3Cterm> Full-text search across all log files (case-insensitive)
lint recent Show the 20 most recent entries from the history log
lint status Health check — version, data directory, total entries, disk usage, last activity
lint help Show help with all available commands
lint version Print version string (lint v2.0.0)

Data Storage

All data is stored locally in ~/.local/share/lint/. Each action command writes to its own log file (e.g., check.log, validate.log, fix.log). A unified history.log records every action with timestamps. No external services, databases, or network connections are used.

Directory structure:

~/.local/share/lint/
├── check.log        # Check entries
├── validate.log     # Validation entries
├── generate.log     # Generation entries
├── format.log       # Formatting entries
├── lint.log         # Lint pass entries
├── explain.log      # Explanation entries
├── convert.log      # Conversion entries
├── template.log     # Template entries
├── diff.log         # Diff entries
├── preview.log      # Preview entries
├── fix.log          # Fix entries
├── report.log       # Report entries
├── history.log      # Unified activity log
└── export.*         # Export output files

Requirements

  • Bash (with set -euo pipefail)
  • Standard Unix utilities: date, wc, du, head, tail, grep, basename, cut
  • No external dependencies or API keys required

When to Use

  1. Tracking linting sessions — Record which files you linted, what issues you found, and what fixes you applied, all with timestamps for audit trails.
  2. Code review workflows — Log check and validate results during PR reviews so you can refer back to what was inspected and when.
  3. Template and diff management — Keep a running record of template operations and diff comparisons across project iterations.
  4. Exporting quality reports — Use lint export json to generate machine-readable reports of all recorded lint activity for CI dashboards or team reviews.
  5. Searching past actions — Quickly find previous lint results, fixes, or explanations with lint search \x3Cterm> across all categories.

Examples

# Record a check on a Python file
lint check "src/main.py — 3 unused imports found"

# Record a fix applied
lint fix "Removed unused imports in src/main.py"

# View recent formatting actions
lint format

# Search for all entries mentioning "import"
lint search import

# Export everything to JSON
lint export json

# View overall statistics
lint stats

# Health check
lint status

Powered by BytesAgain | bytesagain.com | [email protected]

Usage Guidance
This skill appears coherent and local-only: it logs linting actions to ~/.local/share/lint/, doesn't request credentials, and has no network calls. Before installing/using: (1) review scripts/script.sh to confirm behavior (it will be executed locally if you run it); (2) only make the script executable if you trust the source; (3) be aware it will create persistent logs in your home directory (remove them if desired); (4) if you want extra safety, run it in a non-privileged account or sandboxed environment. No immediate red flags were found.
Capability Analysis
Type: OpenClaw Skill Name: lint Version: 2.0.1 The 'lint' skill is a simple Bash-based logging utility designed to record developer activities (such as linting, formatting, or validation) into local text files within ~/.local/share/lint/. Despite its name, the tool does not perform actual code analysis; it merely stores timestamped strings provided as arguments. The implementation in scripts/script.sh uses standard Unix utilities like grep, wc, and du, and contains no network activity, obfuscation, or unauthorized data access.
Capability Assessment
Purpose & Capability
The name/description (linting, tracking, CI integration) align with the provided CLI behavior: recording lint/check/format actions and exporting reports. Required tools listed (bash and common Unix utils) match what the script uses; no unrelated credentials or services are requested.
Instruction Scope
SKILL.md and the bundled script confine actions to local logging and exports in ~/.local/share/lint/. There are no instructions to read arbitrary system config, exfiltrate data, or call external endpoints. Commands operate on the data directory and user-provided text.
Install Mechanism
There is no install spec (lowest install risk), but the package includes an executable script (scripts/script.sh). That script is straightforward and local-only, but users/agents will need to decide how it's invoked or installed into PATH. Inspect the script before making it executable.
Credentials
The skill requires no environment variables or credentials beyond standard HOME usage. The script writes and reads only from ~/.local/share/lint/ and does not access unrelated secrets or external services.
Persistence & Privilege
The skill persists user data under ~/.local/share/lint/, which is expected for a logging tool. always is false and it does not modify other skills or system-wide agent settings. Consider that logs will remain on disk until removed.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install lint
  3. After installation, invoke the skill by name or use /lint
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.1
update
v2.0.0
v2.5 standard: Use-when desc, homepage, source, security fix
v1.0.5
old template -> domain-specific v2.0.0
v1.0.4
old template -> domain-specific v2.0.0
v1.0.3
Quality upgrade
v1.0.2
Quality upgrade: custom functionality
v1.0.1
Standards compliance: unique content, no template text
v1.0.0
Initial release
Metadata
Slug lint
Version 2.0.1
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 8
Frequently Asked Questions

What is Lint?

Check code syntax, enforce style, and suggest auto-fixes with CI integration. Use when linting PRs, enforcing code style, detecting errors before merge. It is an AI Agent Skill for Claude Code / OpenClaw, with 481 downloads so far.

How do I install Lint?

Run "/install lint" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Lint free?

Yes, Lint is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Lint support?

Lint is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Lint?

It is built and maintained by bytesagain4 (@xueyetianya); the current version is v2.0.1.

💬 Comments