pattern-mirror

Detect repeating interpersonal patterns across archived relationship records.

1|1|Updated Mar 29, 2026
One-click install
npx skills add https://github.com/yuyuxinli/moodcoco --skill pattern-mirror
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pattern-mirror
Source: https://github.com/yuyuxinli/moodcoco/tree/main/ai-companion/skills/pattern-mirror
Command: npx skills add https://github.com/yuyuxinli/moodcoco --skill pattern-mirror

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps users notice and reflect on repeating interpersonal patterns across multiple relationships by using concrete historical events and the user's own words so the insight feels self-discovered rather than diagnosed.

Core Features & Use Cases

  • Multi-phase, safety-first flow: captures and stabilizes emotion before any pattern presentation, with strict frequency and cooling rules to avoid harm.
  • Pattern matching and evidence-first presentation: compares current conversation snippets with historical people/*.md records using a pattern engine and presents only event-based matches (time/trigger/reaction).
  • Operational integrations: reads and writes the user's ## 模式日志 in user profile, can run pattern_engine.py and growth_tracker.py for structure, and optionally generates Canvas timeline or comparison cards to visualize matches.
  • Use case: When a user describes relationship pain for the third time, invoke the Skill to gently mirror similar past events and ask guiding questions that help the user integrate the insight safely.

Quick Start

Ask the agent to gently compare your current relationship moment with past relationships and show any repeating patterns using your own words.

Frequently Asked Questions about pattern-mirror

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect repeating relationship patterns from my past conversations?

To detect repeating relationship patterns, the Skill compares current conversation snippets with archived people/*.md records using a pattern matching engine to surface event-based matches. It identifies recurring triggers, reactions, and timelines across multiple relationship histories.

What is the best way to track emotional growth and relationship history over time?

Tracking emotional growth and relationship history is achieved by writing insights to a ## 模式日志 in your user profile and running growth_tracker.py. This generates a structured longitudinal record of your interpersonal patterns and emotional development.

How many archived relationships do I need before I can analyze interpersonal patterns?

Analyzing interpersonal patterns requires at least two archived relationships and multiple past conversations. The Skill needs this minimum history to find concrete event-based matches and applies emotional-safety checks before presenting any insights.

Can I visualize repeating relationship patterns on a timeline?

Visualizing repeating relationship patterns on a timeline is possible by optionally generating Canvas timeline or comparison cards. This maps matched events from your people/*.md records into a visual format for easier reflection.

When should I avoid using pattern detection during emotional conversations?

Avoid using pattern detection during highly emotional conversations because the Skill enforces strict frequency and cooling rules. It operates only during calm conversational windows to ensure emotional safety when surfacing past relationship events.