jpskill.com
🛠️ 開発・MCP コミュニティ 🔴 エンジニア向け 👤 エンジニア・AI開発者

🛠️ 監査Website

audit-website

squirrelscan CLIを活用し、SEO、パフォーマンス、セキュリティなど多岐にわたるウェブサイトの問題点を230以上のルールで詳細に監査し、改善点をまとめたレポートを生成することで、ウェブサイトやウェブアプリの健全性を評価・改善するSkill。

⏱ コードレビュー 1時間 → 10分

📺 まず動画で見る(YouTube)

▶ 【衝撃】最強のAIエージェント「Claude Code」の最新機能・使い方・プログラミングをAIで効率化する超実践術を解説! ↗

※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。

📜 元の英語説明(参考)

Audit websites for SEO, performance, security, technical, content, and 15 other issue cateories with 230+ rules using the squirrelscan CLI. Returns LLM-optimized reports with health scores, broken links, meta tag analysis, and actionable recommendations. Use to discover and asses website or webapp issues and health.

🇯🇵 日本人クリエイター向け解説

一言でいうと

squirrelscan CLIを活用し、SEO、パフォーマンス、セキュリティなど多岐にわたるウェブサイトの問題点を230以上のルールで詳細に監査し、改善点をまとめたレポートを生成することで、ウェブサイトやウェブアプリの健全性を評価・改善するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o audit-website.zip https://jpskill.com/download/4397.zip && unzip -o audit-website.zip && rm audit-website.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/4397.zip -OutFile "$d\audit-website.zip"; Expand-Archive "$d\audit-website.zip" -DestinationPath $d -Force; ri "$d\audit-website.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して audit-website.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → audit-website フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-17
取得日時
2026-05-18
同梱ファイル
3

💬 こう話しかけるだけ — サンプルプロンプト

  • Audit Website を使って、最小構成のサンプルコードを示して
  • Audit Website の主な使い方と注意点を教えて
  • Audit Website を既存プロジェクトに組み込む方法を教えて

これをClaude Code に貼るだけで、このSkillが自動発動します。

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

ウェブサイト監査スキル

squirrelscan CLI を使用して、SEO、技術、コンテンツ、パフォーマンス、セキュリティの問題についてウェブサイトを監査します。

squirrelscan は、macOS、Windows、Linux で利用可能な CLI ツール「squirrel」を提供しています。これは、ブラウザや検索クローラーをエミュレートし、ウェブサイトの構造とコンテンツを 230 以上のルールと照合して分析することで、広範なウェブサイト監査を実行します。

これにより、問題のリストと修正方法の提案が提供されます。

リンク

以下のテンプレートで、任意のルールのドキュメントを調べることができます。

https://docs.squirrelscan.com/rules/{rule_category}/{rule_id}

例:

https://docs.squirrelscan.com/rules/links/external-links

このスキルができること

このスキルにより、AI エージェントは 21 のカテゴリ、230 以上のルールについてウェブサイトを監査できます。これには以下が含まれます。

  • SEO の問題: メタタグ、タイトル、ディスクリプション、canonical URL、Open Graph タグ
  • 技術的な問題: リンク切れ、リダイレクトチェーン、ページ速度、モバイルフレンドリー
  • パフォーマンス: ページ読み込み時間、リソース使用量、キャッシュ
  • コンテンツの品質: 見出し構造、画像の alt テキスト、コンテンツ分析
  • セキュリティ: 漏洩したシークレット、HTTPS の使用、セキュリティヘッダー、混合コンテンツ
  • アクセシビリティ: Alt テキスト、色のコントラスト、キーボードナビゲーション
  • ユーザビリティ: フォーム検証、エラー処理、ユーザーフロー
  • リンク: 内部および外部リンクのリンク切れをチェック
  • E-E-A-T: 専門性、経験、権威性、信頼性
  • ユーザーエクスペリエンス: ユーザーフロー、エラー処理、フォーム検証
  • モバイル: モバイルフレンドリー、レスポンシブデザイン、タッチフレンドリーな要素をチェック
  • クロール可能性: クロール可能性、robots.txt、sitemap.xml などをチェック
  • スキーマ: Schema.org マークアップ、構造化データ、リッチスニペット
  • 法的: 法的要件、プライバシーポリシー、利用規約への準拠
  • ソーシャル: Open Graph、Twitter カード、スキーマ、スニペットなどの検証
  • URL 構造: 長さ、ハイフン、キーワード
  • キーワード: キーワードスタッフィング
  • コンテンツ: コンテンツ構造、見出し
  • 画像: Alt テキスト、色のコントラスト、画像サイズ、画像形式
  • ローカル SEO: NAP の一貫性、地理的メタデータ
  • 動画: VideoObject スキーマ、アクセシビリティ

など

監査はウェブサイトをクロールし、各ページを監査ルールと照合して分析し、以下の包括的なレポートを返します。

  • 全体的な健全性スコア(0-100)
  • カテゴリ別の内訳(コア SEO、テクニカル SEO、コンテンツ、セキュリティ)
  • 影響を受ける URL を含む特定の問題
  • リンク切れの検出
  • 実用的な推奨事項
  • ルールにはエラー、警告、通知のレベルがあり、1 から 10 のランクも付いています。

使用するタイミング

このスキルは、次のような場合に必要です。

  • ウェブサイトの健全性を分析する
  • 技術的な SEO の問題をデバッグする
  • 上記のすべての問題を修正する
  • リンク切れをチェックする
  • メタタグと構造化データを検証する
  • サイト監査レポートを生成する
  • 変更前後のサイトの健全性を比較する
  • ウェブサイトのパフォーマンス、アクセシビリティ、SEO、セキュリティなどを改善する

ウェブサイトが健全で良好なパフォーマンスを維持していることを確認するために、できるだけ頻繁に再監査する必要があります。

前提条件

このスキルには、squirrel CLI がインストールされ、PATH に含まれている必要があります。

インストール: squirrelscan.com/download

確認:

squirrel --version

セットアップ

squirrel init を実行して、現在のディレクトリに squirrel.toml 設定を作成します。存在しない場合は、作成してプロジェクト名を指定します。

squirrel init -n my-project
# 既存の設定を上書きする
squirrel init -n my-project --force

使用方法

はじめに

実行できるプロセスは 3 つあり、すべてローカルプロジェクトデータベースにキャッシュされます。

  • crawl - クロールの実行または更新、クロールの続行のためのサブコマンド
  • analyze - クロール結果を分析するためのサブコマンド
  • report - 目的の形式(llm、text、console、html など)でレポートを生成するためのサブコマンド

「audit」コマンドは、これら 3 つのプロセスを順次実行するラッパーです。

squirrel audit https://example.com --format llm

常に format オプション llm を優先すべきです。これはあなたのために作られており、網羅的でコンパクトな出力形式を提供します。

最初のスキャンは「サーフェススキャン」であるべきです。これは、ウェブサイトの構造、コンテンツ、テクノロジースタックなどの基本的な情報を収集するための、迅速で浅いウェブサイトのスキャンです。このスキャンは迅速に行うことができ、ウェブサイトのパフォーマンスに影響を与えません。

2 番目のスキャンは「ディープスキャン」であるべきです。これは、ウェブサイトのセキュリティ、パフォーマンス、アクセシビリティなどの詳細な情報を収集するための、徹底的で詳細なウェブサイトのスキャンです。このスキャンは時間がかかり、ウェブサイトのパフォーマンスに影響を与える可能性があります。

ユーザーが監査するウェブサイトを提供しない場合は、監査したい URL を尋ねてください。

ライブウェブサイトを監査することを推奨します。そこで初めて、ウェブサイトの真の表現、パフォーマンス、レンダリングの問題を把握できます。

ローカルとライブの両方のウェブサイトを監査する場合、ユーザーにどちらを監査するかを選択するように促し、ライブを選択することを提案してください。

ライブサイトでの監査から得られた修正をローカルコードに適用できます。

修正を高速化するために、スコープタスクをサブエージェントとして並行して実行できるように計画してください。

修正を実装する際には、サブエージェントを活用して修正の実装を高速化してください。

修正を適用した後、コードがまだビルドされ、プロジェクト内の既存のチェックに合格することを確認してください。

基本的なワークフロー

監査プロセスは 2 つのステップです。

  1. 監査を実行する(データベースに保存され、コンソール出力が表示されます)
  2. 目的の形式でレポートをエクスポートする
# ステップ 1: 監査を実行する(デフォルト: コンソール出力)
squirrel audit https://example.com

# ステップ 2: LLM 形式でエクスポートする
squirrel report <audit-id> --format llm

回帰差分

監査間の回帰を検出する必要がある場合は、差分モードを使用します。

# 現在のレポートをベースライン監査 ID と比較する
squirrel report --diff <audit-id> --format llm
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Website Audit Skill

Audit websites for SEO, technical, content, performance and security issues using the squirrelscan cli.

squirrelscan provides a cli tool squirrel - available for macos, windows and linux. It carries out extensive website auditing by emulating a browser, search crawler, and analyzing the website's structure and content against over 230+ rules.

It will provide you a list of issues as well as suggestions on how to fix them.

Links

You can look up the docs for any rule with this template:

https://docs.squirrelscan.com/rules/{rule_category}/{rule_id}

example:

https://docs.squirrelscan.com/rules/links/external-links

What This Skill Does

This skill enables AI agents to audit websites for over 230 rules in 21 categories, including:

  • SEO issues: Meta tags, titles, descriptions, canonical URLs, Open Graph tags
  • Technical problems: Broken links, redirect chains, page speed, mobile-friendliness
  • Performance: Page load time, resource usage, caching
  • Content quality: Heading structure, image alt text, content analysis
  • Security: Leaked secrets, HTTPS usage, security headers, mixed content
  • Accessibility: Alt text, color contrast, keyboard navigation
  • Usability: Form validation, error handling, user flow
  • Links: Checks for broken internal and external links
  • E-E-A-T: Expertise, Experience, Authority, Trustworthiness
  • User Experience: User flow, error handling, form validation
  • Mobile: Checks for mobile-friendliness, responsive design, touch-friendly elements
  • Crawlability: Checks for crawlability, robots.txt, sitemap.xml and more
  • Schema: Schema.org markup, structured data, rich snippets
  • Legal: Compliance with legal requirements, privacy policies, terms of service
  • Social: Open graph, twitter cards and validating schemas, snippets etc.
  • Url Structure: Length, hyphens, keywords
  • Keywords: Keyword stuffing
  • Content: Content structure, headings
  • Images: Alt text, color contrast, image size, image format
  • Local SEO: NAP consistency, geo metadata
  • Video: VideoObject schema, accessibility

and more

The audit crawls the website, analyzes each page against audit rules, and returns a comprehensive report with:

  • Overall health score (0-100)
  • Category breakdowns (core SEO, technical SEO, content, security)
  • Specific issues with affected URLs
  • Broken link detection
  • Actionable recommendations
  • Rules have levels of error, warning and notice and also have a rank between 1 and 10

When to Use

Use this skill when you need to:

  • Analyze a website's health
  • Debug technical SEO issues
  • Fix all of the issues mentioned above
  • Check for broken links
  • Validate meta tags and structured data
  • Generate site audit reports
  • Compare site health before/after changes
  • Improve website performance, accessibility, SEO, security and more.

You should re-audit as often as possible to ensure your website remains healthy and performs well.

Prerequisites

This skill requires the squirrel CLI installed and in PATH.

Install: squirrelscan.com/download

Verify:

squirrel --version

Setup

Run squirrel init to create a squirrel.toml config in the current directory. If none exists, create one and specify a project name:

squirrel init -n my-project
# overwrite existing config
squirrel init -n my-project --force

Usage

Intro

There are three processes that you can run and they're all cached in the local project database:

  • crawl - subcommand to run a crawl or refresh, continue a crawl
  • analyze - subcommand to analyze the crawl results
  • report - subcommand to generate a report in desired format (llm, text, console, html etc.)

the 'audit' command is a wrapper around these three processes and runs them sequentially:

squirrel audit https://example.com --format llm

YOU SHOULD always prefer format option llm - it was made for you and provides an exhaustive and compact output format.

FIRST SCAN should be a surface scan, which is a quick and shallow scan of the website to gather basic information about the website, such as its structure, content, and technology stack. This scan can be done quickly and without impacting the website's performance.

SECOND SCAN should be a deep scan, which is a thorough and detailed scan of the website to gather more information about the website, such as its security, performance, and accessibility. This scan can take longer and may impact the website's performance.

If the user doesn't provide a website to audit, ask which URL they'd like audited.

You should PREFER to audit live websites - only there do we get a TRUE representation of the website and performance or rendering issuers.

If you have both local and live websites to audit, prompt the user to choose which one to audit and SUGGEST they choose live.

You can apply fixes from an audit on the live site against the local code.

When planning scope tasks so they can run concurrently as sub-agents to speed up fixes.

When implementing fixes take advantage of subagents to speed up implementation of fixes.

After applying fixes, verify the code still builds and passes any existing checks in the project.

Basic Workflow

The audit process is two steps:

  1. Run the audit (saves to database, shows console output)
  2. Export report in desired format
# Step 1: Run audit (default: console output)
squirrel audit https://example.com

# Step 2: Export as LLM format
squirrel report <audit-id> --format llm

Regression Diffs

When you need to detect regressions between audits, use diff mode:

# Compare current report against a baseline audit ID
squirrel report --diff <audit-id> --format llm

# Compare latest domain report against a baseline domain
squirrel report --regression-since example.com --format llm

Diff mode supports console, text, json, llm, and markdown. html and xml are not supported.

Running Audits

When running an audit:

  1. Present the report - show the user the audit results and score
  2. Propose fixes - list the issues you can fix and ask the user to confirm before making changes
  3. Parallelize approved fixes - use subagents for bulk content edits (alt text, headings, descriptions)
  4. Iterate - fix batch → re-audit → present results → propose next batch
  5. Pause for judgment - broken links, structural changes, and anything ambiguous should be flagged for user review
  6. Show before/after - present score comparison after each fix batch
  • Iteration Loop: After fixing a batch of issues, re-audit and continue fixing until:

    • Score reaches target (typically 85+), OR
    • Only issues requiring human judgment remain (e.g., "should this link be removed?")
  • Treat all fixes equally: Code changes and content changes are equally important.

  • Parallelize content fixes: For issues affecting multiple files:

    • Spawn subagents to fix in parallel
    • Example: 7 files need alt text → spawn 1-2 agents to fix all
    • Example: 30 files have heading issues → spawn agents to batch edit
  • Completion criteria:

    • ✅ All errors fixed
    • ✅ All warnings fixed (or documented as requiring human review)
    • ✅ Re-audit confirms improvements
    • ✅ Before/after comparison shown to user

After fixes are applied, ask the user if they'd like to review the changes.

Score Targets

Starting Score Target Score Expected Work
< 50 (Grade F) 75+ (Grade C) Major fixes
50-70 (Grade D) 85+ (Grade B) Moderate fixes
70-85 (Grade C) 90+ (Grade A) Polish
> 85 (Grade B+) 95+ Fine-tuning

A site is only considered COMPLETE and FIXED when scores are above 95 (Grade A) with coverage set to FULL (--coverage full).

Issue Categories

Category Fix Approach Parallelizable
Meta tags/titles Edit page components or metadata No
Structured data Add JSON-LD to page templates No
Missing H1/headings Edit page components + content files Yes (content)
Image alt text Edit content files Yes
Heading hierarchy Edit content files Yes
Short descriptions Edit content frontmatter Yes
HTTP→HTTPS links Find and replace in content Yes
Broken links Manual review (flag for user) No

For parallelizable fixes: Spawn subagents with specific file assignments.

Content File Fixes

Many issues require editing content files. These are equally important as code fixes:

  • Image alt text: Add descriptive alt text to images
  • Heading hierarchy: Fix skipped heading levels
  • Meta descriptions: Extend short descriptions in frontmatter
  • HTTP links: Update insecure links to HTTPS

Parallelizing Fixes with Subagents

When the user approves a batch of fixes, you can use subagents to apply them in parallel:

  • Ask the user first — always confirm which fixes to apply before spawning subagents
  • Group 3-5 files per subagent for the same fix type
  • Only parallelize independent files (no shared components or config)
  • Spawn multiple subagents in a single message for concurrent execution

Advanced Options

Audit more pages:

squirrel audit https://example.com --max-pages 200

Force fresh crawl (ignore cache):

squirrel audit https://example.com --refresh

Resume interrupted crawl:

squirrel audit https://example.com --resume

Verbose output for debugging:

squirrel audit https://example.com --verbose

Common Options

Audit Command Options

Option Alias Description Default
--format <fmt> -f <fmt> Output format: console, text, json, html, markdown, llm console
--coverage <mode> -C <mode> Coverage mode: quick, surface, full surface
--max-pages <n> -m <n> Maximum pages to crawl (max 5000) varies by coverage
--output <path> -o <path> Output file path -
--refresh -r Ignore cache, fetch all pages fresh false
--resume - Resume interrupted crawl false
--verbose -v Verbose output false
--debug - Debug logging false
--trace - Enable performance tracing false
--project-name <name> -n <name> Override project name from config

Coverage Modes

Choose a coverage mode based on your audit needs:

Mode Default Pages Behavior Use Case
quick 25 Seed + sitemaps only, no link discovery CI checks, fast health check
surface 100 One sample per URL pattern General audits (default)
full 500 Crawl everything up to limit Deep analysis

Surface mode is smart - it detects URL patterns like /blog/{slug} or /products/{id} and only crawls one sample per pattern. This makes it efficient for sites with many similar pages (blogs, e-commerce).

# Quick health check (25 pages, no link discovery)
squirrel audit https://example.com -C quick --format llm

# Default surface audit (100 pages, pattern sampling)
squirrel audit https://example.com --format llm

# Full comprehensive audit (500 pages)
squirrel audit https://example.com -C full --format llm

# Override page limit for any mode
squirrel audit https://example.com -C surface -m 200 --format llm

When to use each mode:

  • quick: CI pipelines, daily health checks, monitoring
  • surface: Most audits - covers unique templates efficiently
  • full: Before launches, comprehensive analysis, deep dives

Report Command Options

Option Alias Description
--list -l List recent audits
--severity <level> - Filter by severity: error, warning, all
--category <cats> - Filter by categories (comma-separated)
--format <fmt> -f <fmt> Output format: console, text, json, html, markdown, xml, llm
--output <path> -o <path> Output file path
--input <path> -i <path> Load from JSON file (fallback mode)

Config Subcommands

Command Description
config show Show current config
config set <key> <value> Set config value
config path Show config file path
config validate Validate config file

Other Commands

Command Description
squirrel feedback Send feedback to squirrelscan team
squirrel skills install Install Claude Code skill
squirrel skills update Update Claude Code skill

Self Commands

Self-management commands under squirrel self:

Command Description
self install Bootstrap local installation
self update Check and apply updates
self completion Generate shell completions
self doctor Run health checks
self version Show version information
self settings Manage CLI settings
self uninstall Remove squirrel from the system

Output Formats

Console Output (default)

The audit command shows human-readable console output by default with colored output and progress indicators.

LLM Format

To get LLM-optimized output, use the report command with --format llm:

squirrel report <audit-id> --format llm

The LLM format is a compact XML/text hybrid optimized for token efficiency (40% smaller than verbose XML):

  • Summary: Overall health score and key metrics
  • Issues by Category: Grouped by audit rule category (core SEO, technical, content, security)
  • Broken Links: List of broken external and internal links
  • Recommendations: Prioritized action items with fix suggestions

See OUTPUT-FORMAT.md for detailed format specification.

Examples

Example 1: Quick Site Audit with LLM Output

# User asks: "Check squirrelscan.com for SEO issues"
squirrel audit https://squirrelscan.com --format llm

Example 2: Deep Audit for Large Site

# User asks: "Do a thorough audit of my blog with up to 500 pages"
squirrel audit https://myblog.com --max-pages 500 --format llm

Example 3: Fresh Audit After Changes

# User asks: "Re-audit the site and ignore cached results"
squirrel audit https://example.com --refresh --format llm

Example 4: Two-Step Workflow (Reuse Previous Audit)

# First run an audit
squirrel audit https://example.com
# Note the audit ID from output (e.g., "a1b2c3d4")

# Later, export in different format
squirrel report a1b2c3d4 --format llm

Output

On completion give the user a summary of all of the changes you made.

Troubleshooting

squirrel command not found

If you see this error, squirrel is not installed or not in your PATH.

Solution:

  1. Install squirrel: squirrelscan.com/download
  2. Ensure ~/.local/bin is in PATH
  3. Verify: squirrel --version

Permission denied

If squirrel is not executable, ensure the binary has execute permissions. Reinstalling from squirrelscan.com/download will fix this.

Crawl timeout or slow performance

For very large sites, the audit may take several minutes. Use --verbose to see progress:

squirrel audit https://example.com --format llm --verbose

Invalid URL

Ensure the URL includes the protocol (http:// or https://):

# ✗ Wrong
squirrel audit example.com

# ✓ Correct
squirrel audit https://example.com

How It Works

  1. Crawl: Discovers and fetches pages starting from the base URL
  2. Analyze: Runs audit rules on each page
  3. External Links: Checks external links for availability
  4. Report: Generates LLM-optimized report with findings

The audit is stored in a local database and can be retrieved later with squirrel report commands.

Additional Resources

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。