Skip to content

Universal SEO skill for Claude Code. 26 sub-skills + 19 sub-agents covering technical SEO, E-E-A-T, schema, GEO/AEO, agent readiness (Lighthouse Agentic Browsing, WebMCP, llms.txt), backlinks, local SEO, e-commerce, international SEO, Google APIs, and PDF/Excel reporting. 9 optional extensions for live SEO data.

fix(seo): pass the full /seo input through $ARGUMENTS

Rudy Celeklid414efcca2b5
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 648be42..70ad2cd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+### Fixed
+
+- **`/seo` keeps the command word (#342).** The hub skill said `/seo $1 $2`.
+ Claude Code indexes arguments from 0 (`$0` is the first word, `$1` the
+ second; https://code.claude.com/docs/en/skills), so `/seo audit <url>`
+ loaded as `/seo <url> $2` and dropped `audit`. The line now uses
+ `$ARGUMENTS`, which is the full input.
+
## [2.5.0] - 2026-10-22
Security and accuracy fixes from a full audit, and Claude Desktop installs again.
diff --git a/skills/seo/SKILL.md b/skills/seo/SKILL.md
index 723ff9b..279d240 100644
--- a/skills/seo/SKILL.md
+++ b/skills/seo/SKILL.md
@@ -12,7 +12,7 @@ metadata:
# SEO: Universal SEO Analysis Skill
-**Invocation:** `/seo $1 $2` where `$1` is the command and `$2` is the URL or argument.
+**Invocation:** `/seo $ARGUMENTS`, where the first word is the command and the rest is the URL or argument.
**Runtime:** Run bundled Python tools through
`"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run <script.py>`. That is the single
diff --git a/tests/test_audit_instructions.py b/tests/test_audit_instructions.py
index 469ebb2..45ae2ec 100644
--- a/tests/test_audit_instructions.py
+++ b/tests/test_audit_instructions.py
@@ -69,3 +69,19 @@ def test_audit_agents_document_output_dir_findings_contract() -> None:
def test_seo_audit_report_command_keeps_outputs_in_audit_dir() -> None:
text = (REPO_ROOT / "skills" / "seo-audit" / "SKILL.md").read_text(encoding="utf-8")
assert "--output-dir {domain}-audit/" in text
+
+
+def test_hub_invocation_keeps_the_command_word() -> None:
+ """Claude Code indexes skill arguments from 0. $1 is the second word (#342).
+
+ https://code.claude.com/docs/en/skills
+ $ARGUMENTS is the full input. $0 is the first argument, $1 the second.
+ An index with no argument stays literal, and ARGUMENTS is appended only
+ when no placeholder received a value. `/seo $1 $2` therefore drops `audit`
+ from `/seo audit https://example.com`.
+ """
+ text = (REPO_ROOT / "skills" / "seo" / "SKILL.md").read_text(encoding="utf-8")
+ invocation = next(line for line in text.splitlines() if line.startswith("**Invocation:**"))
+ assert "$1" not in invocation
+ assert "$2" not in invocation
+ assert invocation.startswith("**Invocation:** `/seo $ARGUMENTS`")