Skip to content

feat(agents): add the Ready to use tab with the launch agents and Soon cards - #1917

Merged
gkhngyk merged 1 commit into
ansvisor:mainfrom
cihan-gyk:feature/agent-center-ready-to-use
Nov 1, 2026
Merged

gkhngyk merged 1 commit into
ansvisor:mainfrom
cihan-gyk:feature/agent-center-ready-to-use

Conversation

@cihan-gyk

Copy link
Copy Markdown
Collaborator

Summary

Agent Center PR B: Ready to use, the launch set of ready-made agents (Agents plan §3 A). Agent Center now opens on Ready to use (?tab=ready|yours). Your agents keeps the Mine, Workspace, Paused and Archived filters from #1899. Built on main, with #1899 and #1909 in. No migration. Behind CHAT_AGENTIC.

What a ready-to-use agent is. A preset, kept as data (lib/chat/agents/presets/*.json, read through catalog.json). Each one has:

  • skills from the library;
  • the triggers New agent already offers;
  • a mode;
  • connections.

A Soon card also says what it waits for. Nothing new runs: Use this agent opens New agent filled in (?preset=), and the person names it, checks it and saves it. Nothing is saved or turned on by itself.

The cards

  • 8 that work today: Visibility Watch, Citation Win-back, Competitor Watch, Content Freshness, Ready to Publish, Task Finisher, Weekly Report and Brand Facts Guardian.
  • 12 Soon cards, each with the one thing it needs, such as "Needs HubSpot", "Needs a catalog sync trigger" or "Needs sub-agents".
  • Each card shows its skills, mode and trigger in plain words: "Every day 08:00 · AI Visibility ±10% in a day".
  • Goal is the only filter (Visibility, Citations, Content, Competitors…) until presets carry a business type, industry or role. Those packs come in later PRs.

Rules

  • Connections follow fix(chat): ask agents for any CMS, not Webflow, and keep Search Console optional #1909's kinds:
    • Any CMS is Required for Ready to Publish and Optional for Citation Win-back and Task Finisher;
    • Any catalog source is Required for AI Shopping Readiness (a Soon card);
    • Search Console is Optional.
  • If a preset's mode is closed by the plan or by Settings › Chat (Weekly Report is Full auto), the form opens on Auto, ask before changes and shows the lock (planGateLock).
  • Analysts and Agency partners see the cards with the read-only line, and no Use this agent.
  • New agent reads ?preset= through readyPreset(): an unknown id or a Soon card opens an empty New agent.
  • Each card's plan or Settings › Chat lock is worked out on the server (ready-setup.ts). It shows plan names only, never a price.

Tests

  • catalog.test.ts: every preset's skills, triggers and connections are real, Soon cards name what they need, and the ids are unique.
  • agent-form.test.ts: a form built from a preset, and the Full auto fallback.
  • ready-agents.test.tsx and the page tests: the tabs, the filter, Soon cards and read-only roles.

Help: help/chat/agents.md gets the Ready to use tab (approved: false).

History: written as 951be3619 on the pre-#1899 branches, then carried onto main. The presets' connections were moved to #1909's kinds in the same commit.

Related issue

None. Agents plan, Agent Center PR B.

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

  1. Set CHAT_AGENTIC=true and open Agent Center. It opens on Ready to use: 8 cards, then 12 Soon cards.
  2. Pick Citations: only the agents for that goal stay.
  3. Use this agent on Ready to Publish:
    • New agent opens with /quality, then /publish;
    • Manual only;
    • Any CMS is Required;
    • the name is "Ready to Publish".
      Cancel saves nothing.
  4. On a plan without Full auto, Use this agent on Weekly Report opens on Auto, ask before changes, with the lock.
  5. As an Analyst, the cards show the read-only line and no button.
  6. Your agents lists the workspace's agents as before.

Checked in the browser at 1024px, light and dark: the tab, the Soon cards, and the form filled from a preset. The user approved the screens. Screenshots are available on request.

Checklist

  • Branch follows the naming convention
  • Commits follow Conventional Commits
  • yarn lint passes (0 errors; 7 old warnings in files this PR doesn't touch)
  • yarn typecheck passes
  • yarn format:check passes
  • Changes are focused — one concern per PR
  • Help article updated under help/ (or no user-visible change)

On this branch (a61bf0c): web 805 files / 8,410 tests pass, and yarn build passes. Server format:check and lint are clean, and 352 files / 4,994 tests pass (3 skipped).

🤖 Generated with Claude Code

…n cards

Agent Center opens on Ready to use (?tab=ready|yours); Your agents keeps
the Mine, Workspace, Paused and Archived filters. Ready-to-use agents are
presets kept as data (lib/chat/agents/presets/*.json, read through
catalog.json): skills from the library, triggers New agent offers, a mode,
connections, and for Soon cards what they wait for. Use this agent opens
New agent filled in (?preset=); nothing is saved or turned on by itself.
A mode the plan keeps closed shows its lock (planGateLock), and opens on
Auto, ask before changes. Analysts and Agency partners see the cards with
the read-only line. Goal is the only filter until a preset carries a
business type, industry or role. Help article updated.

The presets ask for connections as ansvisor#1909 defines them: any CMS (Required
for Ready to Publish, Optional for Citation Win-back and Task Finisher),
any catalog source for AI Shopping Readiness, Search Console Optional.

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

@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.

LGTM

@gkhngyk
gkhngyk merged commit bd67ec3 into ansvisor:main Nov 1, 2026
6 checks passed
gkhngyk added a commit that referenced this pull request Nov 2, 2026
…y to use (#1962)

* feat(chat): ask once what Chat should focus on, starting from the person's work areas (W2-22)

CHAT-24 §3: the focus picker opens once on the first Chat Home (marked
shown as it opens) with the areas the person's work areas suggest, Home's
pill reopens it, and Settings › General › Your focus keeps changes at
once. Focus only changes suggestions; no migration (00400 focus, 00408
focus_prompted_at).

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

* feat(chat): fit Chat Home to the person's focus: shortcuts, starter questions and a competitor's rise (W2-23a)

CHAT-24 §4: For you now takes the picked areas' shortcuts in turn (five
beside Ask anything, CHAT-08 v2's six chips; the three jobs keep their
counts and rules), Start with a question offers four in the workspace's
own competitor, topic and market or their general wording, the line under
the greeting says a competitor's mention rate rose 3+ points this week
when nothing needs the person, and the / menu lists the focus's skills
first. No migration.

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

* test(chat): keep the focus actions open in read-only, as the person's own settings

saveChatFocus, skipChatFocus and markFocusPrompted write only the person's
own chat_user_prefs row and cost nothing, like saveChatGeneralSettings, so
they join the read-only coverage test's open list with their reasons.

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

* feat(agents): add the Ready to use tab with the launch agents and Soon cards

Agent Center opens on Ready to use (?tab=ready|yours); Your agents keeps
the Mine, Workspace, Paused and Archived filters. Ready-to-use agents are
presets kept as data (lib/chat/agents/presets/*.json, read through
catalog.json): skills from the library, triggers New agent offers, a mode,
connections, and for Soon cards what they wait for. Use this agent opens
New agent filled in (?preset=); nothing is saved or turned on by itself.
A mode the plan keeps closed shows its lock (planGateLock), and opens on
Auto, ask before changes. Analysts and Agency partners see the cards with
the read-only line. Goal is the only filter until a preset carries a
business type, industry or role. Help article updated.

The presets ask for connections as #1909 defines them: any CMS (Required
for Ready to Publish, Optional for Citation Win-back and Task Finisher),
any catalog source for AI Shopping Readiness, Search Console Optional.

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

* feat(chat): add the focus areas' seven skills and New for you on Chat Home (W2-23b)

Adds /questions, /features, /gaps, /markets, /listings, /rivals and
/audit-fix (CHAT-24 §5) to the skills library, so it holds twenty-one.
Chat Home shows up to four of them under "New for you" for the picked
focus areas, and the / menu lists each area's new skills right after
its own.

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

* fix(chat): leave a focus as it was when the picker opened from Home's pill is cancelled

From the pill the picker's way out still saved an empty focus, so changing
your mind wiped the focus you had. Opened from the pill it now reads
Cancel and only closes; Skip for now stays the first opening's answer.

* feat(agents): let agents use the seven focus skills

New agent's skill step and its follow-on list offered only the fourteen
skills of W2-04. The focus areas' seven (W2-23b: Buyer questions, How AI
compares us, No clear leader, Who AI recommends by market, Listing gaps,
Rival brief and Site audit fixes) are in Chat's library, so an agent can
run them too.

- agent-skills.ts: the seven join ANSVISOR_SKILLS in the library's order
  (SKILL_ORDER). Their SKILL.md files read only Ansvisor's own data and
  public pages, and save page work as drafts, so none needs a connection:
  /listings reads the sites AI cites, not a catalog; /audit-fix writes a
  robots or CMS change for the person to make.
- en.json: their titles under chatAgents.skills, as their SKILL.md says.
- Tests: agent-skills.test.ts (every library skill, in order, titled as
  its SKILL.md, the seven with no connection), syncConnections, and the
  form's skill grid and follow-on list.
- Help: agents.md says which skills an agent can use.

Stacked on #1918 (W2-23b).

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

* feat(agents): add business-type and role packs to Agent Center's Ready to use

Ready to use offered the core agents only. AGENTS plan §8 adds packs by
business type (§8.1) and role helpers (§8.3), recommended to the person
on day one. This adds them as presets, with the brand's site type and the
person's work areas deciding what comes first.

- Presets: businessTypes are the brand's site types (b2b, ecommerce, b2c,
  as brands.site_type) plus app, which brand settings don't offer yet;
  roles are the work areas of Menu access (00374). The 12 business-type
  agents and 7 role helpers join the catalog: 10 ready, made of skills an
  agent can use today (the 14 and the 7 focus skills), and 9 Soon, each
  saying what it waits for (app store data, review site data, a catalog
  read, a seasonal, content plan or AI traffic skill, local listings).
  The §8.3 helpers that are core agents (Freshness, Prompt Portfolio,
  Crawler & Technical Fixer) get the role on their core preset instead of
  a copy. Reports and reads run on Auto, outreach and wrong-claim fixes
  on Ask me first.
- Ready to use: Business type and For your role filters beside Goal. The
  agents made for the site type of the brand on screen, or for one of the
  person's work areas, come first among the ready ones and among the Soon
  ones, marked For your site type or For your role. The page reads the
  person's work areas (profiles.work_areas).
- Tests: every preset's skills are ones an agent can use, Soon ones say
  what they need, no pack agent is a core agent's skills under another
  name, the tags follow the site types and work areas, the filters and
  the default order; the page passes the work areas.
- Help: agents.md covers the packs, the filters and the marks.

Stacked on feat/agents-focus-skills (on #1918) with #1917 merged in.

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

* fix(agents): wrap a ready-to-use card's skills and mode instead of cutting the mode off

A pack agent with three skills pushed the mode chip past the card's edge
("Auto, ask before chan…"). On a card the formula chips wrap to a second
line; the agent list's one-line rows are unchanged.

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

---------

Co-authored-by: Cihan <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Gökhan Geyik <[email protected]>
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