xiaohongshu
xiaohongshu
audit-website
使用 squirrelscan CLI(squirrel)对网站进行审计,覆盖 SEO、技术、内容、性能、安全等 140+ 规则。当需要分析网站健康、排查技术 SEO、检查死链、校验 meta 与结构化数据、生成站点审计报告、对比改版前后,或提到「网站审计」「audit website」「squirrel」「站点健康检查」时使用。
Full skill instructions
使用 squirrelscan 的 CLI 工具 squirrel,对网站进行 SEO、技术、内容、性能和安全性审计。
squirrel 支持 macOS、Windows、Linux,通过模拟浏览器与搜索爬虫,结合 140+ 条规则分析站点结构与内容,输出问题列表及修复建议。
规则文档模板:https://docs.squirrelscan.com/rules/{rule_category}/{rule_id}
示例:https://docs.squirrelscan.com/rules/links/external-links
支持 AI 智能体按 20+ 类别、140+ 条规则审计网站,包括:
审计会爬取站点、按规则分析页面,并生成报告,包含:
在以下场景使用本技能:
本技能依赖 squirrel CLI,需已安装并加入 PATH。
curl -fsSL https://squirrelscan.com/install | bash
将会:
~/.local/share/squirrel/releases/{version}/~/.local/bin/squirrel 创建软链~/.squirrel/settings.json 初始化配置若 ~/.local/bin 不在 PATH 中,在 shell 配置里添加:
export PATH="$HOME/.local/bin:$PATH"
PowerShell:
irm https://squirrelscan.com/install.ps1 | iex
将下载并安装到 %LOCALAPPDATA%\squirrel\,并加入 PATH。若用 CMD,可能需要重启终端使 PATH 生效。
squirrel --version
在项目目录执行 squirrel init 会生成 squirrel.toml。
每个项目应有唯一的 project name(默认可用被审计站点名),用于数据库区分多次审计:
squirrel init --project-name my-project
或:
squirrel config set project.name my-project
若当前目录没有 squirrel.toml,必须先执行 squirrel init,并用 -n 指定项目名(可推断)。
项目名用于数据库标识,存储在 ~/.squirrel/projects/。
有三个子命令,结果都会写入本地项目数据库:
audit 是上述三步的封装,按顺序执行:
squirrel audit https://example.com --format llm
优先使用 --format llm:为 LLM 设计的紧凑、完整输出格式。
优先审计线上站点,更能反映真实性能与渲染问题。若同时有本地与线上,提示用户选择,并建议选线上。可在线上审计发现问题后,在本地代码中修复。
# 1. 执行审计(默认 console 输出)
squirrel audit https://example.com
# 2. 导出为 LLM 格式
squirrel report <audit-id> --format llm
爬取更多页面:
squirrel audit https://example.com --max-pages 200
忽略缓存、强制重新爬取:
squirrel audit https://example.com --refresh
恢复中断的爬取:
squirrel audit https://example.com --resume
调试时详细输出:
squirrel audit https://example.com --verbose
| 选项 | 别名 | 说明 | 默认 |
|---|---|---|---|
--format <fmt> | -f | 输出格式:console, text, json, html, markdown, llm | console |
--max-pages <n> | -m | 最大爬取页数(最大 500) | 500 |
--refresh | -r | 忽略缓存,全部重新抓取 | false |
--resume | - | 恢复中断的爬取 | false |
--verbose | -v | 详细输出 | false |
--debug | - | 调试日志 | false |
| 选项 | 别名 | 说明 |
|---|---|---|
--format <fmt> | -f | console, text, json, html, markdown, xml, llm |
squirrel audit https://squirrelscan.com --format llm
squirrel audit https://myblog.com --max-pages 500 --format llm
squirrel audit https://example.com --refresh --format llm
squirrel audit https://example.com
# 记下输出的 audit-id,如 a1b2c3d4
squirrel report a1b2c3d4 --format llm
审计与修复完成后,给用户一个所有改动的摘要。
squirrel 找不到curl -fsSL https://squirrelscan.com/install | bashexport PATH="$HOME/.local/bin:$PATH"squirrel --versionchmod +x ~/.local/bin/squirrel
大站可能需较长时间,加 --verbose 查看进度:
squirrel audit https://example.com --format llm --verbose
务必包含协议(http:// 或 https://):
# ✗ 错误
squirrel audit example.com
# ✓ 正确
squirrel audit https://example.com
审计结果保存在本地数据库,之后可用 squirrel report 按不同格式导出。
squirrel audit --helpxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience