wiki_semantic_link — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited wiki_semantic_link (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Resolving script paths (read first): Commands below invoke scripts as<BIN>/X.py(and a few as<SKILLS>/...). Resolve these to absolute paths once before running anything:
>
-<SKILL_DIR>= the directory thisSKILL.mdlives in. -<SKILLS>= theskills/folder containing this skill =<SKILL_DIR>/..-<BIN>= thebin/folder beside it =<SKILL_DIR>/../../bin
>
Do not hardcode a fixed prefix like.agents/binor../bin: shell relative paths resolve against the current working directory (usually the topic root), not this skill's location. Once resolved,<BIN>is typically.agents/binwhen invoked from the hub root, or.claude/binfrom inside a topic directory.
This skill scans all markdown files within the wiki/concepts/ directory, extracts their text, and generates embeddings using a local Ollama model (configured in config.yaml, default: qwen3-embedding:0.6b). It then calculates pairwise cosine similarity between all concepts and automatically injects bi-directional Obsidian-style links ([[Concept Name]]) for pairs that exceed a given similarity threshold.
This skill is executed via the Python script located within the skill directory.
Crucial Parameter Selection: Depending on the objective, you MUST use the correct parameters:
python <SKILLS>/wiki_semantic_link/semantic_linker.py <TOPIC_DIR> Model, threshold, and Ollama URL are read from config.yaml. Override via CLI flags if needed (e.g. --threshold 0.80 --model <model>).
wiki_concept_sync pipeline to merge duplicates:python <SKILLS>/wiki_semantic_link/semantic_linker.py <TOPIC_DIR> --dedup-only --auto-merge
Prerequisites: Ensure the embedding model is available locally viaollama pull <model>(checkconfig.yamlfor the configured model name). Requiresnumpyandscikit-learnPython packages.
wiki/concepts/ directory within the given <TOPIC_DIR>..md files to wiki/concepts/.backup/ before proceeding, ensuring no data loss in case of a bad threshold.config.yaml) to generate vector representations.scikit-learn to compute a Cosine Similarity matrix for all generated vectors.< 0.85).(A, B) (where score >= threshold), checks if A.md already contains [[B]].## 语义关联 (Semantic Links).Note: This skill no longer handles merge suggestions. Deduplication is strictly handled by the `wiki_concept_sync` skill.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.