Repository navigation
docs(skills): teach the AEO coach skills about get_prompt_usage - #1055
Merged
Merged
Conversation
…AEO coach skills Co-Authored-By: Claude Opus 5.5 <[email protected]>
- List the get_prompt_usage MCP tool and its REST mirror GET /api/mcp/prompt-usage (ansvisor#1053): the brand's active, paused and total prompts and the account's prompt locations against the plan limit, as on the Tracked Prompts usage cards. - Explain the unit: prompt locations, account-wide; paused prompts use no slots, and resuming one needs free slots like adding one. - In the prompt coverage audit, check the slots left before suggesting new prompts; a null limit means unlimited. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
Author
…usage # Conflicts: # skills/ansvisor-aeo-coach-standalone/SKILL.md # skills/ansvisor-aeo-coach/SKILL.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
#1053 adds the
get_prompt_usageMCP tool and its REST mirrorGET /api/mcp/prompt-usage. Both return the numbers behind the new Tracked Prompts usage cards (PROMPT-012). This PR teaches both AEO coach skills about them, so the Agent Chat and other MCP clients use them when the question is about the prompt limit.ansvisor-aeo-coach(MCP):get_prompt_usageis now listed, with what it returns:active,pausedandtotalprompts;activePrompts,brandsandlocationsUsed;locationLimit(null= unlimited) andcta.locationLimit − locationsUsed, never below 0.nulllimit means unlimited (self-hosted, or an Enterprise account whose limit isn't set yet): skip the check.plan.ctanames the next step (upgrade_growth,upgradeorcontact).ansvisor-aeo-coach-standalone(REST): the same, as a row forGET /prompt-usagein the endpoint table, plus the same audit step.Review
I ran a code review before opening this. It found 3 things, all fixed:
null(unlimited) limit, in both skills;Related issue
None. Follows #1053 (PROMPT-012 part 1), and keeps the skills in step with the MCP tools as #1033 does.
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
ansvisor-aeo-coachskill and ask "how many prompts can we still add?". The agent callsget_prompt_usageand answers with the slots left, or says the plan is unlimited.Checklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (run fromweb/): not applicable, no code changedyarn typecheckpasses (run fromweb/): not applicable, no code changedyarn format:checkpasses (run fromweb/): not applicable, no code changedThe field names and
ctavalues were checked againstweb/src/lib/prompt-usage-summary.tsandweb/src/app/api/mcp/prompt-usage/route.tsin #1053.🤖 Generated with Claude Code