liteagents 2.4.7 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -8
- package/docs/LONG_TERM_MEMORY.md +449 -0
- package/package.json +2 -2
- package/packages/ampcode/AGENT.md +3 -1
- package/packages/ampcode/agents/context-builder.md +14 -12
- package/packages/ampcode/commands/docs-builder/templates.md +29 -0
- package/packages/ampcode/commands/docs-builder.md +54 -3
- package/packages/ampcode/commands/friction/friction.js +2168 -0
- package/packages/ampcode/commands/friction.md +139 -0
- package/packages/ampcode/commands/remember.md +110 -0
- package/packages/claude/CLAUDE.md +3 -1
- package/packages/claude/agents/context-builder.md +7 -4
- package/packages/claude/commands/friction/friction.js +2168 -0
- package/packages/claude/commands/friction.md +139 -0
- package/packages/claude/commands/remember.md +110 -0
- package/packages/claude/skills/docs-builder/SKILL.md +53 -2
- package/packages/claude/skills/docs-builder/references/templates.md +29 -0
- package/packages/droid/AGENTS.md +3 -1
- package/packages/droid/commands/docs-builder/templates.md +29 -0
- package/packages/droid/commands/docs-builder.md +54 -3
- package/packages/droid/commands/friction/friction.js +2168 -0
- package/packages/droid/commands/friction.md +139 -0
- package/packages/droid/commands/remember.md +110 -0
- package/packages/droid/droids/context-builder.md +15 -13
- package/packages/opencode/AGENTS.md +3 -1
- package/packages/opencode/agent/context-builder.md +14 -12
- package/packages/opencode/command/docs-builder/templates.md +29 -0
- package/packages/opencode/command/docs-builder.md +54 -3
- package/packages/opencode/command/friction/friction.js +2168 -0
- package/packages/opencode/command/friction.md +139 -0
- package/packages/opencode/command/remember.md +110 -0
- package/packages/opencode/opencode.jsonc +8 -0
- package/packages/subagentic-manual.md +33 -15
- package/packages/ampcode/README.md +0 -17
- package/packages/claude/README.md +0 -23
- package/packages/droid/README.md +0 -17
- package/packages/opencode/README.md +0 -17
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: friction
|
|
3
|
+
description: Analyze session behavior patterns
|
|
4
|
+
usage: /friction <sessions-path>
|
|
5
|
+
argument-hint: <sessions-path>
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Analyze Claude Code session logs for friction signals, behavioral patterns, and failure antigens.
|
|
9
|
+
|
|
10
|
+
**Guardrails**
|
|
11
|
+
- Favor straightforward, minimal implementations first and add complexity only when requested or clearly required.
|
|
12
|
+
- Keep changes tightly scoped to the requested outcome.
|
|
13
|
+
|
|
14
|
+
**Argument: sessions-path (required)**
|
|
15
|
+
|
|
16
|
+
Path to the OpenCode sessions directory containing JSONL files.
|
|
17
|
+
- Example: `/friction ~/.config/opencode/projects/-home-hamr-PycharmProjects-aurora/`
|
|
18
|
+
- If no argument provided, ask the user for the path. Do NOT guess.
|
|
19
|
+
|
|
20
|
+
**What it does**
|
|
21
|
+
|
|
22
|
+
Runs friction analysis on session JSONL files and writes results to `.opencode/friction/` in the current project.
|
|
23
|
+
|
|
24
|
+
**Steps**
|
|
25
|
+
|
|
26
|
+
1. **Validate path**
|
|
27
|
+
- The argument `$ARGUMENTS` is the sessions path
|
|
28
|
+
- Verify the path exists and contains `.jsonl` files
|
|
29
|
+
- If path doesn't exist or has no JSONL files, tell the user and stop
|
|
30
|
+
- Count total session files found
|
|
31
|
+
|
|
32
|
+
2. **Run friction.js** (bundled at `commands/friction/friction.js`)
|
|
33
|
+
- Look for friction.js in order:
|
|
34
|
+
1. `~/.config/opencode/command/friction/friction.js` (installed)
|
|
35
|
+
2. `packages/opencode/command/friction/friction.js` (package development)
|
|
36
|
+
- If found, run: `node <path-to-friction.js> "$ARGUMENTS"`
|
|
37
|
+
- If it does NOT exist anywhere, fall back to running the analysis manually (step 3)
|
|
38
|
+
- If friction.js succeeds, skip to step 7
|
|
39
|
+
|
|
40
|
+
3. **Manual analysis fallback** (only if friction.js not available)
|
|
41
|
+
- For each `.jsonl` session file in the path:
|
|
42
|
+
- Read the file
|
|
43
|
+
- Extract signals using these patterns:
|
|
44
|
+
|
|
45
|
+
| Signal | Weight | How to detect |
|
|
46
|
+
|---|---|---|
|
|
47
|
+
| `user_intervention` | 10 | User message contains `/stash` |
|
|
48
|
+
| `session_abandoned` | 10 | Last 3 turns have friction > 15 and no `exit_success` |
|
|
49
|
+
| `false_success` | 8 | LLM text contains "done"/"complete"/"fixed" AND next tool result has error |
|
|
50
|
+
| `no_resolution` | 8 | Session has `exit_error` signals but no `exit_success` after them |
|
|
51
|
+
| `tool_loop` | 6 | Same tool called 3+ times with identical arguments |
|
|
52
|
+
| `rapid_exit` | 6 | <3 turns AND ends with error |
|
|
53
|
+
| `interrupt_cascade` | 5 | Multiple `request_interrupted` within 60 seconds |
|
|
54
|
+
| `user_curse` | 5 | User message matches profanity patterns |
|
|
55
|
+
| `request_interrupted` | 2.5 | Turn has `is_interrupted: true` or ESC/Ctrl+C signal |
|
|
56
|
+
| `exit_error` | 1 | Tool result has non-zero exit code |
|
|
57
|
+
| `repeated_question` | 1 | User asks same question twice (fuzzy match) |
|
|
58
|
+
| `long_silence` | 0.5 | >10 minute gap between turns |
|
|
59
|
+
| `user_negation` | 0.5 | User message starts with "no", "wrong", "didn't work" |
|
|
60
|
+
| `compaction` | 0.5 | System message indicates context compaction |
|
|
61
|
+
|
|
62
|
+
4. **Score each session**
|
|
63
|
+
- Accumulate weighted signal scores (no subtraction, only accumulation)
|
|
64
|
+
- Track peak friction score
|
|
65
|
+
- Classify session quality:
|
|
66
|
+
- **BAD**: has `user_intervention` or `session_abandoned`
|
|
67
|
+
- **FRICTION**: has `user_curse` or `false_success`
|
|
68
|
+
- **ROUGH**: peak friction >= 15, no intervention
|
|
69
|
+
- **OK**: low friction, completed normally
|
|
70
|
+
- **ONE-SHOT**: single turn, not interactive (filter out)
|
|
71
|
+
|
|
72
|
+
5. **Aggregate stats**
|
|
73
|
+
- Count sessions by quality
|
|
74
|
+
- Calculate BAD rate
|
|
75
|
+
- Identify worst and best sessions
|
|
76
|
+
- Daily trend if sessions span multiple days
|
|
77
|
+
|
|
78
|
+
6. **Extract antigen candidates from BAD sessions**
|
|
79
|
+
- For each BAD session, extract:
|
|
80
|
+
- Anchor signal (what triggered BAD classification)
|
|
81
|
+
- Tool sequence around the failure
|
|
82
|
+
- Error messages
|
|
83
|
+
- Pattern description
|
|
84
|
+
- Write as antigen candidates
|
|
85
|
+
|
|
86
|
+
7. **Write output to `.opencode/friction/`**
|
|
87
|
+
- Create `.opencode/friction/` directory if it doesn't exist
|
|
88
|
+
- Write these files:
|
|
89
|
+
- `friction_analysis.json` — per-session breakdown (quality, peak, signals)
|
|
90
|
+
- `friction_summary.json` — aggregate stats, verdict, daily trend
|
|
91
|
+
- `friction_raw.jsonl` — all raw signals with timestamps
|
|
92
|
+
- `antigen_candidates.json` — raw extracted failure patterns
|
|
93
|
+
- `antigen_clusters.json` — clustered patterns (primary artifact for /remember)
|
|
94
|
+
- `antigen_review.md` — human-readable clustered review
|
|
95
|
+
|
|
96
|
+
8. **Report to user**
|
|
97
|
+
- Sessions analyzed count
|
|
98
|
+
- BAD / FRICTION / ROUGH / OK counts
|
|
99
|
+
- BAD rate percentage
|
|
100
|
+
- Worst session ID and peak friction
|
|
101
|
+
- Path to `antigen_review.md` for review
|
|
102
|
+
- Remind: run `/remember` to consolidate into project memory
|
|
103
|
+
|
|
104
|
+
**Output format for antigen_review.md**
|
|
105
|
+
|
|
106
|
+
```markdown
|
|
107
|
+
# Friction Antigen Clusters
|
|
108
|
+
|
|
109
|
+
Generated: [date]
|
|
110
|
+
BAD sessions: [count] | Raw candidates: [count] | Clusters: [count]
|
|
111
|
+
|
|
112
|
+
## Cluster Summary
|
|
113
|
+
|
|
114
|
+
| # | Signal | Tool Pattern | Count | Sessions | Score | Median Peak |
|
|
115
|
+
|---|--------|-------------|-------|----------|-------|-------------|
|
|
116
|
+
| 1 | false_success | Bash,Bash | 35 | 23 | 280 | 73 |
|
|
117
|
+
| 2 | user_intervention | (none) | 34 | 24 | 340 | 65 |
|
|
118
|
+
|
|
119
|
+
## Cluster 1: false_success | Bash,Bash
|
|
120
|
+
|
|
121
|
+
**Occurrences:** 35 across 23 sessions | **Score:** 280
|
|
122
|
+
|
|
123
|
+
### User Context (what the user said)
|
|
124
|
+
> [actual user quote from session]
|
|
125
|
+
|
|
126
|
+
### Errors
|
|
127
|
+
[error messages if any]
|
|
128
|
+
|
|
129
|
+
### Files involved
|
|
130
|
+
- [file paths]
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
**File locations**
|
|
134
|
+
- Design doc: `docs/02-features/memory/LONG_TERM_MEMORY.md`
|
|
135
|
+
- Input: JSONL session files from `$ARGUMENTS` path
|
|
136
|
+
- Output: `.opencode/friction/` (project-local)
|
|
137
|
+
- JS script: `commands/friction/friction.js` (bundled alongside this command)
|
|
138
|
+
- Python equivalent: `scripts/friction.py` (aurora users, same logic)
|
|
139
|
+
- Manual fallback: built into this command if friction.js unavailable
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: remember
|
|
3
|
+
description: Consolidate stashes + friction into project memory
|
|
4
|
+
usage: /remember
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
Consolidate session stashes and friction analysis into a single project-local MEMORY.md, then inject into AGENTS.md.
|
|
8
|
+
|
|
9
|
+
**Guardrails**
|
|
10
|
+
- Favor straightforward, minimal implementations first and add complexity only when requested or clearly required.
|
|
11
|
+
- Keep changes tightly scoped to the requested outcome.
|
|
12
|
+
|
|
13
|
+
**What it does**
|
|
14
|
+
|
|
15
|
+
Reads all raw material (`.opencode/stash/*.md` + `.opencode/friction/antigen_clusters.json`), extracts durable facts, episodes, and behavioral preferences into a single `.opencode/memory/MEMORY.md`, then injects a managed memory section into `AGENTS.md`.
|
|
16
|
+
|
|
17
|
+
**Steps**
|
|
18
|
+
|
|
19
|
+
1. **Gather sources**
|
|
20
|
+
- Read all `.opencode/stash/*.md` files in the current project
|
|
21
|
+
- Check for friction output at `.opencode/friction/antigen_clusters.json` (preferred) or `.opencode/friction/antigen_review.md` (fallback)
|
|
22
|
+
- Read existing `.opencode/memory/MEMORY.md` if it exists — create dir if missing
|
|
23
|
+
- Read processed manifest at `.opencode/memory/.processed` — skip already-processed stashes
|
|
24
|
+
- If no unprocessed stashes, report "nothing to consolidate" and stop
|
|
25
|
+
|
|
26
|
+
2. **Extract from unprocessed stashes** (use Task tool with sonnet model for each)
|
|
27
|
+
- For each unprocessed stash, call sonnet to extract:
|
|
28
|
+
- **FACTS** (atomic, one-line): stable preferences, decisions, corrections, explicit "remember this"
|
|
29
|
+
- **EPISODE** (3-5 bullet narrative): what was the goal, what was tried, outcome, lesson
|
|
30
|
+
- **SKIP**: code details, file paths, errors, mechanical steps, LLM responses
|
|
31
|
+
- Collect all new facts and episodes
|
|
32
|
+
|
|
33
|
+
3. **Merge into MEMORY.md**
|
|
34
|
+
- Read existing `.opencode/memory/MEMORY.md` and parse its three sections (## Facts, ## Episodes, ## Preferences)
|
|
35
|
+
- **Facts section**: call sonnet with existing facts + newly extracted facts
|
|
36
|
+
- Rules: new updates replace old, contradictions keep new version, duplicates dropped
|
|
37
|
+
- Keep facts atomic, one line each
|
|
38
|
+
- **Episodes section**: append new episode entries (append-only, timestamped, no dedup)
|
|
39
|
+
- **Preferences section**: only update if friction output exists (step 4)
|
|
40
|
+
- Write merged result to `.opencode/memory/MEMORY.md` in this format:
|
|
41
|
+
|
|
42
|
+
```markdown
|
|
43
|
+
# Project Memory
|
|
44
|
+
> Auto-generated by /remember. Do not edit manually.
|
|
45
|
+
|
|
46
|
+
## Facts
|
|
47
|
+
- [atomic fact 1]
|
|
48
|
+
- [atomic fact 2]
|
|
49
|
+
|
|
50
|
+
## Episodes
|
|
51
|
+
### YYYY-MM-DD - [title]
|
|
52
|
+
- [bullet narrative]
|
|
53
|
+
|
|
54
|
+
### YYYY-MM-DD - [title]
|
|
55
|
+
- [bullet narrative]
|
|
56
|
+
|
|
57
|
+
## Preferences
|
|
58
|
+
### High Confidence
|
|
59
|
+
- [pattern] (evidence: [count] observations)
|
|
60
|
+
|
|
61
|
+
### Medium Confidence
|
|
62
|
+
- [pattern] (evidence: [count] observations)
|
|
63
|
+
|
|
64
|
+
### Low Confidence
|
|
65
|
+
- [pattern] (evidence: [count] observations)
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
4. **Distill friction into preferences** (only if friction output exists)
|
|
69
|
+
- Read `.opencode/friction/antigen_clusters.json` — this contains clustered failure patterns with counts, user_context quotes, and tool sequences
|
|
70
|
+
- For the **top 10 clusters** (by score), extract the `contexts` field — these are the actual user messages that show behavioral patterns
|
|
71
|
+
- Call sonnet with:
|
|
72
|
+
- The top 10 clusters (signal, tool_pattern, count, sessions, contexts, errors)
|
|
73
|
+
- Existing Preferences section from MEMORY.md
|
|
74
|
+
- Extract BEHAVIORAL preferences (patterns demonstrated, not stated) — the user_context quotes are the primary evidence
|
|
75
|
+
- Confidence tiers:
|
|
76
|
+
- **High Confidence**: 5+ observations — available via @MEMORY.md
|
|
77
|
+
- **Medium Confidence**: 3+ observations — observing, not loaded
|
|
78
|
+
- **Low Confidence**: <3 observations — needs more data
|
|
79
|
+
- Promote/demote based on new evidence
|
|
80
|
+
- Update the Preferences section in MEMORY.md
|
|
81
|
+
|
|
82
|
+
5. **Inject memory reference into AGENTS.md**
|
|
83
|
+
- Compose the section between `<!-- MEMORY:START -->` and `<!-- MEMORY:END -->` markers:
|
|
84
|
+
```
|
|
85
|
+
<!-- MEMORY:START -->
|
|
86
|
+
@MEMORY.md
|
|
87
|
+
<!-- MEMORY:END -->
|
|
88
|
+
```
|
|
89
|
+
- The `@MEMORY.md` reference points to `.opencode/memory/MEMORY.md` — Claude loads the full file directly, so no inline duplication is needed
|
|
90
|
+
- If AGENTS.md already has MEMORY markers, replace the section between them
|
|
91
|
+
- If AGENTS.md has no MEMORY markers, append the section at the end
|
|
92
|
+
- If no AGENTS.md exists, create one with just the memory section
|
|
93
|
+
|
|
94
|
+
6. **Update processed manifest**
|
|
95
|
+
- Append paths of newly processed stashes to `.opencode/memory/.processed`
|
|
96
|
+
|
|
97
|
+
7. **Report to user**
|
|
98
|
+
- Number of stashes processed
|
|
99
|
+
- Facts count (total, new)
|
|
100
|
+
- Episodes count (total, new)
|
|
101
|
+
- Preferences count by confidence tier
|
|
102
|
+
- Confirm MEMORY.md and AGENTS.md updated
|
|
103
|
+
|
|
104
|
+
**File locations (all project-local)**
|
|
105
|
+
- Memory file: `.opencode/memory/MEMORY.md` (single source of truth, referenced as @MEMORY.md)
|
|
106
|
+
- Stash files: `.opencode/stash/*.md`
|
|
107
|
+
- Friction output: `.opencode/friction/antigen_clusters.json` (clustered patterns with user contexts)
|
|
108
|
+
- Friction fallback: `.opencode/friction/antigen_review.md` (human-readable clusters)
|
|
109
|
+
- Processed manifest: `.opencode/memory/.processed`
|
|
110
|
+
- Output: `AGENTS.md` (managed MEMORY section with @MEMORY.md reference)
|
|
@@ -185,6 +185,14 @@
|
|
|
185
185
|
"template": "{file:./command/ship.md}",
|
|
186
186
|
"description": "Pre-deployment verification checklist"
|
|
187
187
|
},
|
|
188
|
+
"friction": {
|
|
189
|
+
"template": "{file:./command/friction.md}",
|
|
190
|
+
"description": "Analyze session logs for failure patterns and behavioral signals"
|
|
191
|
+
},
|
|
192
|
+
"remember": {
|
|
193
|
+
"template": "{file:./command/remember.md}",
|
|
194
|
+
"description": "Consolidate stashes + friction into project memory"
|
|
195
|
+
},
|
|
188
196
|
"stash": {
|
|
189
197
|
"template": "{file:./command/stash.md}",
|
|
190
198
|
"description": "Save session context for compaction recovery or handoffs"
|
|
@@ -31,10 +31,10 @@ Install for your platform:
|
|
|
31
31
|
|
|
32
32
|
| Platform | Installation | What's Included |
|
|
33
33
|
|----------|--------------|-----------------|
|
|
34
|
-
| **Claude Code** | `cp -r claude/* ~/.claude/` | 11 subagents + 10 skills +
|
|
35
|
-
| **Droid** | `cp -r droid/* ~/.factory/` |
|
|
36
|
-
| **Ampcode** | `cp -r ampcode/* ~/.config/amp/` | 11 subagents + 10 skills +
|
|
37
|
-
| **OpenCode** | `cp -r opencode/* ~/.config/opencode/` |
|
|
34
|
+
| **Claude Code** | `cp -r claude/* ~/.claude/` | 11 subagents + 10 skills + 12 commands |
|
|
35
|
+
| **Droid** | `cp -r droid/* ~/.factory/` | 22 commands (subagent references) |
|
|
36
|
+
| **Ampcode** | `cp -r ampcode/* ~/.config/amp/` | 11 subagents + 10 skills + 12 commands |
|
|
37
|
+
| **OpenCode** | `cp -r opencode/* ~/.config/opencode/` | 22 commands (subagent references) |
|
|
38
38
|
|
|
39
39
|
**Key Difference**:
|
|
40
40
|
- **Claude Code / Ampcode** implement full subagent system with orchestrator
|
|
@@ -54,8 +54,8 @@ Install for your platform:
|
|
|
54
54
|
- test-driven-development, testing-anti-patterns, verification-before-completion (auto-trigger)
|
|
55
55
|
- brainstorming, code-review, systematic-debugging, docs-builder, etc.
|
|
56
56
|
|
|
57
|
-
**
|
|
58
|
-
- debug, explain, git-commit, optimize, refactor, review, security, ship, stash, test-generate
|
|
57
|
+
**12 Commands** - Simple workflow helpers
|
|
58
|
+
- debug, explain, friction, git-commit, optimize, refactor, remember, review, security, ship, stash, test-generate
|
|
59
59
|
|
|
60
60
|
**Orchestration System**
|
|
61
61
|
- Automatic intent matching to 9 workflow patterns
|
|
@@ -64,7 +64,7 @@ Install for your platform:
|
|
|
64
64
|
|
|
65
65
|
### Droid/OpenCode (Commands Only)
|
|
66
66
|
|
|
67
|
-
**
|
|
67
|
+
**22 Commands** - All workflow capabilities in command form
|
|
68
68
|
- Combines skills + commands into unified command set
|
|
69
69
|
- Same functionality, different invocation model (no auto-triggering)
|
|
70
70
|
- Includes reference documentation for subagents
|
|
@@ -102,7 +102,7 @@ Install for your platform:
|
|
|
102
102
|
|
|
103
103
|
## Commands Reference
|
|
104
104
|
|
|
105
|
-
### Claude Code / Ampcode:
|
|
105
|
+
### Claude Code / Ampcode: 22 Total (10 Skills + 12 Commands)
|
|
106
106
|
|
|
107
107
|
**Auto-Triggering Skills (3)**
|
|
108
108
|
- `test-driven-development` - Write test first, watch fail, minimal passing code
|
|
@@ -118,19 +118,21 @@ Install for your platform:
|
|
|
118
118
|
- `skill-creator` - Guide for creating new skills
|
|
119
119
|
- `systematic-debugging` - Four-phase debugging framework
|
|
120
120
|
|
|
121
|
-
**Simple Commands (
|
|
121
|
+
**Simple Commands (12)**
|
|
122
122
|
- `debug` - Systematic investigation techniques
|
|
123
123
|
- `explain` - Explain code for newcomers
|
|
124
|
+
- `friction` - Analyze session logs for failure patterns and behavioral signals
|
|
124
125
|
- `git-commit` - Intelligent commit creation
|
|
125
126
|
- `optimize` - Performance analysis
|
|
126
127
|
- `refactor` - Maintain behavior while improving code
|
|
128
|
+
- `remember` - Consolidate stashes + friction into project memory
|
|
127
129
|
- `review` - Comprehensive code review
|
|
128
130
|
- `security` - Vulnerability scanning
|
|
129
131
|
- `ship` - Pre-deployment checklist
|
|
130
132
|
- `stash` - Save session context for compaction recovery or handoffs
|
|
131
133
|
- `test-generate` - Test suite generation
|
|
132
134
|
|
|
133
|
-
### Droid/OpenCode:
|
|
135
|
+
### Droid/OpenCode: 22 Commands
|
|
134
136
|
|
|
135
137
|
Same functionality as skills+commands, but:
|
|
136
138
|
- All invoked as commands (no auto-triggering)
|
|
@@ -140,7 +142,23 @@ Same functionality as skills+commands, but:
|
|
|
140
142
|
**Command Categories**:
|
|
141
143
|
- **Development & Testing (9)**: test-driven-development, testing-anti-patterns, test-generate, code-review, systematic-debugging, root-cause-tracing, debug, condition-based-waiting, verification-before-completion
|
|
142
144
|
- **Code Operations (6)**: refactor, optimize, explain, review, security, ship
|
|
143
|
-
- **Session &
|
|
145
|
+
- **Session & Memory (7)**: brainstorming, skill-creator, docs-builder, git-commit, stash, friction, remember
|
|
146
|
+
|
|
147
|
+
---
|
|
148
|
+
|
|
149
|
+
## Hot Memory
|
|
150
|
+
|
|
151
|
+
Lightweight session memory that learns from your usage patterns across sessions.
|
|
152
|
+
|
|
153
|
+
```
|
|
154
|
+
/stash → /friction → /remember
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
1. **`/stash`** - Snapshot current session context to `.claude/stash/`. Use before compaction, handoffs, or ending complex work.
|
|
158
|
+
2. **`/friction`** - Analyze session logs for failure patterns. Scores sessions, clusters failures by signal and tool sequence, outputs actionable antigens to `.claude/friction/`.
|
|
159
|
+
3. **`/remember`** - Consolidate stashes + friction into `.claude/memory/MEMORY.md`. Extracts facts, episodes, and behavioral preferences. References into CLAUDE.md via `@MEMORY.md`.
|
|
160
|
+
|
|
161
|
+
**Result:** Project-local memory that accumulates across sessions — no external dependencies, no databases, just markdown.
|
|
144
162
|
|
|
145
163
|
---
|
|
146
164
|
|
|
@@ -237,7 +255,7 @@ Subagent workflows require manual coordination.
|
|
|
237
255
|
├── CLAUDE.md # Registry + orchestrator workflows
|
|
238
256
|
├── agents/ # 11 subagent implementations (*.md)
|
|
239
257
|
├── skills/ # 11 skills (subdirectories with SKILL.md)
|
|
240
|
-
└── commands/ #
|
|
258
|
+
└── commands/ # 12 commands (*.md)
|
|
241
259
|
```
|
|
242
260
|
|
|
243
261
|
**Features**:
|
|
@@ -252,7 +270,7 @@ Subagent workflows require manual coordination.
|
|
|
252
270
|
├── AGENT.md # Reference doc (subagents + commands)
|
|
253
271
|
├── agents/ # 11 subagent implementations (*.md)
|
|
254
272
|
├── skills/ # 11 skills (subdirectories with SKILL.md)
|
|
255
|
-
└── commands/ #
|
|
273
|
+
└── commands/ # 12 commands (*.md)
|
|
256
274
|
```
|
|
257
275
|
|
|
258
276
|
**Features**:
|
|
@@ -264,7 +282,7 @@ Subagent workflows require manual coordination.
|
|
|
264
282
|
```
|
|
265
283
|
~/.factory/
|
|
266
284
|
├── AGENTS.md # Reference doc (subagents + commands)
|
|
267
|
-
└── commands/ #
|
|
285
|
+
└── commands/ # 22 commands (*.md)
|
|
268
286
|
```
|
|
269
287
|
|
|
270
288
|
**Features**:
|
|
@@ -276,7 +294,7 @@ Subagent workflows require manual coordination.
|
|
|
276
294
|
```
|
|
277
295
|
~/.config/opencode/
|
|
278
296
|
├── AGENTS.md # Reference doc (subagents + commands)
|
|
279
|
-
└── command/ #
|
|
297
|
+
└── command/ # 22 commands (*.md)
|
|
280
298
|
```
|
|
281
299
|
|
|
282
300
|
**Features**:
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Ampcode Packages
|
|
2
|
-
|
|
3
|
-
Ampcode AI codegen tool packages for amplified development workflows.
|
|
4
|
-
|
|
5
|
-
## Structure
|
|
6
|
-
- `lite/` - Basic amplified codegen setup
|
|
7
|
-
- `standard/` - Enhanced automation with amplified workflows
|
|
8
|
-
- `pro/` - Maximum amplification with advanced AI codegen capabilities
|
|
9
|
-
|
|
10
|
-
## Optimization Focus
|
|
11
|
-
- Enhanced automation capabilities
|
|
12
|
-
- Amplified development workflows
|
|
13
|
-
- Accelerated AI codegen
|
|
14
|
-
- Advanced development patterns
|
|
15
|
-
|
|
16
|
-
## Status: Placeholder
|
|
17
|
-
Content to be developed based on Claude packages with amplification-specific optimizations.
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# Claude Code Packages
|
|
2
|
-
|
|
3
|
-
Claude Code AI development assistant packages optimized for conversational AI interactions.
|
|
4
|
-
|
|
5
|
-
## Structure
|
|
6
|
-
- `lite/` - Minimal setup with 3 core agents
|
|
7
|
-
- `standard/` - Full agent set with 8 core skills
|
|
8
|
-
- `pro/` - Complete toolkit with 14 advanced skills
|
|
9
|
-
|
|
10
|
-
## Content Source
|
|
11
|
-
Existing content available in `../claude_temp_backup/` ready to be organized into variants.
|
|
12
|
-
|
|
13
|
-
## Optimization Focus
|
|
14
|
-
- Conversational AI patterns
|
|
15
|
-
- Markdown formatting
|
|
16
|
-
- Claude-specific response handling
|
|
17
|
-
- Plugin integration
|
|
18
|
-
|
|
19
|
-
## Next Steps
|
|
20
|
-
1. Copy 3 core agents to `lite/`
|
|
21
|
-
2. Copy all agents + 8 skills to `standard/`
|
|
22
|
-
3. Copy all agents + 14 skills to `pro/`
|
|
23
|
-
4. Customize for Claude-specific optimizations
|
package/packages/droid/README.md
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Droid Packages
|
|
2
|
-
|
|
3
|
-
Droid AI codegen tool packages specialized for mobile development.
|
|
4
|
-
|
|
5
|
-
## Structure
|
|
6
|
-
- `lite/` - Basic mobile codegen setup
|
|
7
|
-
- `standard/` - Mobile-focused agents with core development skills
|
|
8
|
-
- `pro/` - Complete mobile AI codegen toolkit with platform integration
|
|
9
|
-
|
|
10
|
-
## Optimization Focus
|
|
11
|
-
- Mobile development patterns
|
|
12
|
-
- Android/iOS codegen
|
|
13
|
-
- Platform-specific workflows
|
|
14
|
-
- Mobile-first development
|
|
15
|
-
|
|
16
|
-
## Status: Placeholder
|
|
17
|
-
Content to be developed based on Claude packages with mobile-specific optimizations.
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Opencode Packages
|
|
2
|
-
|
|
3
|
-
Opencode AI codegen tool packages optimized for CLI-based development workflows.
|
|
4
|
-
|
|
5
|
-
## Structure
|
|
6
|
-
- `lite/` - Minimal setup for basic CLI codegen
|
|
7
|
-
- `standard/` - Full CLI-optimized agent set with core skills
|
|
8
|
-
- `pro/` - Complete CLI codegen toolkit with advanced automation
|
|
9
|
-
|
|
10
|
-
## Optimization Focus
|
|
11
|
-
- CLI-based interactions
|
|
12
|
-
- Terminal workflow integration
|
|
13
|
-
- Command-line development patterns
|
|
14
|
-
- Accelerated CLI codegen
|
|
15
|
-
|
|
16
|
-
## Status: Placeholder
|
|
17
|
-
Content to be developed based on Claude packages with CLI-specific optimizations.
|