Logotipo de Close The Loop

Close The Loop

Organización
ai-analyst-lab
close-the-loop

End every analysis that makes a recommendation with an actionable follow-up plan. Use ONLY AFTER a specific recommendation ("we should...", "I recommend..."); add the checklist automatically even if not asked. DO NOT use for pre-recommendation exploratory questions like "should we investigate this?" or "what's causing this pattern?"; skip pure exploration with no recommendations.

Descripción general

Editorai-analyst-lab
Repositorioai-analyst-plugin
Nombre de la habilidadclose-the-loop
Estrellas
34
Forks
13
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • 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 ai-analyst-lab en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Close The Loop 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/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/close-the-loop
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde 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/ai-analyst-lab/ai-analyst-plugin.git /tmp/ai-analyst-plugin
mkdir -p .claude/skills
cp -r /tmp/ai-analyst-plugin/ai-analyst-plus/skills/close-the-loop .claude/skills/close-the-loop
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Close The Loop 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 es relevante, 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 Close The Loop 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 Close The Loop 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 relevante, 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á.

Skill: Close-the-Loop

Purpose

Ensure every analysis that includes a recommendation ends with a clear follow-up plan — who decides, what metric tracks success, when to check back, and what to do if the expected outcome doesn't materialize.

When to Use

IMPORTANT: This skill only applies AFTER a recommendation has been made. If the user is still exploring, asking questions, or investigating whether to act, do NOT apply this skill yet.

Triggering Test (use this decision tree)

Ask yourself: "Has a specific recommendation or action item been made?"

  • YES → Apply Close-the-Loop
  • NO → Skip (even if a decision is needed, wait until the recommendation is formulated)

Apply this skill when:

  • The analysis concludes with a recommendation ("we should do X")
  • Root cause investigation identifies a fix ("deploy the hotfix", "roll back v3.2")
  • Opportunity sizing recommends an investment ("invest 2 eng-months to recover $2.1M")
  • Multiple options are presented and a decision is needed ("Option A vs B vs C")
  • The analysis outputs action items that need tracking

Skip this skill when:

  • Pure exploratory analysis with no recommendations ("interesting pattern, still investigating")
  • User is asking whether to investigate ("should we look into this?" — this is premature, no recommendation yet)
  • Questions about causality ("is this correlation or causation?" — wait until you recommend a course of action)
  • Descriptive reports with no proposed actions ("here's what happened last quarter")
  • Data quality assessments (unless they recommend fixes)
  • Answering factual questions ("what was revenue last month?")

Common False Positives (Do NOT trigger on these)

These sound like decisions but are NOT yet ready for close-the-loop:

  • "Should we investigate further?" — This is asking whether to investigate, not recommending a product change
  • "What do you think is causing this?" — Exploratory question, no recommendation yet
  • "Is this worth looking into?" — User is seeking direction, not ready to track an action
  • "We found a pattern — what should we do?" — The recommendation hasn't been formulated yet

The key test: Has a specific recommendation been made? If the analysis is still figuring out what to recommend, skip Close-the-Loop. Come back to it after the recommendation is clear.

Instructions

The Close-the-Loop Checklist

Append this checklist to the end of every analysis report or presentation that includes a recommendation:

markdown
## Close the Loop

### Decision
- **Recommendation:** [What the analysis recommends]
- **Decision maker:** [Who will approve/reject this — name or role]
- **Decision deadline:** [When this needs to be decided by]
- **Decision made:** [ ] Yes / [ ] No / [ ] Deferred
- **Decision outcome:** [What was actually decided — fill in after]

### Success Tracking
- **Success metric:** [What metric will tell us the recommendation worked?]
- **Current baseline:** [What is the metric today?]
- **Target:** [What value do we expect if the recommendation works?]
- **Measurement window:** [How long after implementation before we evaluate?]
- **Data source:** [Where to pull the metric]

### Follow-Up
- **Check-in date:** [When to evaluate whether the recommendation worked]
- **Owner:** [Who is responsible for the follow-up check]
- **If successful:** [What's the next step — scale it, document it, move to next priority]
- **If unsuccessful:** [What's the fallback — investigate further, try alternative, accept the status quo]
- **If inconclusive:** [What additional data or time is needed before deciding]

### Analysis Provenance
- **Analysis date:** [When this analysis was completed]
- **Analyst:** [Who produced it]
- **Key assumptions:** [1-3 assumptions the recommendation depends on]
- **Confidence level:** [HIGH / MEDIUM / LOW]
- **What would change the recommendation:** [Under what conditions should we revisit]

Why Each Field Matters

FieldWhy It Matters
Decision makerWithout an owner, recommendations float. Someone must say yes or no.
Decision deadlineWithout a deadline, the decision gets deferred indefinitely. Most analytical insights have a shelf life.
Success metricWithout a success metric, you can't tell if the recommendation worked.
Current baselineWithout a baseline, you can't measure improvement. "Conversion improved" means nothing without "from what?"
TargetWithout a target, any change looks like success. Set a bar.
Measurement windowSome changes take weeks to show results. Define when to check.
Check-in dateThe follow-up is the most commonly skipped step. Set a date.
If unsuccessfulPre-commit to the fallback so you don't rationalize a failed recommendation after the fact.

Filling in the Checklist

What you can fill in (as the analyst):

  • Recommendation (from the analysis)
  • Success metric, baseline, and target (from the data)
  • Measurement window (based on typical lag for this metric)
  • Key assumptions and confidence level (from the analysis)
  • What would change the recommendation (from sensitivity analysis, if available)

What the user must fill in (prompt them):

  • Decision maker
  • Decision deadline
  • Owner for follow-up
  • Check-in date

When the user must fill in fields, prompt them explicitly:

This analysis recommends [X]. To close the loop, I need to know:

  1. Who will decide whether to proceed? (decision maker)
  2. By when does this need to be decided? (deadline)
  3. Who will check whether it worked? (follow-up owner)

Handling Multiple Recommendation Options

When the analysis presents multiple mutually exclusive options (Option A, B, or C), structure the checklist to handle conditional success tracking:

markdown
## Close the Loop

### Decision
- **Recommendation:** Three options presented:
  - **Option A:** [Description + key metrics]
  - **Option B:** [Description + key metrics]
  - **Option C:** [Description + key metrics]
- **Decision maker:** [Who will choose between options]
- **Decision deadline:** [When to decide]
- **Decision made:** [ ] Option A / [ ] Option B / [ ] Option C / [ ] Hybrid / [ ] Deferred
- **Decision outcome:** _[pending]_

### Success Tracking

#### If Option A is selected
- **Success metric:** [metric specific to Option A]
- **Current baseline:** [value]
- **Target:** [value]
- **Measurement window:** [timeframe]

#### If Option B is selected
- **Success metric:** [metric specific to Option B]
- **Current baseline:** [value]
- **Target:** [value]
- **Measurement window:** [timeframe]

[Repeat for each option]

### Follow-Up
- **Check-in date:** [varies by option selected]
- **Owner:** [same across options or varies]
- **If successful (Option A):** [what to do next]
- **If successful (Option B):** [what to do next]
- **If unsuccessful (any option):** [fallback plan that works regardless of choice]

This ensures each option has clear, measurable success criteria before the decision is made.

Connecting to Opportunity Sizing

If the analysis used the Opportunity Sizer agent, connect the success tracking to the sizing model:

markdown
### Success Tracking (from Opportunity Sizing)
- **Success metric:** [same as the primary metric in the sizing model]
- **Current baseline:** [from the base case computation]
- **Target (base case):** [from the base case impact]
- **Target (pessimistic):** [from the pessimistic scenario]
- **Break-even threshold:** [from the break-even analysis — "if improvement < X%, not worth it"]
- **Measurement window:** [long enough to observe the expected impact]

This directly links the "was it worth it?" question to the sizing model's assumptions.

Integration with Other Skills

Close-the-Loop works best when combined with these other analytical skills:

  • Before Close-the-Loop:

    • Triangulation: Validate findings before committing to a follow-up plan. If the analysis hasn't been cross-checked, note it in the confidence level.
    • Stress Test: Pressure-test the recommendation for methodological flaws before setting success metrics.
  • During Close-the-Loop:

    • Guardrails Awareness: If the recommendation has positive expected impact, check for potential negative side effects. Include guardrail metrics in Success Tracking.
  • After Close-the-Loop:

    • Archive Analysis: Save the analysis with its close-the-loop plan to the knowledge system for future reference.

When applying Close-the-Loop, check whether these skills have been applied. If not, flag it in the Analysis Provenance confidence level (e.g., "MEDIUM — findings not yet triangulated").

Examples

Example 1: Bug Fix Recommendation

markdown
## Close the Loop

### Decision
- **Recommendation:** Deploy hotfix v2.3.1 to resolve iOS payment processing regression
- **Decision maker:** Engineering lead (Priya)
- **Decision deadline:** End of this sprint (Feb 21)
- **Decision made:** [ ] Yes / [ ] No / [ ] Deferred
- **Decision outcome:** _[pending]_

### Success Tracking
- **Success metric:** Weekly support ticket volume (payment category, iOS)
- **Current baseline:** 89 tickets/week (anomaly period average)
- **Target:** <40 tickets/week (pre-anomaly baseline)
- **Measurement window:** 2 weeks after hotfix deploy
- **Data source:** {schema}.support_tickets, filtered to category='payment' AND device='iOS'

### Follow-Up
- **Check-in date:** 2 weeks after deploy
- **Owner:** _[to be assigned]_
- **If successful:** Document the incident, update monitoring to catch similar regressions earlier
- **If unsuccessful:** Investigate whether the root cause is actually v2.3.0 or a deeper issue; escalate to senior engineering
- **If inconclusive:** Extend measurement window to 4 weeks; check for confounding events

### Analysis Provenance
- **Analysis date:** 2026-02-14
- **Analyst:** AI Product Analyst
- **Key assumptions:** (1) The v2.3.0 release is the sole cause of the ticket spike, (2) The hotfix fully resolves the payment processing issue, (3) No other changes affect payment tickets during the measurement window
- **Confidence level:** HIGH
- **What would change the recommendation:** If the v2.3.0 → ticket spike correlation breaks down when controlling for a third variable, or if the hotfix was already deployed and tickets didn't recover

Example 2: Strategic Recommendation

markdown
## Close the Loop

### Decision
- **Recommendation:** Invest in mobile checkout optimization (projected $480K annual revenue impact)
- **Decision maker:** VP Product
- **Decision deadline:** Q2 planning (Mar 15)
- **Decision made:** [ ] Yes / [ ] No / [ ] Deferred
- **Decision outcome:** _[pending]_

### Success Tracking
- **Success metric:** Mobile checkout conversion rate
- **Current baseline:** 2.1%
- **Target (base case):** 3.4% (+62%)
- **Target (pessimistic):** 2.7% (+29%)
- **Break-even threshold:** 2.3% (+10%) — below this, the investment ROI is negative
- **Measurement window:** 8 weeks after changes ship (4 weeks ramp + 4 weeks measurement)
- **Data source:** {schema}.events (checkout_viewed → purchase_completed, device='mobile')

### Follow-Up
- **Check-in date:** 8 weeks after ship
- **Owner:** _[to be assigned]_
- **If successful:** Expand optimization to tablet; investigate next-largest conversion bottleneck
- **If unsuccessful:** Conduct user research on mobile checkout friction; consider A/B testing specific elements
- **If inconclusive:** Extend to 12 weeks; segment by device model and OS version for more signal

### Analysis Provenance
- **Analysis date:** 2026-02-14
- **Analyst:** AI Product Analyst
- **Key assumptions:** (1) Mobile conversion gap is due to UX friction, not user intent differences, (2) 30% of the gap is closeable through checkout optimization, (3) $47 AOV remains stable
- **Confidence level:** MEDIUM
- **What would change the recommendation:** If mobile users have fundamentally different purchase intent (not just friction), or if the AOV for mobile is significantly lower than desktop, the revenue projection would change

Anti-Patterns

  1. Never end an analysis with just a recommendation — a recommendation without follow-up tracking is a suggestion that gets forgotten
  2. Never skip the baseline — "improve conversion" is meaningless without "from 2.1%"
  3. Never set a target without a measurement window — conversion could improve in 2 days or 2 months; define when to check
  4. Never leave the decision maker blank — if no one owns the decision, no one makes it
  5. Never skip the "if unsuccessful" plan — pre-committing to a fallback prevents sunk-cost rationalization
  6. Never set the check-in date too far out — if the measurement window is 2 weeks, the check-in should be 2-3 weeks after ship, not 6 months later

Preguntas frecuentes

¿Qué hace la habilidad de IA Close The Loop?

End every analysis that makes a recommendation with an actionable follow-up plan. Use ONLY AFTER a specific recommendation ("we should...", "I recommend..."); add the checklist automatically even if not asked. DO NOT use for pre-recommendation exploratory questions like "should we investigate this?" or "what's causing this pattern?"; skip pure exploration with no recommendations.

¿Por qué usar Close The Loop en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Close The Loop 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 Close The Loop en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/close-the-loop. TypingMind lee su archivo SKILL.md y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Close The Loop?

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 Close The Loop?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Close The Loop 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 Close The Loop?

Sí. ai-analyst-lab la ha publicado en GitHub bajo la licencia MIT. 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 todos

Crea ya tu propio espacio de trabajo IA

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