一键导入
detect-tensions
Detect productive contradictions between notes - high semantic similarity with opposing conclusions that represent synthesis opportunities
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Detect productive contradictions between notes - high semantic similarity with opposing conclusions that represent synthesis opportunities
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | detect-tensions |
| description | Detect productive contradictions between notes - high semantic similarity with opposing conclusions that represent synthesis opportunities |
| allowed-tools | ["Bash","Read"] |
| user-invocable | true |
| automation | gated |
| metadata | {"version":"1.1","updated":"2026-06-29T00:00:00.000Z","changelog":["1.1: Document detector blind spots - filter the false-positive flood (boilerplate/near-duplicate pairs) and probe manually for cross-vocabulary tensions the similarity+keyword detector cannot see (output is candidates, not proof of absence).","1.0: Initial version"]} |
ℹ️ First, set expectations: before anything else, print one short line with this skill's version and its most recent change - the top entry of
metadata.changelogabove - e.g.detect-tensions vX.Y - recent: <summary>. Then proceed.
Scans the knowledge base for productive contradictions: note pairs with high semantic similarity but opposing conclusions. These tension zones are where the most valuable articles and frameworks emerge.
| Source | Location | Read | Write | Description |
|---|---|---|---|---|
| Enrichments | resources/brain-graph/data/graph_enrichments.json | ✓ | ✓ | Tension records saved |
| FAISS Index | resources/local-brain-search/data/brain.faiss | ✓ | Similarity search | |
| Metadata | resources/local-brain-search/data/brain_metadata.pkl | ✓ | Note content |
Default thresholds (similarity > 0.75, divergence > 0.3):
cd $PROJECT_ROOT/resources/brain-graph
../local-brain-search/venv/bin/python cli.py tensions
Broader search (more results, lower quality):
../local-brain-search/venv/bin/python cli.py tensions --similarity 0.70 --divergence 0.2
The raw count is dominated by false positives - discard them before presenting:
Keep only pairs that assert genuinely opposing conclusions about the same question. For each surviving tension, explain:
../local-brain-search/venv/bin/python cli.py status --json
Check tension_count for total tracked tensions.
The detector pairs notes by cosine similarity (floor ~0.70) and scores opposition with a keyword heuristic (negation vs. assertion words). It is therefore structurally blind to the most valuable tensions: genuine contradictions are usually cross-vocabulary - two frameworks reaching opposite conclusions in different language - which fall BELOW the similarity floor and read too assertively for the keyword check. A thin or empty result does NOT mean no tensions exist; this tool surfaces candidates, it does not certify absence.
Compensate by manually checking known opposing-framework pairs even when they score below threshold, e.g.:
Treat these as candidate tension edges regardless of the detector's similarity score.
Root-cause fix (code, out of scope for this playbook): durable precision needs
resources/brain-graph/tension.pyto replace the keyword stance heuristic with an LLM stance-classifier on a shared proposition, lower the similarity floor with theme/MOC-anchored cross-cluster pairing, and exclude index/changelog-layer nodes from the scan.
Tensions are features, not bugs. The system NEVER auto-resolves tensions. It surfaces them as the most productive intellectual territory in the vault.
Autonomous AI crystallization - synthesizes converged thinking topics into ai-inferred notes in a dedicated folder. Never touches the human-curated permanent knowledge base and never changes a topic's status, so manual crystallization stays available to the user.
Analyze knowledge base structure and update the knowledge-base-analysis.md report
Discover non-obvious cross-domain connections through random sampling and pattern analysis
Run a full coherence sweep across the Brain Dependency Graph - computes staleness, lifecycle transitions, structural health, and generates a report
Compute lifecycle scores for all insight and framework notes - detect which notes are crystallizing or becoming generative
Create long-form articles from knowledge base insights. Use when writing articles, blog posts, Substack content, or synthesizing knowledge into publishable content. Includes tone of voice, structure templates, and knowledge base integration.