Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude/skills
28 changes: 28 additions & 0 deletions .github/workflows/skill-packaging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Skill packaging

on:
pull_request:
paths:
- 'skills/**'
- 'tests/skills/**'
- '.claude/skills'
- '.github/workflows/skill-packaging.yml'
push:
paths:
- 'skills/**'
- 'tests/skills/**'
- '.claude/skills'
- '.github/workflows/skill-packaging.yml'

permissions:
contents: read

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Verify bundled shared files
run: python3 skills/_shared/sync_shared.py --check
- name: Check independently installed skills
run: python3 -m unittest discover -s tests/skills -p test_skill_packaging.py
12 changes: 9 additions & 3 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Agent integrations

Agent-driven workflows for KERMT live under [`agent/`](agent/README.md). The
Agent-driven workflows for KERMT live under [`skills/`](skills/README.md). The
skills follow the [agentskills.io](https://agentskills.io) spec — one
directory per skill at `agent/skills/<skill-name>/SKILL.md`.
directory per skill at `skills/<skill-name>/SKILL.md`.

Available workflows:
- `kermt-setup` — bootstrap the kermt container (run first)
Expand All @@ -14,7 +14,13 @@ Available workflows:
- `kermt-embed` — extract molecular embeddings from any encoder-bearing ckpt
- `kermt-monitor` — tail logs / report progress for a detached run

See [`agent/README.md`](agent/README.md) for the full guide: hardware
See [`skills/README.md`](skills/README.md) for the full guide: hardware
requirements per workflow, how to install the skills with Claude Code /
Codex / Nemotron, and how to invoke the underlying scripts directly without
an agent.

Shared helpers and defaults are maintained in `skills/_shared/`. After editing
them, run `python3 skills/_shared/sync_shared.py --write` and commit the
per-skill copies; `--check` verifies they match. Each skill must use its
own bundled files so it can be installed and signed independently.
Development tests remain under `tests/skills/`.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RUN conda clean -afy

# Note: the repo is NOT copied into the image. Agent skills and any equivalent
# host workflow bind-mount the live kermt repo checkout at /workspace (see
# agent/scripts/kermt_container.sh). Keeping the image as a pure environment
# skills/_shared/scripts/kermt_container.sh). Keeping the image as a pure environment
# makes rebuilds cache-friendly (only invalidates when environment.yml changes,
# not on every code edit) and avoids stale-code footguns where a baked-in /code
# and the runtime bind-mount disagree.
Expand Down
77 changes: 0 additions & 77 deletions agent/skills/kermt-add-cmim-pretrain/skill-card.md

This file was deleted.

77 changes: 0 additions & 77 deletions agent/skills/kermt-continue-pretrain/skill-card.md

This file was deleted.

69 changes: 0 additions & 69 deletions agent/skills/kermt-embed/skill-card.md

This file was deleted.

Loading
Loading