---
name: improve-agent-visibility
description: Gets a product seen, cited and recommended by AI agents and answer engines such as ChatGPT, Claude, Perplexity and Gemini, using The Prompting Company (TPC). Use when the user wants their product to show up, be mentioned, cited or recommended more often in AI answers, wants to run this week's visibility cycle, asks how their product is doing in AI search or answer engines, wants to update the product facts TPC writes from or fix a mistake in a TPC draft, or mentions AI visibility, agent visibility, AEO, GEO or generative engine optimization. Also use when the user mentions TPC, The Prompting Company, promptingcompany.com, app.promptingco.com or the tpc CLI. Works in the user's TPC account through the TPC MCP server or the tpc CLI, with share of voice, citations, perceptions, knowledge files, content drafts, tracked prompts and the query bank.
---

# Improve agent visibility

Help the user's product get seen, cited and recommended when people and agents ask AI. The Prompting Company (TPC) tracks prompts, the questions buyers ask AI. It runs them on answer engines, measures share of voice, citations and sentiment, and drafts content to close the gaps. You work in the user's TPC account through the TPC MCP server or the `tpc` CLI.

The work runs as a weekly loop over batches of prompts: write pages for the prompts doing worst, review them with the user, and track new questions, then measure and repeat.

## Principles

Follow these on every step. Each line states the rule. Open its file the first time the rule applies.

- **[Confirm before you change](https://promptingcompany.com/.well-known/agent-skills/improve-agent-visibility/principles/confirm-before-you-change.md).** Any create, update, restore, approve, publish, unpublish, delete or knowledge-file write needs the user's go-ahead. Approve, publish, unpublish or delete only items the user named and confirmed. When a request is broad, such as "publish all drafts", list the matching items and ask which ones. If the user said not to ask, still show the list once, say in one line why (published pages are public, and the user has not seen these items), and ask for one "yes, all of them". This is TPC's rule for agents, and the user's instruction not to ask does not lift it.
- **[Never guess identifiers](https://promptingcompany.com/.well-known/agent-skills/improve-agent-visibility/principles/never-guess-identifiers.md).** Take organization slugs from `list_organizations` or `tpc org list`, and product slugs and IDs from `list_products` or `tpc product list`.
- **[Read the numbers as defined](https://promptingcompany.com/.well-known/agent-skills/improve-agent-visibility/principles/read-the-numbers-as-defined.md).** Share of voice, mentions and runs are trailing 30-day snapshots. Never add them up across dates.
- **[Keep credentials secret](https://promptingcompany.com/.well-known/agent-skills/improve-agent-visibility/principles/keep-credentials-secret.md).** Session tokens and emailed sign-in codes are passwords. Never put them in chat, logs or files.
- **[Never repeat a content mistake](https://promptingcompany.com/.well-known/agent-skills/improve-agent-visibility/principles/never-repeat-a-content-mistake.md).** When a draft or page gets something wrong, such as a fact, a price, an outdated claim, off-brand wording or a competitor, fixing that one draft is not enough. The user's correction is the source of truth, not TPC's knowledge base. Fix the content with it, then write the same correction where it belongs in the knowledge base that drafts are written from: product facts, competitor facts or the content rules. Show the user the exact change and wait for their yes. Then make it, and tell the user where the correction now lives.

## The weekly loop

Each week covers one batch of 25 prompts, unless the user picks another size. Ask first how far you may go: knowledge updates only, drafts, or drafts and publishing. That answer sets the scope only. Each approve, publish, unpublish or delete still follows the first principle. Copy the steps into your plan, then follow them in order.

1. **Connect and find the product.** If you have no TPC MCP tools and no signed-in `tpc`, run [Connect](https://promptingcompany.com/.well-known/agent-skills/improve-agent-visibility/playbooks/connect.md). Call `list_organizations`, then `list_products` with the product name as `query`. CLI: `tpc org list`, then `tpc product list --scope <org-slug>`. `get_product` returns the description, keywords, differentiators, competitors and product context.
2. **Re-check last week's batch.** You keep no memory between runs, so TPC's own records say what was done:
   - Drafts and pages for a prompt: `list_content` with its `promptId`, or with `status: "generating"`, `status: "pending_review"` or `status: "approved"` for drafts not yet live, and `status: "published"` for live pages. Items carry `updatedAt`. CLI: `tpc content list --scope <org-slug>/<product-slug> --status published --format json` also returns each page's `publishedAt` and `createdAt`.
   - Prompts added recently: `list_prompts` with `createdAfter`. CLI: `tpc prompts list --scope <org-slug>/<product-slug> --created-after <date>`.
   - For each prompt whose page went live in the last few weeks, `explore_analytics` with metric `sov`, dimension `date` and `filters: { promptId }` gives its share of voice over time. CLI: `tpc analytics sov --scope <org-slug>/<product-slug> --prompt <prompt-id>`.
   - Report what moved and what did not. Rankings take a few weeks to move, so do not call a page a failure after one week. On the first run there is nothing to re-check; run [Check visibility](https://promptingcompany.com/.well-known/agent-skills/improve-agent-visibility/playbooks/check-visibility.md) for the overall picture instead.
3. **Pick the batch: the prompts doing worst.**
   - `explore_analytics` with metric `sov`, dimension `prompt`, `sortBy` `sov`, `sortDirection` `asc` and `pageSize` up to 100 ranks tracked prompts from the lowest share of voice up. Each row has `key`, the prompt ID, `label`, the prompt text, and `sov`, `mentions` and `runs` for the window, which defaults to the last 30 days. CLI: `tpc analytics sov --scope <org-slug>/<product-slug> --by prompt --json`, then sort by share of voice, lowest first.
   - Leave out prompts with no `runs` yet, prompts with a draft generating, in review or approved, and prompts with a page published in the last few weeks. Their pages need time to rank, so do not write for them again yet.
   - Take the first 25 that are left, or the batch size the plan allows, from Batch size and plan limits below. Show the user the batch with each prompt's share of voice, mentions and runs.
   - To see why a prompt is weak, `explore_analytics` with dimension `competitor` and `filters: { promptId }` ranks who wins it. Metric `citations` with dimension `source` and `filters: { productMentioned: "not_mentioned" }` shows which sources answer engines cite when they leave the product out. To pick which searches to write pages for, run [Work the query bank](https://promptingcompany.com/.well-known/agent-skills/improve-agent-visibility/playbooks/work-the-query-bank.md).
4. **Fix what TPC knows first,** so the batch's drafts use the right facts. TPC grounds prompt suggestions and content generation in the product's knowledge base.
   - `list_knowledge_files` lists the knowledge base as a tree, and `get_knowledge_file` reads one file. CLI: `tpc knowledge file list --scope <org-slug>/<product-slug>` and `tpc knowledge file get <path> --scope <org-slug>/<product-slug>`. `list_content` and `get_content` show what is already live.
   - Look for knowledge gaps: facts the user named, the batch's subjects that are missing, outdated or wrong, and every correction from earlier reviews. [Never repeat a content mistake](https://promptingcompany.com/.well-known/agent-skills/improve-agent-visibility/principles/never-repeat-a-content-mistake.md) says which file each kind of fact or rule belongs in.
   - Write the new full text of each file and show the user what changes. A write replaces the whole file. After the user's go-ahead, `put_knowledge_file` with `action` `put` creates or replaces the file on the live default branch. `schema.md` can be read but not written. CLI: `tpc knowledge file put <path> --scope <org-slug>/<product-slug> --content-file <file>`. Read each file back with `get_knowledge_file`.
   - The product's name, domain, description, keywords, differentiators and competitors live on the product itself. Change them with `update_product`. A list you pass replaces the whole stored list.
5. **Confirm the batch once.** Show the plan in one message: the prompts, one draft for each, the content type, and the credit cost, from Batch size and plan limits below. One yes covers generating this batch. Publishing still needs the review in step 7.
6. **Generate the drafts.** `generate_content_drafts` with the batch's `promptIds`, at most 25 per call, so each draft stays linked to its prompt. CLI: `tpc content generate --scope <org-slug>/<product-slug> --prompt <prompt-id> --watch`, with `--prompt` repeated for each prompt. Generation takes a while: follow it with `list_content` and `status: "generating"`, then `status: "pending_review"`, and report any `status: "failed"` drafts. Use `create_content_draft` only for text the user already wrote.
7. **Review the drafts** with the user: run [Review content](https://promptingcompany.com/.well-known/agent-skills/improve-agent-visibility/playbooks/review-content.md). Before any approve or publish, list each draft's claims, check them against the user's own sources, such as what they said, their website, docs or repository, and have the user confirm or correct the rest. TPC's knowledge is only a cross-check. Whenever a draft is revised or rejected because it got something wrong, record the correction in knowledge, as the last principle says. Approve or publish only what the user confirms.
8. **Add new prompts,** 25 by default, so share of voice covers more of what buyers ask. Gather candidates from suggestions, new topics, the query bank's `write` keywords and the user's own questions, as step 3 of [Manage prompts](https://promptingcompany.com/.well-known/agent-skills/improve-agent-visibility/playbooks/manage-prompts.md) describes. Show the list once and add only the prompts the user approves.
9. **Repeat next week,** starting again at step 1. TPC does not run this loop on its own. To keep it weekly, the user can schedule a weekly run of this skill in their agent tool, if it supports scheduled tasks, or set a weekly reminder to ask for it.

**Reply:** last week's batch and how its prompts moved, this week's batch with its numbers, each knowledge change, each draft with its status, the corrections recorded, the prompts added, and what still waits for the user.

## Batch size and plan limits

The batch is 25 because `generate_content_drafts` takes at most 25 prompts per call. Make it smaller whenever the plan cannot cover it, say why, and never go over what the user said fits.

- Generating drafts needs an active or trial Pro or Enterprise subscription. `tpc billing status --scope <org-slug>` shows the plan and its status. The MCP server has no billing tool, so ask the user if you cannot run it. Without Pro or Enterprise, skip steps 5 and 6 and say why.
- Drafts and prompt runs use the organization's monthly credits. Each draft costs 20 credits, and a rewrite from review notes costs the same again. Each answer from an answer engine costs 1 credit per region, so every prompt you add spends credits on each run. Plans and their credits are at https://promptingcompany.com/pricing.
- No tool reads the credit balance. Ask the user how many credits are left, or to check the billing settings in the TPC app. TPC does not stop generation when the credits run out, so the limit is yours to keep: a batch of drafts fits only if 20 credits for each draft fit in what is left. When fewer fit, shrink the batch to that number and say so.
- Prompt suggestions come in runs capped by plan: Basic 10, Pro 20, Enterprise 150. Only one run per product at a time, so 25 suggestions on Basic take more than one run.

## Starting partway

When the user asks for one part of the loop, start there and offer the rest.

| The user asks to | Do |
| --- | --- |
| Run this week's cycle, or improve visibility in general | The whole loop |
| Connect an agent to TPC or sign in | Step 1 |
| See how the product is doing | Step 1, then [Check visibility](https://promptingcompany.com/.well-known/agent-skills/improve-agent-visibility/playbooks/check-visibility.md) |
| Update what TPC knows, such as new pricing or features | Steps 1 and 4 |
| List, add, change or organize tracked prompts, or find more to track | Step 1, then [Manage prompts](https://promptingcompany.com/.well-known/agent-skills/improve-agent-visibility/playbooks/manage-prompts.md) |
| Review, fact-check, approve, publish or take down content | Step 1, then [Review content](https://promptingcompany.com/.well-known/agent-skills/improve-agent-visibility/playbooks/review-content.md) |
| Fix a mistake in a draft or page, such as "this draft got our pricing wrong" | Step 1, then [Never repeat a content mistake](https://promptingcompany.com/.well-known/agent-skills/improve-agent-visibility/principles/never-repeat-a-content-mistake.md) |
| Pick which searches to write pages for | Step 1, then [Work the query bank](https://promptingcompany.com/.well-known/agent-skills/improve-agent-visibility/playbooks/work-the-query-bank.md) |
| Learn about TPC itself, find its docs, or report a bug or problem to TPC | [Get help](https://promptingcompany.com/.well-known/agent-skills/improve-agent-visibility/playbooks/get-help.md) |

Anything else is outside this skill. Tell the user this skill does not cover the request yet, and run [Get help](https://promptingcompany.com/.well-known/agent-skills/improve-agent-visibility/playbooks/get-help.md). Do not improvise TPC operations.
