agentskillsmith 2.0.0__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.
- agentskillsmith-2.0.0/.claude/settings.local.json +9 -0
- agentskillsmith-2.0.0/.gitignore +9 -0
- agentskillsmith-2.0.0/PKG-INFO +180 -0
- agentskillsmith-2.0.0/README.md +146 -0
- agentskillsmith-2.0.0/pyproject.toml +55 -0
- agentskillsmith-2.0.0/skill-creator/.claude-plugin/plugin.json +8 -0
- agentskillsmith-2.0.0/skill-creator/LICENSE +202 -0
- agentskillsmith-2.0.0/skill-creator/README.md +3 -0
- agentskillsmith-2.0.0/skill-creator/skills/skill-creator/LICENSE.txt +202 -0
- agentskillsmith-2.0.0/skill-creator/skills/skill-creator/SKILL.md +762 -0
- agentskillsmith-2.0.0/skill-creator/skills/skill-creator/agents/analyzer.md +274 -0
- agentskillsmith-2.0.0/skill-creator/skills/skill-creator/agents/comparator.md +202 -0
- agentskillsmith-2.0.0/skill-creator/skills/skill-creator/agents/executor.md +181 -0
- agentskillsmith-2.0.0/skill-creator/skills/skill-creator/agents/grader.md +223 -0
- agentskillsmith-2.0.0/skill-creator/skills/skill-creator/references/benchmark-mode.md +149 -0
- agentskillsmith-2.0.0/skill-creator/skills/skill-creator/references/eval-mode.md +144 -0
- agentskillsmith-2.0.0/skill-creator/skills/skill-creator/references/mode-diagrams.md +190 -0
- agentskillsmith-2.0.0/skill-creator/skills/skill-creator/references/schemas.md +438 -0
- agentskillsmith-2.0.0/skill-creator/skills/skill-creator/scripts/aggregate_benchmark.py +351 -0
- agentskillsmith-2.0.0/skill-creator/skills/skill-creator/scripts/copy_skill.py +209 -0
- agentskillsmith-2.0.0/skill-creator/skills/skill-creator/scripts/init_json.py +311 -0
- agentskillsmith-2.0.0/skill-creator/skills/skill-creator/scripts/init_skill.py +303 -0
- agentskillsmith-2.0.0/skill-creator/skills/skill-creator/scripts/package_skill.py +136 -0
- agentskillsmith-2.0.0/skill-creator/skills/skill-creator/scripts/prepare_eval.py +279 -0
- agentskillsmith-2.0.0/skill-creator/skills/skill-creator/scripts/quick_validate.py +103 -0
- agentskillsmith-2.0.0/skill-creator/skills/skill-creator/scripts/validate_json.py +411 -0
- agentskillsmith-2.0.0/src/skillsmith/__init__.py +3 -0
- agentskillsmith-2.0.0/src/skillsmith/agent/__init__.py +4 -0
- agentskillsmith-2.0.0/src/skillsmith/agent/graph.py +67 -0
- agentskillsmith-2.0.0/src/skillsmith/agent/tools.py +145 -0
- agentskillsmith-2.0.0/src/skillsmith/chat.py +100 -0
- agentskillsmith-2.0.0/src/skillsmith/config.py +150 -0
- agentskillsmith-2.0.0/src/skillsmith/generator.py +553 -0
- agentskillsmith-2.0.0/src/skillsmith/ingestors/__init__.py +5 -0
- agentskillsmith-2.0.0/src/skillsmith/ingestors/base.py +12 -0
- agentskillsmith-2.0.0/src/skillsmith/ingestors/docs.py +138 -0
- agentskillsmith-2.0.0/src/skillsmith/ingestors/github.py +140 -0
- agentskillsmith-2.0.0/src/skillsmith/main.py +82 -0
- agentskillsmith-2.0.0/src/skillsmith/mcp_server.py +78 -0
- agentskillsmith-2.0.0/src/skillsmith/models.py +84 -0
- agentskillsmith-2.0.0/src/skillsmith/writer.py +50 -0
- agentskillsmith-2.0.0/test-skills/opencode-2/SKILL.md +139 -0
- agentskillsmith-2.0.0/test-skills/opencode-2/references/configuration-reference.md +436 -0
- agentskillsmith-2.0.0/test-skills/opencode-2/references/custom-tools-api.md +108 -0
- agentskillsmith-2.0.0/test-skills/opencode-2/references/tui-keybinds.md +82 -0
- agentskillsmith-2.0.0/test-skills/opencode-2/scripts/ci-code-review.sh +88 -0
- agentskillsmith-2.0.0/test-skills/opencode-2/scripts/create-custom-agent.sh +141 -0
- agentskillsmith-2.0.0/test-skills/opencode-2/scripts/quickstart.sh +136 -0
- agentskillsmith-2.0.0/uv.lock +3359 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: agentskillsmith
|
|
3
|
+
Version: 2.0.0
|
|
4
|
+
Summary: Convert GitHub repos and documentation websites into Agent Skills
|
|
5
|
+
Project-URL: Homepage, https://github.com/koltenluca/SkillSmith
|
|
6
|
+
Project-URL: Repository, https://github.com/koltenluca/SkillSmith
|
|
7
|
+
Project-URL: Issues, https://github.com/koltenluca/SkillSmith/issues
|
|
8
|
+
Author: SkillSmith
|
|
9
|
+
License: MIT
|
|
10
|
+
Keywords: agent,ai,langchain,langgraph,llm,skills
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
18
|
+
Requires-Python: >=3.11
|
|
19
|
+
Requires-Dist: beautifulsoup4>=4.12
|
|
20
|
+
Requires-Dist: fastmcp>=2.0
|
|
21
|
+
Requires-Dist: httpx>=0.27
|
|
22
|
+
Requires-Dist: langchain-anthropic>=0.3
|
|
23
|
+
Requires-Dist: langchain-google-genai>=4.2.1
|
|
24
|
+
Requires-Dist: langchain-openai>=0.2
|
|
25
|
+
Requires-Dist: langchain>=0.3
|
|
26
|
+
Requires-Dist: langgraph>=0.2
|
|
27
|
+
Requires-Dist: markdownify>=0.13
|
|
28
|
+
Requires-Dist: prompt-toolkit>=3.0
|
|
29
|
+
Requires-Dist: pydantic>=2.0
|
|
30
|
+
Requires-Dist: pyyaml>=6.0
|
|
31
|
+
Requires-Dist: rich>=13.0
|
|
32
|
+
Requires-Dist: typer>=0.12
|
|
33
|
+
Description-Content-Type: text/markdown
|
|
34
|
+
|
|
35
|
+
# SkillSmith
|
|
36
|
+
|
|
37
|
+
Convert GitHub repositories and documentation websites into [Agent Skills](https://agentskills.io/specification) — structured knowledge documents that teach AI agents how to use a library or API effectively.
|
|
38
|
+
|
|
39
|
+
## How it works
|
|
40
|
+
|
|
41
|
+
SkillSmith runs a 5-phase pipeline designed to handle large documentation sources without hitting LLM output limits:
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
Ingest (GitHub API / BFS crawler)
|
|
45
|
+
↓
|
|
46
|
+
Phase 1 Map — parallel LLM summarization of each page
|
|
47
|
+
reference pages keep original content (no compression)
|
|
48
|
+
↓
|
|
49
|
+
Phase 2 Reduce — merge summaries into a unified overview
|
|
50
|
+
↓
|
|
51
|
+
Phase 3 Plan — decide which files to generate (SKILL.md sections, references/, scripts/)
|
|
52
|
+
↓
|
|
53
|
+
Phase 4 Fan-out — Batch A: reference files (parallel, full token budget each)
|
|
54
|
+
Batch B: SKILL.md body + scripts (parallel, body knows what refs exist)
|
|
55
|
+
↓
|
|
56
|
+
Phase 5 Assemble → write to disk
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Each generated file gets its own full LLM output budget instead of all files competing for a single 8k-token response.
|
|
60
|
+
|
|
61
|
+
## Installation
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
git clone https://github.com/your-org/skillsmith
|
|
65
|
+
cd skillsmith
|
|
66
|
+
uv sync
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Requires Python 3.11+ and an Anthropic API key (or any OpenAI-compatible endpoint).
|
|
70
|
+
|
|
71
|
+
## Usage
|
|
72
|
+
|
|
73
|
+
### Interactive chat
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
uv run skillsmith
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
SkillSmith — Convert repos and docs into Agent Skills
|
|
81
|
+
You: Create a skill from https://github.com/anthropics/anthropic-sdk-python
|
|
82
|
+
You: Generate a skill from https://docs.pydantic.dev --output ./my-skills
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### Single message
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
# From a GitHub repo
|
|
89
|
+
uv run skillsmith -m "Create a skill from https://github.com/anthropics/anthropic-sdk-python"
|
|
90
|
+
|
|
91
|
+
# From a documentation site
|
|
92
|
+
uv run skillsmith -m "Generate a skill from https://docs.pydantic.dev" --output ./skills/
|
|
93
|
+
|
|
94
|
+
# With a custom name
|
|
95
|
+
uv run skillsmith -m "Create a skill named fastapi-auth from https://fastapi.tiangolo.com/tutorial/security/"
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### MCP server
|
|
99
|
+
|
|
100
|
+
Expose SkillSmith as an MCP tool so other agents (Claude Code, Cursor, etc.) can generate skills on demand:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
uv run skillsmith serve --port 8000
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Available MCP tools:
|
|
107
|
+
- `create_skill_from_github(url, output_dir, name?)` — generate from a GitHub repo
|
|
108
|
+
- `create_skill_from_docs(url, output_dir, depth?, name?)` — generate from a docs site
|
|
109
|
+
- `list_skills(directory)` — list existing skill folders
|
|
110
|
+
|
|
111
|
+
## Configuration
|
|
112
|
+
|
|
113
|
+
Priority: CLI flags > environment variables > `~/.skillsmith/config.toml`
|
|
114
|
+
|
|
115
|
+
| CLI flag | Env var | Config key | Default |
|
|
116
|
+
|---|---|---|---|
|
|
117
|
+
| `--api-key` | `SKILLSMITH_API_KEY` | `api_key` | (Anthropic default) |
|
|
118
|
+
| `--base-url` | `SKILLSMITH_BASE_URL` | `base_url` | `""` (use Anthropic) |
|
|
119
|
+
| `--model` | `SKILLSMITH_MODEL` | `model` | `claude-opus-4-5` |
|
|
120
|
+
| `--output` | `SKILLSMITH_OUTPUT_DIR` | `output_dir` | `~/skills` |
|
|
121
|
+
|
|
122
|
+
### `~/.skillsmith/config.toml`
|
|
123
|
+
|
|
124
|
+
```toml
|
|
125
|
+
api_key = "sk-ant-..."
|
|
126
|
+
model = "claude-opus-4-5"
|
|
127
|
+
output_dir = "~/skills"
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### OpenAI-compatible endpoints
|
|
131
|
+
|
|
132
|
+
Set `base_url` to use any OpenAI-compatible API (Ollama, vLLM, OpenRouter, etc.):
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
SKILLSMITH_BASE_URL=https://api.openai.com/v1 \
|
|
136
|
+
SKILLSMITH_MODEL=gpt-4o \
|
|
137
|
+
uv run skillsmith -m "Create a skill from https://github.com/openai/openai-python"
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
## Output structure
|
|
141
|
+
|
|
142
|
+
Each skill is written as a folder following the [Agent Skills specification](https://agentskills.io/specification):
|
|
143
|
+
|
|
144
|
+
```
|
|
145
|
+
skills/
|
|
146
|
+
└── anthropic-sdk/
|
|
147
|
+
├── SKILL.md # Frontmatter + instructions (<500 lines)
|
|
148
|
+
├── references/
|
|
149
|
+
│ ├── api-reference.md # Loaded on demand by the agent
|
|
150
|
+
│ └── error-codes.md
|
|
151
|
+
└── scripts/
|
|
152
|
+
├── quickstart.py # Self-contained, runnable
|
|
153
|
+
└── streaming.py
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
`SKILL.md` includes cross-references to companion files:
|
|
157
|
+
|
|
158
|
+
```markdown
|
|
159
|
+
See [API Reference](references/api-reference.md) for full method signatures.
|
|
160
|
+
Run scripts/quickstart.py to get started.
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
## Project structure
|
|
164
|
+
|
|
165
|
+
```
|
|
166
|
+
src/skillsmith/
|
|
167
|
+
├── main.py # CLI entry point (typer)
|
|
168
|
+
├── config.py # Config loading + LLM factory
|
|
169
|
+
├── models.py # Pydantic: Page, ContentBundle, SkillDraft
|
|
170
|
+
├── generator.py # 5-phase Map-Reduce pipeline
|
|
171
|
+
├── writer.py # Write SkillDraft to disk
|
|
172
|
+
├── chat.py # Terminal UI (rich + prompt_toolkit)
|
|
173
|
+
├── mcp_server.py # MCP server (fastmcp)
|
|
174
|
+
├── agent/
|
|
175
|
+
│ ├── graph.py # LangGraph StateGraph
|
|
176
|
+
│ └── tools.py # @tool wrappers for agent use
|
|
177
|
+
└── ingestors/
|
|
178
|
+
├── github.py # GitHub REST API (README + docs/ + root .md files)
|
|
179
|
+
└── docs.py # BFS crawler (httpx + BeautifulSoup + markdownify)
|
|
180
|
+
```
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
# SkillSmith
|
|
2
|
+
|
|
3
|
+
Convert GitHub repositories and documentation websites into [Agent Skills](https://agentskills.io/specification) — structured knowledge documents that teach AI agents how to use a library or API effectively.
|
|
4
|
+
|
|
5
|
+
## How it works
|
|
6
|
+
|
|
7
|
+
SkillSmith runs a 5-phase pipeline designed to handle large documentation sources without hitting LLM output limits:
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
Ingest (GitHub API / BFS crawler)
|
|
11
|
+
↓
|
|
12
|
+
Phase 1 Map — parallel LLM summarization of each page
|
|
13
|
+
reference pages keep original content (no compression)
|
|
14
|
+
↓
|
|
15
|
+
Phase 2 Reduce — merge summaries into a unified overview
|
|
16
|
+
↓
|
|
17
|
+
Phase 3 Plan — decide which files to generate (SKILL.md sections, references/, scripts/)
|
|
18
|
+
↓
|
|
19
|
+
Phase 4 Fan-out — Batch A: reference files (parallel, full token budget each)
|
|
20
|
+
Batch B: SKILL.md body + scripts (parallel, body knows what refs exist)
|
|
21
|
+
↓
|
|
22
|
+
Phase 5 Assemble → write to disk
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Each generated file gets its own full LLM output budget instead of all files competing for a single 8k-token response.
|
|
26
|
+
|
|
27
|
+
## Installation
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
git clone https://github.com/your-org/skillsmith
|
|
31
|
+
cd skillsmith
|
|
32
|
+
uv sync
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Requires Python 3.11+ and an Anthropic API key (or any OpenAI-compatible endpoint).
|
|
36
|
+
|
|
37
|
+
## Usage
|
|
38
|
+
|
|
39
|
+
### Interactive chat
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
uv run skillsmith
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
SkillSmith — Convert repos and docs into Agent Skills
|
|
47
|
+
You: Create a skill from https://github.com/anthropics/anthropic-sdk-python
|
|
48
|
+
You: Generate a skill from https://docs.pydantic.dev --output ./my-skills
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Single message
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
# From a GitHub repo
|
|
55
|
+
uv run skillsmith -m "Create a skill from https://github.com/anthropics/anthropic-sdk-python"
|
|
56
|
+
|
|
57
|
+
# From a documentation site
|
|
58
|
+
uv run skillsmith -m "Generate a skill from https://docs.pydantic.dev" --output ./skills/
|
|
59
|
+
|
|
60
|
+
# With a custom name
|
|
61
|
+
uv run skillsmith -m "Create a skill named fastapi-auth from https://fastapi.tiangolo.com/tutorial/security/"
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### MCP server
|
|
65
|
+
|
|
66
|
+
Expose SkillSmith as an MCP tool so other agents (Claude Code, Cursor, etc.) can generate skills on demand:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
uv run skillsmith serve --port 8000
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Available MCP tools:
|
|
73
|
+
- `create_skill_from_github(url, output_dir, name?)` — generate from a GitHub repo
|
|
74
|
+
- `create_skill_from_docs(url, output_dir, depth?, name?)` — generate from a docs site
|
|
75
|
+
- `list_skills(directory)` — list existing skill folders
|
|
76
|
+
|
|
77
|
+
## Configuration
|
|
78
|
+
|
|
79
|
+
Priority: CLI flags > environment variables > `~/.skillsmith/config.toml`
|
|
80
|
+
|
|
81
|
+
| CLI flag | Env var | Config key | Default |
|
|
82
|
+
|---|---|---|---|
|
|
83
|
+
| `--api-key` | `SKILLSMITH_API_KEY` | `api_key` | (Anthropic default) |
|
|
84
|
+
| `--base-url` | `SKILLSMITH_BASE_URL` | `base_url` | `""` (use Anthropic) |
|
|
85
|
+
| `--model` | `SKILLSMITH_MODEL` | `model` | `claude-opus-4-5` |
|
|
86
|
+
| `--output` | `SKILLSMITH_OUTPUT_DIR` | `output_dir` | `~/skills` |
|
|
87
|
+
|
|
88
|
+
### `~/.skillsmith/config.toml`
|
|
89
|
+
|
|
90
|
+
```toml
|
|
91
|
+
api_key = "sk-ant-..."
|
|
92
|
+
model = "claude-opus-4-5"
|
|
93
|
+
output_dir = "~/skills"
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### OpenAI-compatible endpoints
|
|
97
|
+
|
|
98
|
+
Set `base_url` to use any OpenAI-compatible API (Ollama, vLLM, OpenRouter, etc.):
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
SKILLSMITH_BASE_URL=https://api.openai.com/v1 \
|
|
102
|
+
SKILLSMITH_MODEL=gpt-4o \
|
|
103
|
+
uv run skillsmith -m "Create a skill from https://github.com/openai/openai-python"
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
## Output structure
|
|
107
|
+
|
|
108
|
+
Each skill is written as a folder following the [Agent Skills specification](https://agentskills.io/specification):
|
|
109
|
+
|
|
110
|
+
```
|
|
111
|
+
skills/
|
|
112
|
+
└── anthropic-sdk/
|
|
113
|
+
├── SKILL.md # Frontmatter + instructions (<500 lines)
|
|
114
|
+
├── references/
|
|
115
|
+
│ ├── api-reference.md # Loaded on demand by the agent
|
|
116
|
+
│ └── error-codes.md
|
|
117
|
+
└── scripts/
|
|
118
|
+
├── quickstart.py # Self-contained, runnable
|
|
119
|
+
└── streaming.py
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
`SKILL.md` includes cross-references to companion files:
|
|
123
|
+
|
|
124
|
+
```markdown
|
|
125
|
+
See [API Reference](references/api-reference.md) for full method signatures.
|
|
126
|
+
Run scripts/quickstart.py to get started.
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
## Project structure
|
|
130
|
+
|
|
131
|
+
```
|
|
132
|
+
src/skillsmith/
|
|
133
|
+
├── main.py # CLI entry point (typer)
|
|
134
|
+
├── config.py # Config loading + LLM factory
|
|
135
|
+
├── models.py # Pydantic: Page, ContentBundle, SkillDraft
|
|
136
|
+
├── generator.py # 5-phase Map-Reduce pipeline
|
|
137
|
+
├── writer.py # Write SkillDraft to disk
|
|
138
|
+
├── chat.py # Terminal UI (rich + prompt_toolkit)
|
|
139
|
+
├── mcp_server.py # MCP server (fastmcp)
|
|
140
|
+
├── agent/
|
|
141
|
+
│ ├── graph.py # LangGraph StateGraph
|
|
142
|
+
│ └── tools.py # @tool wrappers for agent use
|
|
143
|
+
└── ingestors/
|
|
144
|
+
├── github.py # GitHub REST API (README + docs/ + root .md files)
|
|
145
|
+
└── docs.py # BFS crawler (httpx + BeautifulSoup + markdownify)
|
|
146
|
+
```
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "agentskillsmith"
|
|
7
|
+
version = "2.0.0"
|
|
8
|
+
description = "Convert GitHub repos and documentation websites into Agent Skills"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.11"
|
|
11
|
+
license = { text = "MIT" }
|
|
12
|
+
authors = [{ name = "SkillSmith" }]
|
|
13
|
+
keywords = ["ai", "agent", "skills", "llm", "langchain", "langgraph"]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Development Status :: 4 - Beta",
|
|
16
|
+
"Intended Audience :: Developers",
|
|
17
|
+
"License :: OSI Approved :: MIT License",
|
|
18
|
+
"Programming Language :: Python :: 3",
|
|
19
|
+
"Programming Language :: Python :: 3.11",
|
|
20
|
+
"Programming Language :: Python :: 3.12",
|
|
21
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
22
|
+
]
|
|
23
|
+
dependencies = [
|
|
24
|
+
"typer>=0.12",
|
|
25
|
+
"langgraph>=0.2",
|
|
26
|
+
"langchain>=0.3",
|
|
27
|
+
"langchain-anthropic>=0.3",
|
|
28
|
+
"langchain-openai>=0.2",
|
|
29
|
+
"fastmcp>=2.0",
|
|
30
|
+
"httpx>=0.27",
|
|
31
|
+
"beautifulsoup4>=4.12",
|
|
32
|
+
"markdownify>=0.13",
|
|
33
|
+
"pydantic>=2.0",
|
|
34
|
+
"rich>=13.0",
|
|
35
|
+
"prompt_toolkit>=3.0",
|
|
36
|
+
"pyyaml>=6.0",
|
|
37
|
+
"langchain-google-genai>=4.2.1",
|
|
38
|
+
]
|
|
39
|
+
|
|
40
|
+
[project.urls]
|
|
41
|
+
Homepage = "https://github.com/koltenluca/SkillSmith"
|
|
42
|
+
Repository = "https://github.com/koltenluca/SkillSmith"
|
|
43
|
+
Issues = "https://github.com/koltenluca/SkillSmith/issues"
|
|
44
|
+
|
|
45
|
+
[project.scripts]
|
|
46
|
+
skillsmith = "skillsmith.main:app_cli"
|
|
47
|
+
|
|
48
|
+
[tool.hatch.build.targets.wheel]
|
|
49
|
+
packages = ["src/skillsmith"]
|
|
50
|
+
|
|
51
|
+
[tool.uv]
|
|
52
|
+
dev-dependencies = [
|
|
53
|
+
"pytest>=8.0",
|
|
54
|
+
"ruff>=0.4",
|
|
55
|
+
]
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "skill-creator",
|
|
3
|
+
"description": "Create new skills, improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, update or optimize an existing skill, run evals to test a skill, or benchmark skill performance with variance analysis.",
|
|
4
|
+
"author": {
|
|
5
|
+
"name": "Anthropic",
|
|
6
|
+
"email": "support@anthropic.com"
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|