hubify 0.2.0 → 0.4.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 ADDED
@@ -0,0 +1,151 @@
1
+ # hubify
2
+
3
+ The living intelligence layer for AI Agent Skills.
4
+
5
+ [![npm version](https://img.shields.io/npm/v/hubify.svg)](https://www.npmjs.com/package/hubify)
6
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
+
8
+ ## What is Hubify?
9
+
10
+ Hubify is the universal registry for AI agent skills. Skills are verified, evolving, and collective - every execution makes the whole network smarter.
11
+
12
+ - **Search** 40,000+ verified skills
13
+ - **Install** skills locally for your agents
14
+ - **Execute** and track results
15
+ - **Generate** new skills with AI
16
+ - **Report** execution outcomes to improve the collective
17
+
18
+ ## Installation
19
+
20
+ ```bash
21
+ npm install -g hubify
22
+ ```
23
+
24
+ Or use directly with npx:
25
+
26
+ ```bash
27
+ npx hubify search react
28
+ ```
29
+
30
+ ## Quick Start
31
+
32
+ ```bash
33
+ # Search for skills
34
+ hubify search "deploy kubernetes"
35
+
36
+ # Install a skill
37
+ hubify install kubernetes-deploy
38
+
39
+ # Execute a skill (outputs instructions for your agent)
40
+ hubify execute kubernetes-deploy
41
+
42
+ # Report execution results
43
+ hubify report kubernetes-deploy --success
44
+
45
+ # Generate a new skill with AI
46
+ hubify generate "a skill for optimizing PostgreSQL queries"
47
+ ```
48
+
49
+ ## Commands
50
+
51
+ ### Discovery
52
+
53
+ | Command | Description |
54
+ |---------|-------------|
55
+ | `hubify search <query>` | Search skills by name, description, or tags |
56
+ | `hubify info <skill>` | View detailed skill information and trust metrics |
57
+ | `hubify stats` | View registry-wide statistics |
58
+
59
+ ### Installation & Execution
60
+
61
+ | Command | Description |
62
+ |---------|-------------|
63
+ | `hubify install <skill>` | Install skill(s) locally |
64
+ | `hubify execute <skill>` | Execute a skill and output instructions |
65
+ | `hubify list` | List installed skills |
66
+ | `hubify update [skill]` | Update installed skills |
67
+
68
+ ### Publishing & Generation
69
+
70
+ | Command | Description |
71
+ |---------|-------------|
72
+ | `hubify init` | Initialize Hubify in your project |
73
+ | `hubify publish <path>` | Publish a skill to the registry |
74
+ | `hubify generate <prompt>` | Generate a new skill with AI |
75
+ | `hubify import <url>` | Import skills from GitHub |
76
+
77
+ ### Analytics
78
+
79
+ | Command | Description |
80
+ |---------|-------------|
81
+ | `hubify report <skill>` | Report execution results |
82
+ | `hubify report stats` | View execution statistics |
83
+ | `hubify report leaderboard` | Top skills by executions |
84
+
85
+ ## Trust Metrics
86
+
87
+ Every skill has trust metrics based on real executions:
88
+
89
+ - **Confidence Score** (0-100%) - Based on success rate across all executions
90
+ - **Verification Level** (L0-L3) - From untested to battle-tested
91
+ - **Execution Count** - Total times the skill has been run
92
+ - **Success Rate** - Percentage of successful executions
93
+
94
+ ```bash
95
+ hubify info react-best-practices
96
+
97
+ # Trust Metrics
98
+ # Confidence: ████████████████░░░░ 82%
99
+ # Level: L2 Verified
100
+ # Success Rate: ████████████████████ 94%
101
+ # Executions: 12,847
102
+ ```
103
+
104
+ ## AI Skill Generation
105
+
106
+ Generate new skills from natural language:
107
+
108
+ ```bash
109
+ # Uses Claude API (requires ANTHROPIC_API_KEY)
110
+ hubify generate "automate Docker container deployments with health checks"
111
+
112
+ # Or use template-based generation (no API needed)
113
+ hubify generate "lint TypeScript code" --template
114
+ ```
115
+
116
+ ## Environment Variables
117
+
118
+ | Variable | Description |
119
+ |----------|-------------|
120
+ | `ANTHROPIC_API_KEY` | Required for AI skill generation |
121
+ | `GITHUB_TOKEN` | Optional, for higher GitHub API rate limits |
122
+
123
+ ## Configuration
124
+
125
+ Initialize project or global config:
126
+
127
+ ```bash
128
+ # Project config (.hubify/config.yaml)
129
+ hubify init
130
+
131
+ # Global config (~/.hubify/config.yaml)
132
+ hubify init --global
133
+ ```
134
+
135
+ ## How It Works
136
+
137
+ 1. **Agent executes a skill** → Instructions guide the agent
138
+ 2. **Results reported back** → Success/failure tracked
139
+ 3. **Collective improves** → Trust scores update, everyone benefits
140
+
141
+ Skills aren't static - they're living entities that improve from collective feedback.
142
+
143
+ ## Links
144
+
145
+ - **Website**: [hubify.com](https://hubify.com)
146
+ - **Registry**: [hubify.com/skills](https://hubify.com/skills)
147
+ - **GitHub**: [github.com/houstongolden/hubify](https://github.com/houstongolden/hubify)
148
+
149
+ ## License
150
+
151
+ MIT © [Houston Golden](https://github.com/houstongolden)