| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 21.2 KB |
| agents/inspector-context.md | markdown | 11.6 KB |
| agents/inspector-control.md | markdown | 6.0 KB |
| agents/inspector-maintainability.md | markdown | 3.6 KB |
| references/durable-context.md | markdown | 2.0 KB |
| references/long-running-agents.md | markdown | 1.8 KB |
| references/maintainability-findings.md | markdown | 8.3 KB |
| references/prune.md | markdown | 8.3 KB |
| scripts/block-pipe-to-shell.py | script | 11.4 KB |
| scripts/check-agent-context.sh | script | 2.6 KB |
| scripts/check-doc-refs.sh | script | 2.6 KB |
| scripts/check-maintainability.sh | script | 2.6 KB |
| scripts/check-verifier-output.sh | script | 2.6 KB |
| scripts/check_agent_context.py | script | 69.5 KB |
| scripts/check_doc_refs.py | script | 7.8 KB |
| scripts/check_maintainability.py | script | 43.5 KB |
| scripts/check_moved_lines.py | script | 6.2 KB |
| scripts/check_verifier_output.py | script | 3.5 KB |
| scripts/collect-data.sh | script | 39.7 KB |
| scripts/conversation_audit.py | script | 34.6 KB |
| scripts/read_skill_description.py | script | 1.7 KB |
| scripts/run-health.ps1 | script | 14.1 KB |
| scripts/scan_skill_security.py | script | 19.5 KB |
scripts/read_skill_description.py
View on GitHub#!/usr/bin/env python3
"""Print one bounded SKILL.md description, including YAML block scalars."""
from __future__ import annotations
import argparse
from pathlib import Path
MAX_BYTES = 1_048_576
MAX_DESCRIPTION_CHARS = 4_000
def parse_description(text: str) -> str:
lines = text.splitlines()
if not lines or lines[0].strip() != "---":
return ""
index = 1
while index < len(lines):
line = lines[index]
if line.strip() == "---":
return ""
if not line.startswith("description:"):
index += 1
continue
raw = line.split(":", 1)[1].strip()
if raw not in {">", ">-", ">+", "|", "|-", "|+"}:
return raw.strip("\"'")[:MAX_DESCRIPTION_CHARS]
index += 1
chunks: list[str] = []
while index < len(lines):
continuation = lines[index]
if continuation.strip() == "---" or (
continuation and not continuation[0].isspace()
):
break
chunks.append(continuation.strip())
index += 1
return " ".join(chunk for chunk in chunks if chunk)[:MAX_DESCRIPTION_CHARS]
return ""
def main() -> int:
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument("path", type=Path)
args = parser.parse_args()
try:
if args.path.stat().st_size > MAX_BYTES:
return 2
text = args.path.read_text(encoding="utf-8", errors="replace")
except OSError:
return 2
description = parse_description(text)
if description:
print(description)
return 0
if __name__ == "__main__":
raise SystemExit(main())
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |