skillli 0.1.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/.claude/skills/skillli/SKILL.md +71 -0
- package/.claude/skills/skillli/references/skill-format-spec.md +62 -0
- package/LICENSE +21 -0
- package/README.md +147 -0
- package/dist/cli/index.cjs +1253 -0
- package/dist/cli/index.cjs.map +1 -0
- package/dist/cli/index.d.cts +1 -0
- package/dist/cli/index.d.ts +1 -0
- package/dist/cli/index.js +1230 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/index.cjs +1025 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +191 -0
- package/dist/index.d.ts +191 -0
- package/dist/index.js +961 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp/index.cjs +813 -0
- package/dist/mcp/index.cjs.map +1 -0
- package/dist/mcp/index.d.cts +1 -0
- package/dist/mcp/index.d.ts +1 -0
- package/dist/mcp/index.js +790 -0
- package/dist/mcp/index.js.map +1 -0
- package/package.json +91 -0
- package/templates/skill/SKILL.md.hbs +33 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: skillli
|
|
3
|
+
description: >
|
|
4
|
+
Discover, search, install, rate, and manage agentic AI skills from the
|
|
5
|
+
skillli registry. Use this skill when the user wants to find skills for
|
|
6
|
+
a specific task, install a skill, publish their own skill, check skill
|
|
7
|
+
ratings, or when Claude needs to search for relevant skills and context
|
|
8
|
+
packages to accomplish a task. Triggers on: /skillli, "find a skill",
|
|
9
|
+
"search for skills", "install skill", "skill marketplace".
|
|
10
|
+
disable-model-invocation: false
|
|
11
|
+
user-invocable: true
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# Skillli -- Agentic Skills Discovery and Management
|
|
15
|
+
|
|
16
|
+
You are now acting as the Skillli skill librarian. Your role is to help
|
|
17
|
+
users discover, evaluate, install, and manage agentic AI skills.
|
|
18
|
+
|
|
19
|
+
## Available Actions
|
|
20
|
+
|
|
21
|
+
### Search for Skills
|
|
22
|
+
When the user needs a skill for a specific task:
|
|
23
|
+
1. Use the skillli MCP server's `search_skills` tool with relevant query terms
|
|
24
|
+
2. Present results in a clear table format with name, description, rating, and trust level
|
|
25
|
+
3. Recommend the top result with reasoning
|
|
26
|
+
|
|
27
|
+
### Trawl for Skills (Deep Search)
|
|
28
|
+
When a simple search is insufficient, use broader discovery:
|
|
29
|
+
1. Use the `trawl_skills` MCP tool for broad multi-source discovery
|
|
30
|
+
2. The trawler searches: skillli registry, GitHub repos, npm packages
|
|
31
|
+
3. Results are ranked by relevance and confidence
|
|
32
|
+
4. Present findings with source attribution
|
|
33
|
+
|
|
34
|
+
### Install a Skill
|
|
35
|
+
When the user wants to install a skill:
|
|
36
|
+
1. Use `get_skill_info` to show full details and trust score
|
|
37
|
+
2. If trust score < 50, warn the user with specific concerns
|
|
38
|
+
3. Use `install_skill` with link=true to install and auto-link to Claude Code
|
|
39
|
+
|
|
40
|
+
### Rate a Skill
|
|
41
|
+
After using a skill, prompt the user to rate it:
|
|
42
|
+
1. Use `rate_skill` with the skill name and 1-5 rating
|
|
43
|
+
2. Encourage adding a comment for community benefit
|
|
44
|
+
|
|
45
|
+
### List Installed Skills
|
|
46
|
+
Use the `installed-skills` resource to show what is currently installed.
|
|
47
|
+
|
|
48
|
+
### Publish a Skill
|
|
49
|
+
Guide users through creating and publishing skills:
|
|
50
|
+
1. Run `skillli init` to create from template
|
|
51
|
+
2. Edit the SKILL.md with instructions
|
|
52
|
+
3. Run `skillli publish --dry-run` to validate
|
|
53
|
+
4. Submit to the registry
|
|
54
|
+
|
|
55
|
+
## Trawler Sub-Agent Pattern
|
|
56
|
+
When you need to search broadly for skills:
|
|
57
|
+
- Describe the search task clearly
|
|
58
|
+
- Use the Task tool to spawn a research sub-agent
|
|
59
|
+
- The sub-agent should use the trawl_skills MCP tool
|
|
60
|
+
- Collect and synthesize results back to the user
|
|
61
|
+
|
|
62
|
+
## Output Formatting
|
|
63
|
+
- Use tables for search results
|
|
64
|
+
- Use star ratings for display
|
|
65
|
+
- Color-code trust levels: [OFFICIAL], [VERIFIED], [COMMUNITY]
|
|
66
|
+
- Always show the trust score when recommending installation
|
|
67
|
+
|
|
68
|
+
## Safety Reminders
|
|
69
|
+
- Never install skills with trust score below 30 without explicit user confirmation
|
|
70
|
+
- Always show safeguard warnings before installation
|
|
71
|
+
- Recommend reviewing SKILL.md content before installing community skills
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Skillli Skill Format Specification
|
|
2
|
+
|
|
3
|
+
## SKILL.md Structure
|
|
4
|
+
|
|
5
|
+
Every skill package MUST contain a `SKILL.md` file with YAML frontmatter.
|
|
6
|
+
|
|
7
|
+
### Required Fields
|
|
8
|
+
|
|
9
|
+
| Field | Type | Description |
|
|
10
|
+
|-------|------|-------------|
|
|
11
|
+
| `name` | string | Lowercase alphanumeric with hyphens (e.g. `my-skill`) |
|
|
12
|
+
| `version` | string | Semver format (e.g. `1.0.0`) |
|
|
13
|
+
| `description` | string | 10-500 characters describing the skill |
|
|
14
|
+
| `author` | string | GitHub username or org |
|
|
15
|
+
| `license` | string | SPDX license identifier (e.g. `MIT`) |
|
|
16
|
+
| `tags` | string[] | 1-20 tags for discovery |
|
|
17
|
+
| `category` | enum | One of: `development`, `creative`, `enterprise`, `data`, `devops`, `other` |
|
|
18
|
+
|
|
19
|
+
### Optional Fields
|
|
20
|
+
|
|
21
|
+
| Field | Type | Default | Description |
|
|
22
|
+
|-------|------|---------|-------------|
|
|
23
|
+
| `repository` | string | - | GitHub repo URL |
|
|
24
|
+
| `homepage` | string | - | Homepage URL |
|
|
25
|
+
| `min-skillli-version` | string | - | Minimum skillli version required |
|
|
26
|
+
| `trust-level` | enum | `community` | `community`, `verified`, or `official` |
|
|
27
|
+
| `checksum` | string | - | SHA-256 checksum (auto-generated on publish) |
|
|
28
|
+
| `disable-model-invocation` | boolean | `false` | Prevent AI from auto-invoking |
|
|
29
|
+
| `user-invocable` | boolean | `true` | Allow manual invocation via slash command |
|
|
30
|
+
|
|
31
|
+
### Trust Levels
|
|
32
|
+
|
|
33
|
+
- **community**: Published by any user; basic validation only
|
|
34
|
+
- **verified**: Author identity verified; additional review
|
|
35
|
+
- **official**: Maintained by the skillli team
|
|
36
|
+
|
|
37
|
+
### Markdown Body
|
|
38
|
+
|
|
39
|
+
The body after the frontmatter contains the skill instructions that Claude
|
|
40
|
+
follows when the skill is invoked. Keep under 500 lines.
|
|
41
|
+
|
|
42
|
+
## Skill Package Directory
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
my-skill/
|
|
46
|
+
├── SKILL.md # Required
|
|
47
|
+
├── skillli.json # Auto-generated manifest
|
|
48
|
+
├── scripts/ # Optional helper scripts (.sh, .py, .js only)
|
|
49
|
+
├── references/ # Optional reference documents
|
|
50
|
+
├── assets/ # Optional templates, configs
|
|
51
|
+
├── agents.md # Optional agent instructions (CLAUDE.md equivalent)
|
|
52
|
+
└── LICENSE # Recommended
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Categories
|
|
56
|
+
|
|
57
|
+
- **development**: Code, testing, CI/CD, debugging
|
|
58
|
+
- **creative**: Writing, design, content creation
|
|
59
|
+
- **enterprise**: Business, compliance, reporting
|
|
60
|
+
- **data**: Analytics, ETL, visualization
|
|
61
|
+
- **devops**: Infrastructure, deployment, monitoring
|
|
62
|
+
- **other**: Everything else
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Domusgpt
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
# skillli
|
|
2
|
+
|
|
3
|
+
**The Skill Librarian** — Discover, publish, rate, and use agentic AI skills packages.
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
npm install -g skillli
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
skillli is an npm package that provides a complete ecosystem for managing agentic AI skills (SKILL.md files). It includes a CLI, a core library, an MCP server for Claude Code integration, and an agentic trawler for multi-source skill discovery.
|
|
10
|
+
|
|
11
|
+
## Features
|
|
12
|
+
|
|
13
|
+
- **Skill Format Spec** — Standard SKILL.md format with YAML frontmatter for defining AI agent skills
|
|
14
|
+
- **CLI** — `skillli init`, `search`, `install`, `publish`, `rate`, `trawl`, and more
|
|
15
|
+
- **MCP Server** — Native Claude Code integration via Model Context Protocol
|
|
16
|
+
- **Agentic Trawler** — Search across the registry, GitHub, and npm for relevant skills
|
|
17
|
+
- **Safeguards** — Trust scoring, prohibited pattern detection, size limits, checksum verification
|
|
18
|
+
- **Ratings** — Community ratings and reviews for skill quality
|
|
19
|
+
|
|
20
|
+
## Quick Start
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
# Install globally
|
|
24
|
+
npm install -g skillli
|
|
25
|
+
|
|
26
|
+
# Create a new skill
|
|
27
|
+
skillli init my-skill
|
|
28
|
+
|
|
29
|
+
# Search for skills
|
|
30
|
+
skillli search "code review"
|
|
31
|
+
|
|
32
|
+
# Install a skill
|
|
33
|
+
skillli install code-reviewer --link
|
|
34
|
+
|
|
35
|
+
# Trawl across multiple sources
|
|
36
|
+
skillli trawl "kubernetes deployment"
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## CLI Commands
|
|
40
|
+
|
|
41
|
+
| Command | Description |
|
|
42
|
+
|---------|-------------|
|
|
43
|
+
| `skillli init [name]` | Create a new skill from template |
|
|
44
|
+
| `skillli search <query>` | Search the registry |
|
|
45
|
+
| `skillli install <skill>` | Install a skill |
|
|
46
|
+
| `skillli uninstall <skill>` | Uninstall a skill |
|
|
47
|
+
| `skillli info <skill>` | Show skill details |
|
|
48
|
+
| `skillli list` | List installed skills |
|
|
49
|
+
| `skillli rate <skill> <1-5>` | Rate a skill |
|
|
50
|
+
| `skillli update` | Sync registry index |
|
|
51
|
+
| `skillli publish [path]` | Publish a skill |
|
|
52
|
+
| `skillli trawl <query>` | Agentic multi-source search |
|
|
53
|
+
|
|
54
|
+
## MCP Server
|
|
55
|
+
|
|
56
|
+
skillli includes a built-in MCP server for Claude Code integration:
|
|
57
|
+
|
|
58
|
+
```json
|
|
59
|
+
{
|
|
60
|
+
"mcpServers": {
|
|
61
|
+
"skillli": {
|
|
62
|
+
"command": "npx",
|
|
63
|
+
"args": ["skillli-mcp"]
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### MCP Tools
|
|
70
|
+
|
|
71
|
+
- `search_skills` — Search the registry by query, tags, or category
|
|
72
|
+
- `install_skill` — Install and link a skill to .claude/skills/
|
|
73
|
+
- `get_skill_info` — Get detailed skill metadata and trust score
|
|
74
|
+
- `trawl_skills` — Multi-source agentic search
|
|
75
|
+
- `rate_skill` — Submit a 1-5 star rating
|
|
76
|
+
|
|
77
|
+
### MCP Resources
|
|
78
|
+
|
|
79
|
+
- `skillli://installed` — List of installed skills
|
|
80
|
+
- `skillli://index` — Full registry index
|
|
81
|
+
|
|
82
|
+
## Skill Format
|
|
83
|
+
|
|
84
|
+
Skills are defined as SKILL.md files with YAML frontmatter:
|
|
85
|
+
|
|
86
|
+
```yaml
|
|
87
|
+
---
|
|
88
|
+
name: my-skill
|
|
89
|
+
version: 1.0.0
|
|
90
|
+
description: A clear description of what this skill does
|
|
91
|
+
author: your-github-username
|
|
92
|
+
license: MIT
|
|
93
|
+
tags: [typescript, testing]
|
|
94
|
+
category: development
|
|
95
|
+
trust-level: community
|
|
96
|
+
user-invocable: true
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
# My Skill
|
|
100
|
+
|
|
101
|
+
Instructions that Claude follows when this skill is invoked...
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### Categories
|
|
105
|
+
|
|
106
|
+
`development` | `creative` | `enterprise` | `data` | `devops` | `other`
|
|
107
|
+
|
|
108
|
+
### Trust Levels
|
|
109
|
+
|
|
110
|
+
- **community** — Published by any user, basic validation
|
|
111
|
+
- **verified** — Author identity verified, additional review
|
|
112
|
+
- **official** — Maintained by the skillli team
|
|
113
|
+
|
|
114
|
+
## Safeguards
|
|
115
|
+
|
|
116
|
+
skillli runs safety checks on all skills:
|
|
117
|
+
|
|
118
|
+
1. Schema validation (Zod)
|
|
119
|
+
2. File size limits (5MB total, 500 lines for SKILL.md)
|
|
120
|
+
3. Prohibited pattern scanning (eval, exec, credentials, etc.)
|
|
121
|
+
4. Script allowlisting (.sh, .py, .js only)
|
|
122
|
+
5. Checksum verification
|
|
123
|
+
6. Trust score computation (0-100)
|
|
124
|
+
|
|
125
|
+
## Programmatic Usage
|
|
126
|
+
|
|
127
|
+
```typescript
|
|
128
|
+
import { parseSkillFile, search, trawl, createSkillliMcpServer } from 'skillli';
|
|
129
|
+
|
|
130
|
+
// Parse a SKILL.md file
|
|
131
|
+
const skill = await parseSkillFile('./SKILL.md');
|
|
132
|
+
|
|
133
|
+
// Search the index
|
|
134
|
+
const results = search(index, { query: 'code review', tags: ['security'] });
|
|
135
|
+
|
|
136
|
+
// Trawl across sources
|
|
137
|
+
const found = await trawl('kubernetes deployment', {
|
|
138
|
+
sources: ['registry', 'github', 'npm'],
|
|
139
|
+
});
|
|
140
|
+
|
|
141
|
+
// Create an MCP server
|
|
142
|
+
const server = createSkillliMcpServer();
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
## License
|
|
146
|
+
|
|
147
|
+
MIT
|