skillnet-ai 0.0.3__py3-none-any.whl → 0.0.5__py3-none-any.whl
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/cli.py +6 -5
- {skillnet_ai-0.0.3.dist-info → skillnet_ai-0.0.5.dist-info}/METADATA +65 -23
- {skillnet_ai-0.0.3.dist-info → skillnet_ai-0.0.5.dist-info}/RECORD +7 -7
- {skillnet_ai-0.0.3.dist-info → skillnet_ai-0.0.5.dist-info}/WHEEL +0 -0
- {skillnet_ai-0.0.3.dist-info → skillnet_ai-0.0.5.dist-info}/entry_points.txt +0 -0
- {skillnet_ai-0.0.3.dist-info → skillnet_ai-0.0.5.dist-info}/licenses/LICENSE +0 -0
- {skillnet_ai-0.0.3.dist-info → skillnet_ai-0.0.5.dist-info}/top_level.txt +0 -0
skillnet_ai/cli.py
CHANGED
|
@@ -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:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: skillnet-ai
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.5
|
|
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
|
|
@@ -9,26 +9,26 @@ Project-URL: Source, https://github.com/zjunlp/SkillNet
|
|
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
|
10
10
|
Classifier: License :: OSI Approved :: MIT License
|
|
11
11
|
Classifier: Operating System :: OS Independent
|
|
12
|
-
Requires-Python: >=3.
|
|
12
|
+
Requires-Python: >=3.9
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE
|
|
15
|
-
Requires-Dist: requests
|
|
16
|
-
Requires-Dist: openai
|
|
17
|
-
Requires-Dist: pydantic
|
|
18
|
-
Requires-Dist: tqdm
|
|
19
|
-
Requires-Dist: typer
|
|
20
|
-
Requires-Dist: rich
|
|
21
|
-
Requires-Dist: PyPDF2
|
|
22
|
-
Requires-Dist: pycryptodome
|
|
23
|
-
Requires-Dist: python-docx
|
|
24
|
-
Requires-Dist: python-pptx
|
|
15
|
+
Requires-Dist: requests==2.32.5
|
|
16
|
+
Requires-Dist: openai==1.109.1
|
|
17
|
+
Requires-Dist: pydantic==2.12.5
|
|
18
|
+
Requires-Dist: tqdm==4.67.1
|
|
19
|
+
Requires-Dist: typer==0.21.1
|
|
20
|
+
Requires-Dist: rich==13.9.4
|
|
21
|
+
Requires-Dist: PyPDF2==3.0.1
|
|
22
|
+
Requires-Dist: pycryptodome==3.23.0
|
|
23
|
+
Requires-Dist: python-docx==1.2.0
|
|
24
|
+
Requires-Dist: python-pptx==1.0.2
|
|
25
25
|
Dynamic: license-file
|
|
26
26
|
|
|
27
27
|
# skillnet-ai
|
|
28
28
|
|
|
29
29
|
[](https://badge.fury.io/py/skillnet-ai)
|
|
30
30
|
[](https://opensource.org/licenses/MIT)
|
|
31
|
-
[](https://www.python.org/downloads/)
|
|
32
32
|
|
|
33
33
|
**skillnet-ai** is the official Python Toolkit for interacting with the SkillNet platform. It allows AI Agents to **Create**, **Evaluate** and **Organize** AI skills at scale. It functions seamlessly as both a powerful Python Library and a feature-rich Command Line Interface (CLI).
|
|
34
34
|
|
|
@@ -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,12 +265,25 @@ skillnet download <private_url> --token <your_github_token>
|
|
|
265
265
|
|
|
266
266
|
Generate structured Skill Packages from various sources using LLMs.
|
|
267
267
|
|
|
268
|
+
**Linux/macOS:**
|
|
269
|
+
|
|
268
270
|
```bash
|
|
269
271
|
# Requirement: Ensure API_KEY is set in your environment variables.
|
|
270
272
|
export API_KEY=sk-xxxxx
|
|
271
|
-
export BASE_URL=
|
|
273
|
+
export BASE_URL=xxxxxx # Optional custom LLM base URL
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
**Windows PowerShell:**
|
|
277
|
+
|
|
278
|
+
```powershell
|
|
279
|
+
# Requirement: Ensure API_KEY is set in your environment variables.
|
|
280
|
+
$env:API_KEY = "sk-xxxxx"
|
|
281
|
+
$env:BASE_URL = "xxxxxx" # Optional custom LLM base URL
|
|
282
|
+
```
|
|
272
283
|
|
|
284
|
+
**Usage Examples:**
|
|
273
285
|
|
|
286
|
+
```bash
|
|
274
287
|
# From a trajectory file
|
|
275
288
|
skillnet create ./logs/trajectory.txt -d ./generated_skills
|
|
276
289
|
|
|
@@ -290,13 +303,28 @@ skillnet create --office report.pdf --model gpt-4o
|
|
|
290
303
|
### 4. Evaluate Skills (`evaluate`)
|
|
291
304
|
Generate a comprehensive quality report (Safety, Completeness, Executability, Modifiability, Cost Awareness) for a skill.
|
|
292
305
|
|
|
306
|
+
**Linux/macOS:**
|
|
307
|
+
|
|
293
308
|
```bash
|
|
294
309
|
# Requirement: Ensure API_KEY is set in your environment variables.
|
|
295
310
|
export API_KEY=sk-xxxxx
|
|
296
|
-
export BASE_URL=
|
|
311
|
+
export BASE_URL=xxxxxx # Optional custom LLM base URL
|
|
312
|
+
```
|
|
297
313
|
|
|
314
|
+
**Windows PowerShell:**
|
|
315
|
+
|
|
316
|
+
```powershell
|
|
317
|
+
# Requirement: Ensure API_KEY is set in your environment variables.
|
|
318
|
+
$env:API_KEY = "sk-xxxxx"
|
|
319
|
+
$env:BASE_URL = "xxxxxx" # Optional custom LLM base URL
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
**Usage Examples:**
|
|
323
|
+
|
|
324
|
+
```bash
|
|
325
|
+
# Requirement: Ensure API_KEY is set in your environment variables.
|
|
298
326
|
# Evaluate a remote skill via GitHub URL
|
|
299
|
-
skillnet evaluate https://github.com/
|
|
327
|
+
skillnet evaluate https://github.com/anthropics/skills/tree/main/skills/algorithmic-art
|
|
300
328
|
|
|
301
329
|
# Evaluate a local skill directory
|
|
302
330
|
skillnet evaluate ./my_skills/web_search
|
|
@@ -308,12 +336,25 @@ skillnet evaluate ./my_skills/tool --category "Development" --model gpt-4o
|
|
|
308
336
|
### 5. Analyze Relationships (`analyze`)
|
|
309
337
|
Scan a directory of skills to analyze their connections using AI.
|
|
310
338
|
|
|
339
|
+
**Linux/macOS:**
|
|
311
340
|
|
|
312
341
|
```bash
|
|
313
342
|
# Requirement: Ensure API_KEY is set in your environment variables.
|
|
314
343
|
export API_KEY=sk-xxxxx
|
|
315
|
-
export BASE_URL=
|
|
344
|
+
export BASE_URL=xxxxxx # Optional custom LLM base URL
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
**Windows PowerShell:**
|
|
316
348
|
|
|
349
|
+
```powershell
|
|
350
|
+
# Requirement: Ensure API_KEY is set in your environment variables.
|
|
351
|
+
$env:API_KEY = "sk-xxxxx"
|
|
352
|
+
$env:BASE_URL = "xxxxxx" # Optional custom LLM base URL
|
|
353
|
+
```
|
|
354
|
+
|
|
355
|
+
**Usage Examples:**
|
|
356
|
+
|
|
357
|
+
```bash
|
|
317
358
|
# Analyze a directory containing multiple skill folders
|
|
318
359
|
skillnet analyze ./my_agent_skills
|
|
319
360
|
|
|
@@ -353,10 +394,11 @@ skill-name/
|
|
|
353
394
|
|
|
354
395
|
## 🗺 Roadmap
|
|
355
396
|
|
|
356
|
-
-
|
|
357
|
-
-
|
|
358
|
-
-
|
|
359
|
-
-
|
|
397
|
+
- ✅ Keyword Match & Semantic Search
|
|
398
|
+
- ✅ Skill Installer
|
|
399
|
+
- ✅ Skill Creator (Local File & GitHub Repository)
|
|
400
|
+
- ✅ Skill Evaluation & Scoring
|
|
401
|
+
- ✅ Skill Relationship Analysis
|
|
360
402
|
|
|
361
403
|
---
|
|
362
404
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
skillnet_ai/__init__.py,sha256=XHPu6MRZrQEG3hfcujOYPAY2HNo0tVWiFLh7Pg8BZ7M,625
|
|
2
2
|
skillnet_ai/analyzer.py,sha256=xwO80FVArqrw_z7NzIjV_t48cu29JhYcJ1Kj0DhJB-0,8705
|
|
3
|
-
skillnet_ai/cli.py,sha256=
|
|
3
|
+
skillnet_ai/cli.py,sha256=g_geqiDJU3-JKHTKzfN0U_Mx3_Ye38Dk2VAv3pqEOwo,24443
|
|
4
4
|
skillnet_ai/client.py,sha256=1vKuBUQMCSAybYddsuXlkix3sGW1KD-gqeFuTcVuzHM,11491
|
|
5
5
|
skillnet_ai/creator.py,sha256=srJn_sV7mDWwTb1AG9QrXf2fDeA5pGBUCDXIYxkdQk0,39130
|
|
6
6
|
skillnet_ai/downloader.py,sha256=egP7b1ovL4pbNuAqn8y17-6YseyPpJzWlJAohH9XeWE,6358
|
|
@@ -8,9 +8,9 @@ skillnet_ai/evaluator.py,sha256=_x_9ijlF_R-doK2kiyIpRfVSdwQ2rly7seDXGmGNwpE,3644
|
|
|
8
8
|
skillnet_ai/models.py,sha256=2af5PnXhkzhRKUUc02KMr5U77KbhlTyxSlJETmWdmZY,1162
|
|
9
9
|
skillnet_ai/prompts.py,sha256=afxSxV9b_UPhTCQdahgCAnQoRVwMNweOmT3r9aVwxY0,40377
|
|
10
10
|
skillnet_ai/searcher.py,sha256=MvinkWR8omSCMXKSdZTSBBsifxQ13ep4hpnd4ql2w7U,3170
|
|
11
|
-
skillnet_ai-0.0.
|
|
12
|
-
skillnet_ai-0.0.
|
|
13
|
-
skillnet_ai-0.0.
|
|
14
|
-
skillnet_ai-0.0.
|
|
15
|
-
skillnet_ai-0.0.
|
|
16
|
-
skillnet_ai-0.0.
|
|
11
|
+
skillnet_ai-0.0.5.dist-info/licenses/LICENSE,sha256=N5w66QPiGia1KA-Drt_75rmKLsyVt5GJUu-j6Gxpihs,1063
|
|
12
|
+
skillnet_ai-0.0.5.dist-info/METADATA,sha256=tH81ywWSvTJA7I9Hk-Pqpd_ssOWdAkdIvwNPPFCZFzw,13575
|
|
13
|
+
skillnet_ai-0.0.5.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
14
|
+
skillnet_ai-0.0.5.dist-info/entry_points.txt,sha256=8JDzqrJcxks90e4ifiivf2KNeGMGLW-f7nRNi_f1bQQ,49
|
|
15
|
+
skillnet_ai-0.0.5.dist-info/top_level.txt,sha256=0gHowx1tlCRYxEbdoQcH4nPoMZGWUAUX6wjSNv3VUoI,12
|
|
16
|
+
skillnet_ai-0.0.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|