/llm-seo-lab:pull:state use_case_id=<id>from llm-seo-lab
Pretty-print the full state history for a use case — current stage, every event, every recommendation/application/measurement/analysis to date.
Ships in llm-seo-lab. Installing the plugin adds it to Claude Code.
You are running pull:state for the llm-seo-lab plugin (v0.3.0).
$ARGUMENTS: required use_case_id.
"${CLAUDE_PLUGIN_ROOT}/scripts/aeo-mcp.sh" read_use_case_state '{"use_case_id":"<USE_CASE_ID>"}'
This returns a UseCaseStateBundle with:
use_case — the row itself (id, url, substrate, title, topic, current_stage, current_iteration, …).events[] — every transition (from_stage, to_stage, iteration, payload, created_at).recommendations[], applications[], measurements[], analyses[] — full history.Refuse to continue if the call fails. Surface the error envelope verbatim.
Print these sections in order:
use_case_id, URL, substrate, current stage, current iteration.events[] row: <created_at> <from_stage> → <to_stage> iter=<n> payload.trigger=<…>. Most-recent last.i from 0 to current_iteration:
recommendations[] for iter i: knob + applicability_score + first 80 chars of rationale.applications[] for iter i: artifact_kind + artifact_summary.measurements[] for iter i: engine + citation_present + position.analyses[] for iter i: verdict + next_iteration_suggestion (first 120 chars).current_stage, print the slash command the user should run next:
DRAFT / ANALYZED → /pull:recommend use_case_id=<ID>RECOMMENDED → /pull:apply use_case_id=<ID> rec_id=<…> (the dashboard's Mark applied button is the actual mutator)APPLIED → "Republish the page, then click Republished in the dashboard."REPUBLISHED → "Click Start measuring in the dashboard, then run /pull:measure use_case_id=<ID>."MEASURING → "Submit observations in the dashboard, then click Submit observations to advance to MEASURED."MEASURED → /pull:analyze use_case_id=<ID>ABANDONED → "Use case is closed."read_use_case_state returns NOT_FOUND → tell the user to confirm the use case id in the dashboard./pull:state is read-only. It never writes to Supabase, never advances the stage, never calls Claude. Use it freely from any context (CI, dashboard server actions, or interactive sessions) without worrying about side effects.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub sharathsphd/llm-seo-lab --plugin llm-seo-lab12 commands in this plugin
/aeo:auditAudit one or more pages for AEO/LLM-SEO citation gaps under the GEO-paper Tier-1 evidence policy./aeo:bootstrapBootstrap a new site for closed-loop AEO/LLM-SEO. Detects repo type, writes data/sites/<site_id>/config.json, opens robots.txt + sitemap fix-up PRs./aeo:competeCompare the current site's citation share against listed competitors per engine./aeo:fixTurn an audit's top Tier-1 gaps into a small reviewable PR via the cli-worker loop runner./aeo:loopRun the full closed loop — audit → fix (PR) → wait for merge → track lift — for one site. Hands control to the aeo-loop agent./aeo:statusShow closed-loop AEO state for the current site — open PRs, last audit, last citation trend. Read-only.