The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
chore(catalog): skill-retrieval 0.6.0 — real pin bump, environ-only key, outbound cap disclosure
Meng Huey9abd05934e5f
diff --git a/plugin-catalog/skill-retrieval.yaml b/plugin-catalog/skill-retrieval.yamlindex 8240277b17e..488208e9bfc 100644--- a/plugin-catalog/skill-retrieval.yaml+++ b/plugin-catalog/skill-retrieval.yaml@@ -1,24 +1,31 @@name: skill-retrievalrepo: https://github.com/moonlight-lupin/agent-skills-sha: c1c92ea625dad072e234693d22d0e604b166ea64+sha: 79801c69e797f5f8efd619f8f451ca89d18c7240subdir: plugins/skill-retrievaldescription: >-- BM25-based skill retrieval — injects top-K relevant skill descriptions per turn via a pre_llm_call- hook, replacing the full skill list in the system prompt. Token optimization for large skill- libraries. No API keys; runs locally, no network. Disclosure — wraps Hermes'- build_skills_system_prompt and clear_skills_system_prompt_cache in-process at session start so the- system prompt lists skill names only, and appends a short BM25-ranked list of skill descriptions to- each user message via the pre_llm_call hook (the system prompt is built once per session, so prompt- caching is unaffected). Reads SKILL.md frontmatter from the profile's skill roots; no network- access, no files written, pyyaml is the only dependency.+ BM25-based skill retrieval for large skill libraries — rewrites the outgoing request's+ <available_skills> block to names-only via an llm_request middleware and injects top-K+ full skill descriptions per turn via the pre_llm_call hook, so the system prompt stays+ compact and prompt caching is unaffected. Extends Hermes only through public surfaces+ (register_middleware, register hook, register_system_prompt_section) — no core overrides.+ Reads SKILL.md frontmatter from the profile's skill roots; pyyaml is the only base+ dependency. Optional Jev rerank (SKILL_RETRIEVAL_RERANK=jev): reranks the BM25 top-N+ shortlist via the typesafe.ai systemone API (model jev-latest) — an outbound HTTPS call,+ off by default, fail-soft with 3.0s timeout and no retries (BM25 order stands on error),+ sending at most 12 descriptions (400 chars each) plus the neutralized query (2000 chars).+ Key TYPESAFE_API_KEY (legacy TYPESAFE_KEY) read from os.environ only; writes only the+ A/B log JSONL under $HERMES_HOME/data/jev-trial/ (rotates past 5 MB). BM25 corpus also+ scores frontmatter triggers/tags.maintainer: moonlight-lupintier: communitycategory: toolsrequires_hermes: ">=0.21.1"-version: "0.3.1"+version: "0.6.0"capabilities:provides_tools: []provides_hooks:- pre_llm_call- provides_middleware: []- requires_env: []+ - on_skill_lifecycle+ provides_middleware:+ - llm_request+ requires_env: []\ No newline at end of file