loki-mode 11.3.0 → 11.3.1
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 +68 -650
- package/SKILL.md +4 -4
- package/VERSION +1 -1
- package/autonomy/completion-council.sh +2 -2
- package/autonomy/context-tracker.py +4 -4
- package/autonomy/council-v2.sh +1 -1
- package/autonomy/grill.sh +1 -1
- package/autonomy/lib/done-recognition.sh +1 -1
- package/autonomy/lib/prd-enrich.sh +1 -1
- package/autonomy/lib/voter-agents.sh +1 -1
- package/autonomy/loki +99 -75
- package/autonomy/run.sh +30 -18
- package/autonomy/sandbox.sh +1 -1
- package/autonomy/tui.sh +6 -5
- package/autonomy/verify.sh +1 -1
- package/bin/loki +166 -59
- package/completions/_loki +2 -0
- package/completions/loki.bash +2 -2
- package/dashboard/__init__.py +1 -1
- package/dashboard/server.py +25 -31
- package/docs/ARCHITECTURE.md +337 -0
- package/docs/BRANDING.md +124 -0
- package/docs/CLI-REFERENCE.md +7 -1
- package/docs/COMPONENTS.md +447 -0
- package/docs/DEPLOYMENT.md +9 -9
- package/docs/DOCKER.md +469 -0
- package/docs/INSTALLATION.md +67 -1045
- package/docs/KNOWN-ISSUES.md +11 -35
- package/docs/TESTING.md +161 -0
- package/docs/air-gapped.md +1 -2
- package/docs/alternative-installations.md +14 -24
- package/docs/architecture/DECISIONS.md +333 -0
- package/docs/audit-logging.md +7 -7
- package/docs/authentication.md +3 -3
- package/docs/authorization.md +1 -1
- package/docs/certification/04-production-deployment/lab.md +6 -6
- package/docs/certification/04-production-deployment/lesson.md +4 -4
- package/docs/certification/README.md +1 -1
- package/docs/control-plane-container.md +2 -2
- package/docs/dev/real-run.md +34 -0
- package/docs/dev/release-checklist.md +2 -2
- package/docs/exit-codes.md +3 -3
- package/docs/git-workflow.md +3 -3
- package/docs/metrics.md +37 -55
- package/docs/network-security.md +1 -1
- package/docs/siem-integration.md +5 -5
- package/docs/v10/CLI-MODERN.md +4 -3
- package/docs/v10/DECISIONS.md +44 -0
- package/docs/v10/DEPS.md +22 -22
- package/docs/v10/ENGINE.md +1 -1
- package/docs/v10/FAILURE-CLASSES.md +118 -1
- package/docs/v10/FOUNDER-QUEUE.md +1 -0
- package/docs/v10/GUARDS.md +13 -0
- package/docs/v10/LEGACY-REMOVAL.md +4 -6
- package/docs/v10/METRICS.md +2 -2
- package/docs/v10/MODERNIZE.md +1 -1
- package/docs/v10/OPERATING-MODEL.md +2 -1
- package/docs/v10/PROGRESS.md +29 -0
- package/docs/v11/COST-HALF.md +352 -0
- package/docs/v11/MARKET-SLICES.md +315 -0
- package/docs/v11/REGISTRIES.md +730 -0
- package/loki-ts/data/model-pricing.json +52 -24
- package/loki-ts/dist/loki.js +1036 -957
- package/mcp/__init__.py +1 -1
- package/package.json +1 -1
- package/packages/control-plane/dist/server.js +2467 -736
- package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
- package/src/protocols/mcp-client.js +6 -2
- package/src/protocols/mcp-server.js +13 -3
- package/tools/audit-docs.py +1 -1
- package/web-app/dist/assets/{AdminPage-D_e45uTw.js → AdminPage-CMkHNJbF.js} +1 -1
- package/web-app/dist/assets/{Avatar-T3nIpoaf.js → Avatar-BJyjV7Zi.js} +1 -1
- package/web-app/dist/assets/{Badge-BKqb59pP.js → Badge-D572l0uq.js} +1 -1
- package/web-app/dist/assets/{Button-DjVlkh8_.js → Button-T4BnOZgl.js} +1 -1
- package/web-app/dist/assets/{CockpitPage-DXJgLGmh.js → CockpitPage-Cj_GFsNn.js} +1 -1
- package/web-app/dist/assets/{ComparePage-BRP_eVc_.js → ComparePage-A8m4ZXak.js} +1 -1
- package/web-app/dist/assets/{ErrorBoundary-CLjpGLjC.js → ErrorBoundary-hugCg5yg.js} +1 -1
- package/web-app/dist/assets/{EvidenceReceiptPanel-DX-vb4Xy.js → EvidenceReceiptPanel-CuJKDC2G.js} +1 -1
- package/web-app/dist/assets/{GitHubIssuesPanel-214HVHtX.js → GitHubIssuesPanel-BYGKjarC.js} +1 -1
- package/web-app/dist/assets/{GitHubPRsPanel-BEiZKc4t.js → GitHubPRsPanel-c7sFIJlf.js} +1 -1
- package/web-app/dist/assets/{HomePage-VvMHS5ga.js → HomePage-A1MIkG2P.js} +2 -2
- package/web-app/dist/assets/{LoginPage-5WD-v7n3.js → LoginPage-8KQMRhtR.js} +1 -1
- package/web-app/dist/assets/{MagicPage-DUQT_Jye.js → MagicPage-C05QW2Lx.js} +1 -1
- package/web-app/dist/assets/{MetricsPage-lga-z79v.js → MetricsPage-Oukv5hme.js} +1 -1
- package/web-app/dist/assets/{NotFoundPage-CGhBX3G1.js → NotFoundPage-DKIwsawz.js} +1 -1
- package/web-app/dist/assets/{ProjectPage-CdzF2GzZ.js → ProjectPage-DwFRPLCG.js} +3 -3
- package/web-app/dist/assets/{ProjectsPage-DRG64N8s.js → ProjectsPage-CgY4YYDX.js} +1 -1
- package/web-app/dist/assets/{SettingsPage-5fzW9Frb.js → SettingsPage-BpfcSjUA.js} +1 -1
- package/web-app/dist/assets/{ShowcasePage-DrTdxO4y.js → ShowcasePage-BqBakC4K.js} +1 -1
- package/web-app/dist/assets/{SystemSettingsPage-C9Mqs6Rd.js → SystemSettingsPage-CZLu5VB0.js} +1 -1
- package/web-app/dist/assets/{TeamsPage-CUGPdSWo.js → TeamsPage-D55S1jKz.js} +1 -1
- package/web-app/dist/assets/{TemplatesPage-CNraDY0F.js → TemplatesPage-D3SydvxN.js} +1 -1
- package/web-app/dist/assets/{TerminalOutput-BIu_6Pea.js → TerminalOutput-hNg8G1-e.js} +1 -1
- package/web-app/dist/assets/{activity-Bk-kgqaf.js → activity-D2C0VagO.js} +1 -1
- package/web-app/dist/assets/{bell-BXmUdmo8.js → bell-CMvYi36w.js} +1 -1
- package/web-app/dist/assets/{bot-CiuzXxUR.js → bot-BvtQ6lmo.js} +1 -1
- package/web-app/dist/assets/{check-BEzjXppd.js → check-B13xkXed.js} +1 -1
- package/web-app/dist/assets/{chevron-left-AYWCXHf8.js → chevron-left-emu6r49E.js} +1 -1
- package/web-app/dist/assets/{circle-alert-BNg2uSRq.js → circle-alert-CExlwjuy.js} +1 -1
- package/web-app/dist/assets/{clock-DTj0kkGT.js → clock-D7Uas3oL.js} +1 -1
- package/web-app/dist/assets/{cloud-x4nTDBLT.js → cloud-CkB4S86C.js} +1 -1
- package/web-app/dist/assets/{code-xml-BVh_MLrk.js → code-xml-SL9IIWIn.js} +1 -1
- package/web-app/dist/assets/{database-DdfBaowG.js → database-BQFkd7t1.js} +1 -1
- package/web-app/dist/assets/{dollar-sign-XuYFmAOY.js → dollar-sign-qHmnNYsU.js} +1 -1
- package/web-app/dist/assets/{file-code-corner-D4cRnmeL.js → file-code-corner-C2YUDP0K.js} +1 -1
- package/web-app/dist/assets/{file-plus-CyoVlHc_.js → file-plus-C_ooIkDe.js} +1 -1
- package/web-app/dist/assets/{globe-Y6IK2RPW.js → globe-CQ-GL485.js} +1 -1
- package/web-app/dist/assets/{hammer-BKzr9VZI.js → hammer-U05L_D7V.js} +1 -1
- package/web-app/dist/assets/{index-B20cSx5G.js → index-CooHd7I-.js} +3 -3
- package/web-app/dist/assets/{layers-DebNOhGS.js → layers-Buo17rjW.js} +1 -1
- package/web-app/dist/assets/{loader-circle-DyGbrEgd.js → loader-circle-15vK3oV1.js} +1 -1
- package/web-app/dist/assets/{lock-BKPpyt20.js → lock-BeXLebuJ.js} +1 -1
- package/web-app/dist/assets/{package-egF5Wi4y.js → package-MVh_6-6R.js} +1 -1
- package/web-app/dist/assets/{plus-OiEgKIc-.js → plus-Dh_nd9vS.js} +1 -1
- package/web-app/dist/assets/{refresh-cw-CzKvrONq.js → refresh-cw-C9cBJEAT.js} +1 -1
- package/web-app/dist/assets/{rotate-ccw-Bu2mII0p.js → rotate-ccw-D3PAtzST.js} +1 -1
- package/web-app/dist/assets/{scroll-text-CSkiyax8.js → scroll-text-DZCoXQjo.js} +1 -1
- package/web-app/dist/assets/{server-DlPthJFw.js → server-OCOLI5J_.js} +1 -1
- package/web-app/dist/assets/{shield-alert-CbpHWQQX.js → shield-alert-oVhmf1_h.js} +1 -1
- package/web-app/dist/assets/{thumbs-up-DgGpZe-Q.js → thumbs-up-B-kbX4vN.js} +1 -1
- package/web-app/dist/assets/{trash-2-BV3GlCB-.js → trash-2-EL6moveW.js} +1 -1
- package/web-app/dist/assets/{trending-down-Y4TJtXhD.js → trending-down-Cl3kjpsx.js} +1 -1
- package/web-app/dist/assets/{trending-up-DsDNoHZY.js → trending-up-DST7I6M2.js} +1 -1
- package/web-app/dist/assets/{upload-gkThrc_I.js → upload-CUOT780G.js} +1 -1
- package/web-app/dist/assets/{usePolling-jpNSeNAe.js → usePolling-Djmt90eb.js} +1 -1
- package/web-app/dist/assets/{user-3Zez1WOK.js → user-BRBohA6J.js} +1 -1
- package/web-app/dist/index.html +1 -1
- package/docs/ARCHITECTURE-OVERVIEW.md +0 -209
- package/docs/AUTONOMI-ECOSYSTEM.md +0 -107
- package/docs/COCKPIT-SPEC.md +0 -72
- package/docs/COCKPIT-UX-MANDATE.md +0 -53
- package/docs/COMPETITIVE-ANALYSIS.md +0 -303
- package/docs/COMPETITIVE-NEXT-10.md +0 -316
- package/docs/COMPETITIVE-RALPH-ZEROSHOT-2026-07-08.md +0 -81
- package/docs/DASHBOARD-9.12-EVIDENCE.md +0 -97
- package/docs/DASHBOARD-ARCHITECTURE.md +0 -425
- package/docs/DASHBOARD_V2_CHECKLIST.md +0 -243
- package/docs/DEMOS.md +0 -63
- package/docs/ENTERPRISE-IDENTITY-ROADMAP.md +0 -206
- package/docs/EVIDENCE-RECEIPT-BUILD-APPLICABILITY.md +0 -79
- package/docs/FEAT-PRDREUSE-DOCKER-PLAN.md +0 -144
- package/docs/GATE-FAILURE-TRIAGE.md +0 -254
- package/docs/HANDOFF-2026-08-03.md +0 -439
- package/docs/LOOP-CANDIDATE-PROPOSAL-v1.md +0 -167
- package/docs/LOOP-HARNESS-AUDIT.md +0 -684
- package/docs/MERGE-DEDUP-MAP.md +0 -420
- package/docs/MERGE-ROUTE-MAP.md +0 -139
- package/docs/MODEL-REGISTRY-PLAN.md +0 -155
- package/docs/OUTCOME-FRONTIER.md +0 -536
- package/docs/P2-SPEC-ROBUSTNESS-PLAN.md +0 -192
- package/docs/PLANS-INDEX.md +0 -32
- package/docs/PRD-REUSE-DONE-RECOGNITION-PLAN.md +0 -536
- package/docs/PROMPT-ABLATION-RESULT.md +0 -97
- package/docs/R4-TRUST-TRAJECTORY-DESIGN.md +0 -127
- package/docs/R5-AUTO-WIKI-DESIGN.md +0 -137
- package/docs/R6-ROLLBACK-CHECKPOINT-PLAN.md +0 -107
- package/docs/R7-ZERO-CONFIG-FIRST-RUN-PLAN.md +0 -137
- package/docs/R8-SHAREABLE-TEAM-ASSETS-PLAN.md +0 -129
- package/docs/R9-OPEN-CORE-HOOKS-PLAN.md +0 -113
- package/docs/RARV-C-100X-PLAN.md +0 -286
- package/docs/RARV-C-LOOP-EFFICIENCY-PLAN.md +0 -470
- package/docs/SHAREABLE-PROOF-PLAN.md +0 -194
- package/docs/SONNET5-DEFAULT-PLAN.md +0 -157
- package/docs/SPEED-AND-FIRST-PASS-PLAN.md +0 -281
- package/docs/STALE-STATE-AUDIT.md +0 -174
- package/docs/SYNERGY-TASKS.md +0 -143
- package/docs/TASKLIST-ACCURACY-PLAN.md +0 -355
- package/docs/TOP-100-BACKLOG.md +0 -159
- package/docs/V8-ACCEPTANCE-TRIAGE-2026-07-24.md +0 -114
- package/docs/V8-COMPLEXITY-AUDIT-2026-07-24.md +0 -45
- package/docs/V8-MAJOR-RELEASE-PLAN.md +0 -137
- package/docs/V8-OVERNIGHT-PLAN-2026-07-25.md +0 -82
- package/docs/V8-SDK-RESEARCH-RAW.md +0 -129
- package/docs/WELCOME-OPENER-PLAN.md +0 -106
- package/docs/adoption-baseline-2026-07-31.md +0 -84
- package/docs/architecture/bmad-integration-epic.md +0 -271
- package/docs/architecture/bmad-integration-review.md +0 -86
- package/docs/architecture/bmad-integration-validation.md +0 -249
- package/docs/architecture/bmad-loki-voice-agent-council-analysis.md +0 -61
- package/docs/auto-claude-comparison.md +0 -250
- package/docs/bug-fixes/agent-01-cli-fixes.md +0 -101
- package/docs/bug-fixes/agent-02-purplelab-fixes.md +0 -88
- package/docs/bug-fixes/agent-03-dashboard-fixes.md +0 -119
- package/docs/bug-fixes/agent-04-memory-fixes.md +0 -105
- package/docs/bug-fixes/agent-05-provider-fixes.md +0 -86
- package/docs/bug-fixes/agent-06-integration-fixes.md +0 -101
- package/docs/bug-fixes/agent-07-dash-run-fixes.md +0 -101
- package/docs/bug-fixes/agent-08-docker-fixes.md +0 -164
- package/docs/bug-fixes/agent-09-e2e-build-fixes.md +0 -69
- package/docs/bug-fixes/agent-10-e2e-fullstack-fixes.md +0 -102
- package/docs/bug-fixes/agent-11-e2e-session-fixes.md +0 -70
- package/docs/bug-fixes/agent-12-scenario-fixes.md +0 -120
- package/docs/bug-fixes/agent-13-enterprise-fixes.md +0 -143
- package/docs/bug-fixes/agent-14-uat-newuser-fixes.md +0 -88
- package/docs/bug-fixes/agent-15-uat-poweruser-fixes.md +0 -132
- package/docs/bug-fixes/agent-19-code-review.md +0 -316
- package/docs/bug-fixes/agent-20-architecture-review.md +0 -331
- package/docs/competitive/bolt-new-analysis.md +0 -579
- package/docs/competitive/emergence-others-analysis.md +0 -605
- package/docs/competitive/replit-lovable-analysis.md +0 -622
- package/docs/dashboard-guide.md +0 -487
- package/docs/enterprise/migration.md +0 -265
- package/docs/history/one-run-audit.md +0 -304
- package/docs/plans/FORGE-AUTONOMOUS-QUEUE.md +0 -312
- package/docs/plans/ULTRAPLAN-FORGE-BAAS.md +0 -612
- package/docs/plans/UT2-6-LSP-DIAGNOSTIC-BROADCAST.md +0 -394
- package/docs/prd-purple-lab-ide.md +0 -152
- package/docs/prd-purple-lab-platform-v2.md +0 -223
- package/docs/prd-purple-lab-platform.md +0 -319
- package/docs/retrospectives/v7.5.15-fleet-postmortem.md +0 -325
- package/docs/retrospectives/v7.5.15-honesty-audit.md +0 -136
- package/docs/retrospectives/v7.5.15-llm-failure-modes.md +0 -49
- package/docs/show-hn-post.md +0 -46
- package/docs/test-scenarios/enterprise-scenarios.md +0 -732
- package/docs/thick2thin.md +0 -173
package/docs/thick2thin.md
DELETED
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
# Thick-to-Thin Skill Refactoring Analysis
|
|
2
|
-
|
|
3
|
-
> **Honest evaluation of the v3.0.0 progressive disclosure refactoring**
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Summary
|
|
8
|
-
|
|
9
|
-
| Metric | Before (v2.38.0) | After (v3.0.0) | Change |
|
|
10
|
-
|--------|-----------------|----------------|--------|
|
|
11
|
-
| SKILL.md lines | 1,517 | 154 | -90% |
|
|
12
|
-
| Total content lines | 1,517 | 1,540 | +1.5% |
|
|
13
|
-
| Files | 1 | 10 | +9 |
|
|
14
|
-
| Initial context load | ~15% of window | ~1.5% of window | -90% |
|
|
15
|
-
| Module count | 0 | 8 | +8 |
|
|
16
|
-
|
|
17
|
-
---
|
|
18
|
-
|
|
19
|
-
## What Changed
|
|
20
|
-
|
|
21
|
-
### Before: Monolithic SKILL.md (1,517 lines)
|
|
22
|
-
```
|
|
23
|
-
SKILL.md
|
|
24
|
-
+-- All patterns inline
|
|
25
|
-
+-- All agent types inline
|
|
26
|
-
+-- All quality gates inline
|
|
27
|
-
+-- All troubleshooting inline
|
|
28
|
-
+-- Everything loaded on every turn
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
### After: Progressive Disclosure (1,540 lines total)
|
|
32
|
-
```
|
|
33
|
-
SKILL.md (154 lines)
|
|
34
|
-
+-- Core autonomy rules only
|
|
35
|
-
+-- RARV cycle
|
|
36
|
-
+-- Phase transitions
|
|
37
|
-
+-- Module loading protocol
|
|
38
|
-
|
|
39
|
-
skills/
|
|
40
|
-
+-- 00-index.md (101 lines) - Routing table
|
|
41
|
-
+-- agents.md (249 lines) - Agent dispatch
|
|
42
|
-
+-- artifacts.md (174 lines) - Artifact generation
|
|
43
|
-
+-- model-selection.md (124 lines) - Task tool usage
|
|
44
|
-
+-- patterns-advanced.md (188 lines) - Architecture patterns
|
|
45
|
-
+-- production.md (181 lines) - Deployment patterns
|
|
46
|
-
+-- quality-gates.md (111 lines) - Review system
|
|
47
|
-
+-- testing.md (149 lines) - Test strategies
|
|
48
|
-
+-- troubleshooting.md (109 lines) - Error handling
|
|
49
|
-
|
|
50
|
-
references/ (unchanged)
|
|
51
|
-
+-- 18 detailed reference files
|
|
52
|
-
+-- agents.md (23KB) - Full 41 agent specs
|
|
53
|
-
+-- openai-patterns.md, lab-research-patterns.md, etc.
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
---
|
|
57
|
-
|
|
58
|
-
## Effectiveness Analysis
|
|
59
|
-
|
|
60
|
-
### What's MORE Effective
|
|
61
|
-
|
|
62
|
-
| Improvement | Evidence | Impact |
|
|
63
|
-
|-------------|----------|--------|
|
|
64
|
-
| **Context preservation** | 154 lines vs 1,517 = 90% reduction | More room for actual code/reasoning |
|
|
65
|
-
| **Faster initial load** | Claude reads SKILL.md on every turn | 10x faster initial parse |
|
|
66
|
-
| **Task-specific loading** | Load only relevant modules | Fewer irrelevant patterns cluttering context |
|
|
67
|
-
| **Clearer prioritization** | PRIORITY 1, 2, 3 sections | Unambiguous execution order |
|
|
68
|
-
| **System-prompt level writing** | Direct imperatives, IF/THEN conditionals | Less interpretation needed |
|
|
69
|
-
| **Honest Task tool documentation** | Explains subagent_types vs roles | Correct usage, fewer errors |
|
|
70
|
-
|
|
71
|
-
### What's POTENTIALLY Less Effective
|
|
72
|
-
|
|
73
|
-
| Trade-off | Description | Mitigation |
|
|
74
|
-
|-----------|-------------|------------|
|
|
75
|
-
| **Extra file reads** | Must read 00-index.md + modules | Amortized over session; index is small |
|
|
76
|
-
| **Module discovery overhead** | Agent must decide which modules to load | Clear routing table in 00-index.md |
|
|
77
|
-
| **Scattered documentation** | Related info split across files | References in each module to related files |
|
|
78
|
-
| **Learning curve** | New structure to navigate | Index file explains routing |
|
|
79
|
-
| **Total content increased** | 1,540 vs 1,517 lines (+1.5%) | Added A2A, agentic patterns research |
|
|
80
|
-
|
|
81
|
-
### Honest Admission: What We Lost
|
|
82
|
-
|
|
83
|
-
1. **Single-file portability**: Can't copy one file to get everything
|
|
84
|
-
2. **Grep simplicity**: Searching requires checking multiple files
|
|
85
|
-
3. **Atomic understanding**: Must read multiple files for full picture
|
|
86
|
-
4. **Version coherence**: Must keep all modules in sync
|
|
87
|
-
|
|
88
|
-
---
|
|
89
|
-
|
|
90
|
-
## Context Window Math
|
|
91
|
-
|
|
92
|
-
**Claude's context window:** ~200K tokens
|
|
93
|
-
|
|
94
|
-
**Before (v2.38.0):**
|
|
95
|
-
- SKILL.md: ~1,517 lines = ~6,000 tokens = ~3% of context
|
|
96
|
-
- Plus references (if loaded): ~50,000 tokens = ~25% of context
|
|
97
|
-
- Worst case: ~28% of context consumed by skill
|
|
98
|
-
|
|
99
|
-
**After (v3.0.0):**
|
|
100
|
-
- SKILL.md core: ~154 lines = ~600 tokens = ~0.3% of context
|
|
101
|
-
- Index: ~101 lines = ~400 tokens = ~0.2% of context
|
|
102
|
-
- 2 modules (typical): ~300 lines = ~1,200 tokens = ~0.6% of context
|
|
103
|
-
- Total typical load: ~1.1% of context
|
|
104
|
-
|
|
105
|
-
**Net savings: ~2% of context per turn**, which compounds over long sessions.
|
|
106
|
-
|
|
107
|
-
---
|
|
108
|
-
|
|
109
|
-
## New Content Added (v3.0.0)
|
|
110
|
-
|
|
111
|
-
Content that didn't exist in v2.38.0:
|
|
112
|
-
|
|
113
|
-
| Addition | Source | Location |
|
|
114
|
-
|----------|--------|----------|
|
|
115
|
-
| A2A Protocol patterns | Google A2A v0.3 | skills/agents.md |
|
|
116
|
-
| Agent Cards format | A2A specification | skills/agents.md |
|
|
117
|
-
| Handoff message format | A2A specification | skills/agents.md |
|
|
118
|
-
| Agentic patterns table | awesome-agentic-patterns | skills/agents.md |
|
|
119
|
-
| "Ralph Wiggum Mode" insight | moridinamael | skills/agents.md |
|
|
120
|
-
| Full 41 agent reference | references/agent-types.md | skills/agents.md (pointer) |
|
|
121
|
-
| References directory listing | New | skills/00-index.md |
|
|
122
|
-
|
|
123
|
-
---
|
|
124
|
-
|
|
125
|
-
## When Thin Skill Wins
|
|
126
|
-
|
|
127
|
-
1. **Long sessions**: Context savings compound over many turns
|
|
128
|
-
2. **Focused tasks**: Only load relevant patterns
|
|
129
|
-
3. **Context-heavy codebases**: More room for actual code
|
|
130
|
-
4. **Multi-agent work**: Each subagent gets leaner initial context
|
|
131
|
-
5. **Debugging**: Easier to identify which module causes issues
|
|
132
|
-
|
|
133
|
-
## When Thick Skill Might Win
|
|
134
|
-
|
|
135
|
-
1. **Short sessions**: Overhead of multiple reads not amortized
|
|
136
|
-
2. **Broad tasks**: Might need 5+ modules anyway
|
|
137
|
-
3. **Offline use**: Single file easier to share
|
|
138
|
-
4. **Onboarding**: New users must learn structure
|
|
139
|
-
|
|
140
|
-
---
|
|
141
|
-
|
|
142
|
-
## Recommendation
|
|
143
|
-
|
|
144
|
-
**Use v3.0.0 thin skill for:**
|
|
145
|
-
- Production Loki Mode sessions
|
|
146
|
-
- Long-running autonomous operations
|
|
147
|
-
- Context-constrained environments
|
|
148
|
-
|
|
149
|
-
**Keep v2.38.0 thick skill for:**
|
|
150
|
-
- Reference/documentation purposes (it's in git history)
|
|
151
|
-
- Single-file distribution
|
|
152
|
-
- Quick demos
|
|
153
|
-
|
|
154
|
-
---
|
|
155
|
-
|
|
156
|
-
## Verification
|
|
157
|
-
|
|
158
|
-
To verify context savings work as claimed:
|
|
159
|
-
|
|
160
|
-
```bash
|
|
161
|
-
# Count tokens in old vs new
|
|
162
|
-
tiktoken-cli count /path/to/old/SKILL.md
|
|
163
|
-
tiktoken-cli count /path/to/new/SKILL.md
|
|
164
|
-
|
|
165
|
-
# Measure load time
|
|
166
|
-
time claude -p "Read SKILL.md and summarize"
|
|
167
|
-
```
|
|
168
|
-
|
|
169
|
-
---
|
|
170
|
-
|
|
171
|
-
*Analysis created: v3.0.0 refactoring*
|
|
172
|
-
*Methodology: Line counts, token estimates, structural comparison*
|
|
173
|
-
*Bias disclaimer: Written by the agent that did the refactoring*
|