claudecodex

loc-guardian

Enforce per-file pure LOC limits with automated optimization strategies — counts, flags violations, and provides opus-powered extraction plans

4 on GitHubby xiaolaiv0.4.2ISCupdated 1 month agodeveloper-tools
/

Plugin loc-guardian from marketplace xiaolai in xiaolai/loc-guardian-for-claude. Commands read from the repo's manifest — 1 month ago.

What it installs

Skills (8)

  • loc-guardian-counter

    Count lines of code and produce the loc-guardian LOC report with per-file limit enforcement, for all languages or one (e.g. python). The counting step of $loc-guardian-scan. Not for suggesting how to shrink over-limit files; that is $loc-guardian-optimizer.

  • loc-guardian-init

    Initialize loc-guardian for this project — set the per-file pure-LOC limit and project-specific extraction rules in .claude/loc-guardian.local.md.

  • loc-guardian-loc-optimization

    Shrinking files over the pure LOC limit: config format, extraction patterns.

  • loc-guardian-loc

    LOC counting with tokei: metrics, limits, reading and checking loc-guardian reports.

  • loc-guardian-optimizer

    Analyze files over the pure-LOC limit and propose concrete extractions with measured line savings; given only warning-zone (WARN) files, a lighter pass with one candidate per file. Consumes a $loc-guardian-counter report. Not for counting lines (use $loc-guardian-counter) or a warnings-only scan, wh

  • loc-guardian-scan

    Count pure LOC, enforce per-file limits, and get measured optimization strategies for over-limit files. Optional arguments: a language (e.g. typescript) and paths. Entry point for loc-guardian in Codex.

  • loc-optimization

    Shrinking files over the pure LOC limit: config format, extraction patterns.

  • loc

    LOC counting with tokei: metrics, per-file limits, report formats.

Slash commands (2)

  • /loc-guardian:init

    Initialize loc-guardian for this project — set LOC limit and extraction rules.

  • /loc-guardian:scan

    Count LOC, enforce per-file limits, get optimization strategies.

Subagents (2)

  • counter

    Use this agent to count lines of code and produce LOC statistics reports with file size limit enforcement, for all languages or filtered to one (for example /loc-guardian:scan python). Not for suggesting how to shrink over-limit files; that is the optimizer agent's job. <example> Context: User wants

  • optimizer

    Use this agent to analyze over-limit files and provide concrete optimization strategies. This agent is called by the scan command when files exceed the pure LOC limit. It reads the actual file contents and suggests specific extractions; invoked directly with only warning-zone (WARN) files, it runs a

View source on GitHub

Similar plugins

Scaffold, validate, and publish new Claude Code plugins with proper structure

3 skills · 1 command · 1 agent

ruvnet/ruflo 81,589

Query Trackio projects, runs, and metrics using the `trackio` CLI. Use when the user needs to list projects/runs/metrics, get summaries, or retrieve metric values from local Trackio databases. Supports both human-readable and JSON output formats. Covers project discovery, run inspection, metric querying, and system metrics. Designed for LLM agents and automation scripts.

1 skill

sickn33/agentic-awesome-skills 49,620

slidev

claude

Claude Code skill for creating and presenting Slidev slidedecks

1 skill

slidevjs/slidev 49,452

Hostinger

claude

Deploy, manage and monitor your Hostinger services directly from Claude Code. The plugin connects Claude to Hostinger's remote MCP server, so you can ship sites and apps, manage domains and DNS, run WordPress and operate VPS servers without leaving your coding environment. There's nothing to install on your machine: no Node.js, no npm, no local server. Key features include one-prompt deployments for static sites, Node.js apps (built on Hostinger), full WordPress site imports, and WordPress plugins and themes, plus static and PHP sites on the Agency Plan. Beyond deployments, Claude can search and register domains, edit DNS records and snapshots, check build logs, and manage mailboxes, online stores, email marketing contacts, subscriptions and orders. It can also control VPS firewalls, snapshots and monitoring. Sign in through your browser (OAuth) on first use, or set a `HOSTINGER_API_TOKEN` from hPanel. How to use: there are no commands to memorize. Describe what you want and Claude picks the right tool or deployment skill. Try "deploy my static site to Hostinger", "deploy this Next.js app to example.com", "create an A record pointing example.com to 1.2.3.4", or "show VPS metrics for the last 24 hours."

7 skills · 1 MCP server

anthropics/claude-plugins-official 47,076

Metrics collection, logging infrastructure, distributed tracing, SLO implementation, and monitoring dashboards

4 skills · 2 commands · 4 agents

wshobson/agents 42,461

Datadog

claude

Use Datadog directly in Claude Code through a preconfigured Datadog MCP server. Query logs, metrics, traces, dashboards, and more through natural conversation. This plugin is in preview.

5 skills · hooks

anthropics/knowledge-work-plugins 35,601

Maintain loc-guardian?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex pluginslisted