@hongmaple0820/scale-engine 0.44.0 → 0.46.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 (46) hide show
  1. package/README.en.md +2 -2
  2. package/README.md +3 -3
  3. package/dist/api/mcp.js +86 -0
  4. package/dist/api/mcp.js.map +1 -1
  5. package/dist/codegraph/CodeIntelligence.d.ts +40 -0
  6. package/dist/codegraph/CodeIntelligence.js +141 -2
  7. package/dist/codegraph/CodeIntelligence.js.map +1 -1
  8. package/dist/cortex/SessionInjector.d.ts +1 -0
  9. package/dist/cortex/SessionInjector.js +33 -0
  10. package/dist/cortex/SessionInjector.js.map +1 -1
  11. package/dist/evolution/EvolutionEngine.d.ts +1 -0
  12. package/dist/evolution/EvolutionEngine.js +43 -5
  13. package/dist/evolution/EvolutionEngine.js.map +1 -1
  14. package/dist/memory/MemoryBrain.d.ts +22 -0
  15. package/dist/memory/MemoryBrain.js +183 -4
  16. package/dist/memory/MemoryBrain.js.map +1 -1
  17. package/dist/memory/MemoryProviders.d.ts +6 -1
  18. package/dist/memory/MemoryProviders.js +190 -6
  19. package/dist/memory/MemoryProviders.js.map +1 -1
  20. package/dist/orchestrator/JiraTrackerAdapter.d.ts +21 -0
  21. package/dist/orchestrator/JiraTrackerAdapter.js +181 -0
  22. package/dist/orchestrator/JiraTrackerAdapter.js.map +1 -0
  23. package/dist/orchestrator/LinearTrackerAdapter.d.ts +17 -0
  24. package/dist/orchestrator/LinearTrackerAdapter.js +186 -0
  25. package/dist/orchestrator/LinearTrackerAdapter.js.map +1 -0
  26. package/dist/orchestrator/OrchestratorDaemon.js +20 -2
  27. package/dist/orchestrator/OrchestratorDaemon.js.map +1 -1
  28. package/dist/prompts/PhasePromptRegistry.d.ts +1 -0
  29. package/dist/prompts/PhasePromptRegistry.js +37 -7
  30. package/dist/prompts/PhasePromptRegistry.js.map +1 -1
  31. package/dist/setup/SetupWizard.js +21 -7
  32. package/dist/setup/SetupWizard.js.map +1 -1
  33. package/dist/skills/SkillRepository.js +64 -1
  34. package/dist/skills/SkillRepository.js.map +1 -1
  35. package/dist/workflows/WorkflowOrchestrator.d.ts +1 -2
  36. package/dist/workflows/WorkflowOrchestrator.js +37 -4
  37. package/dist/workflows/WorkflowOrchestrator.js.map +1 -1
  38. package/docs/README.md +3 -0
  39. package/docs/architecture/README.md +248 -0
  40. package/docs/migration/v0.38-to-v0.44.md +232 -0
  41. package/docs/reference/cli.md +234 -0
  42. package/package.json +4 -5
  43. package/docs/EXTERNAL_REFERENCES.md +0 -66
  44. package/docs/SKILL-REPOSITORY.md +0 -57
  45. package/docs/SKILL_RADAR.md +0 -135
  46. package/docs/THIRD_PARTY_SKILLS.md +0 -114
@@ -0,0 +1,232 @@
1
+ # Migration Guide: v0.38 → v0.44
2
+
3
+ This guide covers breaking changes and migration steps from SCALE Engine v0.38 to v0.44.
4
+
5
+ ## Breaking Changes
6
+
7
+ ### 1. CLI Command Restructuring
8
+
9
+ The CLI has been reorganized into modular subcommands:
10
+
11
+ | Old Command | New Command |
12
+ |-------------|-------------|
13
+ | `scale session start` | `scale session start` (unchanged) |
14
+ | `scale gate pre-tool` | `scale gate pre-tool` (unchanged) |
15
+ | `scale shield compile` | `scale shield compile` (unchanged) |
16
+ | `scale orch start` | `scale orch start` (unchanged) |
17
+ | `scale cortex extract` | `scale cortex extract` (unchanged) |
18
+
19
+ Most commands remain backward-compatible. New phase-aligned commands added:
20
+
21
+ ```bash
22
+ scale define "task description" --level M
23
+ scale plan
24
+ scale build
25
+ scale verify
26
+ scale review
27
+ scale ship
28
+ ```
29
+
30
+ ### 2. Memory Provider Configuration
31
+
32
+ Memory providers now use a unified configuration file:
33
+
34
+ **Before:** Inline configuration in various places
35
+ **After:** `.scale/memory-providers.json`
36
+
37
+ ```json
38
+ {
39
+ "version": "1.0",
40
+ "routing": {
41
+ "mode": "external-first",
42
+ "defaultOrder": ["gbrain", "memos", "agentmemory", "scale-local"]
43
+ },
44
+ "providers": [...]
45
+ }
46
+ ```
47
+
48
+ Initialize with:
49
+ ```bash
50
+ scale memory provider init
51
+ ```
52
+
53
+ ### 3. Gate System Changes
54
+
55
+ Gates G16-G22 have been added:
56
+
57
+ | Gate | Name | Default | Blocking |
58
+ |------|------|---------|----------|
59
+ | G16 | Commit Discipline | yes | yes |
60
+ | G17 | Documentation Hygiene | yes | no (M) / yes (L) |
61
+ | G18 | Runtime Evidence | yes | yes |
62
+ | G19 | Code Review | profile | yes (L+) |
63
+ | G20 | Supply Chain | yes | yes |
64
+ | G21 | Context Budget | yes | no |
65
+ | G22 | Session Health | yes | no |
66
+
67
+ ### 4. Memory Architecture
68
+
69
+ MemoryBrain now uses a 3-layer architecture:
70
+
71
+ - **L1-trace**: Raw observations (default for new nodes)
72
+ - **L2-policy**: Extracted patterns from L1 traces
73
+ - **L3-world-model**: Consolidated knowledge from L2 policies
74
+ - **crystallized**: High-confidence global wisdom
75
+
76
+ Run `scale memory dream` to see layer statistics.
77
+
78
+ ### 5. Code Intelligence
79
+
80
+ CodeGraph and code-review-graph integration:
81
+
82
+ ```bash
83
+ # Initialize codegraph
84
+ scale codegraph init
85
+
86
+ # Query symbols
87
+ scale codegraph query "UserService"
88
+
89
+ # Analyze impact
90
+ scale codegraph impact src/auth/login.ts
91
+ ```
92
+
93
+ ## New Features
94
+
95
+ ### 1. MCP Server
96
+
97
+ SCALE now includes an MCP server for AI agent integration:
98
+
99
+ ```bash
100
+ scale mcp # Start MCP server over stdio
101
+ ```
102
+
103
+ ### 2. HTTP API
104
+
105
+ Hono-based HTTP server for dashboard:
106
+
107
+ ```bash
108
+ scale serve # Start HTTP server
109
+ ```
110
+
111
+ ### 3. Skills System
112
+
113
+ Skills are now managed through a repository:
114
+
115
+ ```bash
116
+ scale skill scan # Scan for available skills
117
+ scale skill recommend # Get recommendations
118
+ scale skill repo # Browse repository
119
+ ```
120
+
121
+ ### 4. Memory Providers
122
+
123
+ External memory providers supported:
124
+
125
+ - **gbrain**: Graph memory (CLI mode)
126
+ - **MemOS**: 3-layer memory architecture
127
+ - **agentmemory**: Semantic search (self-hosted)
128
+ - **scale-local**: Local SQLite (zero deps)
129
+
130
+ ### 5. Code Review Graph
131
+
132
+ Integration with code-review-graph for blast radius analysis:
133
+
134
+ ```bash
135
+ pip install code-review-graph
136
+ code-review-graph build
137
+
138
+ # Use in SCALE
139
+ scale codegraph status
140
+ ```
141
+
142
+ ## Configuration Changes
143
+
144
+ ### 1. Settings Location
145
+
146
+ ```
147
+ .scale/
148
+ ├── memory-providers.json # Memory provider config
149
+ ├── code-intelligence.json # Code intelligence config
150
+ ├── policy.yaml # Shield policy
151
+ ├── instincts/ # Cortex instincts
152
+ ├── memory/ # Memory brain
153
+ └── specs/ # Scoped specs
154
+ ```
155
+
156
+ ### 2. Hook System
157
+
158
+ Hooks are now in `.claude/hooks/`:
159
+
160
+ ```
161
+ .claude/hooks/
162
+ ├── session-start-reminder.sh
163
+ ├── gate-execute-phase.sh
164
+ ├── crg-incremental-update.sh
165
+ └── shield-pre-tool.js
166
+ ```
167
+
168
+ ### 3. Environment Variables
169
+
170
+ New environment variables:
171
+
172
+ | Variable | Description |
173
+ |----------|-------------|
174
+ | `GBRAIN_API_KEY` | GBrain API key |
175
+ | `MEMOS_API_KEY` | MemOS API key |
176
+ | `MEMOS_BASE_URL` | MemOS endpoint |
177
+ | `AGENTMEMORY_ENDPOINT` | AgentMemory endpoint |
178
+
179
+ ## Upgrade Steps
180
+
181
+ ### 1. Backup Current State
182
+
183
+ ```bash
184
+ cp -r .scale .scale.backup
185
+ cp .claude/settings.json .claude/settings.json.backup
186
+ ```
187
+
188
+ ### 2. Update Package
189
+
190
+ ```bash
191
+ npm update @hongmaple0820/scale-engine
192
+ ```
193
+
194
+ ### 3. Run Doctor
195
+
196
+ ```bash
197
+ scale doctor
198
+ ```
199
+
200
+ ### 4. Reinitialize if Needed
201
+
202
+ ```bash
203
+ scale init
204
+ scale setup --interactive
205
+ ```
206
+
207
+ ### 5. Verify Installation
208
+
209
+ ```bash
210
+ scale preflight
211
+ scale shield status
212
+ scale cortex verify
213
+ ```
214
+
215
+ ## Rollback
216
+
217
+ If issues occur:
218
+
219
+ ```bash
220
+ # Restore backup
221
+ cp -r .scale.backup .scale
222
+ cp .claude/settings.json.backup .claude/settings.json
223
+
224
+ # Reinstall previous version
225
+ npm install @hongmaple0820/scale-engine@0.38.0
226
+ ```
227
+
228
+ ## Support
229
+
230
+ - GitHub Issues: https://github.com/your-org/scale-engine/issues
231
+ - Documentation: docs/README.md
232
+ - Migration help: `scale doctor --migration`
@@ -0,0 +1,234 @@
1
+ # SCALE Engine CLI Reference
2
+
3
+ > Auto-generated from source. Run `scale --help` for live output.
4
+
5
+ ## Top-Level Commands
6
+
7
+ | Command | Description |
8
+ |---------|-------------|
9
+ | `scale init` | Initialize SCALE governance in a project |
10
+ | `scale setup` | Interactive setup wizard |
11
+ | `scale doctor` | Diagnose SCALE installation and configuration |
12
+ | `scale preflight` | Run pre-flight checks |
13
+ | `scale status` | Show project governance status |
14
+
15
+ ## Phase Workflow
16
+
17
+ | Command | Description |
18
+ |---------|-------------|
19
+ | `scale define` | Define a new task with scope and level |
20
+ | `scale plan` | Generate implementation plan |
21
+ | `scale build` | Execute implementation with TDD |
22
+ | `scale verify` | Run verification gates |
23
+ | `scale review` | Code review and evidence check |
24
+ | `scale ship` | Prepare for release |
25
+
26
+ ## Engines
27
+
28
+ ### Shield (`scale shield`)
29
+
30
+ Hook-based security engine that intercepts dangerous commands.
31
+
32
+ | Command | Description |
33
+ |---------|-------------|
34
+ | `scale shield compile` | Compile YAML policies to executable hooks |
35
+ | `scale shield status` | Show shield configuration status |
36
+ | `scale shield test` | Test shield rules |
37
+
38
+ ### Orchestrator (`scale orch`)
39
+
40
+ Declarative orchestration daemon with git worktree isolation.
41
+
42
+ | Command | Description |
43
+ |---------|-------------|
44
+ | `scale orch start` | Start orchestration daemon |
45
+ | `scale orch stop` | Stop orchestration daemon |
46
+ | `scale orch status` | Show orchestration status |
47
+ | `scale orch log` | View orchestration logs |
48
+
49
+ ### Cortex (`scale cortex`)
50
+
51
+ Evidence-driven continuous evolution with instinct extraction.
52
+
53
+ | Command | Description |
54
+ |---------|-------------|
55
+ | `scale cortex extract` | Extract instincts from observation logs |
56
+ | `scale cortex inject` | Preview SessionStart injection content |
57
+ | `scale cortex metrics` | Show governance metrics |
58
+ | `scale cortex evolve` | Run evolution cycle |
59
+ | `scale cortex verify` | Verify cortex pipeline health |
60
+
61
+ ## Memory
62
+
63
+ | Command | Description |
64
+ |---------|-------------|
65
+ | `scale memory pack` | Build memory context pack |
66
+ | `scale memory doctor` | Diagnose memory system health |
67
+ | `scale memory settle` | Settle learning candidates |
68
+ | `scale memory ingest` | Ingest evidence into memory |
69
+ | `scale memory query` | Query memory brain |
70
+ | `scale memory contradictions` | Detect memory contradictions |
71
+ | `scale memory dream` | Run memory consolidation |
72
+ | `scale memory promote` | Promote memory node to active |
73
+ | `scale memory export` | Export memory to JSONL |
74
+ | `scale memory import` | Import memory from JSONL |
75
+
76
+ ### Memory Providers
77
+
78
+ | Command | Description |
79
+ |---------|-------------|
80
+ | `scale memory provider init` | Initialize memory provider config |
81
+ | `scale memory provider status` | Show provider health status |
82
+ | `scale memory provider recall` | Query providers for memories |
83
+ | `scale memory provider use` | Switch active memory provider |
84
+
85
+ ## Code Intelligence
86
+
87
+ | Command | Description |
88
+ |---------|-------------|
89
+ | `scale codegraph status` | Show codegraph index status |
90
+ | `scale codegraph init` | Initialize codegraph index |
91
+ | `scale codegraph query` | Query code symbols and relationships |
92
+ | `scale codegraph impact` | Analyze change impact |
93
+ | `scale codegraph context` | Build context for code review |
94
+ | `scale codegraph roi` | Show codegraph ROI metrics |
95
+ | `scale codegraph dump` | Dump codegraph data |
96
+
97
+ ## Evaluation
98
+
99
+ | Command | Description |
100
+ |---------|-------------|
101
+ | `scale eval init` | Initialize evaluation suite |
102
+ | `scale eval run` | Run evaluation suite |
103
+ | `scale eval compare` | Compare evaluation runs |
104
+ | `scale eval report` | Generate evaluation report |
105
+ | `scale eval failures` | List failure records |
106
+ | `scale eval replay` | Replay failure scenarios |
107
+ | `scale eval promote-failure` | Promote failure to learning |
108
+
109
+ ## Workflow
110
+
111
+ | Command | Description |
112
+ |---------|-------------|
113
+ | `scale workflow list` | List workflow presets |
114
+ | `scale evidence list` | List evidence records |
115
+ | `scale evidence show` | Show evidence details |
116
+ | `scale token record` | Record token usage |
117
+ | `scale token report` | Generate token usage report |
118
+
119
+ ## Runtime
120
+
121
+ | Command | Description |
122
+ |---------|-------------|
123
+ | `scale runtime start` | Start runtime session |
124
+ | `scale runtime end` | End runtime session |
125
+ | `scale runtime record` | Record runtime evidence |
126
+ | `scale runtime doctor` | Diagnose runtime health |
127
+ | `scale runtime final-check` | Run final delivery check |
128
+
129
+ ## Skills
130
+
131
+ | Command | Description |
132
+ |---------|-------------|
133
+ | `scale skill scan` | Scan for available skills |
134
+ | `scale skill plan` | Generate skill routing plan |
135
+ | `scale skill doctor` | Diagnose skill configuration |
136
+ | `scale skill check` | Check skill installation safety |
137
+ | `scale skill repo` | Browse skill repository |
138
+ | `scale skill safety` | Evaluate skill supply chain safety |
139
+ | `scale skill radar` | Show skill radar visualization |
140
+ | `scale skill recommend` | Get skill recommendations |
141
+ | `scale skill outdated` | Check for outdated skills |
142
+
143
+ ## Tools
144
+
145
+ | Command | Description |
146
+ |---------|-------------|
147
+ | `scale tool policy` | Show tool orchestration policy |
148
+ | `scale tool doctor` | Diagnose tool configuration |
149
+ | `scale tool plan` | Generate tool usage plan |
150
+ | `scale tool run` | Run tool with evidence |
151
+ | `scale tool evidence` | Show tool evidence |
152
+ | `scale tool outdated` | Check for outdated tools |
153
+
154
+ ## Governance
155
+
156
+ | Command | Description |
157
+ |---------|-------------|
158
+ | `scale governance diff` | Show governance drift |
159
+ | `scale governance mode` | Set governance mode |
160
+ | `scale governance roi` | Show governance ROI |
161
+
162
+ ## Configuration
163
+
164
+ | Command | Description |
165
+ |---------|-------------|
166
+ | `scale config profile` | Manage configuration profiles |
167
+
168
+ ## Upgrade
169
+
170
+ | Command | Description |
171
+ |---------|-------------|
172
+ | `scale upgrade check` | Check for available upgrades |
173
+ | `scale upgrade plan` | Generate upgrade plan |
174
+ | `scale upgrade apply` | Apply upgrade plan |
175
+ | `scale upgrade rollback` | Rollback latest upgrade |
176
+
177
+ ## Agents
178
+
179
+ | Command | Description |
180
+ |---------|-------------|
181
+ | `scale agent spawn` | Spawn agent instance |
182
+ | `scale agent list` | List active agents |
183
+ | `scale agent profiles` | Show agent profiles |
184
+ | `scale agent leaders` | Show leadership presets |
185
+
186
+ ## Other
187
+
188
+ | Command | Description |
189
+ |---------|-------------|
190
+ | `scale diagnose plan` | Generate diagnostic plan |
191
+ | `scale hunt scan` | Background Hunter scan |
192
+ | `scale hunt report` | Generate hunt report |
193
+ | `scale hunt diagnose` | Run hunt diagnostics |
194
+ | `scale hunt ignore` | Add to ignore baseline |
195
+ | `scale dependency audit` | Audit dependencies |
196
+ | `scale tdd slice` | Create TDD slice |
197
+ | `scale quickstart` | Quick start wizard |
198
+ | `scale tui` | Terminal UI |
199
+ | `scale qa` | Quality assurance checks |
200
+ | `scale auto-fix` | Auto-fix common issues |
201
+ | `scale cost-report` | Generate cost report |
202
+ | `scale cost-optimize` | Optimize costs |
203
+ | `scale cross-review` | Cross-agent code review |
204
+
205
+ ## Examples
206
+
207
+ ```bash
208
+ # Initialize project
209
+ scale init
210
+
211
+ # Run setup wizard
212
+ scale setup --interactive
213
+
214
+ # Define and execute a task
215
+ scale define "Add user authentication" --level M
216
+ scale plan
217
+ scale build
218
+ scale verify
219
+ scale review
220
+ scale ship
221
+
222
+ # Memory operations
223
+ scale memory query "authentication patterns"
224
+ scale memory provider status
225
+ scale memory provider use gbrain
226
+
227
+ # Code intelligence
228
+ scale codegraph query "UserService"
229
+ scale codegraph impact src/auth/login.ts
230
+
231
+ # Skills
232
+ scale skill scan
233
+ scale skill recommend "implement OAuth"
234
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hongmaple0820/scale-engine",
3
- "version": "0.44.0",
3
+ "version": "0.46.0",
4
4
  "description": "Executable AI agent governance with workflow gates, evidence, skill/tool orchestration, and traceable HTML artifacts",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,10 +25,9 @@
25
25
  "files": [
26
26
  "dist",
27
27
  "docs/README.md",
28
- "docs/SKILL_RADAR.md",
29
- "docs/SKILL-REPOSITORY.md",
30
- "docs/EXTERNAL_REFERENCES.md",
31
- "docs/THIRD_PARTY_SKILLS.md",
28
+ "docs/reference",
29
+ "docs/architecture",
30
+ "docs/migration",
32
31
  "docs/guides",
33
32
  "docs/start",
34
33
  "docs/workflow",
@@ -1,66 +0,0 @@
1
- # External Reference Inventory
2
-
3
- This inventory is the source of truth for external projects, community skills, MCP servers, CLIs, and adapter targets referenced by SCALE. It complements [Third-Party Skills and External References](THIRD_PARTY_SKILLS.md).
4
-
5
- The inventory is intentionally conservative:
6
-
7
- - A row here is an acknowledgement and governance record, not a claim that upstream code is vendored.
8
- - License is only marked when it has been explicitly reviewed in this repository. Unknown or unverified projects stay `review-required`.
9
- - Any future vendoring, source copying, modified redistribution, bundled assets, logos, examples, or generated derivatives must preserve upstream license text, copyright notices, NOTICE files, source URL, pinned revision, and modification notes.
10
- - External services and memory providers remain disabled or read-only by default until privacy, retention, credential, and deletion boundaries are reviewed.
11
-
12
- ## Current References
13
-
14
- | Upstream | Role in SCALE | Usage status | License status | Primary source surface |
15
- | --- | --- | --- | --- | --- |
16
- | [OthmanAdi/planning-with-files](https://github.com/OthmanAdi/planning-with-files) | File-backed planning workflow reference | adapted concept, not vendored | MIT | `SkillRepository`, README, `THIRD_PARTY_SKILLS` |
17
- | [rohitg00/agentmemory](https://github.com/rohitg00/agentmemory) | Secondary external memory provider | external provider, fallback-only | Apache-2.0 | `MemoryProviders`, `SkillRepository`, README |
18
- | [garrytan/gbrain](https://github.com/garrytan/gbrain) | Default graph-backed memory provider | external provider, default-enabled | MIT | `MemoryProviders`, `SkillRepository`, README |
19
- | [safishamsi/graphify](https://github.com/safishamsi/graphify) | Default knowledge graph and semantic recall source | external provider, default-enabled | review-required | `GraphifyKnowledgeBase`, `CodeIntelligence`, docs |
20
- | [colbymchenry/codegraph](https://github.com/colbymchenry/codegraph) | Upstream code intelligence CLI and MCP server for project-local code graph queries | external CLI and MCP reference | MIT | `CodeIntelligence`, `doctor`, quickstart docs |
21
- | [anthropics/skills](https://github.com/anthropics/skills) | Frontend and webapp testing skill references | external skill reference | review-required | `SkillRepository`, `SkillCatalog`, `ToolCapabilityRegistry` |
22
- | [anthropics/claude-code](https://github.com/anthropics/claude-code) | Graphify and playwright-interactive skill references | optional discovery reference | review-required | `SkillDiscovery` |
23
- | [VoltAgent/awesome-design-md](https://github.com/VoltAgent/awesome-design-md) | Design system and DESIGN.md guidance | external skill reference | review-required | `SkillRepository`, `ExternalSkills`, `SkillDoctor` |
24
- | [nextlevelbuilder/ui-ux-pro-max-skill](https://github.com/nextlevelbuilder/ui-ux-pro-max-skill) | UI/UX design intelligence reference | external skill reference | review-required | `SkillRepository`, `ExternalSkills`, `ToolCapabilityRegistry` |
25
- | [rtk-ai/rtk](https://github.com/rtk-ai/rtk) | Governed CLI proxy for output compression and shell wrapping | external CLI reference | review-required | `ToolCapabilityRegistry`, `ToolOrchestrator`, `InstalledSkillsIntegration`, docs |
26
- | [eze-is/web-access](https://github.com/eze-is/web-access) | Web research and browser automation skill | external skill reference | review-required | `SkillRepository`, `ExternalSkills`, `SkillDoctor` |
27
- | [vercel-labs/agent-browser](https://github.com/vercel-labs/agent-browser) | Browser automation CLI | external CLI reference | review-required | `SkillRepository`, `ExternalSkills`, `ToolCapabilityRegistry` |
28
- | [ChromeDevTools/chrome-devtools-mcp](https://github.com/ChromeDevTools/chrome-devtools-mcp) | Chrome DevTools MCP integration | MCP reference | review-required | `SkillRepository`, `ExternalSkills`, `ToolCapabilityRegistry` |
29
- | [trycua/cua](https://github.com/trycua/cua) | Desktop computer-use automation | restricted external automation reference | review-required | `SkillRepository`, `ExternalSkills`, `ToolCapabilityRegistry` |
30
- | [microsoft/playwright](https://github.com/microsoft/playwright) | Browser automation and validation | optional discovery reference | review-required | `SkillDiscovery` |
31
- | [google-gemini/gemini-cli](https://github.com/google-gemini/gemini-cli) | Gemini CLI and community skill examples | external CLI and skill reference | review-required | `SkillRepository`, `SkillCatalog`, adapters |
32
- | [openai/codex](https://github.com/openai/codex) | Codex CLI adapter and external reviewer | external CLI reference | review-required | `SkillRepository`, `ExternalSkills`, adapters |
33
- | [sst/opencode](https://github.com/sst/opencode) | OpenCode CLI reference used by routing | external CLI reference | review-required | `SkillRepository`, `ExternalSkills`, `SkillDoctor` |
34
- | [opencode-ai/opencode](https://github.com/opencode-ai/opencode) | OpenCode adapter source comment | adapter target reference | review-required | `OpenCodeAdapter` |
35
- | [facebook/react](https://github.com/facebook/react) | React fix skill example | external skill reference | review-required | `SkillRepository`, `SkillCatalog` |
36
- | [vercel/next.js](https://github.com/vercel/next.js) | Next.js documentation update skill example | external skill reference | review-required | `SkillRepository`, `SkillCatalog` |
37
- | [vercel-labs/skills](https://github.com/vercel-labs/skills) | Skill discovery example | external skill reference | review-required | `SkillRepository`, `SkillCatalog` |
38
- | [Shubhamsaboo/awesome-llm-apps](https://github.com/Shubhamsaboo/awesome-llm-apps) | Full-stack agent skill example | external skill reference | review-required | `SkillCatalog` |
39
- | [jnMetaCode/agency-agents-zh](https://github.com/jnMetaCode/agency-agents-zh) | Chinese role preset reference | external preset reference | review-required | `SkillRepository` |
40
- | [yizhiyanhua-ai/fireworks-tech-graph](https://github.com/yizhiyanhua-ai/fireworks-tech-graph) | Diagram skill discovery and installer reference | optional install reference | review-required | `ExternalSkills`, `SkillDiscovery`, `SkillInstaller` |
41
- | [github/awesome-copilot](https://github.com/github/awesome-copilot) | Excalidraw diagram skill source | optional install reference | review-required | `ExternalSkills`, `SkillInstaller`, installation workflow doc |
42
- | [Cocoon-AI/architecture-diagram-generator](https://github.com/Cocoon-AI/architecture-diagram-generator) | Architecture diagram skill reference | optional install reference | review-required | `ExternalSkills`, `SkillDiscovery`, `SkillInstaller` |
43
- | [heygen-com/hyperframes](https://github.com/heygen-com/hyperframes) | Video generation CLI reference | optional install reference | review-required | `ExternalSkills`, `SkillDiscovery`, `SkillInstaller` |
44
- | [op7418/guizang-ppt-skill](https://github.com/op7418/guizang-ppt-skill) | PPT generation skill reference | optional install reference | review-required | `ExternalSkills`, `SkillDiscovery`, `SkillInstaller` |
45
- | [QwenLM/qwen-code](https://github.com/QwenLM/qwen-code) | QCoder adapter target | adapter target reference | review-required | `QCoderAdapter` |
46
- | [Qoder docs](https://docs.qoder.com/) | Qoder adapter target | adapter target reference | review-required | `QoderAdapter` |
47
- | JCode | JCode adapter target; upstream source and license still need review | provisional adapter target reference | review-required | `JCodeAdapter` |
48
- | [Cline docs](https://docs.cline.bot/) | Cline adapter target | adapter target reference | review-required | `ClineAdapter` |
49
- | [Kilo Code docs](https://docs.kilocode.ai/) | Kilo Code adapter target | adapter target reference | review-required | `KiloCodeAdapter` |
50
- | [Google Antigravity docs](https://antigravity.google/docs/) | Antigravity adapter target | adapter target reference | review-required | `AntigravityAdapter` |
51
- | [openclaw-ai/openclaw](https://github.com/openclaw-ai/openclaw) | OpenClaw adapter target | adapter target reference | review-required | `OpenClawAdapter` |
52
- | [hermes-ai/hermes](https://github.com/hermes-ai/hermes) | Hermes adapter target | adapter target reference | review-required | `HermesAdapter` |
53
- | [Hmbown/deepseek-tui](https://github.com/Hmbown/deepseek-tui) | DeepSeek TUI adapter target | adapter target reference | review-required | `DeepSeekTuiAdapter` |
54
- | [Aider-AI/aider](https://github.com/Aider-AI/aider) | Aider adapter target | adapter target reference | review-required | `AiderAdapter` |
55
-
56
- ## Required Maintenance
57
-
58
- When a new GitHub upstream is referenced from `src/skills`, `src/tools`, `src/adapters`, or current tool orchestration docs, update this inventory in the same change. `tests/docs/externalReferences.test.ts` scans those surfaces and fails if a referenced upstream is missing from this file.
59
-
60
- Before promoting any `review-required` item to a declared license status, record:
61
-
62
- 1. upstream license file and revision
63
- 2. upstream copyright and NOTICE obligations
64
- 3. whether SCALE vendors code, adapts concepts, or only links to the project
65
- 4. modification notes for copied or derived files
66
- 5. installation, script, and permission review evidence
@@ -1,57 +0,0 @@
1
- # SCALE Skill 仓库
2
-
3
- 这个仓库视图用于让 Agent 按任务渐进式发现、激活和编排 skills/MCP/CLI,而不是一次性把所有能力塞进上下文。
4
-
5
- ## 渐进式披露
6
-
7
- 1. 启动时只读取 Skill 元数据和一句话描述。
8
- 2. 任务命中时才读取完整 SKILL.md。
9
- 3. scripts、references、assets 只在明确需要时懒加载。
10
-
11
- ## 安全安装
12
-
13
- - 安装前必须执行安全扫描,阻断 `curl | bash`、`Invoke-Expression`、危险删除和非 HTTPS 来源。
14
- - npm/npx 来源必须补充 `npm audit signatures`、来源仓库、许可证和版本/commit 固定检查。
15
- - 任何第三方 Skill 都先进入隔离审查,再写入项目或全局 skills 目录。
16
-
17
- ## 供应链防护清单
18
-
19
- - review-skill-frontmatter
20
- - inspect-scripts-directory
21
- - verify-license-and-source
22
- - verify-attribution-and-notice
23
- - pin-source-revision
24
- - npm-audit-signatures
25
-
26
- ## Skill 目录
27
-
28
- | ID | 类别 | 信任 | 主要用途 | 组合建议 |
29
- | --- | --- | --- | --- | --- |
30
- | `planning-with-files` | planning | community | Use persistent planning files, progress logs, findings, active-plan selection, and plan attestation for long-running agent work. | memory-brain, web-access, code-reviewer |
31
- | `agentmemory` | memory | community | Use as an optional external memory provider via REST or MCP when teams want cross-agent persistent memory beyond SCALE local Memory Brain. | memory-brain, mcp-chrome-devtools, codex-cli |
32
- | `gbrain` | memory | community | Use as the default graph-backed memory provider for long-running project knowledge, entity relationships, and background memory maintenance. | memory-brain, agentmemory, codegraph |
33
- | `frontend-design` | ui | official | 在 DESIGN.md 和 UX 验收之后补齐前端实现约束、组件状态和落地方式。 | awesome-design-md, ui-ux-pro-max, webapp-testing |
34
- | `awesome-design-md` | ui | ecosystem | 建立产品级设计规范、品牌语言和 DESIGN.md。 | ui-ux-pro-max, frontend-design |
35
- | `ui-ux-pro-max` | ui | ecosystem | 补齐体验策略、交互状态和 UI 验收维度。 | awesome-design-md, webapp-testing |
36
- | `webapp-testing` | testing | official | 验证页面点击、表单、控制台、截图和端到端行为。 | agent-browser, mcp-chrome-devtools |
37
- | `web-access` | browser | ecosystem | 获取一手资料、动态页面内容、网页证据和来源引用。 | agent-browser, mcp-chrome-devtools |
38
- | `agent-browser` | browser | ecosystem | 与 Web 页面真实交互,补齐手工验收证据。 | web-access, webapp-testing, mcp-chrome-devtools |
39
- | `mcp-chrome-devtools` | browser | ecosystem | 调试控制台错误、网络请求、页面状态和性能问题。 | agent-browser, webapp-testing |
40
- | `cua` | desktop | ecosystem | 操作桌面应用并收集端侧截图、状态和副作用边界证据。 | web-access, agent-browser |
41
- | `code-reviewer` | review | official | 合并前分级审查缺陷、安全、可维护性和测试风险。 | security-and-hardening, update-docs |
42
- | `fix` | review | official | 提交前清理格式和 lint 问题。 | code-reviewer |
43
- | `pr-creator` | review | official | 生成标准 PR 描述和合并前说明。 | code-reviewer, update-docs |
44
- | `update-docs` | docs | official | 发现并更新受代码变更影响的长期文档。 | documentation-and-adrs |
45
- | `find-skills` | discovery | ecosystem | 按任务意图搜索合适 Skill,再进入安全扫描。 | web-access |
46
- | `codex-cli` | agent-cli | official | 外部 CLI 审查和命令级证据。 | gemini-cli, opencode-cli |
47
- | `gemini-cli` | agent-cli | official | 外部 CLI 审查和命令级证据。 | codex-cli, opencode-cli |
48
- | `opencode-cli` | agent-cli | ecosystem | 外部 CLI 审查和命令级证据。 | codex-cli, gemini-cli |
49
- | `agency-agents-zh` | role-library | community | 提供 CEO、CTO、工程、设计、产品等角色预设参考。 | skill-safety-scan |
50
-
51
- ## Third-Party Attribution
52
-
53
- | ID | License | Usage | Notice |
54
- | --- | --- | --- | --- |
55
- | `planning-with-files` | MIT | adapted-concept | Inspired by and compatible with OthmanAdi/planning-with-files. SCALE should not copy upstream files unless the MIT license text and attribution are included. |
56
- | `agentmemory` | Apache-2.0 | external-reference | Optional external integration only. Do not vendor agentmemory code into SCALE without preserving Apache-2.0 license text, modification notices, and any upstream NOTICE obligations. |
57
- | `gbrain` | MIT | external-reference | Optional external provider only. Do not vendor GBrain code into SCALE without preserving MIT license text, source revision, and modification notices. |