research-agent 0.2.3

Long-term research assistant: index papers, articles, and PDFs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""research-agent — Hermes plugin entry point.

Hermes loads this module from ~/.hermes/plugins/research-agent/ and calls
register(ctx) once at startup. Bundled skills under skills/ are
registered here so the agent can load them via skill_view("research-agent:<skill>").
"""
from pathlib import Path


def register(ctx):
    """Register bundled skills with the Hermes plugin manager."""
    skills_dir = Path(__file__).parent / "skills"
    for child in sorted(skills_dir.iterdir()):
        skill_md = child / "SKILL.md"
        if child.is_dir() and skill_md.exists():
            ctx.register_skill(child.name, skill_md)