[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GFKDYT6RCF96E3QSYJ6R2W":3,"skill-same:01M6GFKDYT6RCF96E3QSYJ6R2W":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":6,"ownerHtmlUrl":57,"ownerBlogUrl":6,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M6GFKDYT6RCF96E3QSYJ6R2W","provenance-aware-retrieval",null,"Use when adding dense retrieval to RAG or graph systems.","zapabob\u002FSkills","zapabob","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F130830376?v=4","01M6DBMYZAGRTFQDSQYW3W764P","峯岸 亮","01M6DBMZ3GKDSJ01NZ9XTZD7JD",2,"MIT","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Farchive\u002Fskill-md-reviewed\u002Fsha256\u002Fdb\u002Fdbc7f54b49a3ee990f20f757b35b6a0026309ff478b333ac80307fa028e01ad4\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"retrieval","provenance","provenance aware retrieval","systems","software-development","test-driven-development","semantic","semantic-graph","driven","software","systematic","test","use","hermes agent","hermes","graph","embeddings","development","debugging","rag","2026-11-10 10:12:30",false,"---\r\nname: provenance-aware-retrieval\r\ndescription: Use when adding dense retrieval to RAG or graph systems.\r\nversion: 1.0.0\r\nauthor: Hermes Agent\r\nlicense: MIT\r\nmetadata:\r\n  hermes:\r\n    tags: [rag, retrieval, embeddings, provenance, semantic-graph]\r\n    related_skills: [systematic-debugging, software-development\u002Ftest-driven-development]\r\n---\r\n\r\n# Provenance-Aware Retrieval\r\n\r\n## When to Use\r\n\r\nUse this skill when adding or evaluating dense embeddings, hybrid lexical+dense retrieval, provenance-aware graph expansion, local embedding HTTP adapters, or retrieval safety gates in a RAG or memory system.\r\n\r\nUse this class-level skill when extending lexical RAG, memory stores, or semantic graphs with dense embeddings. Preserve the existing lexical path and treat dense retrieval as optional recall augmentation, never as a truth or trust mechanism.\r\n\r\n## Invariants\r\n\r\n- Embedding similarity is a candidate generator only. It must never promote `accepted`, merge nodes, confirm `same_as`, supersede nodes, change authority or confidence, overwrite confirmed memory, or rewrite answers.\r\n- Typed graph relations, evidence, status, authority, scope, and user confirmation remain the source of truth.\r\n- Canonical embedding text contains only `node_type`, `subtype`, `label`, `summary`, and `identity_key`. Exclude status, authority, confidence, salience, run\u002Fsession identifiers, timestamps, metadata, evidence, secrets, raw transcripts, absolute paths, and rejected\u002Fsuperseded bodies.\r\n- Backend failure is lexical fail-open: do not fail the LLM turn or mutate SQLite. Bound warnings and use cooldowns.\r\n\r\n## Implementation sequence\r\n\r\n1. Start from current merged mainline, never an obsolete feature-branch head.\r\n2. Freeze a machine-readable lexical baseline before changing production retrieval.\r\n3. Add a backend protocol and deterministic fake backend without changing runtime behavior.\r\n4. Add sanitized canonical query\u002Fdocument serialization and stable SHA-256 source hashing.\r\n5. Add transactional storage and validated vector encoding before wiring dense candidates.\r\n6. Fuse lexical, identifier, and dense rankings with deterministic RRF; preserve stable tie-breakers.\r\n7. Apply status, authority, confidence, type, and run-scope filters before fusion where possible and again after fusion\u002Fexpansion.\r\n8. Add bounded one-hop expansion only for provenance-relevant edge types; direct seeds outrank expansions.\r\n9. Prove disabled and failed-backend results preserve lexical rows and the bounded `data_only` context.\r\n10. Add the production backend, operator controls, rebuild tooling, and live A\u002FB evaluation last.\r\n\r\n## Evaluation\r\n\r\nTrack category-level Recall@8 and MRR@8, latency p50\u002Fp95, context size, rejected\u002Fsuperseded leakage, cross-run leakage, secret-bearing recall, state mutation, negative wrong-memory hit rate, and negative context-injection rate. Never accept aggregate improvement while identifier, correction\u002Fhistory, or safety categories regress. Leakage and mutation counters must remain zero. Record baseline limitations honestly instead of redefining metrics.\r\n\r\n## Local embedding backend\r\n\r\nFor fully local deployment, use a dedicated operator-managed `LlamaCppEmbeddingBackend` backed by `llama-server --embedding`, not a generic remote service. Use `POST \u002Fv1\u002Fembeddings` only, bind loopback by default, and let Hermes connect without auto-starting the server. For Qwen3-Embedding-0.6B, establish F16 at native 1024 dimensions first; evaluate Q8_0 or 512-dimensional truncation only through later benchmarks. Query serialization receives the model instruction; documents do not.\r\n\r\nValidate HTTP status, JSON shape, response count, complete unique indices, dimensions, finite values, nonzero norm, response size, timeout, and cooldown. Reorder by response index. Do not infer identity from response `model`; use configured model, GGUF revision, dimensions, and serializer version.\r\n\r\n## Sanitization and stale vectors\r\n\r\nReuse the shared sanitizer, but enforce field bounds after sanitization and normalization. Persistence redaction may turn benign long tokens into `[LONG_TOKEN_REDACTED]`; use a slightly larger sanitizer budget and truncate after normalization. Invalidate stale vectors both on semantic-field updates and by source-hash mismatch at query time. Never use Python's salted `hash()` for stable identity.\r\n\r\n## Verification\r\n\r\nKeep protocol, serializer, migration, vector math, RRF, filters, expansion, fallback, HTTP adapter, and CLI in logical commits. Use RED → GREEN → regression verification. On Windows Git Bash, use:\r\n\r\n```bash\r\nSHORT=$(cygpath -d \"$PWD\u002F.venv\u002FScripts\u002Fpython.exe\")\r\nHERMES_PYTHON=\"$SHORT\" HERMES_TEST_WORKERS=1 bash scripts\u002Frun_tests.sh \u003Ctests> -q\r\n```\r\n\r\nBefore each commit run canonical tests, static checks, `git diff --check`, and secret\u002Fpath scans. After committing, rerun the targeted set and prove intended production-boundary files are unchanged. Record commands, exit codes, skipped live checks, risks, and working-tree status in the implementation log. Do not claim production readiness without full-suite, restart, provider, and live-backend evidence.\r\n\r\n## References\r\n\r\n- `references\u002Fhybrid-retrieval-llama-cpp.md`: benchmark, RRF, filtering, serializer, adapter, and Windows verification details.\r\n- `references\u002Fllama-server-embedding.md`: llama-server\u002FQwen3 request, response validation, identity, and security cheatsheet.\r\n","# Provenance-Aware Retrieval\r\n\r\n## When to Use\r\n\r\nUse this skill when adding or evaluating dense embeddings, hybrid lexical+dense retrieval, provenance-aware graph expansion, local embedding HTTP adapters, or retrieval safety gates in a RAG or memory system.\r\n\r\nUse this class-level skill when extending lexical RAG, memory stores, or semantic graphs with dense embeddings. Preserve the existing lexical path and treat dense retrieval as optional recall augmentation, never as a truth or trust mechanism.\r\n\r\n## Invariants\r\n\r\n- Embedding similarity is a candidate generator only. It must never promote `accepted`, merge nodes, confirm `same_as`, supersede nodes, change authority or confidence, overwrite confirmed memory, or rewrite answers.\r\n- Typed graph relations, evidence, status, authority, scope, and user confirmation remain the source of truth.\r\n- Canonical embedding text contains only `node_type`, `subtype`, `label`, `summary`, and `identity_key`. Exclude status, authority, confidence, salience, run\u002Fsession identifiers, timestamps, metadata, evidence, secrets, raw transcripts, absolute paths, and rejected\u002Fsuperseded bodies.\r\n- Backend failure is lexical fail-open: do not fail the LLM turn or mutate SQLite. Bound warnings and use cooldowns.\r\n\r\n## Implementation sequence\r\n\r\n1. Start from current merged mainline, never an obsolete feature-branch head.\r\n2. Freeze a machine-readable lexical baseline before changing production retrieval.\r\n3. Add a backend protocol and deterministic fake backend without changing runtime behavior.\r\n4. Add sanitized canonical query\u002Fdocument serialization and stable SHA-256 source hashing.\r\n5. Add transactional storage and validated vector encoding before wiring dense candidates.\r\n6. Fuse lexical, identifier, and dense rankings with deterministic RRF; preserve stable tie-breakers.\r\n7. Apply status, authority, confidence, type, and run-scope filters before fusion where possible and again after fusion\u002Fexpansion.\r\n8. Add bounded one-hop expansion only for provenance-relevant edge types; direct seeds outrank expansions.\r\n9. Prove disabled and failed-backend results preserve lexical rows and the bounded `data_only` context.\r\n10. Add the production backend, operator controls, rebuild tooling, and live A\u002FB evaluation last.\r\n\r\n## Evaluation\r\n\r\nTrack category-level Recall@8 and MRR@8, latency p50\u002Fp95, context size, rejected\u002Fsuperseded leakage, cross-run leakage, secret-bearing recall, state mutation, negative wrong-memory hit rate, and negative context-injection rate. Never accept aggregate improvement while identifier, correction\u002Fhistory, or safety categories regress. Leakage and mutation counters must remain zero. Record baseline limitations honestly instead of redefining metrics.\r\n\r\n## Local embedding backend\r\n\r\nFor fully local deployment, use a dedicated operator-managed `LlamaCppEmbeddingBackend` backed by `llama-server --embedding`, not a generic remote service. Use `POST \u002Fv1\u002Fembeddings` only, bind loopback by default, and let Hermes connect without auto-starting the server. For Qwen3-Embedding-0.6B, establish F16 at native 1024 dimensions first; evaluate Q8_0 or 512-dimensional truncation only through later benchmarks. Query serialization receives the model instruction; documents do not.\r\n\r\nValidate HTTP status, JSON shape, response count, complete unique indices, dimensions, finite values, nonzero norm, response size, timeout, and cooldown. Reorder by response index. Do not infer identity from response `model`; use configured model, GGUF revision, dimensions, and serializer version.\r\n\r\n## Sanitization and stale vectors\r\n\r\nReuse the shared sanitizer, but enforce field bounds after sanitization and normalization. Persistence redaction may turn benign long tokens into `[LONG_TOKEN_REDACTED]`; use a slightly larger sanitizer budget and truncate after normalization. Invalidate stale vectors both on semantic-field updates and by source-hash mismatch at query time. Never use Python's salted `hash()` for stable identity.\r\n\r\n## Verification\r\n\r\nKeep protocol, serializer, migration, vector math, RRF, filters, expansion, fallback, HTTP adapter, and CLI in logical commits. Use RED → GREEN → regression verification. On Windows Git Bash, use:\r\n\r\n```bash\r\nSHORT=$(cygpath -d \"$PWD\u002F.venv\u002FScripts\u002Fpython.exe\")\r\nHERMES_PYTHON=\"$SHORT\" HERMES_TEST_WORKERS=1 bash scripts\u002Frun_tests.sh \u003Ctests> -q\r\n```\r\n\r\nBefore each commit run canonical tests, static checks, `git diff --check`, and secret\u002Fpath scans. After committing, rerun the targeted set and prove intended production-boundary files are unchanged. Record commands, exit codes, skipped live checks, risks, and working-tree status in the implementation log. Do not claim production readiness without full-suite, restart, provider, and live-backend evidence.\r\n\r\n## References\r\n\r\n- `references\u002Fhybrid-retrieval-llama-cpp.md`: benchmark, RRF, filtering, serializer, adapter, and Windows verification details.\r\n- `references\u002Fllama-server-embedding.md`: llama-server\u002FQwen3 request, response validation, identity, and security cheatsheet.\r\n",{"name":5,"author":44,"license":15,"version":45,"metadata":46,"description":7},"Hermes Agent","1.0.0",{"hermes":47},{"tags":48,"related_skills":49},[38,19,35,20,26],[50,51],"systematic-debugging","software-development\u002Ftest-driven-development","main","0d1434f89f4bc6b07e9d272accd8c1013768820f","archive\u002Fskill-md-reviewed\u002Fsha256\u002Fdb\u002Fdbc7f54b49a3ee990f20f757b35b6a0026309ff478b333ac80307fa028e01ad4",0,"https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills","https:\u002F\u002Fgithub.com\u002Fzapabob","The Open University of JAPAN　2019-now\r\n\r\nTokyo University of Science　2007-2010","2026-10-26 16:29:01",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add zapabob\u002FSkills --skill provenance-aware-retrieval",{"tool":66,"command":67},"bunx","bunx skills add zapabob\u002FSkills --skill provenance-aware-retrieval",{"tool":69,"command":70},"pnpm","pnpm dlx skills add zapabob\u002FSkills --skill provenance-aware-retrieval","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Farchive\u002Fskill-md-reviewed\u002Fsha256\u002Fdb\u002Fdbc7f54b49a3ee990f20f757b35b6a0026309ff478b333ac80307fa028e01ad4\u002FSKILL.md",true,[],[75,98,120,143,167,183],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":39},"01M6GJTE1GESGGF9K028Y7753E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fxurl\u002Fvariants\u002Fhermes-agent\u002FSKILL.md",[],[77,82,83,84,85,86,87,88,89,90,91,92,93,33,32,94,52,95,96,97],"openclaw","macos","cli","github","linux","windows","official","search","https","social-media","api","Media","twitter","social","via","post",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":39},"01M6GJT8S1PXQ8WPXT1HSNBWH2","writing-plans","Write implementation plans: bite-sized tasks, paths, code.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fwriting-plans\u002Fvariants\u002Fhermes-agent\u002FSKILL.md",[],[105,106,107,108,83,109,86,110,87,111,112,36,113,114,115,116,117,118,119,24],"writing","writing plans","plans","design","review","workflow","documentation","tasks","code","planning","code-review","subagent","write","superpowers","paths",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":39},"01M6GJST0H5X7WHBJ3BZK0DVKH","whisper","OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fwhisper\u002Fvariants\u002Fhermes-agent-optional\u002FSKILL.md",[],[122,83,86,127,128,129,130,131,132,133,134,135,31,136,137,138,139,140,141,142],"openai","speech","multimodal","Transformers","ASR","Audio","text","model","speech recognition","general","multilingual","translation","english","identification","processing","Audio Processing",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":39},"01M6GJSMRQ8EETZTYMG72P70EA","weights-and-biases","W&B: log ML experiments, sweeps, model registry, dashboards.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fweights-and-biases\u002Fvariants\u002Fhermes-agent\u002FSKILL.md",[],[150,83,151,152,87,153,154,155,156,157,158,134,159,160,161,162,163,164,165,166],"weights and biases","tensorflow","experiments","pytorch","visualization","registry","real-time","tuning","dashboards","experiment","log","time","Experiment Tracking","Model Registry","Hyperparameter Tuning","WandB","Real-Time Visualization",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":39},"01M6GJS19KDPRY112JTR326S06","watchers","Poll RSS, JSON APIs, and GitHub with watermark dedup.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fwatchers\u002Fvariants\u002Fhermes-agent-optional\u002FSKILL.md",[],[169,83,174,85,86,175,176,177,178,179,180,33,32,181,182],"terminal","automation","http","monitoring","cron","json","rss","devops","with",{"skillNo":184,"name":185,"nameZh":6,"description":186,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":187,"categories":188,"keywords":189,"publishedAt":39},"01M6GJRHJD2A6Q830SWF9W48BC","serving-llms-vllm","vLLM: high-throughput LLM serving, OpenAI API, quantization.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fvllm\u002Fvariants\u002Fhermes-agent\u002FSKILL.md",[],[190,191,192,86,193,127,194,195,196,130,197,92,198,199,200,201,202,203,204,205],"llms","vLLM","serving llms vllm","research","openai api","tensor","Inference Serving","Production","llm serving","High Throughput","PagedAttention","Continuous Batching","Quantization","Tensor Parallelism","high-throughput","throughput"]