skillnet-ai 0.0.2__tar.gz → 0.0.4__tar.gz
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.
- {skillnet_ai-0.0.2/src/skillnet_ai.egg-info → skillnet_ai-0.0.4}/PKG-INFO +31 -22
- {skillnet_ai-0.0.2 → skillnet_ai-0.0.4}/README.md +30 -21
- {skillnet_ai-0.0.2 → skillnet_ai-0.0.4}/pyproject.toml +1 -1
- {skillnet_ai-0.0.2 → skillnet_ai-0.0.4}/src/skillnet_ai/cli.py +6 -5
- {skillnet_ai-0.0.2 → skillnet_ai-0.0.4}/src/skillnet_ai/client.py +2 -2
- {skillnet_ai-0.0.2 → skillnet_ai-0.0.4}/src/skillnet_ai/evaluator.py +2 -2
- {skillnet_ai-0.0.2 → skillnet_ai-0.0.4/src/skillnet_ai.egg-info}/PKG-INFO +31 -22
- {skillnet_ai-0.0.2 → skillnet_ai-0.0.4}/LICENSE +0 -0
- {skillnet_ai-0.0.2 → skillnet_ai-0.0.4}/setup.cfg +0 -0
- {skillnet_ai-0.0.2 → skillnet_ai-0.0.4}/src/skillnet_ai/__init__.py +0 -0
- {skillnet_ai-0.0.2 → skillnet_ai-0.0.4}/src/skillnet_ai/analyzer.py +0 -0
- {skillnet_ai-0.0.2 → skillnet_ai-0.0.4}/src/skillnet_ai/creator.py +0 -0
- {skillnet_ai-0.0.2 → skillnet_ai-0.0.4}/src/skillnet_ai/downloader.py +0 -0
- {skillnet_ai-0.0.2 → skillnet_ai-0.0.4}/src/skillnet_ai/models.py +0 -0
- {skillnet_ai-0.0.2 → skillnet_ai-0.0.4}/src/skillnet_ai/prompts.py +0 -0
- {skillnet_ai-0.0.2 → skillnet_ai-0.0.4}/src/skillnet_ai/searcher.py +0 -0
- {skillnet_ai-0.0.2 → skillnet_ai-0.0.4}/src/skillnet_ai.egg-info/SOURCES.txt +0 -0
- {skillnet_ai-0.0.2 → skillnet_ai-0.0.4}/src/skillnet_ai.egg-info/dependency_links.txt +0 -0
- {skillnet_ai-0.0.2 → skillnet_ai-0.0.4}/src/skillnet_ai.egg-info/entry_points.txt +0 -0
- {skillnet_ai-0.0.2 → skillnet_ai-0.0.4}/src/skillnet_ai.egg-info/requires.txt +0 -0
- {skillnet_ai-0.0.2 → skillnet_ai-0.0.4}/src/skillnet_ai.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: skillnet-ai
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.4
|
|
4
4
|
Summary: Official Python SDK for SkillNet: Create, Evaluate, and Connect AI Skills.
|
|
5
5
|
Author-email: SkillNet Team <liangyuannnnn@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -69,9 +69,9 @@ from skillnet_ai import SkillNetClient
|
|
|
69
69
|
|
|
70
70
|
# Initialize with optional credentials
|
|
71
71
|
client = SkillNetClient(
|
|
72
|
-
api_key="sk-...", # Required for
|
|
73
|
-
base_url="...", # Optional custom LLM base URL
|
|
74
|
-
github_token="ghp-..." # Optional, for private repos or higher rate limits
|
|
72
|
+
api_key="sk-...", # Required for Create, Evaluate, and Analyze functions
|
|
73
|
+
# base_url="...", # Optional custom LLM base URL
|
|
74
|
+
# github_token="ghp-..." # Optional, for private repos or higher rate limits
|
|
75
75
|
)
|
|
76
76
|
```
|
|
77
77
|
|
|
@@ -80,7 +80,7 @@ Perform keywords match or semantic searches to find skills.
|
|
|
80
80
|
|
|
81
81
|
```python
|
|
82
82
|
# 1. Standard Keywords Match
|
|
83
|
-
results = client.search(q="pdf
|
|
83
|
+
results = client.search(q="pdf")
|
|
84
84
|
|
|
85
85
|
# 2. Semantic Search
|
|
86
86
|
results = client.search(q="Help me analyze financial PDF reports", mode="vector")
|
|
@@ -184,7 +184,7 @@ Assess the Safety, Completeness, Executability, Modifiability and Cost-Aware of
|
|
|
184
184
|
# target_skill = "./my_skills/web_search"
|
|
185
185
|
|
|
186
186
|
# Evaluate from GitHub URL (uses github_token if provided during initialization)
|
|
187
|
-
target_skill = "https://github.com/
|
|
187
|
+
target_skill = "https://github.com/anthropics/skills/tree/main/skills/algorithmic-art"
|
|
188
188
|
|
|
189
189
|
result = client.evaluate(target=target_skill)
|
|
190
190
|
print(f"Evaluation Result: {result}")
|
|
@@ -221,13 +221,13 @@ Search the registry using keywords match or semantic search.
|
|
|
221
221
|
|
|
222
222
|
```bash
|
|
223
223
|
# Basic keywords match
|
|
224
|
-
skillnet search "pdf
|
|
224
|
+
skillnet search "pdf"
|
|
225
225
|
|
|
226
226
|
# Semantic/Vector search (finds skills by meaning)
|
|
227
|
-
skillnet search "
|
|
227
|
+
skillnet search "Help me analyze financial PDF reports" --mode vector --threshold 0.85
|
|
228
228
|
|
|
229
229
|
# Filter by category and sort results
|
|
230
|
-
skillnet search "visualization" --category "
|
|
230
|
+
skillnet search "visualization" --category "Development" --sort-by stars --limit 10
|
|
231
231
|
```
|
|
232
232
|
|
|
233
233
|
#### Key Options:
|
|
@@ -252,10 +252,10 @@ Download and install a skill directly from a GitHub repository subdirectory.
|
|
|
252
252
|
|
|
253
253
|
```bash
|
|
254
254
|
# Download to the current directory
|
|
255
|
-
skillnet download https://github.com/
|
|
255
|
+
skillnet download https://github.com/anthropics/skills/tree/main/skills/algorithmic-art
|
|
256
256
|
|
|
257
257
|
# Download to a specific target directory
|
|
258
|
-
skillnet download https://github.com/
|
|
258
|
+
skillnet download https://github.com/anthropics/skills/tree/main/skills/algorithmic-art -d ./my_agent/skills
|
|
259
259
|
|
|
260
260
|
# Download from a private repository
|
|
261
261
|
skillnet download <private_url> --token <your_github_token>
|
|
@@ -265,9 +265,12 @@ skillnet download <private_url> --token <your_github_token>
|
|
|
265
265
|
|
|
266
266
|
Generate structured Skill Packages from various sources using LLMs.
|
|
267
267
|
|
|
268
|
-
Requirement: Ensure API_KEY is set in your environment variables.
|
|
269
|
-
|
|
270
268
|
```bash
|
|
269
|
+
# Requirement: Ensure API_KEY is set in your environment variables.
|
|
270
|
+
export API_KEY=sk-xxxxx
|
|
271
|
+
export BASE_URL= xxxxxx # Optional custom LLM base URL
|
|
272
|
+
|
|
273
|
+
|
|
271
274
|
# From a trajectory file
|
|
272
275
|
skillnet create ./logs/trajectory.txt -d ./generated_skills
|
|
273
276
|
|
|
@@ -287,25 +290,30 @@ skillnet create --office report.pdf --model gpt-4o
|
|
|
287
290
|
### 4. Evaluate Skills (`evaluate`)
|
|
288
291
|
Generate a comprehensive quality report (Safety, Completeness, Executability, Modifiability, Cost Awareness) for a skill.
|
|
289
292
|
|
|
290
|
-
Requirement: Ensure API_KEY is set in your environment variables.
|
|
291
|
-
|
|
292
293
|
```bash
|
|
294
|
+
# Requirement: Ensure API_KEY is set in your environment variables.
|
|
295
|
+
export API_KEY=sk-xxxxx
|
|
296
|
+
export BASE_URL= xxxxxx # Optional custom LLM base URL
|
|
297
|
+
|
|
293
298
|
# Evaluate a remote skill via GitHub URL
|
|
294
|
-
skillnet evaluate https://github.com/
|
|
299
|
+
skillnet evaluate https://github.com/anthropics/skills/tree/main/skills/algorithmic-art
|
|
295
300
|
|
|
296
301
|
# Evaluate a local skill directory
|
|
297
302
|
skillnet evaluate ./my_skills/web_search
|
|
298
303
|
|
|
299
304
|
# Custom evaluation config
|
|
300
|
-
skillnet evaluate ./my_skills/tool --category "
|
|
305
|
+
skillnet evaluate ./my_skills/tool --category "Development" --model gpt-4o
|
|
301
306
|
```
|
|
302
307
|
|
|
303
308
|
### 5. Analyze Relationships (`analyze`)
|
|
304
309
|
Scan a directory of skills to analyze their connections using AI.
|
|
305
310
|
|
|
306
|
-
Requirement: Ensure API_KEY is set in your environment variables.
|
|
307
311
|
|
|
308
312
|
```bash
|
|
313
|
+
# Requirement: Ensure API_KEY is set in your environment variables.
|
|
314
|
+
export API_KEY=sk-xxxxx
|
|
315
|
+
export BASE_URL= xxxxxx # Optional custom LLM base URL
|
|
316
|
+
|
|
309
317
|
# Analyze a directory containing multiple skill folders
|
|
310
318
|
skillnet analyze ./my_agent_skills
|
|
311
319
|
|
|
@@ -345,10 +353,11 @@ skill-name/
|
|
|
345
353
|
|
|
346
354
|
## 🗺 Roadmap
|
|
347
355
|
|
|
348
|
-
-
|
|
349
|
-
-
|
|
350
|
-
-
|
|
351
|
-
-
|
|
356
|
+
- ✅ Keyword Match & Semantic Search
|
|
357
|
+
- ✅ Skill Installer
|
|
358
|
+
- ✅ Skill Creator (Local File & GitHub Repository)
|
|
359
|
+
- ✅ Skill Evaluation & Scoring
|
|
360
|
+
- ✅ Skill Relationship Analysis
|
|
352
361
|
|
|
353
362
|
---
|
|
354
363
|
|
|
@@ -43,9 +43,9 @@ from skillnet_ai import SkillNetClient
|
|
|
43
43
|
|
|
44
44
|
# Initialize with optional credentials
|
|
45
45
|
client = SkillNetClient(
|
|
46
|
-
api_key="sk-...", # Required for
|
|
47
|
-
base_url="...", # Optional custom LLM base URL
|
|
48
|
-
github_token="ghp-..." # Optional, for private repos or higher rate limits
|
|
46
|
+
api_key="sk-...", # Required for Create, Evaluate, and Analyze functions
|
|
47
|
+
# base_url="...", # Optional custom LLM base URL
|
|
48
|
+
# github_token="ghp-..." # Optional, for private repos or higher rate limits
|
|
49
49
|
)
|
|
50
50
|
```
|
|
51
51
|
|
|
@@ -54,7 +54,7 @@ Perform keywords match or semantic searches to find skills.
|
|
|
54
54
|
|
|
55
55
|
```python
|
|
56
56
|
# 1. Standard Keywords Match
|
|
57
|
-
results = client.search(q="pdf
|
|
57
|
+
results = client.search(q="pdf")
|
|
58
58
|
|
|
59
59
|
# 2. Semantic Search
|
|
60
60
|
results = client.search(q="Help me analyze financial PDF reports", mode="vector")
|
|
@@ -158,7 +158,7 @@ Assess the Safety, Completeness, Executability, Modifiability and Cost-Aware of
|
|
|
158
158
|
# target_skill = "./my_skills/web_search"
|
|
159
159
|
|
|
160
160
|
# Evaluate from GitHub URL (uses github_token if provided during initialization)
|
|
161
|
-
target_skill = "https://github.com/
|
|
161
|
+
target_skill = "https://github.com/anthropics/skills/tree/main/skills/algorithmic-art"
|
|
162
162
|
|
|
163
163
|
result = client.evaluate(target=target_skill)
|
|
164
164
|
print(f"Evaluation Result: {result}")
|
|
@@ -195,13 +195,13 @@ Search the registry using keywords match or semantic search.
|
|
|
195
195
|
|
|
196
196
|
```bash
|
|
197
197
|
# Basic keywords match
|
|
198
|
-
skillnet search "pdf
|
|
198
|
+
skillnet search "pdf"
|
|
199
199
|
|
|
200
200
|
# Semantic/Vector search (finds skills by meaning)
|
|
201
|
-
skillnet search "
|
|
201
|
+
skillnet search "Help me analyze financial PDF reports" --mode vector --threshold 0.85
|
|
202
202
|
|
|
203
203
|
# Filter by category and sort results
|
|
204
|
-
skillnet search "visualization" --category "
|
|
204
|
+
skillnet search "visualization" --category "Development" --sort-by stars --limit 10
|
|
205
205
|
```
|
|
206
206
|
|
|
207
207
|
#### Key Options:
|
|
@@ -226,10 +226,10 @@ Download and install a skill directly from a GitHub repository subdirectory.
|
|
|
226
226
|
|
|
227
227
|
```bash
|
|
228
228
|
# Download to the current directory
|
|
229
|
-
skillnet download https://github.com/
|
|
229
|
+
skillnet download https://github.com/anthropics/skills/tree/main/skills/algorithmic-art
|
|
230
230
|
|
|
231
231
|
# Download to a specific target directory
|
|
232
|
-
skillnet download https://github.com/
|
|
232
|
+
skillnet download https://github.com/anthropics/skills/tree/main/skills/algorithmic-art -d ./my_agent/skills
|
|
233
233
|
|
|
234
234
|
# Download from a private repository
|
|
235
235
|
skillnet download <private_url> --token <your_github_token>
|
|
@@ -239,9 +239,12 @@ skillnet download <private_url> --token <your_github_token>
|
|
|
239
239
|
|
|
240
240
|
Generate structured Skill Packages from various sources using LLMs.
|
|
241
241
|
|
|
242
|
-
Requirement: Ensure API_KEY is set in your environment variables.
|
|
243
|
-
|
|
244
242
|
```bash
|
|
243
|
+
# Requirement: Ensure API_KEY is set in your environment variables.
|
|
244
|
+
export API_KEY=sk-xxxxx
|
|
245
|
+
export BASE_URL= xxxxxx # Optional custom LLM base URL
|
|
246
|
+
|
|
247
|
+
|
|
245
248
|
# From a trajectory file
|
|
246
249
|
skillnet create ./logs/trajectory.txt -d ./generated_skills
|
|
247
250
|
|
|
@@ -261,25 +264,30 @@ skillnet create --office report.pdf --model gpt-4o
|
|
|
261
264
|
### 4. Evaluate Skills (`evaluate`)
|
|
262
265
|
Generate a comprehensive quality report (Safety, Completeness, Executability, Modifiability, Cost Awareness) for a skill.
|
|
263
266
|
|
|
264
|
-
Requirement: Ensure API_KEY is set in your environment variables.
|
|
265
|
-
|
|
266
267
|
```bash
|
|
268
|
+
# Requirement: Ensure API_KEY is set in your environment variables.
|
|
269
|
+
export API_KEY=sk-xxxxx
|
|
270
|
+
export BASE_URL= xxxxxx # Optional custom LLM base URL
|
|
271
|
+
|
|
267
272
|
# Evaluate a remote skill via GitHub URL
|
|
268
|
-
skillnet evaluate https://github.com/
|
|
273
|
+
skillnet evaluate https://github.com/anthropics/skills/tree/main/skills/algorithmic-art
|
|
269
274
|
|
|
270
275
|
# Evaluate a local skill directory
|
|
271
276
|
skillnet evaluate ./my_skills/web_search
|
|
272
277
|
|
|
273
278
|
# Custom evaluation config
|
|
274
|
-
skillnet evaluate ./my_skills/tool --category "
|
|
279
|
+
skillnet evaluate ./my_skills/tool --category "Development" --model gpt-4o
|
|
275
280
|
```
|
|
276
281
|
|
|
277
282
|
### 5. Analyze Relationships (`analyze`)
|
|
278
283
|
Scan a directory of skills to analyze their connections using AI.
|
|
279
284
|
|
|
280
|
-
Requirement: Ensure API_KEY is set in your environment variables.
|
|
281
285
|
|
|
282
286
|
```bash
|
|
287
|
+
# Requirement: Ensure API_KEY is set in your environment variables.
|
|
288
|
+
export API_KEY=sk-xxxxx
|
|
289
|
+
export BASE_URL= xxxxxx # Optional custom LLM base URL
|
|
290
|
+
|
|
283
291
|
# Analyze a directory containing multiple skill folders
|
|
284
292
|
skillnet analyze ./my_agent_skills
|
|
285
293
|
|
|
@@ -319,10 +327,11 @@ skill-name/
|
|
|
319
327
|
|
|
320
328
|
## 🗺 Roadmap
|
|
321
329
|
|
|
322
|
-
-
|
|
323
|
-
-
|
|
324
|
-
-
|
|
325
|
-
-
|
|
330
|
+
- ✅ Keyword Match & Semantic Search
|
|
331
|
+
- ✅ Skill Installer
|
|
332
|
+
- ✅ Skill Creator (Local File & GitHub Repository)
|
|
333
|
+
- ✅ Skill Evaluation & Scoring
|
|
334
|
+
- ✅ Skill Relationship Analysis
|
|
326
335
|
|
|
327
336
|
---
|
|
328
337
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "skillnet-ai"
|
|
7
|
-
version = "0.0.
|
|
7
|
+
version = "0.0.4"
|
|
8
8
|
description = "Official Python SDK for SkillNet: Create, Evaluate, and Connect AI Skills."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [{ name = "SkillNet Team", email = "liangyuannnnn@gmail.com" }]
|
|
@@ -133,14 +133,15 @@ def download(
|
|
|
133
133
|
table.add_row("[bold cyan]Location:[/bold cyan]", installed_path)
|
|
134
134
|
|
|
135
135
|
console.print(table)
|
|
136
|
-
console.print(f"\n[green]
|
|
136
|
+
console.print(f"\n[green]✅ {folder_name} is ready to use.[/green]")
|
|
137
137
|
else:
|
|
138
138
|
# Failure (Logic handled inside class, but we catch the None return)
|
|
139
|
-
console.print("[bold red]Download Failed.[/bold red]")
|
|
139
|
+
console.print("[bold red]❌ Download Failed.[/bold red]")
|
|
140
140
|
console.print("Possible reasons:")
|
|
141
|
-
console.print("1.
|
|
142
|
-
console.print("2. The
|
|
143
|
-
console.print("3.
|
|
141
|
+
console.print("1. Please check your network settings and ensure connection to GitHub is working properly.")
|
|
142
|
+
console.print("2. The URL format is incorrect (must point to a specific skill folder, not just the repo root).")
|
|
143
|
+
console.print("3. The repository is private and no token was provided.")
|
|
144
|
+
console.print("4. GitHub API rate limits exceeded (try providing a token).")
|
|
144
145
|
raise typer.Exit(code=1)
|
|
145
146
|
|
|
146
147
|
except Exception as e:
|
|
@@ -14,9 +14,9 @@ class SkillNetError(Exception):
|
|
|
14
14
|
|
|
15
15
|
class SkillNetClient:
|
|
16
16
|
"""
|
|
17
|
-
A Python SDK client for interacting with SkillNet
|
|
17
|
+
A Python SDK client for interacting with SkillNet services.
|
|
18
18
|
|
|
19
|
-
This client aggregates Search, Download,
|
|
19
|
+
This client aggregates Search, Download, Create, Evaluate, and Analyze functionalities.
|
|
20
20
|
"""
|
|
21
21
|
|
|
22
22
|
def __init__(
|
|
@@ -28,9 +28,9 @@ class EvaluatorConfig:
|
|
|
28
28
|
api_key: str
|
|
29
29
|
base_url: str
|
|
30
30
|
model: str
|
|
31
|
-
cache_dir: str
|
|
32
31
|
max_workers: int = 5
|
|
33
32
|
temperature: float = 0.3
|
|
33
|
+
cache_dir: str = "./evaluate_cache_dir"
|
|
34
34
|
run_scripts: bool = False
|
|
35
35
|
script_timeout_sec: int = 8
|
|
36
36
|
max_script_runs: int = 5
|
|
@@ -898,7 +898,7 @@ if __name__ == '__main__':
|
|
|
898
898
|
parser.add_argument('--base-url', help='OpenAI API base URL')
|
|
899
899
|
parser.add_argument('--model', default='gpt-4o', help='Model name')
|
|
900
900
|
parser.add_argument('--max-workers', type=int, default=5, help='Max workers')
|
|
901
|
-
parser.add_argument('--cache-dir', default='
|
|
901
|
+
parser.add_argument('--cache-dir', default='./evaluate_cache_dir', help='Cache directory')
|
|
902
902
|
parser.add_argument('--run-scripts', action='store_true',
|
|
903
903
|
help='Execute python scripts under scripts/')
|
|
904
904
|
parser.add_argument('--script-timeout', type=int, default=8,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: skillnet-ai
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.4
|
|
4
4
|
Summary: Official Python SDK for SkillNet: Create, Evaluate, and Connect AI Skills.
|
|
5
5
|
Author-email: SkillNet Team <liangyuannnnn@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -69,9 +69,9 @@ from skillnet_ai import SkillNetClient
|
|
|
69
69
|
|
|
70
70
|
# Initialize with optional credentials
|
|
71
71
|
client = SkillNetClient(
|
|
72
|
-
api_key="sk-...", # Required for
|
|
73
|
-
base_url="...", # Optional custom LLM base URL
|
|
74
|
-
github_token="ghp-..." # Optional, for private repos or higher rate limits
|
|
72
|
+
api_key="sk-...", # Required for Create, Evaluate, and Analyze functions
|
|
73
|
+
# base_url="...", # Optional custom LLM base URL
|
|
74
|
+
# github_token="ghp-..." # Optional, for private repos or higher rate limits
|
|
75
75
|
)
|
|
76
76
|
```
|
|
77
77
|
|
|
@@ -80,7 +80,7 @@ Perform keywords match or semantic searches to find skills.
|
|
|
80
80
|
|
|
81
81
|
```python
|
|
82
82
|
# 1. Standard Keywords Match
|
|
83
|
-
results = client.search(q="pdf
|
|
83
|
+
results = client.search(q="pdf")
|
|
84
84
|
|
|
85
85
|
# 2. Semantic Search
|
|
86
86
|
results = client.search(q="Help me analyze financial PDF reports", mode="vector")
|
|
@@ -184,7 +184,7 @@ Assess the Safety, Completeness, Executability, Modifiability and Cost-Aware of
|
|
|
184
184
|
# target_skill = "./my_skills/web_search"
|
|
185
185
|
|
|
186
186
|
# Evaluate from GitHub URL (uses github_token if provided during initialization)
|
|
187
|
-
target_skill = "https://github.com/
|
|
187
|
+
target_skill = "https://github.com/anthropics/skills/tree/main/skills/algorithmic-art"
|
|
188
188
|
|
|
189
189
|
result = client.evaluate(target=target_skill)
|
|
190
190
|
print(f"Evaluation Result: {result}")
|
|
@@ -221,13 +221,13 @@ Search the registry using keywords match or semantic search.
|
|
|
221
221
|
|
|
222
222
|
```bash
|
|
223
223
|
# Basic keywords match
|
|
224
|
-
skillnet search "pdf
|
|
224
|
+
skillnet search "pdf"
|
|
225
225
|
|
|
226
226
|
# Semantic/Vector search (finds skills by meaning)
|
|
227
|
-
skillnet search "
|
|
227
|
+
skillnet search "Help me analyze financial PDF reports" --mode vector --threshold 0.85
|
|
228
228
|
|
|
229
229
|
# Filter by category and sort results
|
|
230
|
-
skillnet search "visualization" --category "
|
|
230
|
+
skillnet search "visualization" --category "Development" --sort-by stars --limit 10
|
|
231
231
|
```
|
|
232
232
|
|
|
233
233
|
#### Key Options:
|
|
@@ -252,10 +252,10 @@ Download and install a skill directly from a GitHub repository subdirectory.
|
|
|
252
252
|
|
|
253
253
|
```bash
|
|
254
254
|
# Download to the current directory
|
|
255
|
-
skillnet download https://github.com/
|
|
255
|
+
skillnet download https://github.com/anthropics/skills/tree/main/skills/algorithmic-art
|
|
256
256
|
|
|
257
257
|
# Download to a specific target directory
|
|
258
|
-
skillnet download https://github.com/
|
|
258
|
+
skillnet download https://github.com/anthropics/skills/tree/main/skills/algorithmic-art -d ./my_agent/skills
|
|
259
259
|
|
|
260
260
|
# Download from a private repository
|
|
261
261
|
skillnet download <private_url> --token <your_github_token>
|
|
@@ -265,9 +265,12 @@ skillnet download <private_url> --token <your_github_token>
|
|
|
265
265
|
|
|
266
266
|
Generate structured Skill Packages from various sources using LLMs.
|
|
267
267
|
|
|
268
|
-
Requirement: Ensure API_KEY is set in your environment variables.
|
|
269
|
-
|
|
270
268
|
```bash
|
|
269
|
+
# Requirement: Ensure API_KEY is set in your environment variables.
|
|
270
|
+
export API_KEY=sk-xxxxx
|
|
271
|
+
export BASE_URL= xxxxxx # Optional custom LLM base URL
|
|
272
|
+
|
|
273
|
+
|
|
271
274
|
# From a trajectory file
|
|
272
275
|
skillnet create ./logs/trajectory.txt -d ./generated_skills
|
|
273
276
|
|
|
@@ -287,25 +290,30 @@ skillnet create --office report.pdf --model gpt-4o
|
|
|
287
290
|
### 4. Evaluate Skills (`evaluate`)
|
|
288
291
|
Generate a comprehensive quality report (Safety, Completeness, Executability, Modifiability, Cost Awareness) for a skill.
|
|
289
292
|
|
|
290
|
-
Requirement: Ensure API_KEY is set in your environment variables.
|
|
291
|
-
|
|
292
293
|
```bash
|
|
294
|
+
# Requirement: Ensure API_KEY is set in your environment variables.
|
|
295
|
+
export API_KEY=sk-xxxxx
|
|
296
|
+
export BASE_URL= xxxxxx # Optional custom LLM base URL
|
|
297
|
+
|
|
293
298
|
# Evaluate a remote skill via GitHub URL
|
|
294
|
-
skillnet evaluate https://github.com/
|
|
299
|
+
skillnet evaluate https://github.com/anthropics/skills/tree/main/skills/algorithmic-art
|
|
295
300
|
|
|
296
301
|
# Evaluate a local skill directory
|
|
297
302
|
skillnet evaluate ./my_skills/web_search
|
|
298
303
|
|
|
299
304
|
# Custom evaluation config
|
|
300
|
-
skillnet evaluate ./my_skills/tool --category "
|
|
305
|
+
skillnet evaluate ./my_skills/tool --category "Development" --model gpt-4o
|
|
301
306
|
```
|
|
302
307
|
|
|
303
308
|
### 5. Analyze Relationships (`analyze`)
|
|
304
309
|
Scan a directory of skills to analyze their connections using AI.
|
|
305
310
|
|
|
306
|
-
Requirement: Ensure API_KEY is set in your environment variables.
|
|
307
311
|
|
|
308
312
|
```bash
|
|
313
|
+
# Requirement: Ensure API_KEY is set in your environment variables.
|
|
314
|
+
export API_KEY=sk-xxxxx
|
|
315
|
+
export BASE_URL= xxxxxx # Optional custom LLM base URL
|
|
316
|
+
|
|
309
317
|
# Analyze a directory containing multiple skill folders
|
|
310
318
|
skillnet analyze ./my_agent_skills
|
|
311
319
|
|
|
@@ -345,10 +353,11 @@ skill-name/
|
|
|
345
353
|
|
|
346
354
|
## 🗺 Roadmap
|
|
347
355
|
|
|
348
|
-
-
|
|
349
|
-
-
|
|
350
|
-
-
|
|
351
|
-
-
|
|
356
|
+
- ✅ Keyword Match & Semantic Search
|
|
357
|
+
- ✅ Skill Installer
|
|
358
|
+
- ✅ Skill Creator (Local File & GitHub Repository)
|
|
359
|
+
- ✅ Skill Evaluation & Scoring
|
|
360
|
+
- ✅ Skill Relationship Analysis
|
|
352
361
|
|
|
353
362
|
---
|
|
354
363
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|