@agentlee5/agent-skills 1.0.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.
Files changed (182) hide show
  1. package/.leeway/config.json +133 -0
  2. package/LICENSE +21 -0
  3. package/LeeWay-Standards/LICENSE +21 -0
  4. package/LeeWay-Standards/README.md +324 -0
  5. package/LeeWay-Standards/examples/NexusButton.tsx +90 -0
  6. package/LeeWay-Standards/examples/example-agent.js +89 -0
  7. package/LeeWay-Standards/package.json +61 -0
  8. package/LeeWay-Standards/schemas/leeway-config.schema.json +81 -0
  9. package/LeeWay-Standards/schemas/leeway-header.schema.json +63 -0
  10. package/LeeWay-Standards/src/agents/discovery/architecture-map-agent.js +134 -0
  11. package/LeeWay-Standards/src/agents/discovery/docs-agent.js +126 -0
  12. package/LeeWay-Standards/src/agents/discovery/explain-agent.js +95 -0
  13. package/LeeWay-Standards/src/agents/discovery/intent-registry-agent.js +119 -0
  14. package/LeeWay-Standards/src/agents/discovery/schema-agent.js +116 -0
  15. package/LeeWay-Standards/src/agents/discovery/sitemap-agent.js +88 -0
  16. package/LeeWay-Standards/src/agents/governance/align-agent.js +155 -0
  17. package/LeeWay-Standards/src/agents/governance/assess-agent.js +161 -0
  18. package/LeeWay-Standards/src/agents/governance/audit-agent.js +185 -0
  19. package/LeeWay-Standards/src/agents/integrity/circular-dependency-agent.js +88 -0
  20. package/LeeWay-Standards/src/agents/integrity/dependency-graph-agent.js +107 -0
  21. package/LeeWay-Standards/src/agents/integrity/duplicate-logic-agent.js +108 -0
  22. package/LeeWay-Standards/src/agents/integrity/import-agent.js +83 -0
  23. package/LeeWay-Standards/src/agents/integrity/module-policy-agent.js +94 -0
  24. package/LeeWay-Standards/src/agents/integrity/refactor-scan-agent.js +113 -0
  25. package/LeeWay-Standards/src/agents/integrity/syntax-agent.js +84 -0
  26. package/LeeWay-Standards/src/agents/mcp/endpoint-agent.js +106 -0
  27. package/LeeWay-Standards/src/agents/mcp/env-agent.js +111 -0
  28. package/LeeWay-Standards/src/agents/mcp/health-agent-lite.js +119 -0
  29. package/LeeWay-Standards/src/agents/mcp/manifest-agent.js +87 -0
  30. package/LeeWay-Standards/src/agents/mcp/port-agent.js +125 -0
  31. package/LeeWay-Standards/src/agents/mcp/process-agent.js +124 -0
  32. package/LeeWay-Standards/src/agents/mcp/runtime-agent.js +108 -0
  33. package/LeeWay-Standards/src/agents/mcp/transport-agent.js +78 -0
  34. package/LeeWay-Standards/src/agents/orchestration/doctor-agent.js +149 -0
  35. package/LeeWay-Standards/src/agents/orchestration/memory-agent-lite.js +125 -0
  36. package/LeeWay-Standards/src/agents/orchestration/router-agent.js +110 -0
  37. package/LeeWay-Standards/src/agents/security/permission-agent.js +98 -0
  38. package/LeeWay-Standards/src/agents/security/policy-agent.js +100 -0
  39. package/LeeWay-Standards/src/agents/security/privacy-agent.js +83 -0
  40. package/LeeWay-Standards/src/agents/security/prompt-security-agent.js +103 -0
  41. package/LeeWay-Standards/src/agents/security/secret-scan-agent.js +108 -0
  42. package/LeeWay-Standards/src/agents/security/tool-access-agent.js +105 -0
  43. package/LeeWay-Standards/src/agents/standards/authority-agent.js +114 -0
  44. package/LeeWay-Standards/src/agents/standards/discovery-pipeline-agent.js +91 -0
  45. package/LeeWay-Standards/src/agents/standards/header-agent.js +120 -0
  46. package/LeeWay-Standards/src/agents/standards/placement-agent.js +96 -0
  47. package/LeeWay-Standards/src/agents/standards/region-agent.js +99 -0
  48. package/LeeWay-Standards/src/agents/standards/registry-agent.js +153 -0
  49. package/LeeWay-Standards/src/agents/standards/tag-agent.js +111 -0
  50. package/LeeWay-Standards/src/cli/leeway.js +225 -0
  51. package/LeeWay-Standards/src/core/compliance-scorer.js +168 -0
  52. package/LeeWay-Standards/src/core/compliance-scorer.test.js +121 -0
  53. package/LeeWay-Standards/src/core/header-parser.js +207 -0
  54. package/LeeWay-Standards/src/core/header-parser.test.js +198 -0
  55. package/LeeWay-Standards/src/core/region-classifier.js +137 -0
  56. package/LeeWay-Standards/src/core/region-classifier.test.js +100 -0
  57. package/LeeWay-Standards/src/core/tag-validator.js +139 -0
  58. package/LeeWay-Standards/src/core/tag-validator.test.js +109 -0
  59. package/LeeWay-Standards/src/index.js +83 -0
  60. package/README.md +217 -0
  61. package/agent-config.yaml +456 -0
  62. package/agentbage.png.png +0 -0
  63. package/bin/leeway-skills-badge.js +52 -0
  64. package/bin/leeway-skills-mcp.js +48 -0
  65. package/bin/leeway-skills.js +160 -0
  66. package/bin/leeway-standards.js +49 -0
  67. package/config/.skillsignore +63 -0
  68. package/config/skills-config.json +70 -0
  69. package/documents/AGENT_LEARNING_REFERENCE.md +329 -0
  70. package/documents/AGENT_LEE_INTEGRATION.md +534 -0
  71. package/documents/COMPLETE_SYSTEM_OVERVIEW.md +502 -0
  72. package/documents/COMPREHENSIVE_SKILL_INTEGRATION_PLAN.md +644 -0
  73. package/documents/DIRECTORY_MAP.md +323 -0
  74. package/documents/EXTENDING.md +514 -0
  75. package/documents/FILE_DIRECTORY_GUIDE.md +427 -0
  76. package/documents/LEEWAY_BADGE_INTEGRATION.md +76 -0
  77. package/documents/LEEWAY_IMPLEMENTATION_SUMMARY.md +384 -0
  78. package/documents/LEEWAY_INTEGRATION_GUIDE.md +414 -0
  79. package/documents/LEEWAY_NPM_SDK.md +66 -0
  80. package/documents/LEEWAY_QUICK_START.md +288 -0
  81. package/documents/LEEWAY_SKILLS_BRANDING.md +375 -0
  82. package/documents/LEEWAY_SKILLS_MCP_SUMMARY.md +593 -0
  83. package/documents/LEEWAY_STANDARDS_COMPLIANCE.md +361 -0
  84. package/documents/LEEWAY_UNIFIED_ARCHITECTURE.md +473 -0
  85. package/documents/LEEWAY_WORKFLOWS_QUICK_REFERENCE.md +307 -0
  86. package/documents/LEEWAY_WORKFLOWS_STRATEGIC_PLAN.md +515 -0
  87. package/documents/LIFELONG_LEARNING_LAYER.md +478 -0
  88. package/documents/MCP_ARCHITECTURE.md +683 -0
  89. package/documents/QUICK_REFERENCE.md +301 -0
  90. package/documents/SETUP.md +325 -0
  91. package/documents/SETUP_SUMMARY.md +413 -0
  92. package/documents/SKILL_ACQUISITION_EXECUTIVE_SUMMARY.md +373 -0
  93. package/documents/SKILL_ACQUISITION_IMPLEMENTATION.md +692 -0
  94. package/documents/SKILL_ACQUISITION_MANIFEST.md +404 -0
  95. package/documents/SKILL_ACQUISITION_QUICK_REFERENCE.md +349 -0
  96. package/documents/SKILL_WORKFLOW_COMPOSITION_MATRIX.md +537 -0
  97. package/documents/STRUCTURE.md +382 -0
  98. package/documents/SYSTEM_TRANSFORMATION_SUMMARY.md +560 -0
  99. package/documents/USAGE.md +390 -0
  100. package/documents/WORKFLOW_ACQUISITION_MANIFEST.md +576 -0
  101. package/documents/aiskills.txt +460 -0
  102. package/mcp-server/README.md +697 -0
  103. package/mcp-server/dist/badge-proof.d.ts +66 -0
  104. package/mcp-server/dist/badge-proof.d.ts.map +1 -0
  105. package/mcp-server/dist/badge-proof.js +324 -0
  106. package/mcp-server/dist/badge-proof.js.map +1 -0
  107. package/mcp-server/dist/index.d.ts +64 -0
  108. package/mcp-server/dist/index.d.ts.map +1 -0
  109. package/mcp-server/dist/index.js +263 -0
  110. package/mcp-server/dist/index.js.map +1 -0
  111. package/mcp-server/dist/install-badge-proof.d.ts +3 -0
  112. package/mcp-server/dist/install-badge-proof.d.ts.map +1 -0
  113. package/mcp-server/dist/install-badge-proof.js +109 -0
  114. package/mcp-server/dist/install-badge-proof.js.map +1 -0
  115. package/mcp-server/package.json +43 -0
  116. package/mcp-server/src/badge-proof.ts +469 -0
  117. package/mcp-server/src/index.ts +355 -0
  118. package/mcp-server/src/install-badge-proof.ts +132 -0
  119. package/mcp-server/tsconfig.json +22 -0
  120. package/package.json +84 -0
  121. package/scripts/init-leeway.js +217 -0
  122. package/scripts/leeway-agents/compliance-monitor.js +374 -0
  123. package/scripts/leeway-agents/header-injector.js +321 -0
  124. package/scripts/skill-integration-toolkit.py +319 -0
  125. package/scripts/skills-registry.json +1117 -0
  126. package/scripts/sync-skills.ps1 +275 -0
  127. package/scripts/verify-leeway-setup.js +249 -0
  128. package/scripts/workflow-integration-toolkit.py +522 -0
  129. package/sdk/application-installer.js +92 -0
  130. package/sdk/index.js +43 -0
  131. package/sdk/paths.js +167 -0
  132. package/skills/agent-autonomy/autonomous-conductor/SKILL.md +206 -0
  133. package/skills/agent-autonomy/full-stack-delivery/SKILL.md +206 -0
  134. package/skills/agent-orchestration/multi-agent-orchestration/SKILL.md +68 -0
  135. package/skills/agent-patterns/agent-design-patterns/SKILL.md +70 -0
  136. package/skills/ai-ml/llm-prompting/SKILL.md +71 -0
  137. package/skills/ai-ml/ml-model-development/SKILL.md +67 -0
  138. package/skills/ai-ml/multimodal-systems/SKILL.md +71 -0
  139. package/skills/ai-ml/retrieval-generation-fine-tuning/SKILL.md +71 -0
  140. package/skills/architecture/system-design/SKILL.md +67 -0
  141. package/skills/code-analysis/refactoring/SKILL.md +64 -0
  142. package/skills/code-analysis/security-vulnerability-scanning/SKILL.md +71 -0
  143. package/skills/code-analysis/static-analysis/SKILL.md +64 -0
  144. package/skills/code-generation/full-stack-application/SKILL.md +70 -0
  145. package/skills/code-generation/microservices-architecture/SKILL.md +71 -0
  146. package/skills/code-generation/python-codegen/SKILL.md +64 -0
  147. package/skills/code-generation/typescript-codegen/SKILL.md +64 -0
  148. package/skills/data-analysis/advanced-analytics/SKILL.md +71 -0
  149. package/skills/data-analysis/pandas-analysis/SKILL.md +66 -0
  150. package/skills/database-design/database-design-optimization/SKILL.md +70 -0
  151. package/skills/debugging/javascript-debugging/SKILL.md +67 -0
  152. package/skills/debugging/python-debugging/SKILL.md +67 -0
  153. package/skills/devops/dockerfile-creation/SKILL.md +64 -0
  154. package/skills/devops/kubernetes-deployment/SKILL.md +65 -0
  155. package/skills/documentation/api-documentation/SKILL.md +67 -0
  156. package/skills/error-handling/resilience-patterns/SKILL.md +70 -0
  157. package/skills/git-workflow/git-collaboration/SKILL.md +67 -0
  158. package/skills/infrastructure/cicd-pipelines/SKILL.md +70 -0
  159. package/skills/infrastructure/infrastructure-as-code/SKILL.md +70 -0
  160. package/skills/observability/monitoring-and-observability/SKILL.md +70 -0
  161. package/skills/performance-optimization/performance-engineering/SKILL.md +70 -0
  162. package/skills/prompt-optimization/prompt-engineering-advanced/SKILL.md +70 -0
  163. package/skills/quality-assurance/deployment-validator/SKILL.md +382 -0
  164. package/skills/quality-assurance/web-security-sweep/SKILL.md +320 -0
  165. package/skills/rag-knowledge/rag-systems/SKILL.md +70 -0
  166. package/skills/research/knowledge-synthesis/SKILL.md +71 -0
  167. package/skills/security/authentication-authorization/SKILL.md +71 -0
  168. package/skills/security/code-security/SKILL.md +66 -0
  169. package/skills/security/secure-architecture/SKILL.md +71 -0
  170. package/skills/self-optimization/dev-loop-optimizer/SKILL.md +344 -0
  171. package/skills/self-optimization/memory-learning/SKILL.md +335 -0
  172. package/skills/self-optimization/runtime-self-profiling/SKILL.md +250 -0
  173. package/skills/testing/advanced-testing-strategies/SKILL.md +71 -0
  174. package/skills/testing/integration-testing/SKILL.md +66 -0
  175. package/skills/testing/load-testing-capacity/SKILL.md +71 -0
  176. package/skills/testing/unit-testing/SKILL.md +66 -0
  177. package/skills/tool-integration/custom-tool-creation/SKILL.md +70 -0
  178. package/skills/web-development/advanced-frontend-patterns/SKILL.md +71 -0
  179. package/skills/web-development/api-design/SKILL.md +71 -0
  180. package/skills/web-development/css-styling/SKILL.md +67 -0
  181. package/skills/web-development/react-development/SKILL.md +79 -0
  182. package/skills/workflow-composition/workflow-orchestration/SKILL.md +70 -0
@@ -0,0 +1,427 @@
1
+ # 📂 File Directory - What Agents Read
2
+
3
+ **Agent-Executable vs. Reference Documentation**
4
+
5
+ ---
6
+
7
+ ## AGENT-EXECUTABLE FILES (Machines Read These)
8
+
9
+ ### Runtime Configuration
10
+
11
+ ```
12
+ agent-config.yaml ✅
13
+ ├─ Purpose: Agent bootstrap and settings
14
+ ├─ Format: YAML (machine-parsed)
15
+ ├─ When: Loaded on agent startup
16
+ ├─ Contains: Learning system settings, memory config, skill/workflow paths
17
+ └─ Frequency: Once per session (referenced throughout)
18
+ ```
19
+
20
+ ### Skill Registry
21
+
22
+ ```
23
+ skills/ ✅
24
+ ├─ Purpose: 250+ individual skill specifications
25
+ ├─ Format: SKILL.md (standardized with YAML frontmatter)
26
+ ├─ When: Referenced for skill loading
27
+ ├─ Contains: Skill metadata, execution instructions, mastery tracking hooks
28
+ └─ Frequency: Per skill execution
29
+ ```
30
+
31
+ ### Workflow Registry
32
+
33
+ ```
34
+ workflows/ ✅
35
+ ├─ Purpose: 50+ workflow orchestration templates
36
+ ├─ Format: WORKFLOW.md (standardized with YAML frontmatter)
37
+ ├─ When: Referenced for workflow loading
38
+ ├─ Contains: Workflow definition, skill bundles, execution order
39
+ └─ Frequency: Per workflow execution
40
+ ```
41
+
42
+ ### Memory System (Auto-Managed)
43
+
44
+ ```
45
+ memory/ ✅
46
+ ├─ episodes/
47
+ │ └─ {timestamp}.yaml: Raw task records
48
+ ├─ semantic/
49
+ │ └─ {pattern_id}.yaml: Distilled patterns
50
+ ├─ procedural/
51
+ │ └─ {procedure_id}.yaml: Automation sequences
52
+ └─ metrics/
53
+ └─ Performance tracking
54
+ ```
55
+
56
+ ---
57
+
58
+ ## AGENT-REFERENCE DOCUMENTATION (Machines Understand These)
59
+
60
+ ### Deep Architecture Understanding
61
+
62
+ ```
63
+ LIFELONG_LEARNING_LAYER.md
64
+ ├─ Purpose: Complete learning system specification
65
+ ├─ Audience: Agent initialization code
66
+ ├─ Contains: 6-phase loop, memory layers, mastery scores
67
+ ├─ Use: Setup and customization
68
+ └─ Format: Markdown with YAML code blocks
69
+ ```
70
+
71
+ ### Unified System Overview
72
+
73
+ ```
74
+ LEEWAY_UNIFIED_ARCHITECTURE.md
75
+ ├─ Purpose: Integration of skills + workflows + learning
76
+ ├─ Audience: Agent system designers
77
+ ├─ Contains: How 3 systems connect, realistic examples, performance data
78
+ ├─ Use: Decision-making during agent execution
79
+ └─ Format: Markdown with diagrams and code samples
80
+ ```
81
+
82
+ ### Configuration & Setup
83
+
84
+ ```
85
+ agent-config.yaml
86
+ ├─ Purpose: All runtime settings
87
+ ├─ Audience: Agent bootstrap systems
88
+ ├─ Contains: Learning enable/disable, memory paths, thresholds
89
+ ├─ Use: Agent behavior customization
90
+ └─ Format: YAML (machine-parsed)
91
+ ```
92
+
93
+ ### Quick Reference
94
+
95
+ ```
96
+ AGENT_LEARNING_REFERENCE.md
97
+ ├─ Purpose: Fast lookup during agent operation
98
+ ├─ Audience: Running agent processes
99
+ ├─ Contains: Systems overview, mastery levels, skill/workflow counts
100
+ ├─ Use: Decision-making, status checks
101
+ └─ Format: Markdown with quick tables
102
+ ```
103
+
104
+ ---
105
+
106
+ ## HUMAN-ORIENTED DOCUMENTATION (For Understanding)
107
+
108
+ ### Strategic Overview
109
+
110
+ ```
111
+ LEEWAY_WORKFLOWS_STRATEGIC_PLAN.md
112
+ ├─ Purpose: High-level system vision
113
+ ├─ Audience: System architects, human understanding
114
+ ├─ Contains: Framework overview, workflow sources, architecture
115
+ ├─ Use: Understanding the big picture
116
+ └─ May contain: Flowcharts, architectural diagrams
117
+ ```
118
+
119
+ ### Workflow Inventory
120
+
121
+ ```
122
+ WORKFLOW_ACQUISITION_MANIFEST.md
123
+ ├─ Purpose: Complete list of all 50+ workflows
124
+ ├─ Audience: System architects, capability planning
125
+ ├─ Contains: Workflow metadata, source info, skill bundles
126
+ ├─ Use: Capability reference
127
+ └─ Format: Table-based with descriptions
128
+ ```
129
+
130
+ ### Skill-Workflow Mapping
131
+
132
+ ```
133
+ SKILL_WORKFLOW_COMPOSITION_MATRIX.md
134
+ ├─ Purpose: How skills and workflows relate
135
+ ├─ Audience: System architects, dependency analysis
136
+ ├─ Contains: Bidirectional mapping, coverage analysis
137
+ ├─ Use: Dependency resolution
138
+ └─ Format: Tables, mapping structures
139
+ ```
140
+
141
+ ### Transformation Summary
142
+
143
+ ```
144
+ SYSTEM_TRANSFORMATION_SUMMARY.md
145
+ ├─ Purpose: Explain the shift to agent-exclusive architecture
146
+ ├─ Audience: System designers, change documentation
147
+ ├─ Contains: Before/after comparison, philosophy
148
+ ├─ Use: Understanding why this architecture
149
+ └─ Format: Markdown with diagrams
150
+ ```
151
+
152
+ ### Project Integration
153
+
154
+ ```
155
+ README.md
156
+ ├─ Purpose: Project overview
157
+ ├─ Audience: New agents and system architects
158
+ ├─ Contains: Quick intro, status, what this is
159
+ ├─ Use: Orientation
160
+ └─ Format: Markdown with organization
161
+ ```
162
+
163
+ ---
164
+
165
+ ## EXECUTION FLOW (What an Agent Does)
166
+
167
+ ```
168
+ Agent Starts
169
+
170
+ 1. Load agent-config.yaml
171
+ ├─ Read learning settings
172
+ ├─ Verify memory paths
173
+ └─ Set thresholds
174
+
175
+ 2. Load skill registry (250+)
176
+ ├─ Parse skill/*.md files
177
+ ├─ Extract metadata
178
+ └─ Initialize mastery scores
179
+
180
+ 3. Load workflow registry (50+)
181
+ ├─ Parse workflow/*.md files
182
+ ├─ Build dependency graph
183
+ └─ Index by category
184
+
185
+ 4. Load existing memory
186
+ ├─ memory/episodes/ → past experience
187
+ ├─ memory/semantic/ → learned patterns
188
+ └─ memory/procedural/ → saved automation
189
+
190
+ 5. Agent Ready for First Task
191
+
192
+ 6. Receive Goal
193
+
194
+ 7. Query Memory
195
+ ├─ Has agent done this before?
196
+ ├─ What patterns apply?
197
+ └─ What procedures exist?
198
+
199
+ 8. Select Skill or Workflow
200
+ ├─ Check mastery scores
201
+ ├─ Get learned parameters
202
+ └─ Know success probability
203
+
204
+ 9. Execute with Enrichment
205
+ ├─ Load skill/workflow
206
+ ├─ Use optimized parameters
207
+ └─ Monitor execution
208
+
209
+ 10. Evaluate Results
210
+ ├─ Grade quality
211
+ ├─ Compare to criteria
212
+ └─ Extract learning
213
+
214
+ 11. Update Memory
215
+ ├─ Store episode
216
+ ├─ Extract patterns
217
+ ├─ Save procedures
218
+ └─ Update mastery
219
+
220
+ 12. Ready for Next Task
221
+ (Steps 6-11 repeat, each time smarter)
222
+ ```
223
+
224
+ ---
225
+
226
+ ## What an Agent Actually Reads vs. Understands
227
+
228
+ ### Reads Directly (Machine-Parsed)
229
+
230
+ ```
231
+ ✅ agent-config.yaml
232
+ ✅ skills/*.md (via selector)
233
+ ✅ workflows/*.md (via selector)
234
+ ✅ memory/*.yaml (own storage)
235
+ ```
236
+
237
+ ### Understands via Architectural Context
238
+
239
+ ```
240
+ ✅ LIFELONG_LEARNING_LAYER.md (at initialization time)
241
+ ✅ LEEWAY_UNIFIED_ARCHITECTURE.md (system understanding)
242
+ ✅ AGENT_LEARNING_REFERENCE.md (periodic lookup)
243
+ ```
244
+
245
+ ### Ignores (Human-Only)
246
+
247
+ ```
248
+ ❌ LEEWAY_WORKFLOWS_STRATEGIC_PLAN.md
249
+ ❌ WORKFLOW_ACQUISITION_MANIFEST.md (agents don't read lists)
250
+ ❌ SKILL_WORKFLOW_COMPOSITION_MATRIX.md (agents build own)
251
+ ❌ SYSTEM_TRANSFORMATION_SUMMARY.md (humans only)
252
+ ```
253
+
254
+ ---
255
+
256
+ ## Files by Function
257
+
258
+ ### System Configuration
259
+
260
+ - `agent-config.yaml` ← Agent reads this
261
+
262
+ ### Skill/Workflow Definitions
263
+
264
+ - `skills/*.md` ← Agent reads these
265
+ - `workflows/*.md` ← Agent reads these
266
+
267
+ ### Agent Memory (Auto-Managed)
268
+
269
+ - `memory/episodes/` ← Agent writes/reads
270
+ - `memory/semantic/` ← Agent writes/reads
271
+ - `memory/procedural/` ← Agent writes/reads
272
+ - `memory/metrics/` ← Agent writes/reads
273
+
274
+ ### System Documentation (Initialization)
275
+
276
+ - `LIFELONG_LEARNING_LAYER.md` ← Embedded in agent at startup
277
+ - `agent-config.yaml` ← Parsed at startup
278
+ - `LEEWAY_UNIFIED_ARCHITECTURE.md` ← Reference available
279
+
280
+ ### Quick Reference (Runtime Available)
281
+
282
+ - `AGENT_LEARNING_REFERENCE.md` ← Available for lookups
283
+
284
+ ### Planning Documents (Architects Only)
285
+
286
+ - `LEEWAY_WORKFLOWS_STRATEGIC_PLAN.md`
287
+ - `WORKFLOW_ACQUISITION_MANIFEST.md`
288
+ - `SKILL_WORKFLOW_COMPOSITION_MATRIX.md`
289
+ - `SYSTEM_TRANSFORMATION_SUMMARY.md`
290
+ - `README.md`
291
+
292
+ ---
293
+
294
+ ## Important: What This Means for Agents
295
+
296
+ ### Agents Don't Need
297
+
298
+ - Timelines (learn continuously)
299
+ - Curricula (tasks drive learning)
300
+ - Assessments (self-evaluate)
301
+ - Instructions (embedded in config)
302
+ - Phases (no phases)
303
+ - Checkpoints (continuous progress)
304
+ - Milestones (always improving)
305
+
306
+ ### Agents Have
307
+
308
+ - Configuration (agent-config.yaml)
309
+ - Registries (skill and workflow lists)
310
+ - Memory systems (episodic, semantic, procedural)
311
+ - Self-evaluation (reflection phase)
312
+ - Continuous improvement (every task)
313
+ - Mastery tracking (per skill/workflow)
314
+ - Pattern extraction (automatic)
315
+
316
+ ---
317
+
318
+ ## Configuration Priority
319
+
320
+ When agent starts, reads files in this order:
321
+
322
+ ```
323
+ 1. agent-config.yaml (primary configuration)
324
+ ├─ If not found → Use defaults
325
+ └─ If invalid → Halt with error
326
+
327
+ 2. skills/ directory (250+ skill definitions)
328
+ ├─ If not found → Create empty registry
329
+ └─ If partial → Load available
330
+
331
+ 3. workflows/ directory (50+ workflow definitions)
332
+ ├─ If not found → Create empty registry
333
+ └─ If partial → Load available
334
+
335
+ 4. memory/ directory (persistent learning)
336
+ ├─ If not found → Initialize
337
+ └─ If found → Load existing state
338
+
339
+ 5. Leeway Standards metadata
340
+ ├─ Verify headers present
341
+ └─ Validate compliance status
342
+ ```
343
+
344
+ ---
345
+
346
+ ## File Update Frequency
347
+
348
+ ### At Startup
349
+
350
+ - `agent-config.yaml` → Read once
351
+ - `skills/*.md` → Read all metadata
352
+ - `workflows/*.md` → Read all definitions
353
+ - `memory/` → Load existing
354
+
355
+ ### During Execution
356
+
357
+ - `memory/episodes/` → Write after each task
358
+ - `memory/semantic/` → Update when patterns found
359
+ - `memory/procedural/` → Update when sequences saved
360
+ - `memory/metrics/` → Continuous updates
361
+
362
+ ### Never Updated by Agent
363
+
364
+ - `agent-config.yaml` (static config)
365
+ - `skills/*.md` (skill definitions)
366
+ - `workflows/*.md` (workflow definitions)
367
+ - Human-oriented documentation
368
+
369
+ ---
370
+
371
+ ## Size Reference
372
+
373
+ | File | Size | Read Frequency |
374
+ | ------------------ | ------- | ---------------------- |
375
+ | agent-config.yaml | ~5 KB | Once per session |
376
+ | Each skill file | 2-5 KB | Per skill execution |
377
+ | Each workflow file | 3-8 KB | Per workflow execution |
378
+ | Episodic memory | Grows | Every task |
379
+ | Semantic patterns | Compact | Per decision |
380
+ | Procedural library | Compact | Per workflow |
381
+
382
+ ---
383
+
384
+ ## Memory Growth Over Time
385
+
386
+ ```
387
+ Day 1:
388
+ Episodes: 5-10 files (50 KB)
389
+ Patterns: 0-2 files (5 KB)
390
+ Procedures: 0 files
391
+ Total: ~60 KB
392
+
393
+ Day 7:
394
+ Episodes: 50-100 files (500 KB)
395
+ Patterns: 10-20 files (50 KB)
396
+ Procedures: 2-5 files (20 KB)
397
+ Total: ~600 KB
398
+
399
+ Month 1:
400
+ Episodes: 500+ files (5 MB) [compressed]
401
+ Patterns: 50-100 files (200 KB)
402
+ Procedures: 15-25 files (100 KB)
403
+ Total: ~5.5 MB
404
+
405
+ Month 3:
406
+ Episodes: 2000+ files (20 MB) [archived]
407
+ Patterns: 200-300 files (1 MB)
408
+ Procedures: 50-75 files (500 KB)
409
+ Total: ~22 MB
410
+ ```
411
+
412
+ ---
413
+
414
+ ## Status
415
+
416
+ ✅ **Agent-Executable Files**: Ready
417
+ ✅ **Configuration Files**: Ready
418
+ ✅ **Memory System**: Initialized
419
+ ✅ **Registries**: Complete
420
+ ✅ **Documentation**: Complete
421
+
422
+ ---
423
+
424
+ **For Agents**: Use agent-config.yaml, skills/, workflows/, memory/
425
+ **For Architects**: Reference all documentation + observe memory growth
426
+ **For Humans**: Read system docs for understanding only
427
+
@@ -0,0 +1,76 @@
1
+ # Leeway Skills Badge Integration
2
+
3
+ ## Purpose
4
+
5
+ Use the existing `agentbage.png.png` image as a visible trust mark that another application is actively using Leeway Skills.
6
+
7
+ The badge bundle does three things:
8
+
9
+ 1. Copies the badge image into the target application
10
+ 2. Generates a proof manifest from `scripts/skills-registry.json`
11
+ 3. Generates embeddable HTML, CSS, and JavaScript for rendering the badge inside another app
12
+
13
+ ## Generated Files
14
+
15
+ Running the installer creates these files in your target folder:
16
+
17
+ - `assets/leeway-skills-agent-badge.png`
18
+ - `leeway-skills-proof.json`
19
+ - `leeway-skills-badge.js`
20
+ - `leeway-skills-badge.css`
21
+ - `leeway-skills-badge.html`
22
+
23
+ ## Install Into Another App
24
+
25
+ From [mcp-server](c:/Tools/AIskills/mcp-server):
26
+
27
+ ```powershell
28
+ npm run build
29
+ node dist/install-badge-proof.js --target ..\some-app\public\leeway-proof --app-name "My App" --integration-method mcp-server
30
+ ```
31
+
32
+ You can also use positional arguments if `npm run` strips flags in PowerShell:
33
+
34
+ ```powershell
35
+ npm run badge:install -- ..\some-app\public\leeway-proof "My App" mcp-server
36
+ ```
37
+
38
+ ## Embed In The App
39
+
40
+ Drop this where you want the badge rendered:
41
+
42
+ ```html
43
+ <link rel="stylesheet" href="/leeway-proof/leeway-skills-badge.css" />
44
+ <div
45
+ data-leeway-skills-badge
46
+ data-leeway-proof-url="/leeway-proof/leeway-skills-proof.json"
47
+ ></div>
48
+ <script type="module" src="/leeway-proof/leeway-skills-badge.js"></script>
49
+ ```
50
+
51
+ ## What The Proof Shows
52
+
53
+ The generated `leeway-skills-proof.json` records:
54
+
55
+ - App name
56
+ - Integration method
57
+ - Active skill count from the registry
58
+ - Installed skill count from the local library
59
+ - SHA-256 fingerprint of the registry
60
+ - SHA-256 fingerprint of the badge image
61
+ - Verification status and warnings
62
+
63
+ This means the badge is not just decorative. It is backed by a manifest generated from the actual Leeway Skills assets in this workspace.
64
+
65
+ ## Current Demo Output
66
+
67
+ A verified demo bundle has already been generated at:
68
+
69
+ - [badge-proof-demo](c:/Tools/AIskills/.leeway/badge-proof-demo)
70
+
71
+ The current proof shows:
72
+
73
+ - `44` active skills exposed through the registry
74
+ - `51` installed skills present in the local library
75
+
76
+ That mismatch is reported in the proof manifest so the badge stays honest about what the connected app is actively using.