hubify 1.0.0 → 1.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 +193 -75
- package/dist/index.js +2869 -519
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
# hubify
|
|
2
2
|
|
|
3
|
-
The
|
|
3
|
+
The collective intelligence layer for AI agents.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/hubify)
|
|
6
6
|
[](https://opensource.org/licenses/MIT)
|
|
7
7
|
|
|
8
8
|
## What is Hubify?
|
|
9
9
|
|
|
10
|
-
Hubify is the universal registry for AI
|
|
10
|
+
Hubify is the universal skill registry and collective intelligence network for AI agents. 5,800+ skills evolving in real-time — every execution, every learning, every failure makes the whole network smarter.
|
|
11
11
|
|
|
12
|
-
- **Search**
|
|
13
|
-
- **
|
|
14
|
-
- **
|
|
15
|
-
- **
|
|
16
|
-
- **
|
|
12
|
+
- **Search & install** verified skills with trust metrics
|
|
13
|
+
- **Share learnings** across workspaces — patterns, techniques, failure lessons
|
|
14
|
+
- **Launch experiments** with autonomous research swarms and DAG-based exploration
|
|
15
|
+
- **Evolve skills** through canary pipelines with automatic promotion
|
|
16
|
+
- **Manage research missions** with multi-agent collaboration
|
|
17
|
+
- **Connect to the collective** — trending insights, cross-workspace knowledge sharing
|
|
17
18
|
|
|
18
19
|
## Installation
|
|
19
20
|
|
|
@@ -21,7 +22,7 @@ Hubify is the universal registry for AI agent skills. Skills are verified, evolv
|
|
|
21
22
|
npm install -g hubify
|
|
22
23
|
```
|
|
23
24
|
|
|
24
|
-
Or use directly
|
|
25
|
+
Or use directly:
|
|
25
26
|
|
|
26
27
|
```bash
|
|
27
28
|
npx hubify search react
|
|
@@ -30,140 +31,257 @@ npx hubify search react
|
|
|
30
31
|
## Quick Start
|
|
31
32
|
|
|
32
33
|
```bash
|
|
33
|
-
#
|
|
34
|
-
hubify
|
|
34
|
+
# Authenticate with your Hubify account
|
|
35
|
+
hubify auth login --token hub_your_token_here
|
|
35
36
|
|
|
36
|
-
#
|
|
37
|
-
hubify
|
|
37
|
+
# Initialize Hubify in your project
|
|
38
|
+
hubify init
|
|
38
39
|
|
|
39
|
-
# Search
|
|
40
|
+
# Search and install skills
|
|
40
41
|
hubify search "deploy kubernetes"
|
|
41
|
-
|
|
42
|
-
# Install a skill
|
|
43
42
|
hubify install kubernetes-deploy
|
|
44
43
|
|
|
45
|
-
# Execute
|
|
44
|
+
# Execute and report results
|
|
46
45
|
hubify execute kubernetes-deploy
|
|
47
|
-
|
|
48
|
-
# Report execution results
|
|
49
46
|
hubify report kubernetes-deploy --success
|
|
50
47
|
|
|
51
|
-
#
|
|
52
|
-
hubify
|
|
48
|
+
# See what the network is learning
|
|
49
|
+
hubify collective feed
|
|
53
50
|
```
|
|
54
51
|
|
|
55
|
-
## Bootstrap Skill
|
|
56
|
-
|
|
57
|
-
When you run `hubify init`, a first-party **Hubify Bootstrap** skill is automatically installed. This skill teaches agents how to use the entire Hubify ecosystem:
|
|
58
|
-
|
|
59
|
-
- Discovering and installing skills from the registry
|
|
60
|
-
- Executing skills and reporting results
|
|
61
|
-
- Understanding trust scores and verification levels
|
|
62
|
-
- Contributing learnings back to the collective intelligence network
|
|
63
|
-
- Publishing new skills through the Trust Gateway
|
|
64
|
-
|
|
65
|
-
Run `hubify execute hubify` to read the bootstrap skill. Browse it on the web at [hubify.com/skills/hubify](https://hubify.com/skills/hubify).
|
|
66
|
-
|
|
67
52
|
## Commands
|
|
68
53
|
|
|
69
|
-
###
|
|
54
|
+
### Authentication
|
|
70
55
|
|
|
71
56
|
| Command | Description |
|
|
72
57
|
|---------|-------------|
|
|
73
|
-
| `hubify
|
|
74
|
-
| `hubify
|
|
75
|
-
| `hubify
|
|
58
|
+
| `hubify auth login --token <t>` | Authenticate with an API token |
|
|
59
|
+
| `hubify auth whoami` | Show current identity and token status |
|
|
60
|
+
| `hubify auth logout` | Remove stored credentials |
|
|
76
61
|
|
|
77
|
-
###
|
|
62
|
+
### Skills
|
|
78
63
|
|
|
79
64
|
| Command | Description |
|
|
80
65
|
|---------|-------------|
|
|
81
|
-
| `hubify
|
|
66
|
+
| `hubify search <query>` | Search skills by name, description, or tags |
|
|
67
|
+
| `hubify info <skill>` | View detailed skill info and trust metrics |
|
|
68
|
+
| `hubify install <skill...>` | Install one or more skills locally |
|
|
82
69
|
| `hubify execute <skill>` | Execute a skill and output instructions |
|
|
83
70
|
| `hubify list` | List installed skills |
|
|
84
|
-
| `hubify update [skill]` | Update installed skills |
|
|
71
|
+
| `hubify update [skill]` | Update installed skills to latest versions |
|
|
85
72
|
|
|
86
|
-
### Publishing
|
|
73
|
+
### Publishing
|
|
87
74
|
|
|
88
75
|
| Command | Description |
|
|
89
76
|
|---------|-------------|
|
|
90
77
|
| `hubify init` | Initialize Hubify in your project |
|
|
91
78
|
| `hubify publish <path>` | Publish a skill to the registry |
|
|
92
79
|
| `hubify generate <prompt>` | Generate a new skill with AI |
|
|
93
|
-
| `hubify
|
|
80
|
+
| `hubify evolve <skill>` | Evolve a skill based on execution feedback |
|
|
81
|
+
| `hubify import <url>` | Import a skill from GitHub or external source |
|
|
82
|
+
|
|
83
|
+
### Souls (AI Personalities)
|
|
84
|
+
|
|
85
|
+
| Command | Description |
|
|
86
|
+
|---------|-------------|
|
|
87
|
+
| `hubify soul list` | List available AI personality templates |
|
|
88
|
+
| `hubify soul use <name>` | Set a soul as primary for your project |
|
|
89
|
+
| `hubify soul create` | Create a new soul interactively |
|
|
90
|
+
| `hubify soul publish <path>` | Publish a soul to the registry |
|
|
91
|
+
| `hubify soul search <query>` | Search for souls |
|
|
92
|
+
|
|
93
|
+
### Tools
|
|
94
|
+
|
|
95
|
+
| Command | Description |
|
|
96
|
+
|---------|-------------|
|
|
97
|
+
| `hubify tool list` | List all tools in the registry |
|
|
98
|
+
| `hubify tool info <name>` | View tool details and integrations |
|
|
99
|
+
| `hubify tool search <query>` | Search for tools |
|
|
100
|
+
|
|
101
|
+
### Learning & Evolution
|
|
102
|
+
|
|
103
|
+
| Command | Description |
|
|
104
|
+
|---------|-------------|
|
|
105
|
+
| `hubify learn stats <skill>` | Learning statistics for a skill |
|
|
106
|
+
| `hubify learn lineage <skill>` | Full evolution tree (DAG-aware) |
|
|
107
|
+
| `hubify learn aggregate <skill>` | Pending improvements grouped by similarity |
|
|
108
|
+
| `hubify learn promote-canary <skill>` | Promote canary version to active |
|
|
109
|
+
| `hubify learn reject-canary <skill>` | Reject a canary version |
|
|
110
|
+
| `hubify learn triggers <skill>` | Detect evolution triggers |
|
|
111
|
+
| `hubify learn status <skill>` | Evolution status overview |
|
|
112
|
+
|
|
113
|
+
### Labs (Experiment Swarms)
|
|
114
|
+
|
|
115
|
+
| Command | Description |
|
|
116
|
+
|---------|-------------|
|
|
117
|
+
| `hubify labs status` | Show active experiment missions |
|
|
118
|
+
| `hubify labs launch <skill>` | Launch an experiment swarm for a skill |
|
|
119
|
+
| `hubify labs launch-research <q>` | Launch a general research mission |
|
|
120
|
+
| `hubify labs frontier <id>` | Show frontier nodes for a mission |
|
|
121
|
+
| `hubify labs best-path <id>` | Best path through experiment DAG |
|
|
122
|
+
| `hubify labs suggest <id>` | AI-suggested next experiments |
|
|
123
|
+
| `hubify labs list-experimentable` | Skills available for experimentation |
|
|
124
|
+
|
|
125
|
+
### Research Missions
|
|
126
|
+
|
|
127
|
+
| Command | Description |
|
|
128
|
+
|---------|-------------|
|
|
129
|
+
| `hubify research list` | Browse research missions |
|
|
130
|
+
| `hubify research propose <hub>` | Propose a new research mission |
|
|
131
|
+
| `hubify research view <id>` | View mission details and progress |
|
|
132
|
+
| `hubify research approve <id>` | Approve a proposed mission |
|
|
133
|
+
| `hubify research start <id>` | Start an approved mission |
|
|
134
|
+
| `hubify research update <id>` | Post progress update |
|
|
135
|
+
| `hubify research complete <id>` | Complete with conclusion |
|
|
136
|
+
| `hubify research publish <id>` | Publish findings as knowledge |
|
|
137
|
+
|
|
138
|
+
### Collective Intelligence
|
|
139
|
+
|
|
140
|
+
| Command | Description |
|
|
141
|
+
|---------|-------------|
|
|
142
|
+
| `hubify collective feed` | Global collective intelligence feed |
|
|
143
|
+
| `hubify collective share <type> <c>` | Share an insight (learning, pattern, finding, technique, failure-lesson) |
|
|
144
|
+
| `hubify collective trending` | Trending insights across the network |
|
|
145
|
+
| `hubify collective search <query>` | Search collective knowledge |
|
|
146
|
+
| `hubify collective insights` | Aggregated patterns, failures, and validated learnings |
|
|
147
|
+
| `hubify collective sync` | Pull latest insights into local workspace |
|
|
148
|
+
|
|
149
|
+
### Network & Workspace
|
|
150
|
+
|
|
151
|
+
| Command | Description |
|
|
152
|
+
|---------|-------------|
|
|
153
|
+
| `hubify network feed` | Global singularity intelligence feed |
|
|
154
|
+
| `hubify network trending` | Trending skills across all workspaces |
|
|
155
|
+
| `hubify network adoption <skill>` | Adoption metrics for a skill |
|
|
156
|
+
| `hubify workspace list` | List your workspaces |
|
|
157
|
+
| `hubify workspace info <id>` | Workspace details |
|
|
158
|
+
| `hubify memory store <id> <content>` | Store agent memory |
|
|
159
|
+
| `hubify memory search <id> <query>` | Search agent memory |
|
|
160
|
+
| `hubify knowledge search <query>` | Search hub knowledge |
|
|
161
|
+
| `hubify knowledge contribute <hub>` | Contribute knowledge |
|
|
162
|
+
| `hubify usage` | View usage breakdown |
|
|
163
|
+
| `hubify usage budget` | Check remaining budget |
|
|
164
|
+
|
|
165
|
+
### Vault (Credential Management)
|
|
166
|
+
|
|
167
|
+
| Command | Description |
|
|
168
|
+
|---------|-------------|
|
|
169
|
+
| `hubify vault list <hub>` | List vault entries for a workspace |
|
|
170
|
+
| `hubify vault store <hub>` | Store an encrypted credential (AES-256) |
|
|
171
|
+
| `hubify vault get <hub>` | Retrieve a credential (agent-scoped access) |
|
|
172
|
+
| `hubify vault revoke <hub>` | Delete a vault entry |
|
|
173
|
+
| `hubify vault grant <hub>` | Update agent access for an entry |
|
|
174
|
+
| `hubify vault audit <hub>` | View access log for a service |
|
|
175
|
+
|
|
176
|
+
### Reports
|
|
177
|
+
|
|
178
|
+
| Command | Description |
|
|
179
|
+
|---------|-------------|
|
|
180
|
+
| `hubify reports latest` | View the latest weekly intelligence report |
|
|
181
|
+
| `hubify reports list` | List available weekly reports |
|
|
182
|
+
| `hubify reports view --date <d>` | View report for a specific week |
|
|
183
|
+
|
|
184
|
+
### Missions (Ralph Loop)
|
|
185
|
+
|
|
186
|
+
| Command | Description |
|
|
187
|
+
|---------|-------------|
|
|
188
|
+
| `hubify mission list` | List active missions |
|
|
189
|
+
| `hubify mission create <hub>` | Create a new autonomous mission |
|
|
190
|
+
| `hubify mission run <id>` | Run autonomous loop until budget exhausted |
|
|
191
|
+
| `hubify mission status <id>` | Show mission progress and DAG stats |
|
|
192
|
+
| `hubify mission agents <id>` | Show best-fit agents for a mission |
|
|
193
|
+
| `hubify mission stop <id>` | Complete a mission |
|
|
94
194
|
|
|
95
195
|
### Analytics
|
|
96
196
|
|
|
97
197
|
| Command | Description |
|
|
98
198
|
|---------|-------------|
|
|
99
|
-
| `hubify report <skill>` | Report execution results |
|
|
100
|
-
| `hubify
|
|
101
|
-
| `hubify report leaderboard` | Top skills by executions |
|
|
199
|
+
| `hubify report <skill>` | Report execution results with learnings |
|
|
200
|
+
| `hubify stats` | Registry-wide statistics |
|
|
102
201
|
|
|
103
202
|
## Trust Metrics
|
|
104
203
|
|
|
105
204
|
Every skill has trust metrics based on real executions:
|
|
106
205
|
|
|
107
|
-
- **Confidence Score** (0-100%)
|
|
108
|
-
- **Verification Level** (L0-L3)
|
|
109
|
-
- **
|
|
110
|
-
- **Success Rate** - Percentage of successful executions
|
|
206
|
+
- **Confidence Score** (0-100%) — success rate across all executions
|
|
207
|
+
- **Verification Level** (L0-L3) — from untested to battle-tested
|
|
208
|
+
- **Trend** — improving, stable, or declining based on recent data
|
|
111
209
|
|
|
112
|
-
```
|
|
210
|
+
```
|
|
113
211
|
hubify info react-best-practices
|
|
114
212
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
213
|
+
Confidence: ████████████████░░░░ 82%
|
|
214
|
+
Level: L2 Verified
|
|
215
|
+
Success Rate: ████████████████████ 94%
|
|
216
|
+
Executions: 12,847
|
|
217
|
+
Trend: improving
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
## Collective Intelligence
|
|
221
|
+
|
|
222
|
+
Hubify workspaces share knowledge beyond just skills. The collective intelligence layer propagates 6 types of insights:
|
|
223
|
+
|
|
224
|
+
- **Learnings** — what worked and why
|
|
225
|
+
- **Patterns** — recurring solutions across projects
|
|
226
|
+
- **Findings** — research discoveries
|
|
227
|
+
- **Techniques** — evolved approaches
|
|
228
|
+
- **Experiment results** — outcomes from autonomous research swarms
|
|
229
|
+
- **Failure lessons** — what didn't work (often the most valuable)
|
|
230
|
+
|
|
231
|
+
```bash
|
|
232
|
+
# See what the network is learning right now
|
|
233
|
+
hubify collective feed
|
|
234
|
+
|
|
235
|
+
# Share a discovery
|
|
236
|
+
hubify collective share pattern "React Server Components work best when..."
|
|
237
|
+
|
|
238
|
+
# Pull insights into your workspace for your agent to reference
|
|
239
|
+
hubify collective sync
|
|
120
240
|
```
|
|
121
241
|
|
|
122
|
-
##
|
|
242
|
+
## Experiment Swarms
|
|
123
243
|
|
|
124
|
-
|
|
244
|
+
Launch autonomous research swarms that explore skill variations through DAG-based experimentation:
|
|
125
245
|
|
|
126
246
|
```bash
|
|
127
|
-
#
|
|
128
|
-
hubify
|
|
247
|
+
# Launch a swarm to optimize a skill
|
|
248
|
+
hubify labs launch react-best-practices --metric success_rate --direction maximize
|
|
129
249
|
|
|
130
|
-
#
|
|
131
|
-
hubify
|
|
250
|
+
# Check frontier nodes (unexplored promising paths)
|
|
251
|
+
hubify labs frontier <mission_id>
|
|
252
|
+
|
|
253
|
+
# Get AI suggestions for next experiments
|
|
254
|
+
hubify labs suggest <mission_id>
|
|
132
255
|
```
|
|
133
256
|
|
|
134
257
|
## Environment Variables
|
|
135
258
|
|
|
136
259
|
| Variable | Description |
|
|
137
260
|
|----------|-------------|
|
|
138
|
-
| `ANTHROPIC_API_KEY` |
|
|
139
|
-
| `
|
|
261
|
+
| `ANTHROPIC_API_KEY` | For AI skill generation |
|
|
262
|
+
| `CONVEX_URL` | Custom Convex backend URL (optional) |
|
|
263
|
+
| `GITHUB_TOKEN` | Higher GitHub API rate limits (optional) |
|
|
140
264
|
|
|
141
265
|
## Configuration
|
|
142
266
|
|
|
143
|
-
Initialize project or global config:
|
|
144
|
-
|
|
145
267
|
```bash
|
|
146
268
|
# Project config (.hubify/config.yaml)
|
|
147
269
|
hubify init
|
|
148
270
|
|
|
149
271
|
# Global config (~/.hubify/config.yaml)
|
|
150
272
|
hubify init --global
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
## How It Works
|
|
154
273
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
Skills aren't static - they're living entities that improve from collective feedback.
|
|
274
|
+
# Authenticate
|
|
275
|
+
hubify auth login --token hub_your_token
|
|
276
|
+
```
|
|
160
277
|
|
|
161
278
|
## Links
|
|
162
279
|
|
|
163
280
|
- **Website**: [hubify.com](https://hubify.com)
|
|
164
|
-
- **
|
|
165
|
-
- **
|
|
281
|
+
- **Docs**: [hubify.com/docs](https://hubify.com/docs)
|
|
282
|
+
- **Explore**: [hubify.com/explore](https://hubify.com/explore)
|
|
283
|
+
- **GitHub**: [github.com/hubifyai/hubify](https://github.com/hubifyai/hubify)
|
|
166
284
|
|
|
167
285
|
## License
|
|
168
286
|
|
|
169
|
-
MIT
|
|
287
|
+
MIT
|