feat: initial cog release — cognitive architecture for Claude Code
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
88
.claude/commands/foresight.md
Normal file
88
.claude/commands/foresight.md
Normal file
@@ -0,0 +1,88 @@
|
||||
Use this skill for strategic foresight — connecting dots across domains and surfacing one high-value nudge. Trigger if the user says "foresight", "what should I be thinking about", "what am I missing", "strategic nudge", "connect the dots", or similar forward-looking synthesis requests.
|
||||
|
||||
**This is NOT /reflect.** Reflect = past-facing (mines interactions, fixes contradictions). Foresight = future-facing (scans broadly, projects trajectories, surfaces opportunities).
|
||||
|
||||
**This is NOT /evolve.** Evolve = system architecture. Foresight = life/work strategy.
|
||||
|
||||
## Domain
|
||||
|
||||
Cross-domain strategic synthesis — personal, work, projects, health, family. The value is in the connections *between* domains.
|
||||
|
||||
## Memory Files
|
||||
|
||||
Read broadly:
|
||||
|
||||
1. Read `memory/domains.yml` to discover all active domains
|
||||
2. For each domain, read `hot-memory.md` and `action-items.md` (if they exist)
|
||||
3. Also read:
|
||||
- `memory/hot-memory.md` (cross-domain strategic context)
|
||||
- `memory/personal/entities.md` (upcoming birthdays, relationships)
|
||||
- `memory/personal/calendar.md` (what's coming up)
|
||||
- `memory/personal/health.md` (health trajectory)
|
||||
- `memory/cog-meta/briefing-bridge.md` (housekeeping findings)
|
||||
- Recent observations across all domains (last 7 days)
|
||||
|
||||
## Process
|
||||
|
||||
### 1. Cross-Domain Convergence Scan
|
||||
|
||||
Look for topics, people, or themes appearing in 2+ domains simultaneously. These are convergence points — where effort in one area compounds into another.
|
||||
|
||||
### 2. Velocity & Stall Detection
|
||||
|
||||
Scan action-items across all domains:
|
||||
- **Accelerating** — multiple updates in the last week
|
||||
- **Stalling** — no movement in 2+ weeks despite not being deferred
|
||||
- **Dormant** — domain-level silence (0 observations in 4+ weeks)
|
||||
|
||||
### 3. Timing Awareness
|
||||
|
||||
Read calendar and entities for upcoming events in the next 2-4 weeks. Look for timing windows — things that should start NOW to be ready later.
|
||||
|
||||
### 4. Pattern Projection
|
||||
|
||||
Read patterns and recent observations. Project forward: "If this continues for 2 more weeks, what happens?"
|
||||
|
||||
**Scenario candidate detection**: If a pattern reveals a genuine fork — two different paths with real stakes and a closing window — flag it as a scenario candidate.
|
||||
|
||||
### 5. Write One Strategic Nudge
|
||||
|
||||
Synthesize into **one nudge**. Not a list. One thing.
|
||||
|
||||
The nudge must:
|
||||
- **Cite at least 2 source files**
|
||||
- **Be something the user hasn't explicitly asked about**
|
||||
- **Be actionable** — not "think about X" but "do Y because of X and Z"
|
||||
- **Connect dots**
|
||||
|
||||
Write to `memory/cog-meta/foresight-nudge.md`:
|
||||
|
||||
```markdown
|
||||
# Foresight Nudge
|
||||
<!-- Auto-generated by strategic foresight. -->
|
||||
<!-- Last updated: YYYY-MM-DD -->
|
||||
|
||||
## Signal
|
||||
<What you noticed — from 2+ domains>
|
||||
|
||||
## Insight
|
||||
<Why it matters>
|
||||
|
||||
## Suggested Action
|
||||
<One concrete thing to do>
|
||||
|
||||
---
|
||||
Sources: [[file1]], [[file2]], [[file3]]
|
||||
```
|
||||
|
||||
## Rules
|
||||
|
||||
1. **Read-only** — Foresight NEVER edits memory files. Writes ONLY to `memory/cog-meta/foresight-nudge.md`.
|
||||
2. **One nudge, not a list** — force prioritization.
|
||||
3. **Evidence-based** — every nudge cites at least 2 source files.
|
||||
4. **Forward-looking** — avoid rehashing yesterday.
|
||||
5. **Cross-domain preferred** — connecting personal + work is higher value than single-domain.
|
||||
|
||||
## Activation
|
||||
|
||||
Read broadly across all domains. Find the one thing worth saying.
|
||||
Reference in New Issue
Block a user