
Canonical Tag
- 823 installs
- 787 repo stars
- Updated June 9, 2026
- kostja94/marketing-skills
canonical-tag is an SEO skill that helps developers correctly configure canonical link tags, resolve duplicate content, and consolidate URL ranking signals across a site.
About
canonical-tag is a marketing SEO skill focused on rel=canonical configuration and duplicate-content remediation for web properties. It guides developers on choosing canonical URLs when parameter variants, trailing slashes, HTTP versus HTTPS, pagination, and syndicated copies create competing indexable pages. The skill helps audit conflicting signals, set canonical tags in HTML head or HTTP headers, and align sitemap entries with the preferred URL. Developers reach for canonical-tag before or after launches when Search Console reports duplicate titles, clustered rankings split across URLs, or parameter pages diluting authority. It complements technical SEO work where one definitive URL must inherit link equity from near-duplicate routes.
- Guides canonical tag configuration for duplicate content consolidation
- Handles HTTPS vs HTTP, www vs non-www, trailing slashes and query param duplicates
- Framework-aware methods for Next.js, React, static sites and more
- Reads project-context.md to identify base domain and duplicate scenarios
- Provides 301 redirect recommendations paired with canonical declarations
Canonical Tag by the numbers
- 823 all-time installs (skills.sh)
- +7 installs in the week ending Jul 29, 2026 (Skillselion tracking)
- Ranked #533 of 1,879 Marketing & SEO skills by installs in the Skillselion catalog
- Security screen: MEDIUM risk (skills.sh audit)
- Data as of Jul 31, 2026 (Skillselion catalog sync)
npx skills add https://github.com/kostja94/marketing-skills --skill canonical-tagAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 823 |
|---|---|
| repo stars | ★ 787 |
| Security audit | 2 / 3 scanners passed |
| Last updated | June 9, 2026 |
| Repository | kostja94/marketing-skills ↗ |
How do you fix duplicate content with canonical tags?
Correctly configure canonical tags, fix duplicate content issues, and consolidate URL ranking signals across their site.
Who is it for?
Developers and technical SEO owners cleaning up duplicate URLs, parameter pages, or syndicated copies before or after a site launch.
Skip if: Pure local SEO citation work, paid ads landing pages, or apps with no crawlable HTML URLs.
When should I use this skill?
The developer mentions canonical tags, duplicate content, URL parameters, preferred URLs, or split ranking signals across similar pages.
What you get
Canonical tag markup, deduplicated indexable URLs, and consolidated ranking signals
- Canonical tag recommendations
- Duplicate URL audit notes
Files
SEO: Local
Guides local SEO: Google Business Profile, NAP consistency, and citation building. Businesses with accurate NAP across 40+ authoritative sites see ~19% higher visibility in Google Maps. Use this skill when optimizing for local search, setting up GBP, or auditing citations.
When invoking: On first use, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.
Initial Assessment
Check for project context first: If .claude/project-context.md or .cursor/project-context.md exists, read Sections 4 (Audience), 5 (Website).
Identify: 1. Business type: Storefront vs service-area 2. Location: Single or multiple 3. Current listings: Existing GBP, directories
NAP Consistency
NAP = Name, Address, Phone. Critical for local rankings.
| Rule | Guideline |
|---|---|
| Exact match | "Street" vs "St." or "LLC" inconsistency = Google may treat as different entities |
| Fix first | Audit and fix inconsistencies before adding new citations |
| Tools | BrightLocal, Whitespark, Moz Local for audit |
Google Business Profile
| Element | Guideline |
|---|---|
| Address | Physical address; no P.O. boxes |
| Description | 750 chars; primary keywords in first 100 |
| Hours | Accurate; seasonal availability |
| Category | Primary category matches business type |
| Service-area | Hide address if no storefront; define service areas |
Citation Building
Targeted precision over submitting to every directory.
Priority order: 1. Google Business Profile 2. Apple Maps 3. Yelp, Bing Places, Facebook 4. Better Business Bureau, Foursquare, Nextdoor 5. Niche directories (Healthgrades, Angi, etc.)
Citation Audit
- Incorrect or outdated data
- Duplicate entries
- Missing listings on key directories
Fix before adding; compounding errors harm rankings.
Output Format
- NAP (exact format for consistency)
- GBP optimization checklist
- Citation priority list
- Audit findings (if applicable)
Related Skills
- geo: GEO for AI search; local + AI overlap
- localization-strategy: Multilingual; local + i18n
- directory-submission: Directory listings; different from local citations
Related skills
FAQ
What problem does canonical-tag solve?
canonical-tag helps developers pick one preferred URL when near-duplicate pages compete in search. It guides rel=canonical setup so crawlers consolidate signals instead of indexing every variant separately.
When should developers use canonical-tag?
canonical-tag fits launches or audits where trailing slashes, parameters, HTTP or HTTPS copies, or syndication create duplicate indexable URLs. Use it when rankings and link equity split across similar routes.
Is Canonical Tag safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.