/vivreal-knowledge:vivreal-dbfrom vivreal-knowledge
Use when querying or exploring Vivreal's MongoDB, including any time you are about to use the mcp__mongodb__* MCP tools, choosing which database, which collection, how to scope a query to a tenant, how to LINK collections together (collection_group ↔ collection_objects ↔ integration_objects, groups ↔ everything, sites ↔ versions/media), or debugging "content created in the portal but missing on the site". Teaches the safe multi-tenant query rules, the dbKey vs group.key vs bucketname distinctions, and the string-ref ↔ ObjectId cross-collection join rule that are the #1 source of bugs. Triggers on: mcp__mongodb, query mongo via MCP, mongodb find/aggregate/count, $lookup, join collections, link collection group to objects, list collections, collection schema, which database, which collection, group/tenant data, publishDate, dbKey, groupID.
Ships in vivreal-knowledge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill states pointers, not values. Every count, database roster and quota below is
something a query produces in seconds. Where you see a number here that a query could have
produced, treat it as a defect in this file and report it. Read the deployed line, and pair
every zero-row result with a control that returns rows (see verification-discipline): a query
against a lowercased collection name returns zero rows against a database that has data.
Cross-repo flows, decisions and maps: the vivreal-hq dev docs under ${VIVREAL_REPOS}/vivreal-hq/docs/dev-docs/, starting at 02-architecture/data-and-tenancy.md, 05-reference/connection-pooling.md; npm run docs:route -- "tenant-db" from vivreal-hq names the rest. This skill and the repo's CLAUDE.md own the repo's internals.
Which database a tenant lives in is a different subject, and it has its own skill. This file is about querying once you are in the right database. For
group.dbKey,resolvePlacement, thepod_01/pod_02placements, the mergedtenant-dbpackage, or a group whose site is 403 because it has no usable placement, usevivreal-tenancy. The pod rename is DONE (2026-09-23): the tenant databases arepod_01andpod_02, andgeneral_shared/pro_plusno longer exist (vivreal-hq/docs/projects/tenancy-architecture/migration-run-2026-09-23.md). A query against either old name returns ZERO documents with no error, so a hardcodedgeneral_sharedin a script or a memory note is a false not-found, not missing data.
Topology, collection names and the join rules below were re-verified read-only against live Mongo on 2026-10-15; indexes are read from the schemas package. Read this before touching the
mcp__mongodb__*tools. For an interactive helper, use the/db-queryand/db-schemacommands (vivreal-db-explorerplugin), this skill is the passive knowledge those commands assume.
The mcp__mongodb__* tools need a MongoDB connection string to reach Atlas, it is
NOT hard-coded. Source it, then connect. The string is the Atlas cluster URI
(mongodb+srv://…) with NO database path; the database is selected per query.
Where the connection string lives (priority order):
<secret-prefix>/<service> secret
(e.g. <secret-prefix>/cms-api, <secret-prefix>/main-api), key CLUSTER_URL, no path and
no query string. There is no single shared secret anymore. The old hb-api-secrets
store is fully deleted (2026-09-15, no recovery window). Do not read or resolve it.
vivreal-db-explorer's launcher (below) reads <secret-prefix>/main-api, which is a live
writable services-user secret. Its full name is key dbSecretId of
${VIVREAL_REPOS}/vivreal-hq/.vivreal/private-names.json (the optional VIVREAL_DB_SECRET_ID
environment variable overrides it; nothing needs setting). To read the URL directly (requires AWS
credentials for the account), run the db-explorer plugin's scripts/cluster-url.cjs with node: it
resolves the name the same way and prints only CLUSTER_URL..env (dev fallback), any backend repo under ${VIVREAL_REPOS}
(e.g. ${VIVREAL_REPOS}/VR_CMS_API/.env) carries CLUSTER_URL=mongodb+srv://….Then connect: the vivreal-db-explorer plugin registers a read-only MongoDB
MCP server (vivreal-db-explorer/.mcp.json → mongodb-mcp-server). Its launcher, not .mcp.json, sets MDB_MCP_READ_ONLY=true (scripts/launch-mongo-mcp.cjs).
Its launcher (scripts/launch-mongo-mcp.cjs) sources that secret itself (through scripts/cluster-url.cjs) when
MDB_MCP_CONNECTION_STRING isn't already exported, and appends
maxPoolSize=2&maxIdleTimeMS=60000&appName=mcp:vivreal-db-explorer to whichever string it
resolves. Match that if you export the variable by hand:
export MDB_MCP_CONNECTION_STRING="$(node "<db-explorer plugin root>/scripts/cluster-url.cjs")?maxPoolSize=2&maxIdleTimeMS=60000&appName=mcp:vivreal-db-explorer"
The server loads at session start (approve it on first use). If it isn't registered or
no connection is live, the mcp__mongodb__* tools won't exist, stop and report that;
never fabricate results. No MCP? You can still connect read-only via a backend repo's
driver: NODE_PATH=${VIVREAL_REPOS}/VR_CMS_API/node_modules node <script using MongoClient>.
Set maxPoolSize: 1, an appName: 'script:<what>', and close the client in finally
(the same policy every non-Lambda connector follows; see vivreal-atlas-topology).
Known gap: <secret-prefix>/main-api's user can write. A dedicated read-only
dev-tools-ro user is proposed for MCP/CLI use but does not exist yet. Treat this
connection as read-only by convention (MDB_MCP_READ_ONLY=true and the query-safety rules
below), not by database-level enforcement, until that user lands.
Security, the connection string IS a secret:
MDB_MCP_READ_ONLY flag, is the real security boundary (the flag is defense-in-depth).
A read-only user also protects groups.apiKey, webhooks.secret, groups.integrations.
Today's default path (<secret-prefix>/main-api) does not have one (see "Known gap"
above), so until dev-tools-ro exists, MDB_MCP_READ_ONLY plus the query-safety rules
below are the only boundary in practice. Treat that as a real gap, not a technicality.Count the databases, do not quote a count. mcp__mongodb__list-databases, or
db.adminCommand({listDatabases: 1}). There is no single "per-group database" model, and it is
equally wrong to say there are exactly three. The shape, which is stable:
| Database | Role | Holds | Which groups |
|---|---|---|---|
Vivreal | Control plane (mainDb) | groups, leads (+ lifecycle activated/activatedAt), checkout_sessions, media_files, usage_trackings, domainOrders, domains, inquiries, emailEvents, suppressions (lifecycle-email), dataDeletionRequests, site_traffic_dailies (first-party analytics rollup; code and docs call it site_traffic_daily, but VR_Analytics_API pins collectionName: 'site_traffic_dailies', so a query on the singular name is a false zero), commerce_dailies, product_search_terms/product_search_dailies, analytics caches, push subs, oauth verifiers. List them with listCollections; prospects is gone (dropped 2026-07-27, absent 2026-10-15) | ALL groups (registry) |
pod_01 (was general_shared until 2026-09-23) | Tenant content | collection_groups, collection_objects (incl. the SIX Outreach system groups, sequences/enrollments/contacts/senders/companies/segments, with calls[] + bookings on senders/companies), integration_objects, sites, site_versions, content_versions, audit_logs, webhooks, stripe_webhook_events, square_webhook_events, metaWebhookEvents, instagram_comments/instagram_conversations/instagram_messages | Whichever groups carry dbKey: "pod_01": every customer group and the Vivreal group, across several tiers |
pod_02 (was pro_plus until 2026-09-23) | Tenant content, same shape as pod_01 (the old pro_plus also carried a stripe_products collection holding ZERO documents, dead storage nothing reads, CMS CLAUDE.md:228-232) | same shape as pod_01 | Only the Vivreal Content group (<_id: look up group key vivrealcontent>), placed there deliberately. NOT keyed on a tier. Census it: Vivreal.groups grouped by dbKey |
outreach | Outreach service | suppressions only (global suppression list). NOTE: outreach contacts/companies/enrollments are NOT here, see below. | service-global |
| a slugified group name | Legacy or stranded per-group DB | usually only audit_logs, sometimes content_versions | Possibly no group at all. At least one such database has no group pointing at it. Do not rely on this pattern, and do not assume there is only one |
The cluster is Atlas M10 (since 2026-10-17), and query work still shares it with production.
The M0 Free tier before it capped data out at 10 GB per rolling 7 days (over it, every read slowed
to about 90 KB/s with no error); M10 has no such quota, but it is one small primary with 2 GB of RAM
and a limit of 15 new connections per second per node. Project your reads (find with a projection,
never whole site documents in a loop), because a heavy exploration session competes with the
production sites for the same node. Limits and the live tier: vivreal-atlas-topology.
On M0 (history, before 2026-10-17), slow reads with ~0 ms server time were the data-out throttle,
not your query. On M10, look at the connection creation rate and the 2 GB node instead. Diagnosis
and levers: vivreal-atlas-topology.
Routing rule: read the stored placement. NEVER compute one from the tier.
const { resolvePlacement } = require('@hillbombcreations/tenant-db/placement');
const dbKey = resolvePlacement(group); // throws if group.dbKey is absent or unroutable
A tenant database is a placement, assigned by measured weight. It is not a plan and it
never will be again, so no database name can tell you a tier and no tier can tell you a
database. deriveDbKey() and the databaseDict[group.tier] ladder are deleted from every
repository; if you see either, or an inline tier-to-database ladder, that IS the bug. Report
it, do not copy it. pod_01 holds tenants of several tiers, and the retired general_shared
did too, so a database name was never capable of telling plans apart even when the ladder existed.
A slugified-groupName database holding only audit_logs is legacy drift, not the model.
More than one exists. A database no group points at is stranded, not a pattern to follow, and
the count of databases in the cluster is something to measure rather than remember.
⚠️ Two collections are NOT where you'd expect: media_files and usage_trackings
live in the Vivreal (mainDb) scoped by groupID, NOT in the tenant DB. Query them
against Vivreal, not a pod (pod_01.media_files was measured EMPTY on 2026-10-04; Vivreal.media_files is the store, and its size is a STRING, so coerce it with $convert before summing).
From the active_ctx JWT in the portal:
| Field | Example | What it is | Used for |
|---|---|---|---|
groupID | 0123456789abcdef01234567 | The group's Mongo _id (string form) | The groupID filter on EVERY tenant doc, tenant scoping |
dbKey | pod_01, pod_02, or another placement name (general_shared/pro_plus are retired and refused) | The stored tenant database name, read back by resolvePlacement(group). Never computed | Selecting the tenant database; passed as the key query param to CMS API |
group.key (bucketname in active_ctx) | examplesalesco | The group's URL slug | Half of the S3 bucket formula, CDN media paths, NOT database routing |
dbKey is the database name. group.key is the slug. They are different values.
The S3 bucket is bucketOf(group) (VR_Secure_API src/shared/groupBucket.js, VR_CMS_API @shared/bucketOf): the stored group.bucket wins, else ${group.type}-${group.key}. Never build it from a vivreal- prefix by hand: the type half is not guaranteed, and a group with neither field must throw rather than touch undefined-undefined. Measured 2026-10-15: 25 of 26 groups store bucket.
THE GOLDEN RULE (verified live): tenant reference fields are stored as strings
that equal the string form of a target document's ObjectId _id.
_id doc: cast new ObjectId(ref) (or
$toObjectId in aggregation). Matching { _id: ref } with the raw string returns
zero rows (confirmed: {_id: refID} → NOT FOUND; {_id: ObjectId(refID)} → FOUND)._id doc → its referencing children: match the child's string field
against String(_id). Do NOT wrap the child field in ObjectId(), it's a string, and
an ObjectId filter silently matches 0.| From (string field) | → To collection (_id ObjectId) | DB |
|---|---|---|
<any tenant doc>.groupID | Vivreal.groups._id | tenant → Vivreal |
collection_objects.collectionObj.refID | collection_groups._id | within tenant DB |
integration_objects.collectionGroup.refID | collection_groups._id | within tenant DB |
media_files.collectionGroup.refID | collection_groups._id | Vivreal → tenant DB |
media_files.collectionObjID | collection_objects._id | Vivreal → tenant DB |
content_versions.entityId (when entityType='collectionObject') | collection_objects._id | within tenant DB |
site_versions.entityId | sites._id | within tenant DB |
audit_logs.entityId (+ entityType) | the named entity's _id | within tenant DB |
sites.collectionGroups[], sites.collectionObjIds[], sites.pages[].collectionId | embedded id refs | within tenant DB |
group.key (slug) is NOT a join key for Mongo; the bucket comes from bucketOf(group) (above).
Recipe A, objects WITH their collection group (single $lookup, type-converted).
A naive localField/foreignField lookup fails (string vs ObjectId). Convert in a pipeline:
db.collection_objects.aggregate([
{ $match: { groupID: "<gid>", archived: { $ne: true } } },
{ $lookup: {
from: "collection_groups",
let: { gref: { $toObjectId: "$collectionObj.refID" } }, // string -> ObjectId
pipeline: [
{ $match: { $expr: { $eq: ["$_id", "$$gref"] } } },
{ $project: { name: 1, type: 1 } }
],
as: "group"
} },
{ $unwind: { path: "$group", preserveNullAndEmptyArrays: true } }
])
(Converting the local string to ObjectId lets the lookup hit the foreign _id index.
Alternatively convert the foreign side with { $toString: "$_id" }, but that scans.)
Recipe B, manual two-step (use this via the MCP find tool, no aggregation needed):
find the schema: collection_groups where { groupID: gid, name: "Blogs" } → take its _id.find the items: collection_objects where { "collectionObj.refID": "<that _id as a STRING>", archived: { $ne: true } }.
(refID is a string, so pass the string form, do NOT wrap in $oid.)Recipe C, a group's whole content footprint (counts per collection):
db.collection_objects.aggregate([
{ $match: { groupID: gid, archived: { $ne: true } } },
{ $group: { _id: "$collectionObj.name", count: { $sum: 1 } } }
])
Recipe D, an object's version history: content_versions where
{ entityId: "<object _id as string>", entityType: "collectionObject" }, sort { version: -1 }.
Recipe E, media for an object (note the DB!): Vivreal.media_files where
{ collectionObjID: "<object _id as string>", groupID: gid }.
Recipe F, group → everything (cross-DB): there is no cross-database $lookup. To go
from Vivreal.groups to tenant content you must issue separate queries against the
tenant DB resolved from the group document. Read group.dbKey first, then query that
database with groupID in every filter. media_files and usage_trackings stay in Vivreal.
MCP note: the mcp__mongodb__find _id filter uses extended JSON {"$oid":"..."};
tenant string refs (groupID, collectionObj.refID, collectionObjID, entityId) use
plain strings. For $lookup recipes use mcp__mongodb__aggregate.
collection_groups, _id, name, type, groupID(str), archived, linked,
tags[], schema(strict:false), widget, tableConfig, label, author{name,email},
hasMedia, useAsTemplate, system, skipAudit, skipVersioning, siteRole,
scope, commerce, variantKeys, approvalRequired, timestamps. Indexes: none declared
beyond _id. siteRole is a plain String (not an enum), documented as subscribers | reviews | reservations | quote-requests | contact | testimonials | bookings | group-subscribers | null;
measured 2026-10-15 both pods carry every value except group-subscribers. It is the stable
discriminator for built-in site forms, orthogonal to type and system. bookings is not
reservations (a booking is a committed appointment with a top-level bookingStart; a
reservation is a request with free-text time), and group-subscribers is deliberately not
subscribers (the portal's site resolver falls back to the first subscribers collection, so
the group-wide store would hijack every site). scope: 'group' marks a collection owned by the
group and bound to no site (the parked-domain subscriber store); absent means site-scoped, and a
scope: 'group' collection must never be resolved as one site's. commerce { state: selling | paused | moving, provider, moveId, movedAt } is on product lists only, NO default, absent means
selling (the payments move, vivreal-cms-api-knowledge). _id is referenced as a string
collectionObj.refID on objects.collection_objects, collectionObj{name, refID(str)}, groupID(str),
objectValue(strict:false), integrationInfo, archived, publishDate(Date|null),
approvalStatus(enum: draft/pending_review/approved/rejected), approvalRequestedAt/approvalRequestedBy,
approvalDecidedAt/approvalDecidedBy, approvalNote, usingVariant, author,
embedding/embeddingModel (both select:false), plus the subscriber fields
(subscriberEmail and friends, on subscriber rows only) and the booking fields
(bookingStart, bookingStatus, on booking rows only). Read collectionObjectSchema.js for
the full list. Declared indexes: collectionObj_refID_1, publishDate_1, approvalStatus_1,
collectionObj_refID_subscriberEmail_1 (sparse on a COMPOUND, which is a no-op: every row has
refID, so every row is indexed), collectionObj_refID_bookingStart_1 (compound +
partialFilterExpression, the option that actually restricts it), and
groupID_objectValue_mediaKeys_1. Read the .index( calls, not this list.integration_objects, id(str), platform(str, e.g. stripe), collectionGroup{name,refID(str)},
groupID(str), author, usingVariant, accountId(ObjectId), accountHandle
publishDate, scheduledTaskId, sourceRef{objectID,collectionName,collectionID}
embedding/embeddingModel, objectValue(strict:false). Schema is strict:false, so social
docs also persist accountType/status/errorMessage. Indexes: read integrationSchema.js;
it declares groupID_platform_1 ({ groupID: 1, platform: 1 }).sites, groupID(str), key(site slug), collectionGroups[], collectionObjIds[],
integrationIds[], pages[], navigation{}, footer{}, deployment{status...}
siteDetails{schema,values}, domainInformation. Index: groupID.content_versions / site_versions, entityId(str), entityType, version(num),
snapshot, changeSummary{changedFields, changeType}, groupID. Index: entityId+version.audit_logs, action, entityType, entityId(str), groupID, actor{email,name},
expiresAt (Date or null; VR_CMS_API, VR_Secure_API and Vivreal_EventHandler stamp it from the
group's tier, and the expiresAt_ttl index reaps it). Older rows carry none and are never reaped:
never assume every row has it.
Indexes: {groupID:1, createdAt:-1}, {groupID:1, entityType:1, entityId:1, createdAt:-1}
(auditLogSchema.js).Control-plane (Vivreal): groups (_id ObjectId, key unique slug, tier,
owner, dbKey, bucket, usage counters), leads (email unique, attribution.first/last),
media_files (groupID-scoped; size is a STRING), usage_trackings (groupID+docKey unique),
domainOrders (active; dbKey, siteId, stripe/route53/amplify state), inquiries (contact forms).
find/aggregate/count only. No updateMany/deleteMany/insertMany
unless the user explicitly asks AND you confirm scope.groupID. Every doc in any tenant database
(and media_files/usage_trackings in Vivreal) carries groupID. Omitting it crosses tenants.groupName. active_ctx carries no groupName. Use
{ _id: <ObjectId(groupID)> } (shell form; in Node write new ObjectId(groupID), bson 6
throws without new) or { key: <group.key> }. groupName is display-only.groupID, collectionObj.refID,
collectionObjID, entityId are strings on tenant docs. To filter them, pass strings.
To JOIN them to an _id, cast ObjectId(ref) (see the linking section). Mixing these up
silently returns zero rows._id filters via the MCP tool use {"$oid": "..."} extended JSON; string refs use plain strings.archived with { "archived": { "$ne": true } } (so docs missing the field still match).apiKey, credentials, secret, accessToken, refreshToken
stripeKey, integrationKey, anything matching password|secret|token. Show [REDACTED].state was never stored until the schema declared it). And strict resolves three ways: a strict: false SUB-schema lets a path through only while the QUERY leaves strict unset; a query that sets strict: true drops the ENTIRE update. Assert a new field survives a round trip through the real schema, with a control proving an undeclared one vanishes.timestamps: true, defaults, setters, validators and strict stripping are all Mongoose, so an ops-script correction through the driver does not move updatedAt (a sort on it cannot find the corrected rows) and can store a field the schema would drop. Set updatedAt explicitly if you need it, and record the correction outside the document.sparse on a compound index is a no-op here, and a built index cannot be re-optioned. MongoDB indexes a document under a compound sparse index if it carries ANY indexed key, and every collection_objects row carries refID. Use partialFilterExpression. Re-declaring a built index name with different options fails IndexKeySpecsConflict on every cold start (tenant DBs run autoIndex), silently; so measure a new index's key count against a single-field control BEFORE the schemas package publishes._id can exist in more than one database. The live site renders the copy in the group's placement (<group.dbKey>.sites). During the pod migration the help site existed under one _id in two databases and two writes went to the copy nothing reads. Before any site write, check for the _id elsewhere, say which copy you chose, and verify against the RENDERED page, never the document you wrote.publishDate UNPUBLISHES the item. The portal proxy sends publishDate: body?.publishDate ?? null, CMS writes the null, and the public read gates on publishDate <= now. A scripted edit sends the item's existing publishDate (and __v, for the optimistic-concurrency check) every time.maxPoolSize: 1, and close the client.The public site (VR_Client_API) hides content where publishDate is null (draft) or in the
future. "I created it in the portal but it's not on the live site" almost always means:
publishDate: null → still a draft. Set a past/now Date to publish.publishDate stored as a string instead of a Date → silently dropped by the date filter.publishDate → scheduled, not yet live.
Check publishDate type and value FIRST. (Verified live: it is a Date on healthy docs.)collection_objectsOutreach contacts, companies, and enrollments are collection_objects in the tenant DB
(the Vivreal group's placement, pod_01; it was general_shared before 2026-09-23), under system collection_groups, differentiated by collectionObj.refID. The owner decided on 2026-09-28 to move the outreach CRM into the internal admin app, so re-check where this data is served from before relying on the portal routes.
The dedicated outreach_* partial/unique indexes on collection_objects (e.g.
outreach_contacts_email_unique, outreach_enrollments_seq_contact_unique) are not in the
shared Vivreal-Schemas collectionObjectSchema nor in VR_CMS_API, they are created by
VR_Outreach_API / applied directly to live Mongo, so treat them as live-DB/outreach-service
artifacts, not schema-backed. The outreach database holds only the global suppressions list.
So to find a tenant's outreach contacts: resolve the Contacts system collection_group _id
then query collection_objects by collectionObj.refID (string), same pattern as any content.
subscriberStatus is one of pending, subscribed, unsubscribed, bounced,
complained (absent on non-subscriber rows). An ordinary campaign mails only subscribed; a
confirmation campaign mails only pending (VR_Main_API sendBatches.js,
SENDABLE_STATUSES_BY_AUDIENCE). A site sign-up is saved subscribed at once since v7.2. consentSource is capture (typed into a
form) or import (an owner's import, with importId pointing at the attestation on the group);
confirmedAt records a click on a confirm link and is never backfilled; unsubscribedAt is the
person's own opt-out and suppressedAt is ours (a hard bounce or a complaint);
confirmationSentAt carries the confirm and rejoin cooldowns. One list can hold the same address
on more than one row, so count and update by { groupID, 'collectionObj.refID', subscriberEmail }
over EVERY match, never the first (VR_Main_API's unsubscribe does since v7.2).objectValue.vivrealExample is true on items a template seeded and false once the owner
edits one; the portal's "Clear the examples" deletes by it (vivreal-cms-api-knowledge).objectValue._system is server-written: Outreach contacts carry excludedAt and
excludedCompanyId there after POST /companies/:id/exclude, and the CMS keeps the stored
_system on every update.usage_trackings.docKey for an item is collectionObject_<id>; rows written before 2026-07-31
(and seeds before v7.1) use collection_<id>, and both still exist. Match both keys when you
count an item's bytes; lists with siteRole subscribers, group-subscribers or bookings
take no entry (UNCOUNTED_SITE_ROLES).groups.timezone is the business time zone (canonical IANA, written by VR_Secure_API), and
the site serves it as siteDetails.values.timezone; the site document's own value is only the
fallback. groups.billing.source: 'comped' marks a comped paid-tier group: count paying
customers by stripeSubscriptionID, never by tier.Vivreal.domainOrders (camelCase). The lowercase domainorders the old model name produced is gone after VR_Secure_API #231 and its data migration. This is the mongoose collection-name lowercasing trap: always pass collectionName, and suspect it whenever a query returns zero rows against a database you believe has data.media_files / usage_trackings are in Vivreal, not the tenant DB.audit_logs is legacy drift; don't generalize a per-group-DB model from it.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub hillbombcreations/vivreal-skills --plugin vivreal-knowledge27 skills in this plugin
/sentry-tracerUse when investigating what happened during a Vivreal user action across the stack, tracing an error end-to-end, validating a deploy, or doing tenant-scoped triage with Sentry. Teaches WHEN to trace cross-stack (frontend spans ↔ backend logs ↔ WebSocket events) and HOW (trace-ID propagation, the standard tag set, request_id fallback, service.* breadcrumbs). Triggers on: "what happened when I did X", "why did this error", trace this request, Sentry issue, deploy validation, "everything's broken for this group", crash, error timeline. For the full investigation agent with Sentry MCP tools wired in, dispatch the `sentry` agent / `/sentry-trace` (both in the `vivreal-sentry` plugin); this skill is the passively-loaded knowledge layer. Also covers the step from a Sentry error to the AWS and Atlas metric that confirms an infrastructure cause (502 with no backend event, Lambda timeout, Mongo connect-hang, throttling, OOM, stalled deploy)./vivreal-accounts-and-writesUse before filming, walking or capturing anything in the Vivreal portal or on vivreal.io, and before any write a capture or walk makes. Carries which login to use for which business (the demo account, the QA scratch owner, the owner session), the eight-step owner-approved write protocol (named approval, snapshot, write through the UI, fresh-process read-back, restore, manifest entry), the never-list (Post, Publish, Schedule, Connect and the rest), and the rules for stills that fill vivreal.io marketing slots (pair by what the slot says, no demo site has its own web address, mask comped plan figures). Shared by footage-recorder, tutorial-maker, help-page-producer, qa-walker and marketing-auditor. Triggers on: which login, demo account, QA scratch-2, test account, switch business, owner-approved write, write protocol, snapshot and restore, mutations, marketing still, screenshot swap, vivreal.io slot, walk harness, write guard, POST allow list, PRO badge.Other plugins' skills for the same job