set-wiki-path

set-wiki-path is a skill for Claude Code from anh-chu/llm-wiki-pm. It costs 18 tokens per session (179 once invoked), scanned A, original, MIT.

A command for changing the directory used as the active product-management wiki, which is a folder of Markdown notes.

In plain words
What is it for?
Use it to point the wiki at a different folder and update the project setup so the location is remembered.
Why use it?
It avoids editing the wrong knowledge base when the wiki is stored somewhere else. It also records the chosen location for future sessions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Part of the llm-wiki-pm plugin — 8 skills, 5 agents, 4 hooks shipped together

Good fit Use it to point the wiki at a different folder and update the project setup so the location is remembered.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anh-chu/llm-wiki-pm/set-wiki-path
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add anh-chu/llm-wiki-pm --skill set-wiki-path
Clone the repo
git clone --depth 1 https://github.com/anh-chu/llm-wiki-pm

Made for: Claude Code.

Or install llm-wiki-pm, the plugin that ships this one along with the rest of its 8 skills, 5 agents, 4 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for set-wiki-path

README.md
[![agentmods](https://agentmods.dev/badge/skills/anh-chu/llm-wiki-pm/set-wiki-path/github.svg)](https://agentmods.dev/skills/anh-chu/llm-wiki-pm/set-wiki-path)
Your own site
<a href="https://agentmods.dev/skills/anh-chu/llm-wiki-pm/set-wiki-path"><img src="https://agentmods.dev/badge/skills/anh-chu/llm-wiki-pm/set-wiki-path/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for set-wiki-path

Your own site · 80×15
<a href="https://agentmods.dev/skills/anh-chu/llm-wiki-pm/set-wiki-path"><img src="https://agentmods.dev/badge/skills/anh-chu/llm-wiki-pm/set-wiki-path.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 179 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.00179
Opus 5 $0.00009 $0.00089
Sonnet 5 $0.00004 $0.00036
Haiku 4.5 $0.00002 $0.00018

Measured 10d ago against content hash 008296ad5c7a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

set-wiki-path scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/set-wiki-path.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/set-wiki-path/SKILL.md · 23 lines

What it actually says

Update the wiki path to $ARGUMENTS.

Run:

python3 "${CLAUDE_SKILL_DIR}/scripts/set-wiki-path.py" "$ARGUMENTS"

Writes the resolved path to .wiki-path in the current directory. That file is read by the SessionStart hook to set the wiki location for this project. Add .wiki-path to .gitignore if the path is personal; commit it if the whole team shares the same wiki location.

Tell the user the new path and remind them to restart Claude Code. If the path does not exist yet, the SessionStart hook will create it on next start.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 23 lines · 18 tokens per session scan A 008296ad5c7a

Subscribe to this mod's changes

set-wiki-path is a skill published in the GitHub repository anh-chu/llm-wiki-pm (6 stars, last pushed 1mo ago), licensed MIT. It adds 18 tokens to every session and 179 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

llm-wiki

Build and maintain a persistent, interlinked Obsidian-compatible markdown wiki using Karpathy's LLM Wiki pattern. Extension-backed with auto-generated metadata, guardrails, and 14 custom tools (+3 opt-in agent-trajectory tools).

zosmaai/pi-llm-wiki · 52 tokens

mindbase

Maintain a persistent AI-tended research wiki. Activates when the user wants to ingest a source (PDF, URL, article, paste), capture a thought, build the wiki context, query what's already known, lint for orphans/contradictions, or maintain page conventions. Phrases include "add this to my wiki", "today I decided…"…

frankchu91/mindbase-llm-wiki · 105 tokens

wiki-ingest

Process source files into synthesised wiki pages. Always use this skill when the user says /wiki-ingest, 'import these files', 'process my clippings', 'ingest this article', 'I have new articles to add', 'turn this PDF into a wiki page', 'what's in my raw/ folder', or 'what have I ingested'. Also use when the user…

vanillaflava/llm-wiki-skills · 182 tokens

wiki-lint

Health-check the wiki: scan all pages for broken wikilinks, orphaned pages, stale index entries, missing connections, em-dash violations, orphaned assets, and schema errors. Produces a dated lint report. Always use this skill when the user says /wiki-lint, mentions broken links, dead wikilinks, orphaned pages, 'what's…

vanillaflava/llm-wiki-skills · 177 tokens

wiki-crystallize

Distil a chat thread, research session, or working document into a structured wiki page capturing the current state of knowledge. Always use this skill when the user says /wiki-crystallize, 'save this to my wiki', 'capture what we've worked out', 'write this up as a wiki page', 'update my wiki from this conversation'…

vanillaflava/llm-wiki-skills · 182 tokens

wiki-integrate

Weave a wiki page into the knowledge graph: add it to index.md and add backlinks in both directions. Always use this skill when the user says /wiki-integrate, 'nothing links to this page', 'this page is an orphan', 'connect this page to related pages', 'add backlinks to this page', 'add this page to the index', or…

vanillaflava/llm-wiki-skills · 161 tokens