The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
feat(plugin-catalog): add skill-lineage
Simin (Simon) Yuane37f2013d323
diff --git a/plugin-catalog/skill-lineage.yaml b/plugin-catalog/skill-lineage.yamlnew file mode 100644index 00000000000..2c6571e6217--- /dev/null+++ b/plugin-catalog/skill-lineage.yaml@@ -0,0 +1,22 @@+name: skill-lineage+version: "0.1.0"+repo: https://github.com/simin-yuan/hermes-skill-lineage+sha: 96ffb13fdc93376cc9d0e3b393d885f291784a64+description: "Records where each skill version's content came from, so a skill that rewrites itself can be audited afterwards. For every skill write — a foreground skill_manage call, a background-review edit, or a curator consolidation — it stores the skill content fingerprint before and after, the sources present earlier in the same session (the text the user typed, tool results such as a fetched page or a file, and skills that were read), the features used to link a source to the added lines (shingle overlap, anchors such as URLs, identifiers and quoted strings, path/context proximity), and a seq -> prev_hash -> hash chain over the entries. Text is never stored: hashes are keyed per install and the key stays in plugin-data/skill-lineage. hermes skill-lineage trace <skill> shows where the newest version came from, descendants <url|skill> lists every skill a source produced, report lists versions carrying operative lines of no traceable origin, verify re-walks the chain, and head prints a value to record elsewhere so a later verify --head can tell truncation from an intact chain; a key reset is recorded in the chain and shown in status rather than happening silently. The plugin does not stop a write and does not judge a skill: it records and it verifies, and it does not claim a source caused an edit. Measured on the pinned commit (Hermes e06df9c2ea, Python 3.11.16 and 3.14.7): 46 passed, 1 skipped, and hermes plugins validate passes with no warnings; a manual end-to-end run in an isolated HERMES_HOME (one real session creating a skill through skill_manage, then status/trace/descendants/report/verify/head) passed, raw output in tests/smoke-2026-10-21.txt. Disclosure — four read-only hooks (on_session_start, pre_llm_call, pre_tool_call, post_tool_call); reads tool results, user messages and skill files to compute keyed hashes; keeps hashes (no text) for 7 days per session and the lineage chain (hashes and skill names) under plugin-data/skill-lineage; no network, no credentials, never blocks or changes a tool call."+maintainer: simin-yuan+tier: community+category: tools+requires_hermes: ">=0.21.5"+docs_url: https://github.com/simin-yuan/hermes-skill-lineage#readme+platforms: []+capabilities:+ provides_tools: []+ provides_hooks:+ - on_session_start+ - pre_llm_call+ - pre_tool_call+ - post_tool_call+ provides_commands:+ - skill-lineage+ provides_middleware: []+ requires_env: []