llm-wiki-prd

llm-wiki-prd is a skill for Claude Code from anh-chu/llm-wiki-pm. It costs 36 tokens per session (1,752 once invoked), scanned A, original, MIT.

A tool for creating product documents from an internal wiki, including product requirement documents (PRDs), user stories, and release notes.

In plain words
What is it for?
It helps describe a planned feature, break it into user stories and acceptance criteria, or summarise what was released.
Why use it?
It keeps these documents tied to the wiki’s recorded facts, decisions, and customer information instead of filling gaps with guesses.

Skill for Claude Code

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

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

Good fit It helps describe a planned feature, break it into user stories and acceptance criteria, or summarise what was released.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anh-chu/llm-wiki-pm/llm-wiki-prd
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 llm-wiki-prd
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 llm-wiki-prd

README.md
[![agentmods](https://agentmods.dev/badge/skills/anh-chu/llm-wiki-pm/llm-wiki-prd/github.svg)](https://agentmods.dev/skills/anh-chu/llm-wiki-pm/llm-wiki-prd)
Your own site
<a href="https://agentmods.dev/skills/anh-chu/llm-wiki-pm/llm-wiki-prd"><img src="https://agentmods.dev/badge/skills/anh-chu/llm-wiki-pm/llm-wiki-prd/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 llm-wiki-prd

Your own site · 80×15
<a href="https://agentmods.dev/skills/anh-chu/llm-wiki-pm/llm-wiki-prd"><img src="https://agentmods.dev/badge/skills/anh-chu/llm-wiki-pm/llm-wiki-prd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,752 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.00036 $0.01752
Opus 5 $0.00018 $0.00876
Sonnet 5 $0.00007 $0.00350
Haiku 4.5 $0.00004 $0.00175

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

Security

Grade A, and why

llm-wiki-prd 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 11d ago.

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/llm-wiki-prd/SKILL.md · 146 lines

How it starts

The opening of the file, as written. The whole thing — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.

LLM Wiki PRD

Sub-skill of llm-wiki-pm. Generates PM artifacts (PRDs, user stories, release notes) from wiki knowledge. The wiki is the only source of truth. Never fabricates product context.

When This Skill Activates

  • "write a PRD", "draft PRD for [feature/topic]"
  • "create user stories", "write user stories for [feature]", "acceptance criteria"
  • "generate release notes", "draft release notes", "what shipped"

Does not activate for wiki operations (ingest, update, lint, query). Those route to llm-wiki-pm.

Orient Before Any Artifact

Per AGENTS.md, orient before any write. PRD generation requires knowing what pages exist to avoid duplication and ensure grounding.

Orient steps (mandatory):

WIKI=$(cat .wiki-path 2>/dev/null | tr -d '[:space:]')
WIKI=${WIKI:-${CLAUDE_PLUGIN_OPTION_wiki_path:-${WIKI_PATH:-$(pwd)}}}

① Read $WIKI/SCHEMA.md — tag taxonomy, domain scope ② Read $WIKI/index.md — what pages exist (prevents duplicate artifacts, identifies grounding material) ③ Read last 20-30 lines of $WIKI/log.md — recent activity ④ Read $WIKI/overview.md — current synthesis state

Orient gate (enforced): if steps ①-④ are not complete in this session, refuse any write. Surface: "Need to orient first. Running now." Then orient, then proceed.

Key Constraint

Never invent product context. If the wiki has no page for a claimed feature, customer segment, or competitive context, say so and offer to create a stub first:

"No wiki page found for [X]. Draft with that gap flagged, or create a stub page first?"

Every factual claim in a generated artifact must cite [[page]] from the wiki. No citation = no claim.


Operations

Output structures for all three operations live in references/prd-templates.md — copy the matching template when drafting.

1. PRD Draft

Trigger: "write a PRD", "draft PRD for [feature/topic]"

Ground in wikigrep -ri "<feature>" "$WIKI" --include="*.md" -l, then read every relevant page: entities, concepts, comparisons, customer pages, and decision/roadmap/question-tagged pages. ② Surface gaps before drafting — if a major section has no wiki backing (target persona, competitive context, core problem, key decisions), flag it and ask; never draft a fabricated section silently:

"Missing wiki coverage for: [X, Y, Z]. Draft with gaps flagged, or research first?" ③ Draft to $WIKI/queries/prd-<feature-slug>-<YYYY-MM-DD>/README.md using the PRD template (references/prd-templates.md). ④ Cite inline — every factual claim cites its source ("Per [[page]]..."); an uncited claim moves to Open Questions or gaps:. ⑤ Populate gaps: with unbacked sections — this surfaces in Coverage Audit. ⑥ Update navigation — add to index.md under queries/, append the prd log line.

Read the full file on GitHub · 146 lines

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. 11d ago First seen · 146 lines · 36 tokens per session scan A b344f4d7495c

Subscribe to this mod's changes

llm-wiki-prd is a skill published in the GitHub repository anh-chu/llm-wiki-pm (6 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 1,752 once invoked, about $0.0002 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