loamwright-SEO-Skill
AGENTS.md62 starsChanged 4 months agoApache-2.0View on GitHub
This file routes user intent to skills, host-agnostic. Any AI host (Claude Code, OpenClaw, Codex, Hermes, custom) can read this single file and know which skill to invoke. Triggers: "init", "new website", "new client", "audit my site for setup", "/init", user gives a URL with no other task → Load skill: subskills/init/website-project-init/SKILL.md Triggers: "/switch", "switch project", "change active site" → Load skill: subskills/init/project-switch/SKILL.md Triggers: "/list-projects", "list my sites", "what projects do I have" → Load skill: subskills/init/project-list/SKILL.md Triggers: "/article", "write…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository9 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- phase-buildSkill
- phase-monitorSkill
- phase-optimizeSkill
- phase-publishSkill
- phase-researchSkill
- seo-blogSkill
- website-auditSkill
- weekly-digestSkill
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 124
Every skill invocation should first run bin/preamble.md for:
- Distinctive: line 146
Codex / Hermes: Read this file directly at session start
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md — Universal Host Intent Router
This file routes user intent to skills, host-agnostic. Any AI host (Claude Code, OpenClaw, Codex, Hermes, custom) can read this single file and know which skill to invoke.
Intent → Skill Routing
Project initialization
Triggers: "init", "new website", "new client", "audit my site for setup", "/init", user gives a URL with no other task
→ Load skill: subskills/init/website-project-init/SKILL.md
Triggers: "/switch", "switch project", "change active site"
→ Load skill: subskills/init/project-switch/SKILL.md
Triggers: "/list-projects", "list my sites", "what projects do I have"
→ Load skill: subskills/init/project-list/SKILL.md
Article creation (most common)
Triggers: "/article", "write a blog about", "create an article on", "blog post on X", "SEO article for", user gives keyword + intent to write
→ Load skill: skills/seo-blog/SKILL.md (master orchestrator, runs all 5 phases)
Triggers: "/rewrite", "rewrite this article", "update this post"
→ Load skill: subskills/cross-cutting/rewrite/SKILL.md
Triggers: "/refresh", "refresh this page", "decay-aware update"
→ Load skill: subskills/monitor/content-refresher/SKILL.md
Single-phase entry
Triggers: "research", "keyword research", "what's the SERP for", "/seo-blog research"
→ Load skill: skills/phase-research/SKILL.md
Triggers: "outline", "plan article", "/seo-blog plan"
→ Load skill: skills/phase-build/SKILL.md
Triggers: "audit", "check page", "/audit"
→ Load skill: skills/phase-optimize/SKILL.md
Triggers: "publish", "send to WordPress", "/publish"
→ Load skill: skills/phase-publish/SKILL.md
Triggers: "/perf", "/rank-check", "/drift", "/ai-visibility", "rank tracking", "post-publish checkup"
→ Load skill: skills/phase-monitor/SKILL.md
Triggers: "website audit", "audit my site", "full SEO check", "site health", URL + audit intent
→ Load skill: skills/website-audit/SKILL.md
(standalone crawler + specialist agents — NOT the per-draft /audit phase-optimize gate above)
Triggers: "/weekly", "industry weekly digest", "weekly roundup", "行业周报"
→ Load skill: skills/weekly-digest/SKILL.md
Specialty entries
Triggers: "featured snippet", "position zero", "抢 0 号位"
→ Load skill: subskills/build/citation-capsule-builder/SKILL.md
(featured-snippet-optimizer RETIRED v3.35 — FS 83% replaced by AI Overviews;
the capsule stage owns the 40-60w extractive answer shape both features select)
Triggers: "PAA", "People Also Ask", "Q&A optimization"
→ Load skill: subskills/optimize/paa-answer-writer/SKILL.md
(wording rules for writers; the >=60% contract is machine-enforced by the
mandatory paa-alignment-check stage — scripts/lint/paa_alignment_check.py)
Triggers: "AIO recovery", "AI Overview lost", "/aio-recovery"
→ Load skill: subskills/optimize/ai-overview-recovery/SKILL.md
Triggers: "AI visibility", "is ChatGPT citing me", "/ai-visibility"
→ Load skill: subskills/monitor/ai-visibility-tracker/SKILL.md
Triggers: "factcheck", "verify citations", "/factcheck"
→ Load skill: subskills/build/fact-check-and-citation/SKILL.md
Triggers: "humanize", "remove AI tells", "/humanize"
→ Load skill: subskills/optimize/humanizer/SKILL.md
Triggers: "translate", "localize", "/translate <locale>", "/locale-audit"
→ Load skill: subskills/optimize/localization-pass/SKILL.md
(Mode 1 dialect gate is the mandatory locale-spelling-check stage since v3.35;
Mode 2 /locale-audit portfolio parity remains this skill's interactive job)
Triggers: "cluster", "topic cluster", "pillar + spoke", "/cluster"
→ Load skill: subskills/plan/topic-clustering/SKILL.md
Triggers: "cannibalization", "self-competing keywords"
→ Load skill: subskills/monitor/drift-detector/SKILL.md
Triggers: "schema", "JSON-LD", "structured data"
→ Load skill: subskills/optimize/schema-generator/SKILL.md
Brand & configuration
Triggers: "/brand-guideline", "set brand voice", "configure voice"
→ Load skill: subskills/plan/brand-guideline-maker/SKILL.md
Triggers: "/config", "settings"
→ Open ~/.xuanran-seo/config.yaml for editing
Monitor / Performance
Triggers: "/rank-check", "Google rank for", "where do I rank"
→ Load skill: subskills/monitor/rank-tracker/SKILL.md
Triggers: "/drift", "what changed", "drift detection"
→ Load skill: subskills/monitor/drift-detector/SKILL.md
Triggers: "/perf", "performance report", "KPI summary"
→ Load skill: subskills/monitor/performance-reporter/SKILL.md
Meta commands
Triggers: "/evolve", "learn from past runs"
→ Load skill: subskills/cross-cutting/self-upgrade/SKILL.md
Triggers: "/guard --versions", "version consistency check"
→ Run script: scripts/_core/manifest_consistency_check.py
Universal Startup
Every skill invocation should first run bin/preamble.md for:
- Version check (compare local vs marketplace)
- Active project loading (
~/.xuanran-seo/active-project→projects/{slug}/business-context.json) - Credential validation (warn if missing)
- Cost ledger state (warn if approaching daily cap)
Routing Priority (when triggers overlap)
- Explicit slash command (e.g.,
/init,/article) — direct route - URL + write intent ("write a blog about X for example.com") —
/articlewith X as keyword - URL alone ("example.com") —
/initif not yet in projects/; else show project status - Keyword alone —
/article - Ambiguous — ask for clarification with 3 options
Cross-Host Notes
- Claude Code: Reads
.claude-plugin/plugin.jsonfirst, then this file as fallback - Gemini API host: Compile-time via
install/gemini-api/compile_skill.py, this file becomes the routing rules in a system prompt - Codex / Hermes: Read this file directly at session start
- Generic: This file is the source of truth for ALL hosts
Version 3.41.8 · 2026-08-01
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

