legends-seo-dungeon
AGENTS.md4 starsChanged 3 months agoMITView on GitHub
Legends SEO Dungeon combines the v2.2.7 SEO engine, a Codex-default 16-bit dungeon crawler UI, portable SEO skill instructions, and Codex-first agent profiles. The current bundle has 25 sub-skills (21 core + 1 orchestrator + 1 framework integration + 2 extension mirrors), 23 Codex TOML profiles, 18 portable Markdown agent prompts, and 53 upstream Python modules plus 2 Dungeon API adapters for fetching, parsing, reporting, and SEO data integrations. - Default dungeon runtime: Codex CLI through codex app-server --stdio. Set SEO_DUNGEON_CODEX_TRANSPORT=exec…
- Reads credentials
- Installs packages
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,337 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 repository26 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- seo-auditSkill
- seo-backlinksSkill
- seo-clusterSkill
- seo-competitor-pagesSkill
- seo-content-briefSkill
- seo-contentSkill
- seo-dataforseoSkill
- seo-driftSkill
- seo-ecommerceSkill
- seo-flowSkill
- seo-geoSkill
- seo-googleSkill
- seo-hreflangSkill
- seo-image-genSkill
- seo-imagesSkill
- seo-localSkill
- seo-mapsSkill
- seo-pageSkill
- seo-planSkill
- seo-programmaticSkill
- seo-schemaSkill
- seo-sitemapSkill
- seoSkill
- seo-sxoSkill
- seo-technicalSkill
The file
We split this AGENTS.md into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Default dungeon runtime: Codex CLI through codex app-server --stdio.
- Distinctive: line 26
Use the repository checkout as the working source directory.
- Very specific: line 84
Run python scripts/portability_check.py --strict before shipping changes that touch skill frontmatter, agent prompts, or extension mirrors.
- Distinctive: line 97
Keep the game bridge Codex-powered and the SEO engine portable.
- Distinctive: line 98
Prefer existing skill and script patterns over new abstractions.
- Distinctive: line 100
Keep user-facing copy clear that Legends SEO Dungeon is independent and Codex-first, with portable source and user-selected local runtimes.
- Very specific: line 111
Use doctor --json to inspect readiness, setup for explicit installation, and run <script.py> for isolated execution.
- Distinctive: line 113
Keep the existing direct DataForSEO and Firecrawl adapters and delegation strength.
- Very specific: line 117
No shell-wrapped or hidden subprocesses: Never spawn powershell.exe -Command, -EncodedCommand, -ExecutionPolicy Bypass, cmd.exe /c, …
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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
Legends SEO Dungeon: Multi-Agent Instructions
Legends SEO Dungeon combines the v2.2.7 SEO engine, a Codex-default 16-bit dungeon crawler UI, portable SEO skill instructions, and Codex-first agent profiles.
Overview
The current bundle has 25 sub-skills (21 core + 1 orchestrator + 1 framework integration + 2 extension mirrors), 23 Codex TOML profiles, 18 portable Markdown agent prompts, and 53 upstream Python modules plus 2 Dungeon API adapters for fetching, parsing, reporting, and SEO data integrations.
Runtime Policy
- Default dungeon runtime: Codex CLI through
codex app-server --stdio. SetSEO_DUNGEON_CODEX_TRANSPORT=execonly when deliberately testing the oldercodex exec --jsontransport. - Optional dungeon runtimes: local Claude Code through
claude --print, Gemini CLI throughgemini --prompt, and xAI Grok throughgrok --single. - The bridge must only spawn local terminal CLIs. Do not add consumer-app browser wrappers or remote proxy services.
- Codex installs use the root installer and
agents-codex/TOML profiles. - Non-Codex usage should stay grounded in the same skill files, scripts, and URL-safety rules instead of inventing runtime-specific forks.
- Use the repository checkout as the working source directory. Resolve paths relative to that checkout; never assume a maintainer-specific installation.
Quick Reference
| Command | What it does |
/seo audit <url> | Full website audit with parallel subagent delegation |
/seo page <url> | Deep single-page analysis |
/seo technical <url> | Technical SEO audit (9 categories) |
/seo content <url> | E-E-A-T and content quality analysis |
/seo schema <url> | Schema.org detection, validation, generation |
/seo sitemap <url> | XML sitemap analysis or generation |
/seo images <url> | Image SEO: on-page audit, SERP analysis, file optimization |
/seo geo <url> | AI Overviews / Generative Engine Optimization |
/seo plan <type> | Strategic SEO planning |
/seo cluster <keyword> | SERP-based semantic clustering and content architecture |
/seo sxo <url> | Search Experience Optimization: page-type analysis, personas |
/seo drift baseline <url> | Capture SEO baseline for change monitoring |
/seo drift compare <url> | Compare current state to stored baseline |
/seo ecommerce <url> | E-commerce SEO: product schema, marketplace intelligence |
/seo programmatic [url] | Programmatic SEO at scale |
/seo competitor-pages [url] | Competitor comparison pages |
/seo local <url> | Local SEO analysis (GBP, citations, reviews) |
/seo maps [cmd] [args] | Maps intelligence (geo-grid, GBP audit, competitors) |
/seo hreflang <url> | Hreflang/i18n SEO audit, cultural profiles, content parity |
/seo google [cmd] [url] | Google SEO APIs (GSC, PageSpeed, CrUX, Indexing, GA4) |
/seo backlinks <url> | Backlink profile analysis |
/seo dataforseo [cmd] | Live SEO data via DataForSEO (extension) |
/seo image-gen [use-case] | AI image generation for SEO assets (extension) |
/seo firecrawl [cmd] <url> | Full-site crawling and site mapping (extension) |
/seo ahrefs [cmd] <target> | Ahrefs backlink and keyword data (extension) |
/seo bing [cmd] <url> | Bing Webmaster data and IndexNow (extension) |
/seo profound [cmd] | LLM brand-citation tracking (extension) |
/seo seranking [cmd] | AI share-of-voice tracking (extension) |
/seo unlighthouse <url> | Multi-page Lighthouse audits (extension) |
Architecture
skills/ # 25 sub-skills
seo/SKILL.md # Main orchestrator + routing
agents/ # Portable Markdown agent prompts
agents-codex/ # 23 Codex TOML agent profiles
scripts/ # Python execution scripts
schema/ # JSON-LD templates
extensions/ # Optional SEO data/crawl add-ons
dungeon/ # Phaser UI + local CLI bridgePortability Notes
Codex is the default runtime for Legends SEO Dungeon. The browser app can also
spawn local Claude Code, Gemini CLI, or Grok CLI when selected, and compatible terminal
agent workflows such as Cursor, Cline, Aider, and Antigravity can read the same
skills/, agents/, and scripts/ files directly when a user chooses to adapt
the package outside the dungeon UI.
Run python scripts/portability_check.py --strict before shipping changes that
touch skill frontmatter, agent prompts, or extension mirrors.
| Tool name | Codex | Cline | Aider | Portable note |
| Read | read files directly | read files directly | read files directly | Use repo-relative paths. |
| Write | edit files directly | edit files directly | edit files directly | Keep generated files in the repo or explicit output folders. |
| Edit | patch files directly | patch files directly | patch files directly | Prefer small, reviewable edits. |
| Bash | shell command | shell command | shell command | Preserve URL-safety and credential rules. |
| WebFetch | browser or fetch script | browser or fetch script | browser or fetch script | Use scripts/url_safety.py guarded fetch paths for live URLs. |
Key Principles
- Keep the game bridge Codex-powered and the SEO engine portable.
- Prefer existing skill and script patterns over new abstractions.
- Preserve SSRF protections in scripts that fetch URLs.
- Keep user-facing copy clear that Legends SEO Dungeon is independent and Codex-first, with portable source and user-selected local runtimes.
Bundled engine runtime
The engine is pinned to public Claude SEO v2.2.7 plus public maintenance;
see docs/UPSTREAM-SEO-AUDIT-2026-09-06.md. Game/package versions follow the
bundled public Claude SEO release; Dungeon-only fixes are identified by commits.
From this repository, every upstream claude-seo invocation can be run as
python scripts/runtime.py with the same arguments. Use the absolute path to
this repository's scripts/runtime.py when auditing another working directory.
Use doctor --json to inspect readiness, setup for explicit installation, and
run <script.py> for isolated execution. Never fall back to global pip installs.
Keep the existing direct DataForSEO and Firecrawl adapters and delegation strength.
EDR and Security Guardrails
- No shell-wrapped or hidden subprocesses: Never spawn
powershell.exe -Command,-EncodedCommand,-ExecutionPolicy Bypass,cmd.exe /c,WScript.Shell, orwindowsHide: true. Invokepython scripts/runtime.pyor Node entrypoints directly with explicit argument arrays (shell: false). - Path and symlink safety: Reject symlinks on credential files,
.envinputs, cache files, and output targets, and never write batch outputs to Windows Controlled Folder Access protected folders (Documents,Desktop,Pictures). - Network and credential safety: Route all external URL fetches through
scripts/url_safety.pywith response byte ceilings, and disable redirects and ambient proxies on authenticated endpoints.
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.

