Logotipo de Performance Insights

Performance Insights

OrganizaciónPopular
anthropics
performance-insights

Explaining how the business is doing, meaning why a metric moved, which segment drove it, pace against a comparable, progress against goals the operator has stated, and questions over sales, traffic, conversion, and customers or this operation's equivalents that the snapshot alone does not answer. Not needed when the snapshot's headline figures and their change on the prior period answer the question, how a period went included.

Add to TypingMind

Descripción general

Editoranthropics
Repositoriocommerce-agents
Nombre de la habilidadperformance-insights
Estrellas
3K
Forks
574
Archivos incluidos
Solo instrucciones
LicenciaApache-2.0
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por anthropics en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Performance Insights en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/anthropics/commerce-agents/tree/main/merchant-agent/skills/performance-insights
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/anthropics/commerce-agents.git /tmp/commerce-agents
mkdir -p .claude/skills
cp -r /tmp/commerce-agents/merchant-agent/skills/performance-insights .claude/skills/performance-insights
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Performance Insights en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Performance Insights automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Performance Insights no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Performance insights

Below, "segment" means whatever unit this operation reports on: a category, a listing, a property, a plan, or an event.

Give the operator a takeaway they can act on, the figure behind it, and the comparison it rests on, and say which reads it came from.

Where the figures come from

  • Start with get_business_snapshot for the period asked about: the headline figures, the prior period (compare_to and the change percentages), and the alert counts that every later figure is read against. Then use query_metrics for one metric over time, narrowed to a segment when the question is about part of the operation.
  • Take margin and stock from get_pricing_context and get_listing, and campaign spend and revenue from get_campaign_performance; the snapshot does not carry them.
  • Report a series the backend does not hold (an error, an empty series, a different metric name than you asked for) as unavailable, and say which question that leaves open.
  • Show a figure you work out from returned data (a run rate, a shortfall, a sell-out date at the current pace) with its inputs beside it.
  • The latest date in a returned series is the latest date the data covers. A period that runs past it is partial; say so before comparing it with a complete one.

The comparison

  • Choose the comparison period for the question and name it: the prior period for how the week went, the same period last year for a swing that could be seasonal, before and after a change when the question is about that change.
  • Compare a partial period with the matching part of the baseline, or say the comparison is partial against complete; give both end dates.
  • When the question is pace against a comparable (this run against the last run of the same thing, or against its peers at the same point in the cycle), fetch the comparable as its own query_metrics series, name it, and say why it is comparable.
  • When the two series came back under different names, put both in present_metrics as returned. When they differ only by period, they share a name: query the current period last, present it, and give the comparable's figures in the text with their period. Either way, state the gap at the same point in the cycle instead of the two totals.
  • When the data holds no comparable (a first run, a first season), say so, give the pace on its own terms, and offer the nearest substitute the data holds, labeled as one. Do not build a comparable from memory of similar cases.

Explaining a movement

  • Say first what moved, by how much, and against which baseline; then investigate.
  • Confirm the movement before explaining it. A partial period, a gap in the series, or an unusual baseline accounts for many reported drops; when one of those is the explanation, say so and stop.
  • Locate it: query by segment and name the segment that accounts for most of the movement, with its share.
  • Separate mix from level. An average falls when the unit price fell and also when cheaper units made up more of the total; say which one the returned series show, or say that you cannot tell until the segments are queried.
  • Check candidate causes against tool data for the same dates: campaign windows from get_campaign_performance, stockouts or sell-outs from get_inventory_alerts or the listing, price moves from get_pending_changes or a change applied this conversation.
  • Call something the cause only when its timing lines up and the movement sits in the segment it would affect; otherwise report a correlation and name the read that would settle it.
  • Grade your confidence in words that match the evidence: a finding when the data shows it, a lead when it partly does, and "not visible in the data" when nothing does.

Goals and patterns the operator has stated

  • A target stated in this conversation or held in recall_memories turns a summary into a pace report: the figure so far, the share of the period elapsed, and what the rest of the period must average, computed from returned figures. Do not supply a target the operator has not stated.
  • Recall the seasonal patterns the operator has stated before calling a swing unusual, and say which pattern it does or does not fit. Save a goal or pattern stated during this flow with save_memory, so later summaries can pace against it.

Presenting the answer

  • End with present_metrics. Each pick names a measure a tool returned this conversation, under the tool's name for it and with its segment (sales, sales:kids-room, conversion_rate). A single date's value, a difference between two series, and a projection are not picks; they belong in the text.
  • When a present_metrics call is refused as ungrounded, present the retrieved series again with the picks corrected to names the tools returned.
  • Before the component, give the takeaway with its baseline ("sales are down 12% on the prior week, and one category is 9 of those points"), the comparison used, and the one caveat that changes how to read the figures.
  • When the movement traces to something operational, make the last chip the hand-off to the flow that acts on it.

Preguntas frecuentes

¿Qué hace la habilidad de IA Performance Insights?

Explaining how the business is doing, meaning why a metric moved, which segment drove it, pace against a comparable, progress against goals the operator has stated, and questions over sales, traffic, conversion, and customers or this operation's equivalents that the snapshot alone does not answer. Not needed when the snapshot's headline figures and their change on the prior period answer the question, how a period went included.

¿Por qué usar Performance Insights en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Performance Insights está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Performance Insights en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/anthropics/commerce-agents/tree/main/merchant-agent/skills/performance-insights. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Performance Insights?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Performance Insights?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Performance Insights con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Performance Insights?

Sí. anthropics la ha publicado en GitHub bajo la licencia Apache-2.0. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇