Skip to content

docs(skills): read AI search volumes as estimates and quote their ranges - #1368

Merged
gkhngyk merged 1 commit into
ansvisor:mainfrom
cihan-gyk:docs/skills-volume-estimates
Oct 22, 2026
Merged

gkhngyk merged 1 commit into
ansvisor:mainfrom
cihan-gyk:docs/skills-volume-estimates

Conversation

@cihan-gyk

Copy link
Copy Markdown
Collaborator

Summary

Both AEO coach skills (ansvisor-aeo-coach and -standalone) now say AI search volumes are estimates, and how to quote them (PROMPT-013).

Merge after #1367. It adds the get_prompt_volumes fields this PR names; #1367 is stacked on #1364, #1362 and #1361.

  • The numbers that matter gains an AI search volumes section:
    • est_ai_volume is an estimate, not a measurement (volume_type is always "estimate"). It is the prompt's median keyword Google volume × the AI answer share (ai_volume_multiplier).
    • Quote the est_ai_volume_low–est_ai_volume_high range with "estimated", and add volume_confidence when it isn't high.
    • What high / medium / low mean, and the step down after six months. Don't rank on a low number alone, as the dashboard doesn't.
    • A content opportunity's source_data.estAiVolume is a sum kept when it was made or last updated. For current demand, read its prompts' rows.
  • Tools / Endpoints:
    • get_prompt_volumes and GET /prompt-volumes list the range and confidence fields. The REST route uses the same getPromptVolumesFor.
    • get_content_opportunity and GET /content-opportunities/{id} note the kept estimate.
  • Workflow 5 (prompt coverage audit): quote the estimated range and lean less on low-confidence rows.
  • Pitfalls: don't present an AI search volume as measured.

The in-product chat persona (web/src/lib/agent/system-prompt.ts) never mentions volumes, so it is unchanged.

Related issue

ROADMAP plan item 03 (PROMPT-013), queued by the user on 2026-10-22. No issue.

Type of change

  • feat — New feature
  • fix — Bug fix
  • chore — Maintenance / dependencies
  • docs — Documentation only
  • refactor — Code change that neither fixes a bug nor adds a feature
  • test — Adding or updating tests

How to test

Read the two SKILL.md diffs against #1367:

  • the field names match PromptVolumeRow in web/src/lib/mcp/data.ts;
  • the confidence rules match promptVolumeEstimate in web/src/lib/volume-estimate.ts.

Checklist

  • Branch follows the naming convention (feature/, fix/, chore/, docs/) — see CONTRIBUTING.md
  • Commits follow Conventional Commits
  • yarn lint passes (run from web/): not run; no web code changed
  • yarn typecheck passes (run from web/): not run; no web code changed
  • yarn format:check passes (run from web/): not run; no web code changed
  • Changes are focused — one concern per PR

🤖 Generated with Claude Code

Both AEO coach skills gain an "AI search volumes" section: est_ai_volume is
an estimate, quoted as its est_ai_volume_low–high range with its
volume_confidence; low-confidence rows don't rank on their own; a content
opportunity's source_data.estAiVolume is a kept sum. get_prompt_volumes
(and GET /prompt-volumes) list the new fields, and Pitfalls says not to
present a volume as measured. The fields come with ansvisor#1367.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@cihan-gyk

Copy link
Copy Markdown
Collaborator Author

@gkhngyk Skills follow-up to PROMPT-013, from main. Both coach skills now tell the agent to quote AI volumes as estimated ranges with their confidence. Please merge it after #1367, which adds the get_prompt_volumes fields it names.

@gkhngyk gkhngyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Merge it after #1367, as the description says. One wording change:

  1. The confidence thresholds are written out (skills/ansvisor-aeo-coach/SKILL.md:110-112, skills/ansvisor-aeo-coach-standalone/SKILL.md:113-115).
    • "At least three keywords … measured and agree, medium with two or more" repeats HIGH_MIN_MEASURED and the AGREE_* thresholds in volume-estimate.ts. Those are still being calibrated in #1361.
    • If they change, both skills would describe a rule the API no longer uses, and nothing points back to them.
    • Fix: describe what the level means without the numbers, e.g. "high when the keyword volumes behind it closely agree, medium when they roughly agree, low otherwise; one level lower once they are over six months old". The six months is already in the get_prompt_volumes description.

Checked against #1367 and main, all fine:

  • The fields exist on PromptVolumeRow at #1367: est_ai_volume_low, est_ai_volume_high, volume_confidence, volume_type and ai_volume_multiplier, plus fetched_at, which was already there.
  • GET /prompt-volumes uses the same getPromptVolumesFor.
  • get_content_opportunity and its REST route return source_data.
  • The method is right. est_ai_volume is the median of the measured keyword volumes × AI_VOLUME_MULTIPLIER. Naming the field rather than "45%" is right, since an env variable can change it.
  • source_data.estAiVolume is the sum of the member prompts' volumes, written when the opportunity is generated or reopened.
  • "Grey and sorted after the others" matches EstimateRange and comparePromptSortRows.
  • The two files say the same thing, each with its own tool or endpoint names.

@gkhngyk
gkhngyk merged commit 5b67938 into ansvisor:main Oct 22, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants