Borrowing it
Nothing to install: this file belongs to cl-ai-project/cl-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/cl-ai-project/cl-mcp/main/.claude/commands/common-lisp/add-blank-lines.mdgit clone --depth 1 https://github.com/cl-ai-project/cl-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/cl-ai-project/cl-mcp/add-blank-lines)<a href="https://agentmods.dev/commands/cl-ai-project/cl-mcp/add-blank-lines"><img src="https://agentmods.dev/badge/commands/cl-ai-project/cl-mcp/add-blank-lines/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/cl-ai-project/cl-mcp/add-blank-lines"><img src="https://agentmods.dev/badge/commands/cl-ai-project/cl-mcp/add-blank-lines.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00019 | $0.01278 |
| Opus 5 | $0.00010 | $0.00639 |
| Sonnet 5 | $0.00004 | $0.00256 |
| Haiku 4.5 | $0.00002 | $0.00128 |
Grade A, and why
add-blank-lines scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.
トップレベルフォーム間の空行追加
Common Lispファイルのトップレベルフォーム間に空行を追加し、Google Common Lisp Style Guideに準拠させる。
対象
- パス:
$ARGUMENTS(省略時はsrc/ディレクトリ) - 拡張子:
.lisp,.asd
検出ルール
以下のパターンを検出して空行を追加:
- 行末が
)で終わり、次の行が(で始まる(カラム0)
例外(空行不要)
以下のケースは空行を追加しない:
-
declaimの直後 - 型宣言は関連する定義と一緒に(declaim (ftype ...)) (defun foo ...) ; OK: 空行不要 -
関連するグローバル変数 -
defparameter/defvarの連続(defparameter *log-level* :debug) (defparameter *log-stream* *error-output*) ; OK: 空行不要 -
defpackage→in-package(defpackage #:my-pkg ...) (in-package #:my-pkg) ; OK: 空行不要
注意事項(誤検知の可能性)
#+(or)等のリーダーマクロ直後 → 実際は無効化されたコード- 文字列リテラル内のLispコード → テストデータ等
検出結果を確認し、これらのケースは修正をスキップすること。
手順
- 指定パス内の
.lispファイルを検索 - 各ファイルで空行が必要な箇所を検出
- 例外に該当しないケースのみ修正
- 修正内容をサマリーとして報告
検出用コマンド
python3 << 'EOF'
import os
import sys
import re
path = sys.argv[1] if len(sys.argv) > 1 else 'src'
def find_form_start(lines, end_line_idx):
"""括弧のバランスを追跡して、フォームの開始行を見つける"""
depth = 0
for i in range(end_line_idx, -1, -1):
line = lines[i]
# 文字列とコメントを除外した簡易カウント
in_string = False
for j, ch in enumerate(line):
if ch == '"' and (j == 0 or line[j-1] != '\\'):
in_string = not in_string
if in_string:
continue
if ch == ';':
break
if ch == '(':
depth -= 1
elif ch == ')':
depth += 1
if depth <= 0:
return i
return 0
def get_form_type(lines, start_idx):
"""フォームの種類を取得(defun, defpackage, declaim等)"""
line = lines[start_idx].strip()
match = re.match(r'\((\S+)', line)
return match.group(1) if match else None
def check_file(filepath):
issues = []
with open(filepath, 'r') as f:
lines = f.readlines()
for i in range(len(lines) - 1):
curr = lines[i].rstrip()
next_line = lines[i + 1]
if not curr or not curr.endswith(')'):
continue
if not next_line.startswith('('):
continue
# 現在のフォームの種類を特定
form_start = find_form_start(lines, i)
form_type = get_form_type(lines, form_start)
# 次のフォームの種類を特定
next_match = re.match(r'\((\S+)', next_line)
next_form_type = next_match.group(1) if next_match else None
# 例外チェック
# 1. declaim直後
if form_type == 'declaim':
continue
# 2. defparameter/defvar連続
if form_type in ('defparameter', 'defvar') and \
next_form_type in ('defparameter', 'defvar'):
continue
# 3. defpackage → in-package
if form_type == 'defpackage' and next_form_type == 'in-package':
continue
issues.append((i + 1, i + 2, form_type or '?', next_form_type or '?',
curr[-40:], next_line.rstrip()[:40]))
return issues
for root, dirs, files in os.walk(path):
dirs[:] = [d for d in dirs if not d.startswith('.')]
for f in files:
if f.endswith('.lisp') or f.endswith('.asd'):
filepath = os.path.join(root, f)
issues = check_file(filepath)
for line1, line2, form1, form2, end, start in issues:
print(f'{filepath}:{line1}-{line2} ({form1} -> {form2})')
print(f' L{line1}: ...{end}')
print(f' L{line2}: {start}')
print()
EOF
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 149 lines · 19 tokens per session scan A 197ac959c967
add-blank-lines is a command published in the GitHub repository cl-ai-project/cl-mcp (84 stars, last pushed yesterday), licensed MIT. It adds 19 tokens to every session and 1,278 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
fastapi
FastAPI application design and implementation conventions. Use this skill when building, updating, or reviewing FastAPI services, routers, dependencies, request/response schemas, streaming endpoints, or API tests. Trigger on FastAPI-specific work such as path operation design, dependency injection, response models…
azure-graph-dotnet:deploy-azure
Deploy a C# Azure Functions or Container Job project to Azure — provision infrastructure with Bicep, push image to ACR, assign Managed Identity Graph permissions, and generate or update GitHub Actions or Azure DevOps CI/CD pipelines.
go-review
Go code review for idiomatic patterns.
kotlin-review
Comprehensive Kotlin code review for idiomatic patterns, null safety, coroutine safety, and security. Invokes the kotlin-reviewer agent.
savant-python
Python performance optimization with Python Developer agent.
cli-enhance
Add features to existing CLI applications like colors, progress bars, shell completions, and better error messages.