Logo de Close The Loop

Close The Loop

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

Présentation

Éditeurai-analyst-lab
Dépôtai-analyst-plugin
Nom de la compétenceclose-the-loop
Étoiles
34
Forks
13
Fichiers inclus
Instructions uniquement
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont en simple Markdown, et non en code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Tout dans les instructions

    Tout ce dont le modèle a besoin se trouve dans les instructions : aucun fichier supplémentaire à synchroniser.

  • Open source

    Publiée par ai-analyst-lab sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Close The Loop dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Collez l’URL du dossier de la compétence indiquée ci-dessous, puis confirmez.
    https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/close-the-loop
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter → Via URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

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
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Close The Loop dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Close The Loop dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, Close The Loop n’est pas lié au modèle pour lequel cette compétence a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

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

Foire aux questions

À quoi sert la compétence 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.

Pourquoi utiliser Close The Loop sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Close The Loop se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Close The Loop dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/close-the-loop. TypingMind lit le fichier SKILL.md et l’installe sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Close The Loop ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Close The Loop ?

Autant que vous le souhaitez. Tant qu’un modèle prend en charge les compétences, vous pouvez utiliser Close The Loop avec lui : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Close The Loop est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par ai-analyst-lab sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, modèles de documents ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇