skillmeld 0.4.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.
- skillmeld-0.4.0/.gitignore +19 -0
- skillmeld-0.4.0/CHANGELOG.md +184 -0
- skillmeld-0.4.0/LICENSE +202 -0
- skillmeld-0.4.0/NOTICE +5 -0
- skillmeld-0.4.0/PKG-INFO +144 -0
- skillmeld-0.4.0/README.md +114 -0
- skillmeld-0.4.0/pyproject.toml +68 -0
- skillmeld-0.4.0/src/skillmeld/__init__.py +4 -0
- skillmeld-0.4.0/src/skillmeld/__main__.py +5 -0
- skillmeld-0.4.0/src/skillmeld/cli.py +933 -0
- skillmeld-0.4.0/src/skillmeld/discovery.py +209 -0
- skillmeld-0.4.0/src/skillmeld/embed.py +12 -0
- skillmeld-0.4.0/src/skillmeld/emit/__init__.py +8 -0
- skillmeld-0.4.0/src/skillmeld/emit/package.py +434 -0
- skillmeld-0.4.0/src/skillmeld/emit/provenance.py +96 -0
- skillmeld-0.4.0/src/skillmeld/eval/__init__.py +8 -0
- skillmeld-0.4.0/src/skillmeld/eval/evaluate.py +165 -0
- skillmeld-0.4.0/src/skillmeld/eval/interchange.py +246 -0
- skillmeld-0.4.0/src/skillmeld/eval/leakage.py +38 -0
- skillmeld-0.4.0/src/skillmeld/eval/quality.py +115 -0
- skillmeld-0.4.0/src/skillmeld/eval/route.py +114 -0
- skillmeld-0.4.0/src/skillmeld/eval/strategy.py +112 -0
- skillmeld-0.4.0/src/skillmeld/eval/trigger.py +131 -0
- skillmeld-0.4.0/src/skillmeld/grounding.py +286 -0
- skillmeld-0.4.0/src/skillmeld/hosted/__init__.py +8 -0
- skillmeld-0.4.0/src/skillmeld/hosted/build_catalog.py +197 -0
- skillmeld-0.4.0/src/skillmeld/hosted/sources.py +14 -0
- skillmeld-0.4.0/src/skillmeld/intake.py +67 -0
- skillmeld-0.4.0/src/skillmeld/merge/__init__.py +6 -0
- skillmeld-0.4.0/src/skillmeld/merge/conflicts.py +131 -0
- skillmeld-0.4.0/src/skillmeld/merge/dedupe.py +46 -0
- skillmeld-0.4.0/src/skillmeld/merge/frontmatter.py +226 -0
- skillmeld-0.4.0/src/skillmeld/merge/group.py +74 -0
- skillmeld-0.4.0/src/skillmeld/merge/parse.py +179 -0
- skillmeld-0.4.0/src/skillmeld/merge/partition.py +93 -0
- skillmeld-0.4.0/src/skillmeld/merge/pipeline.py +208 -0
- skillmeld-0.4.0/src/skillmeld/merge/prune.py +131 -0
- skillmeld-0.4.0/src/skillmeld/merge/reconcile.py +89 -0
- skillmeld-0.4.0/src/skillmeld/merge/synthesize.py +136 -0
- skillmeld-0.4.0/src/skillmeld/merge/verify.py +119 -0
- skillmeld-0.4.0/src/skillmeld/models.py +327 -0
- skillmeld-0.4.0/src/skillmeld/py.typed +0 -0
- skillmeld-0.4.0/src/skillmeld/registries/__init__.py +2 -0
- skillmeld-0.4.0/src/skillmeld/registries/awesome.py +148 -0
- skillmeld-0.4.0/src/skillmeld/registries/catalog.py +99 -0
- skillmeld-0.4.0/src/skillmeld/registries/catalog_client.py +166 -0
- skillmeld-0.4.0/src/skillmeld/registries/fetch.py +117 -0
- skillmeld-0.4.0/src/skillmeld/registries/github_crawl.py +255 -0
- skillmeld-0.4.0/src/skillmeld/registries/skillsmp.py +189 -0
- skillmeld-0.4.0/src/skillmeld/security/__init__.py +2 -0
- skillmeld-0.4.0/src/skillmeld/security/adapters.py +332 -0
- skillmeld-0.4.0/src/skillmeld/security/configs/semgrep.yml +46 -0
- skillmeld-0.4.0/src/skillmeld/security/license.py +229 -0
- skillmeld-0.4.0/src/skillmeld/security/rules.py +420 -0
- skillmeld-0.4.0/src/skillmeld/security/scan.py +493 -0
- skillmeld-0.4.0/src/skillmeld/security/verdict.py +82 -0
- skillmeld-0.4.0/src/skillmeld/select.py +53 -0
- skillmeld-0.4.0/tests/conftest.py +13 -0
- skillmeld-0.4.0/tests/fixtures/.gitkeep +0 -0
- skillmeld-0.4.0/tests/fixtures/catalog.json +136 -0
- skillmeld-0.4.0/tests/test_awesome.py +78 -0
- skillmeld-0.4.0/tests/test_catalog_client.py +143 -0
- skillmeld-0.4.0/tests/test_catalog_loader.py +137 -0
- skillmeld-0.4.0/tests/test_cli.py +724 -0
- skillmeld-0.4.0/tests/test_discovery.py +185 -0
- skillmeld-0.4.0/tests/test_emit.py +455 -0
- skillmeld-0.4.0/tests/test_eval.py +520 -0
- skillmeld-0.4.0/tests/test_fetch.py +123 -0
- skillmeld-0.4.0/tests/test_frontmatter.py +291 -0
- skillmeld-0.4.0/tests/test_grounding.py +89 -0
- skillmeld-0.4.0/tests/test_hosted_builder.py +319 -0
- skillmeld-0.4.0/tests/test_intake.py +30 -0
- skillmeld-0.4.0/tests/test_interchange.py +272 -0
- skillmeld-0.4.0/tests/test_merge_cli.py +159 -0
- skillmeld-0.4.0/tests/test_merge_parse.py +123 -0
- skillmeld-0.4.0/tests/test_merge_pipeline.py +164 -0
- skillmeld-0.4.0/tests/test_merge_reconcile_partition.py +154 -0
- skillmeld-0.4.0/tests/test_merge_steps.py +190 -0
- skillmeld-0.4.0/tests/test_security_adapters.py +191 -0
- skillmeld-0.4.0/tests/test_security_license.py +118 -0
- skillmeld-0.4.0/tests/test_security_scan.py +241 -0
- skillmeld-0.4.0/tests/test_security_verdict.py +134 -0
- skillmeld-0.4.0/tests/test_select.py +55 -0
- skillmeld-0.4.0/tests/test_skillsmp.py +200 -0
- skillmeld-0.4.0/tests/test_smoke.py +19 -0
- skillmeld-0.4.0/tests/test_taxonomy_coverage.py +249 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.venv/
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
.pytest_cache/
|
|
5
|
+
.ruff_cache/
|
|
6
|
+
.coverage
|
|
7
|
+
htmlcov/
|
|
8
|
+
dist/
|
|
9
|
+
build/
|
|
10
|
+
*.egg-info/
|
|
11
|
+
.DS_Store
|
|
12
|
+
|
|
13
|
+
# No AI footprint in the public repo — orientation/planning stay local (in workbook)
|
|
14
|
+
CLAUDE.md
|
|
15
|
+
.claude/
|
|
16
|
+
.impeccable/
|
|
17
|
+
|
|
18
|
+
# Scratch / reference attachments dropped beside the repo (never shipped)
|
|
19
|
+
/_scratch/
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to skillmeld are recorded here. The format follows
|
|
4
|
+
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the project uses
|
|
5
|
+
[semantic versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
|
+
|
|
7
|
+
## [0.4.0] - 2026-09-26
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- skillmeld is on PyPI: `uv tool install skillmeld` (or `pipx install skillmeld`) puts the
|
|
12
|
+
`skillmeld` command on your PATH. Releases publish from the version tag through PyPI trusted
|
|
13
|
+
publishing; the sdist and wheel carry only the package, its tests and the top-level docs.
|
|
14
|
+
- The Claude Code plugin installs straight from GitHub: `/plugin marketplace add ifylab/skillmeld`
|
|
15
|
+
fetches the repository into the plugin cache and the skill runs the engine from there. No clone.
|
|
16
|
+
- `awesome-scout`: build-time discovery over a curated awesome-list (default:
|
|
17
|
+
VoltAgent/awesome-agent-skills). Every linked repository not already in the catalog, ranked by
|
|
18
|
+
GitHub stars. Candidates only; membership in the source list stays a hand-made decision.
|
|
19
|
+
- Scans name the executable script files a bundle ships (`core:ships-scripts`, informational).
|
|
20
|
+
Skills that bundle scripts carried a vulnerability about twice as often in a 2026 study of 31k
|
|
21
|
+
community skills (arXiv 2601.10338), so the review card can say what will run.
|
|
22
|
+
- Trigger scoring lists `leaky_ids`, the queries that spell out their target skill's compound
|
|
23
|
+
name and so route trivially, and a `held_out_pass_rate_strict` without them; `eval improve`
|
|
24
|
+
repeats the warning.
|
|
25
|
+
- `skillsmp-scout` reports the remaining daily quota from the API's headers and stops with a
|
|
26
|
+
plain message when the quota is exhausted.
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
|
|
30
|
+
- Discovery matches a hyphenated name on its parts too, so `weekly-production-review` is
|
|
31
|
+
reachable from "weekly review" and not only from the exact compound.
|
|
32
|
+
- A host referenced from many files collapses into one finding per host and rule, with a count,
|
|
33
|
+
instead of one finding per line.
|
|
34
|
+
- SkillSpector findings carry the tool's pattern, explanation and matched text; its JSON has no
|
|
35
|
+
`message` field, so earlier versions showed only the category. The category fold covers all 18
|
|
36
|
+
categories of v2.12, an empty scan is reported as a notice, and the adapter is verified against
|
|
37
|
+
v2.12.0.
|
|
38
|
+
- The claude.ai zip and the `/v1/skills` payload render frontmatter within the Agent Skills spec:
|
|
39
|
+
`disallowed-tools` and `disable-model-invocation` are left out, named in `warnings`, because an
|
|
40
|
+
upload refuses a SKILL.md that carries them. The Claude Code and marketplace emits keep them.
|
|
41
|
+
- `emit api` reports no required `anthropic-beta` header: the Skills API, the code execution tool
|
|
42
|
+
and the Files API are all GA. `beta_headers` is empty and `legacy_beta_headers` names the two
|
|
43
|
+
identifiers still accepted as opt-ins.
|
|
44
|
+
- The SkillsMP scout pages at the documented maximum of 50 per request.
|
|
45
|
+
- SKILL.md says that REVIEW is the usual verdict for a skill that calls the network or reads
|
|
46
|
+
files, and names the two Claude Code settings that govern the skill-listing budget.
|
|
47
|
+
|
|
48
|
+
### Fixed
|
|
49
|
+
|
|
50
|
+
- A multi-line frontmatter `description` (a `>` or `|` block, a quoted or a plain continuation)
|
|
51
|
+
is read whole. Earlier versions kept the block marker or nothing, which made such skills
|
|
52
|
+
unreachable by discovery.
|
|
53
|
+
- A trailing period on a frontmatter `license:` value (`MIT.`) no longer breaks the SPDX id.
|
|
54
|
+
|
|
55
|
+
### Security
|
|
56
|
+
|
|
57
|
+
- `anyio` raised to 4.15.1, past two advisories fixed in 4.14.2 (IDNA host-name matching in TLS
|
|
58
|
+
streams, and process-pool workers blocking on stderr). skillmeld does not use either path; the
|
|
59
|
+
package arrives through httpx.
|
|
60
|
+
|
|
61
|
+
## [0.3.0] - 2026-08-19
|
|
62
|
+
|
|
63
|
+
### Added
|
|
64
|
+
|
|
65
|
+
- Four core rules close gaps a new taxonomy coverage benchmark surfaced: cron and login/startup
|
|
66
|
+
persistence, ClickFix-style paste-to-fix lures, and directed false reassurance ("tell the user
|
|
67
|
+
it is safe"). The benchmark maps every publicly named category of agentskill.sh's threat model
|
|
68
|
+
to at least one live rule and carries OWASP Agentic Skills Top 10 ids as an advisory
|
|
69
|
+
cross-reference (the OWASP list is in pre-ratification review, so its ids are never a stored
|
|
70
|
+
schema key).
|
|
71
|
+
- NVIDIA SkillSpector joins semgrep and gitleaks as a PATH-optional, escalate-only scanner
|
|
72
|
+
adapter. It always runs `--no-llm` (scanned content never leaves the machine; its supply-chain
|
|
73
|
+
check may send dependency names — never contents — to OSV.dev, with a bundled fallback), its
|
|
74
|
+
CRITICAL findings cap at REVIEW like every adapter, and its categories fold onto the gate's
|
|
75
|
+
taxonomy.
|
|
76
|
+
- The weekly catalog build now consults scancode-toolkit for license texts the lightweight
|
|
77
|
+
fingerprints cannot identify, so gold-standard SPDX detection is baked into the signed catalog
|
|
78
|
+
while the client stays dependency-light.
|
|
79
|
+
- `emit marketplace` gained `--marketplace-version` and `--owner-url`. The manifest now matches
|
|
80
|
+
the shape Claude Code marketplaces ship (a `metadata` wrapper with description + version), and
|
|
81
|
+
the version also lands on the plugin entry so `claude plugin update` can see a re-composition.
|
|
82
|
+
- The SkillsMP adapter is real: `skillsmp-scout --queries ...` runs authed, budget-capped,
|
|
83
|
+
paginated breadth discovery over the SkillsMP registry and prints candidate `owner/name`
|
|
84
|
+
repos ranked by stars. Candidates only — catalog membership stays a hand-curated decision —
|
|
85
|
+
and the undocumented response schema is pinned by fixture so upstream drift fails loudly.
|
|
86
|
+
|
|
87
|
+
### Changed
|
|
88
|
+
|
|
89
|
+
- A scan that runs without an optional scanner now says so with a visible notice instead of a
|
|
90
|
+
quiet `absent` version entry; a security gate announces reduced coverage.
|
|
91
|
+
- `scan --license --sources` distinguishes the two license-unknown cases: the catalog also has
|
|
92
|
+
no SPDX for the source (unknown is the settled state) versus the bundle simply not being in
|
|
93
|
+
the provided sources.
|
|
94
|
+
- The merge plan's support-file reference warnings collapse into one aggregate line listing
|
|
95
|
+
every referenced file, so boilerplate cannot drown a real warning.
|
|
96
|
+
- `eval --help` groups shared, run-only, and improve-only flags; `catalog --help` documents the
|
|
97
|
+
trust model (verification at sync/verify time; `discover` trusts the last verified sync).
|
|
98
|
+
- `eval run --write-evals` keeps the caller's query numbering whenever the ids carry unique
|
|
99
|
+
digits, instead of always renumbering the exported cases.
|
|
100
|
+
- Quality-gate body warnings cite the line numbers of unescaped html-like tags.
|
|
101
|
+
- Spec refresh: the Skills API is GA (`skills-2025-10-02` and `code-execution-2025-08-25` are
|
|
102
|
+
optional opt-ins now; `files-api-2025-04-14` is still required when files move), and Claude
|
|
103
|
+
Code renamed its routing-budget setting to `skillListingMaxDescChars` (same 1536 default) —
|
|
104
|
+
constants, warning text, and docs updated.
|
|
105
|
+
|
|
106
|
+
- The quality gate no longer hard-fails a skill whose body carries an unescaped html-like tag;
|
|
107
|
+
the finding surfaces as a warning instead. Hard issues now cover only what the composition
|
|
108
|
+
itself authors (name, description, frontmatter) — composed bodies are byte-traced from source
|
|
109
|
+
skills and improves are description-only, so a body finding had no in-engine remediation and
|
|
110
|
+
blocked `eval run` from ever reaching `passed: true` on an affected set.
|
|
111
|
+
|
|
112
|
+
### Security
|
|
113
|
+
|
|
114
|
+
- `cryptography` raised to 50.0 — earlier versions expose a timing oracle in PKCS#7
|
|
115
|
+
decryption, an API skillmeld never calls.
|
|
116
|
+
|
|
117
|
+
## [0.2.0] - 2026-07-26
|
|
118
|
+
|
|
119
|
+
### Added
|
|
120
|
+
|
|
121
|
+
- The hosted data layer is live: `catalog sync` now works out of the box against
|
|
122
|
+
`data.ifylab.dev/skillmeld` — an Ed25519-signed manifest verified against an embedded public
|
|
123
|
+
key, a hash-pinned catalog, and an advisory verdict index in which every published skill is
|
|
124
|
+
pre-scanned (known-BLOCK bundles are dropped at discovery before anyone sees them). Rebuilt
|
|
125
|
+
weekly by CI.
|
|
126
|
+
- `build-catalog` builds and signs the production artifacts (crawl, fetch-verify, scan, sign)
|
|
127
|
+
with the signing key from `SKILLMELD_SIGNING_KEY`, and `catalog sync --base-url` points the
|
|
128
|
+
client at an alternate hosted endpoint.
|
|
129
|
+
- `emit api` output now carries the pinned Skills API beta headers (`beta_headers`), the
|
|
130
|
+
provenance text with a sharing-scope section (`provenance_md`), a standing warning that a
|
|
131
|
+
`/v1/skills` upload is workspace-wide, and `requires_confirmation: true` when the merge plan
|
|
132
|
+
holds a REVIEW frontmatter verdict. It also warns when a composed skill carries support files,
|
|
133
|
+
which the `/v1/skills` payload cannot include — those travel separately via the Files API.
|
|
134
|
+
- A `marketplace` emit surface that packages the merged set as a `strict:false` Claude Code plugin
|
|
135
|
+
marketplace (`.claude-plugin/marketplace.json` plus the skills tree and `PROVENANCE.md`), ready to
|
|
136
|
+
host and install with `/plugin marketplace add`.
|
|
137
|
+
- `emit marketplace --plugin-name` to set the plugin entry's name. Without it, a multi-skill set now
|
|
138
|
+
defaults to the composed skills' names joined, instead of the generic `orchestrator` slug.
|
|
139
|
+
- `eval` speaks the skill-creator interchange formats: `eval run --write-evals` exports the query
|
|
140
|
+
set as a portable `evals.json`, `eval improve --history` keeps a `history.json` improvement
|
|
141
|
+
ledger, and `--ingest-source-evals` reads a source skill's bundled evals as extra train-side
|
|
142
|
+
trigger queries (never held out, so the leakage gate and the improve selection stay clean).
|
|
143
|
+
|
|
144
|
+
### Changed
|
|
145
|
+
|
|
146
|
+
- The catalog crawl resolves every source repo to its commit SHA at build time, so a published
|
|
147
|
+
catalog's fetch URLs and pinned hashes stay consistent no matter what the branch does
|
|
148
|
+
afterwards.
|
|
149
|
+
- `emit claude-code` names the provenance file `PROVENANCE-<set>.md`, so two composed sets
|
|
150
|
+
emitted into one shared skills directory keep separate provenance instead of silently
|
|
151
|
+
overwriting each other's.
|
|
152
|
+
- README places skillmeld among the newer composition tools (AgentSkillOS, SkillComposer) and
|
|
153
|
+
links the Agent Skills spec home ([agentskills.io](https://agentskills.io)).
|
|
154
|
+
|
|
155
|
+
### Fixed
|
|
156
|
+
|
|
157
|
+
- `eval improve` without `--baseline-judgments`/`--candidate-judgments` returns the CLI's JSON
|
|
158
|
+
error contract instead of a Python traceback.
|
|
159
|
+
- Passing `ground`'s full output to `--profile` fails loudly with the fix named, instead of
|
|
160
|
+
silently validating an empty profile that turned pruning into a no-op.
|
|
161
|
+
- Framework detection matches exact package names, so a dependency like `license-expression`
|
|
162
|
+
no longer misreads as Express.
|
|
163
|
+
- The catalog crawl reads a license file inside the skill's own folder when the repo has none at
|
|
164
|
+
the root, so a source licensed per-skill no longer resolves license-unknown and drags a whole
|
|
165
|
+
composed set to unknown.
|
|
166
|
+
- `eval` now accepts `--sources` (parity with `merge` and `emit`), so a source whose `SKILL.md`
|
|
167
|
+
omits `name:` is verified under its catalog identity instead of failing the byte-trace check.
|
|
168
|
+
- The independent routing cross-check no longer routes near-miss queries on generic programming
|
|
169
|
+
vocabulary alone ("write", "python", "code", ...), and a token shared by every child carries no
|
|
170
|
+
routing weight — `independent_trigger` and `routing_disagreements` stay high-precision.
|
|
171
|
+
|
|
172
|
+
### Security
|
|
173
|
+
|
|
174
|
+
- `cryptography` raised to 49.0 — wheels before 48.0.1 bundled a vulnerable OpenSSL.
|
|
175
|
+
|
|
176
|
+
## [0.1.0] - 2026-06-13
|
|
177
|
+
|
|
178
|
+
First public release. The full pipeline is implemented and tested: intake, repo
|
|
179
|
+
grounding, discovery over a signed catalog, selection (at most three), a tri-state
|
|
180
|
+
security gate, the eight-step byte-traceable merge engine, evaluation, and packaging
|
|
181
|
+
for Claude Code / claude.ai / the API with provenance.
|
|
182
|
+
|
|
183
|
+
[0.2.0]: https://github.com/ifylab/skillmeld/compare/v0.1.0...v0.2.0
|
|
184
|
+
[0.1.0]: https://github.com/ifylab/skillmeld/releases/tag/v0.1.0
|
skillmeld-0.4.0/LICENSE
ADDED
|
@@ -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.
|
skillmeld-0.4.0/NOTICE
ADDED
skillmeld-0.4.0/PKG-INFO
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: skillmeld
|
|
3
|
+
Version: 0.4.0
|
|
4
|
+
Summary: Discover existing community skills and merge the best into one tailored, security-scanned skill set.
|
|
5
|
+
Project-URL: Homepage, https://ifylab.dev/tools/skillmeld
|
|
6
|
+
Project-URL: Repository, https://github.com/ifylab/skillmeld
|
|
7
|
+
Project-URL: Changelog, https://github.com/ifylab/skillmeld/blob/main/CHANGELOG.md
|
|
8
|
+
Project-URL: Issues, https://github.com/ifylab/skillmeld/issues
|
|
9
|
+
Author: Hossein Zargar
|
|
10
|
+
License-Expression: Apache-2.0
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
License-File: NOTICE
|
|
13
|
+
Keywords: agent-skills,claude,compose,merge,skills
|
|
14
|
+
Classifier: Development Status :: 4 - Beta
|
|
15
|
+
Classifier: Environment :: Console
|
|
16
|
+
Classifier: Intended Audience :: Developers
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
20
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
21
|
+
Requires-Python: >=3.12
|
|
22
|
+
Requires-Dist: bandit>=1.8
|
|
23
|
+
Requires-Dist: cryptography>=43
|
|
24
|
+
Requires-Dist: httpx>=0.27
|
|
25
|
+
Requires-Dist: license-expression>=30
|
|
26
|
+
Requires-Dist: markdown-it-py>=3
|
|
27
|
+
Requires-Dist: pydantic>=2.7
|
|
28
|
+
Requires-Dist: pyyaml>=6
|
|
29
|
+
Description-Content-Type: text/markdown
|
|
30
|
+
|
|
31
|
+
# skillmeld
|
|
32
|
+
|
|
33
|
+
<!-- A demo GIF of a real /skillmeld run is planned as the README hero. -->
|
|
34
|
+
|
|
35
|
+
[](https://github.com/ifylab/skillmeld/actions/workflows/ci.yml)
|
|
36
|
+
[](https://pypi.org/project/skillmeld/)
|
|
37
|
+
[](https://github.com/ifylab/skillmeld/blob/main/LICENSE)
|
|
38
|
+

|
|
39
|
+
|
|
40
|
+
Describe what you want to do, point skillmeld at your repo, and it finds existing community skills for the job, security-scans them, and merges the best two or three into one coherent skill set tailored to your project — instead of writing one from scratch.
|
|
41
|
+
|
|
42
|
+
It runs on your own Claude in Claude Code, grounds in your repo, and shows you what it pulled, what it found, and why before anything is installed. It builds on the existing skills ecosystem (the [open standard](https://agentskills.io), community marketplaces, and registries) rather than replacing it.
|
|
43
|
+
|
|
44
|
+
## What makes it different
|
|
45
|
+
|
|
46
|
+
skillmeld composes; it does not generate. Every line in a merged skill traces byte-for-byte back to a source skill — a deterministic verifier enforces this, so the tool can never invent an instruction. The hard, mechanical work (parsing, security scanning, deduplicating, conflict detection, packaging) runs as deterministic Python that makes zero model calls. Your Claude supplies the judgment; the engine supplies the guarantees.
|
|
47
|
+
|
|
48
|
+
Composition tools are appearing on other layers too: [AgentSkillOS](https://github.com/ynulihao/AgentSkillOS) retrieves skills from a large pool and chains them into runtime workflows, and [SkillComposer](https://arxiv.org/abs/2606.06079) has a model generate and evolve its own skills. skillmeld's job is different: it merges skills other people wrote — untrusted input — into one reviewed, deduplicated set before anything runs, with a security verdict on every source and a byte trace on every line.
|
|
49
|
+
|
|
50
|
+
## How it works
|
|
51
|
+
|
|
52
|
+
A Claude Code skill drives a bundled Python engine through one pipeline:
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
intake -> ground -> discover -> select (<=3) -> fetch -> security gate -> merge -> eval -> emit
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
- **intake** normalizes the request and says when it is too thin to act on.
|
|
59
|
+
- **ground** scans your repo into a use-case profile, locally.
|
|
60
|
+
- **discover** syncs a signed catalog of community skills (Ed25519-verified, hash-pinned, cached locally) and your Claude ranks the shortlist.
|
|
61
|
+
- **select** takes at most three candidates, a separate cap from the three-skill output.
|
|
62
|
+
- **fetch** downloads only the chosen bundles and checks every file against the hash the catalog pinned.
|
|
63
|
+
- **security gate** scans every candidate (PASS / REVIEW / BLOCK) before you see it, and again after merge. REVIEW is the normal outcome for a skill that calls the network or reads files: the findings are named for you to decide on, and a BLOCK is never overridable.
|
|
64
|
+
- **merge** parses each skill into byte-exact atoms, deduplicates, resolves conflicts, prunes to your use case, and partitions the result into at most three skills behind a thin routing orchestrator. A verifier proves every output atom traces to a source.
|
|
65
|
+
- **eval** scores the set with no model calls: structural quality, byte-traceability, held-out trigger routing and a leakage check; every description edit is gated on it.
|
|
66
|
+
- **emit** packages the result for Claude Code, a claude.ai zip, the API, or a Claude Code plugin marketplace, with a provenance record (`PROVENANCE.md`, or `PROVENANCE-<set>.md` beside a Claude Code skills tree) of where every part came from.
|
|
67
|
+
|
|
68
|
+
## Install
|
|
69
|
+
|
|
70
|
+
Two ways in, one engine. The plugin path needs [uv](https://docs.astral.sh/uv/) on your PATH; the command-line path needs uv or pipx.
|
|
71
|
+
|
|
72
|
+
As a Claude Code plugin, the `/skillmeld` skill, with no clone:
|
|
73
|
+
|
|
74
|
+
```
|
|
75
|
+
/plugin marketplace add ifylab/skillmeld
|
|
76
|
+
/plugin install skillmeld@ifylab
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Claude Code fetches the repository into its plugin cache, and the skill runs the engine from there.
|
|
80
|
+
|
|
81
|
+
As a command-line tool, from PyPI:
|
|
82
|
+
|
|
83
|
+
```sh
|
|
84
|
+
uv tool install skillmeld # or: pipx install skillmeld
|
|
85
|
+
skillmeld --help
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
The command line runs the deterministic stages one at a time, which suits scripts and CI. The judgment steps (completing the profile, ranking candidates, adjudicating conflicts, authoring descriptions) belong to the skill, driven by your Claude.
|
|
89
|
+
|
|
90
|
+
## Quickstart
|
|
91
|
+
|
|
92
|
+
As a skill, describe the use case inside the project it is for:
|
|
93
|
+
|
|
94
|
+
```
|
|
95
|
+
/skillmeld I review pull requests for a Python service and want one consistent code-review routine
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Or exercise individual stages directly from the CLI. Each line stands alone and prints JSON;
|
|
99
|
+
`ground` prints a partial profile whose `summary` and `tasks` you complete before `discover` reads
|
|
100
|
+
it. From the package root of a clone, `uv run skillmeld` is the same command:
|
|
101
|
+
|
|
102
|
+
```sh
|
|
103
|
+
skillmeld catalog sync # fetch and verify the hosted catalog
|
|
104
|
+
skillmeld ground . # scan a repo into a profile
|
|
105
|
+
skillmeld scan path/to/skill --license # security- and license-scan a bundle
|
|
106
|
+
skillmeld merge --bundles a/ b/ --profile profile.json
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
The full pipeline — `intake`, `discover`, `select`, `fetch`, the eval loop, and every JSON contract these
|
|
110
|
+
commands exchange — is walked step by step in [skills/skillmeld/SKILL.md](https://github.com/ifylab/skillmeld/blob/main/skills/skillmeld/SKILL.md).
|
|
111
|
+
Offline, `skillmeld dev-catalog` builds the same signed catalog locally from repos you name. Two build-time
|
|
112
|
+
scouts feed the curated source list: `skillmeld skillsmp-scout` searches the SkillsMP registry
|
|
113
|
+
and `skillmeld awesome-scout` reads a curated awesome-list; both print candidates, and membership stays a
|
|
114
|
+
hand-made decision.
|
|
115
|
+
|
|
116
|
+
## What it isn't
|
|
117
|
+
|
|
118
|
+
- **Not a generator.** It assembles existing skills; it never authors new instructions. A convention no source skill covers is yours to add, not a gap skillmeld fills.
|
|
119
|
+
- **Not a catalog.** It composes from community marketplaces and registries rather than being one.
|
|
120
|
+
- **Not a model.** The engine makes zero LLM calls; the judgment comes from your own Claude, on your tokens.
|
|
121
|
+
|
|
122
|
+
## Acknowledgements
|
|
123
|
+
|
|
124
|
+
skillmeld stands on the open [Agent Skills](https://agentskills.io) ecosystem — the skill format, the community marketplaces, and the registries that publish and share skills. It composes that work; it does not replace it. Security scanning leans on [bandit](https://github.com/PyCQA/bandit), with optional [semgrep](https://semgrep.dev/), [gitleaks](https://github.com/gitleaks/gitleaks) and [NVIDIA SkillSpector](https://github.com/nvidia/skillspector) when present.
|
|
125
|
+
|
|
126
|
+
## Status
|
|
127
|
+
|
|
128
|
+
In active development, built in the open one piece at a time. The discovery, security, merge, evaluation, and packaging stages are implemented and tested, and discovery runs against a hosted signed catalog rebuilt weekly by CI — every published skill is crawled at a pinned commit and pre-scanned into an advisory verdict index. The curated AEC corpus is coming next. See the [changelog](https://github.com/ifylab/skillmeld/blob/main/CHANGELOG.md).
|
|
129
|
+
|
|
130
|
+
## Stack
|
|
131
|
+
|
|
132
|
+
Python 3.12, managed with uv. Ruff for lint and format, ty for type-checking, pytest for tests.
|
|
133
|
+
|
|
134
|
+
```sh
|
|
135
|
+
uv run ruff check . && uv run ruff format --check . && uv run ty check && uv run pytest
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
## Contributing
|
|
139
|
+
|
|
140
|
+
Issues and pull requests are welcome — see [CONTRIBUTING.md](https://github.com/ifylab/skillmeld/blob/main/CONTRIBUTING.md). Contributions are accepted under the project's Apache 2.0 license (inbound = outbound); no separate contributor agreement is required.
|
|
141
|
+
|
|
142
|
+
## License
|
|
143
|
+
|
|
144
|
+
Apache License 2.0 — see [LICENSE](https://github.com/ifylab/skillmeld/blob/main/LICENSE) and [NOTICE](https://github.com/ifylab/skillmeld/blob/main/NOTICE).
|