onpage
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "onpage" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-38a09a611f2ed71a71609547d4f110b72aa08d6d34e2d02211cd12dbce04ef03. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/onpage-optimization-80ts before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
A dedicated skill for Onpage optimization to help AI agents efficiently carry out related tasks.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Analyse the HTML page for heading structure, keyword usage, and link health.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: Onpage优化
slug: onpage-optimization
version: 1.0.0
displayName: Onpage优化
description: >
Onpage优化专用技能,帮助AI Agent高效完成相关任务。
summary: "Onpage优化专用技能,帮助AI Agent高效完成相关任务。"
license: MIT
category: 开发者工具
framework:
- Claude Code
- Codex
- Hermes Agent
- OpenClaw
- QClaw
- WorkBuddy
platform: multi-platform
homepage: "https://github.com/1991513ccie-png"
repository: "https://github.com/1991513ccie-png"On-Page Optimization
Analyse the HTML page for heading structure, keyword usage, and link health.
Note: This skill owns internal link analysis. For external/outbound link strategy (dofollow/nofollow, anchor text quality, domain diversity), see the backlink-monitoring skill.
1. Heading validation
Check all <h1> through <h6> elements:
| Check | Status | Rule |
|---|---|---|
| No headings at all | ❌ FAIL | Every page must have at least one heading |
No <h1> tag |
❌ FAIL | Every page must have exactly one <h1> |
Multiple <h1> tags |
⚠️ WARN | Recommend a single <h1> per page |
| Hierarchy skipped (e.g. H2 → H4) | ⚠️ WARN | Headings should follow sequential order: H1 → H2 → H3 |
| Empty heading (no text content) | ❌ FAIL | All headings must have descriptive text |
| Single H1, proper hierarchy | ✅ PASS | Heading structure is correct |
2. Keyword analysis
If a target keyword is provided, check its usage across the page:
Keyword density
- Calculate:
(keyword_count / total_words) × 100 - Ideal range: 1.0–3.0%
- Below 1.0% → ⚠️ WARN "Keyword density is low"
- Above 3.0% → ❌ FAIL "Keyword stuffing detected"
- Within range → ✅ PASS
Keyword placement — check all of these:
| Location | How to check | Missing = |
|---|---|---|
<title> tag |
Does the title contain the keyword? | ⚠️ WARN |
<h1> tag |
Does the H1 text contain the keyword? | ⚠️ WARN |
| Meta description | Does <meta name="description"> contain the keyword? |
⚠️ WARN |
First <p> tag |
Does the first paragraph contain the keyword? | ⚠️ WARN |
| Image alt text | Does any <img alt="..."> contain the keyword? |
⚠️ WARN |
Title keyword position
- Keyword at position 0 (start of title) → ✅ PASS "Best placement"
- Keyword at position ≤ 20 → ✅ PASS "Near the start"
- Keyword at position > 20 → ⚠️ WARN "Place it earlier for better ranking"
3. Link analysis
Examine all <a href="..."> elements:
Classify links
- Internal:
hrefstarts with/,./,../, or# - External:
hrefstarts withhttp://orhttps://
Checks
| Check | Threshold | Status |
|---|---|---|
| Internal link count ≥ 3 | Minimum 3 per page | ⚠️ WARN if below |
Links with no anchor text (and no child <img>) |
Any count > 0 | ⚠️ WARN |
Internal links with rel="nofollow" |
Any count > 0 | ⚠️ WARN "Prevents PageRank flow within your site" |
Always report the count of internal and external links found.
Edge cases
- If no keyword is supplied, skip keyword analysis and note: "No target keyword supplied — skipping keyword analysis"
- Count words by splitting text on whitespace; keyword matching is case-insensitive
- For link classification, ignore
javascript:,mailto:, andtel:hrefs - Single-page applications (SPAs) with hash-based routing (
#/page) — treat#-prefixed hrefs as internal links - Next.js
<Link>components render as standard<a>tags in HTML output — audit the rendered HTML, not the JSX - Pages with zero links (e.g. legal/privacy pages) should receive ⚠️ WARN, not ❌ FAIL
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- On-Page SEO 优化功能实用性强,覆盖标题结构、关键词密度、链接分析等核心维度
- 面向网站管理员和SEO从业者,具有明确的通用工具属性
Areas to improve
-
触发词缺失 Reported severity: Minor
description 描述了功能但未提供具体触发命令或关键词示例
Recommendation: 建议在 description 或 skill_body 开头添加触发示例,如 '/onpage analyze <url>' 或 '请分析此页面的SEO'
Areas to improve
-
缺少端到端示例 Reported severity: Minor
文档结构清晰但缺少完整的使用示例(输入输出样例)
Recommendation: 建议在文档末尾添加一个完整的示例,展示如何调用此技能及预期输出格式
Highlights
- 文档结构清晰,分步骤说明功能,包含详细的检查表格和规则说明
Areas to improve
-
工具来源不明 Reported severity: Major
Skill 描述了分析逻辑但未说明具体执行工具或 API 来源
Recommendation: 建议明确说明使用何种 HTML 解析库或 SEO 分析工具,确保执行可靠性
-
异常处理缺失 Reported severity: Minor
未提及网络请求失败、HTML 解析错误等常见异常的应对机制
Recommendation: 建议补充异常处理说明,如重试机制、错误提示等
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.