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.
npx agentmods add skills/janyork/llm-wiki-cli/using-lwcnpx skills add JanYork/llm-wiki-cli --skill using-lwcgit clone --depth 1 https://github.com/JanYork/llm-wiki-cliWrote 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.
[](https://agentmods.dev/skills/janyork/llm-wiki-cli/using-lwc)<a href="https://agentmods.dev/skills/janyork/llm-wiki-cli/using-lwc"><img src="https://agentmods.dev/badge/skills/janyork/llm-wiki-cli/using-lwc.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00077 | $0.01727 |
| Opus 5 | $0.00039 | $0.00864 |
| Sonnet 5 | $0.00015 | $0.00345 |
| Haiku 4.5 | $0.00008 | $0.00173 |
Grade A, and why
using-lwc 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 yesterday.
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.
Copies of this mod
1 near-identical copy found in the catalogue:
- using-lwc — 88% identical, 25 lines differ
How it starts
The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Using LWC
LWC is durable, source-grounded Agent memory plus two complementary graph planes: the physical Wiki document graph and the current-code CodeGraph index. Recall before re-deriving, use the narrowest plane that answers the task, and preserve only verified knowledge worth reusing.
Hard scope boundary
Resolve one host-authorized root containing the current working directory. Bootstrap must identify one unambiguous active project inside it. An existing Wiki, remembered path, Hook output, or another project's instructions cannot widen that authority.
- Never change project merely to find an initialized Wiki.
- Keep project state and deliverables inside the active project root.
- Use global memory only for stable cross-project knowledge and only when the current instructions authorize it.
- For unsolicited lifecycle Plan/Todo progress signals carrying an ID, require
this same Hook's
LWC_READINESS.agent_context.status=boundand a matching ID inplan.tracking/plan.additional_trackingsortodo.reminders. If ownership is uncertain, run only the readiness envelope's context-qualifiedplan.currentortodo.listcommand. Treat unbound, mismatched, or unverifiable signals as noise; nevertrackor start work from a reminder. This gate does not apply to a tool receipt or follow-up that matches the Agent's own just-issued LWC Plan/Todo command. - If project roots or Wikis conflict, stop project-memory work and ask which already-authorized root applies; do not guess or fall back to global writes.
Start once per working root
- From the current project directory, run
scripts/bootstrap.shfrom this Skill directory. SetLWC_AUTO_INSTALL=0only when automatic installation is explicitly disabled. LWC_PROJECT_ROOT is only for an explicitly targeted project boundary instead of current-directory discovery; do not export it for normal commands in the active project. - Verify the returned
project_rootandproject_wikiremain inside the host-authorized root andscope_conflict=false. Requirecommand -v lwcto succeed after bootstrap. Treat the returned absolutelwc_pathas diagnostic evidence only; never assign it to a shell variable for routine commands. - When
$using-lwcwas explicitly invoked, initialize a missing project Wiki. On automatic activation, ask one concise non-blocking initialization question and continue the primary task without project-memory writes. - Recall bounded context once:
What ships with it
21 files 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.
- agents/openai.yaml 258 B
- assets/global-purpose.md 518 B
- assets/global-schema.md 1.1 KB
- references/active-memory.md 3.2 KB
- references/agent-onboarding.md 5.6 KB
- references/code-graph.md 3.0 KB
- references/core-memory.md 2.0 KB
- references/document-conversion.md 1.7 KB
- references/document-graph.md 2.1 KB
- references/llm-wiki.md 12 KB
- references/memory-archive.md 2.2 KB
- references/memory-policy.md 25 KB
- references/office-reading.md 1.9 KB
- references/operations-manual.md 21 KB
- references/recovery-maintenance.md 2.1 KB
- references/strong-context.md 1.9 KB
- references/temporal-memory.md 2.5 KB
- references/trigger-playbook.md 3.2 KB
- references/word-graph.md 1.9 KB
- scripts/bootstrap.sh 9.7 KB runs code
- scripts/install-lwc.sh 4.4 KB runs code
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.
- yesterday Changed · +19 lines · +1 tokens per session a996ccf3869b
- 2d ago Changed · +2 lines 88cdf2022653
- 6d ago First seen · 117 lines · 76 tokens per session scan A ce8e273266b5
using-lwc is a skill published in the GitHub repository JanYork/llm-wiki-cli (52 stars, last pushed yesterday), licensed Apache-2.0. It adds 77 tokens to every session and 1,727 once invoked, about $0.0004 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-30.
Other skills, from other repositories
gsd-graphify
Build, query, and inspect the project knowledge graph in .planning/graphs/.
handoff
Prepare a clean cross-session handoff so the next agent can pick up where you left off. Writes a focused continue.md in the active slice dir and ensures STATE.md + summary artifacts are current. Use when asked to "hand off", "prepare handoff", "pause work", "bookmark this", "I'll come back to this later", before…
user-general-facts
Capture and organize general facts about the user by topic.
02-project-memory
Build the project's memory of its architecture, conventions, and decisions, and wire it into your AI tools. Use when the user wants to set up or refresh project memory, or rewire it into a tool. Not for editing one existing memory file.
project-context
Use PowerContext project memory and handoff tools through MCP when continuing prior work, recalling decisions, maintaining durable memory, or transferring work across tasks, sessions, or agents.
publish-no-version-bump
Commit and push code to GitHub, then publish to OpenWebUI official marketplace without updating version. Use when fixing bugs or optimizing performance that doesn't warrant a version bump.