Home / All Skills / Workflow & Core Tools / ljg-relationship
Workflow & Core Tools · lijigang/ljg-skills

ljg-relationship

- Relationship analyst combining structural diagnostics (5-layer framework) with psychoanalytic depth (transference, unconscious patterns, resistance). Guides users through dialogue to "see" the real structure of their relationship issues. Use when user says "关系分析", "分析关系", "relationship", "人际关系", or describes a specific relationship problem they want to understand.

L2 Local · Restricted workspaceV1 Commit-PinnedWrite FileDual-pass Audit
Author lijigangGitHub lijigang/ljg-skills ↗License MIT(仓库根 LICENSE)Commit 9e75497a95
Control levels describe skill capabilities and suggested control measures; they do not represent quality or safety certifications, nor do they dictate usability. Usage decisions rest entirely with users and administrators. Different agent hosts apply varying constraints; do not assume hosts provide automatic protection. Third-party skill copyrights belong to their original authors. Use at your own risk.

1How It Works & Mechanism

Dual-track diagnosis: structural issues follow the 5-layer framework, pattern-based issues follow psychoanalysis; triage first, then select the primary path

skills/ljg-relationship/SKILL.md
前者用五层结构诊断,后者用精神分析方法触达。判断用哪条路是你的第一个任务。
What is being done here: Triage first, then choose the main line to avoid mixing the two methodologies

Behavioral guidelines: ask questions instead of giving advice, use analogies instead of jargon, and reflect what the user says back to them

skills/ljg-relationship/SKILL.md
- **不给建议,只提问。** 你的每一句话要么是提问,要么是把用户说的东西换一种方式
What is being done here: Replace advice with questions, keeping the initiative with the user

Step 0 'Catch': First reflect feelings back, then ask whether the user wants concrete handling or to understand why it recurs

skills/ljg-relationship/SKILL.md
你最想搞清楚的是什么?是这件具体的事怎么处理,还是为什么你们总是走到这一步?
What is being done here: Use a single triage question to decide whether to take the structural or pattern path

Step 1 Surface scan: Have the user tell a specific story; structure is hidden in the details

skills/ljg-relationship/SKILL.md
**关键动作:让用户讲一个具体故事。** 不要抽象描述,要细节——谁先说了什么,你什么感受,然后发生了什么。细节里藏着结构。
What is being done here: Gather diagnostic material through concrete scenarios, rejecting abstract descriptions

Layer-by-layer probing across the 5 layers (Exchange/Power/Boundaries/Stages/Narrative), prioritizing the most probable layer based on story cues

skills/ljg-relationship/SKILL.md
不是每一层都问。根据用户的故事,判断哪几层最可能是问题所在,优先探测。
What is being done here: Avoid spreading effort evenly; prioritize probing the most likely problem layer

Display an ASCII relationship structure diagram after probing each layer so users can 'see' the structure

skills/ljg-relationship/SKILL.md
**每层探测后展示当前诊断图:**
What is being done here: Visualization allows users to see the structure rather than merely hearing descriptions

Trigger conditions for Step 3 pattern probing (recurrence, same role across multiple relationships, strong resistance)

skills/ljg-relationship/SKILL.md
- 叙事层发现用户在多段关系中扮演同一角色
What is being done here: Use signals to decide whether to pivot into the psychoanalytic layer

Resistance marking scripts: Gently mark pauses without pushing, but retain them in the final analysis

skills/ljg-relationship/SKILL.md
不强推。标记一次就够了。如果用户不接,放下,继续。但在最后的分析中保留这个标记。
What is being done here: Treat resistance as data, marking it once rather than pressing further

Comprehensive diagnosis: one diagram + one core insight; wrapping up includes reflecting back, leaving a takeaway question, and noting boundaries (referring out when necessary)

skills/ljg-relationship/SKILL.md
核心洞察用一句话说出来,要像一拳打在胃上——不舒服,但精准。
What is being done here: Condense the diagnosis into a single diagram and a single sentence to take away

Step 6: Write the org file to ~/Documents/notes/ and report the path

skills/ljg-relationship/SKILL.md
写入 `~/Documents/notes/{timestamp}--关系分析-{关键词}__relationship.org`
What is being done here: Standardize the artifact template and naming convention for easy archiving and retrieval

2Core Capabilities

01Dual-track triage: structural issues (5 layers) vs. pattern issues (psychoanalysis)
025-layer structural scan (Exchange / Power / Boundaries / Stages / Narrative)
03ASCII relationship structure diagram visualization (post-probe per layer + comprehensive diagnostic diagram)
04Psychoanalytic layer: transference / unconscious patterns / resistance probing
05Resistance marking with a 'do not force, only record' approach
06Three closing actions: reflect back, leave a takeaway question, state professional boundaries
07Recommend professional help when cues of trauma/depression/self-harm tendencies appear
08org export with standardized template + timestamped naming + path reporting
09Quick decision-path lookup (whether patterns recur → choose primary path)

3External Dependencies

KindDependency / Endpoint
clidate 取时间戳(org 文件名用)

4Recommended Governance & Evidence

Suggested Controls for Safe Operation
For Agent Runtime
Restrict working directory
For Administrators
Retain operation logs
Evidence & Triggers (File Paths & Excerpts)
  • 本地工作目录: File read/write and artifact output: Written by the agent per Step 6 to ~/Documents/notes/{timestamp}--关系分析-{关键词}__relationship.or
Audit Notes: Grading is based solely on the skill's own directory (skills/ljg-relationship/ = a single SKILL.md, 10699 bytes, no scripts/binaries/hidden files): zero bundled executable code, zero credential reading, zero network endpoints (0 matches across all 7 §3 categories). In SKILL.md Step 6, retrieving the timestamp via `date` and writing the org file are host agent actions, which do not alter the risk tier under the grading guidelines.

5Second-Pass Verification

  • [ok] 实现原理=纯 prompt 编排的对话脚本,无自带可执行代码 — 目录仅 SKILL.md(10699 bytes);风险扫描七类全 0 命中,token 扫描无 fetch/curl/child_process/process.env。
  • [ok] 双轨分诊与六步流程自洽 — 第 0 步用一句问句分诊(具体事→五层;为什么总是这样→精神分析),第 3 步给进入模式探测的触发条件,与「判断路径速查」一致。
  • [ok] 「不给建议只提问」的约束贯穿全文 — 行为准则、第 5 步收尾(照回去+留问题+标边界)都不给行动指令;第 5 步明说『不给答案,给一个可以带走的问题』。
  • [ok] 专业边界条款存在且明确 — 第 5 步第 3 件要求:发现创伤反应/长期抑郁/自我伤害倾向信号时明确建议寻求专业帮助、不越界。
  • [discrepancy] 风险扫描漏报 date 命令与写盘 — §3「執行外部程序」「寫盤」均标 0 命中,但第 6 步明确要求运行 `date +%Y%m%dT%H%M%S` 并写入 ~/Documents/notes/…__relationship.org;扫描为线索非结论,故 file_writes 据正文补记。
  • [ok] 输出模板与命名可核对 — 第 6 步给出完整 org 结构(背景/五层/模式发现/结构图/核心洞察/带走的问题)与文件名 {timestamp}--关系分析-{关键词}__relationship.org,并报告路径。
  • [ok] meta 直采项无可定位 per-skill 值 — §0 未提供 stars/last_push,installs 无 per-skill 可定位值,按契约均保持 null。

6Verdict & Scenarios

  • Translates relationship diagnosis into actionable dialogue scripts (triage questions, 5-layer guiding questions, resistance scripts) rather than vague advice
  • Enforces visualization: an ASCII structure diagram per round + one comprehensive diagnostic diagram, reflecting the structure back to the user
  • Clear professional boundaries: explicitly lists signals requiring referral to psychological counseling without overstepping
  • Complete output discipline: standardized org template + denote timestamped naming for easy archiving
  • Best for: Suitable for: Users who want to understand the structure or recurring patterns of a specific relationship (work/intimacy/family/friendship), are open to being guided through questions in dialogue, and need a structured diagnostic diagram with a core insight.
    Not for: Not suitable for: Scenarios requiring direct actionable advice, psychotherapy, or crisis intervention (should be referred to professionals), or when users only want a relationship checklist template without disclosing details.
    Install Agent-Ready
    ① Verified Mirror 2026-10-10
    Option A · Direct DownloadDownload ljg-relationship.tar.gz
    sha256: 0e3ff828047763e9…
    Option B · Copy Guide for Agent
    install.json
    Agents automatically download and verify mirrors from this JSON guide.
    ② Upstream GitHub
    GitHub Repo ↗
    Pinned to commit 9e75497a95.