From lazycortex-wiki
Wizard to create or edit a wiki scope in .claude/lazy.settings.json — collects id, path globs, optional exclude_paths, tag_axes, and topics_index. Strict one-question-per-turn via AskUserQuestion.
How this skill is triggered — by the user, by Claude, or both
Slash command
/lazycortex-wiki:lazy-wiki.configureThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Interactive wizard. Creates or edits a scope entry in `lazy.settings.json[wiki.scopes]` for the current repo. Each field is collected one question at a time via `AskUserQuestion`. Re-running for an existing scope `id` enters edit mode — existing values are shown and can be kept or changed.
Interactive wizard. Creates or edits a scope entry in lazy.settings.json[wiki.scopes] for the current repo. Each field is collected one question at a time via AskUserQuestion. Re-running for an existing scope id enters edit mode — existing values are shown and can be kept or changed.
Prerequisite: /wiki.install has run (the wiki settings section exists).
This skill has 8 ordered steps. The executing agent MUST NOT skip, merge, reorder, or silently omit any step. To make dropped steps structurally impossible:
TaskCreate with exactly one task per step below — no merging, no abbreviation, no renaming. The canonical list (use these titles verbatim):
Phase 1 — Verify install + load settingsPhase 2 — Collect scope idPhase 3 — Collect paths globsPhase 4 — Collect exclude_pathsPhase 5 — Collect tag_axesPhase 6 — Collect topics_indexPhase 7 — Collect filterPhase 8 — Write back + logReportin_progress on enter and completed on exit. Outcomes: verified / collected / skipped-per-user-choice / written / logged / report-emitted.completed.Run Bash(git rev-parse --show-toplevel) to get <repo-root>. Read <repo-root>/.claude/lazy.settings.json. If the file is absent, abort: "Run /wiki.install first." If the file exists but has no wiki key, abort: "Run /wiki.install first — the wiki section is missing." Hold the parsed object in memory.
Outcome: verified.
AskUserQuestion: "Scope id (alphanumeric + hyphens/underscores, e.g. docs or codebase)?"
Validate: must match ^[a-z][a-z0-9_-]*$. Re-ask until valid.
If an entry already exists at wiki.scopes[<id>], inform the user: "Scope <id> already exists — entering edit mode. Existing values will be shown; press Enter to keep them." Hold edit-mode flag.
Outcome: collected.
AskUserQuestion:
docs/**/*.md, src/**/*.py):"<id> (current: <current paths joined>; comma-separated, Enter to keep):"Split on commas, trim whitespace, discard empty entries. Must have at least one entry; re-ask if empty. Hold as an array.
Outcome: collected.
AskUserQuestion:
**/.obsidian/**, **/node_modules/**):"<id> (current: <current exclude_paths joined or "none">; comma-separated, blank to clear, Enter to keep):"Split on commas, trim, discard empty entries. Empty input means no exclude_paths key (or clear existing). Hold as an array (may be empty).
Outcome: collected.
AskUserQuestion:
domain, kind, layer). An empty list disables topic classification:"<id> (current: <current tag_axes joined or "none">; comma-separated, blank to clear, Enter to keep):"Split on commas, trim, discard empty entries. Lowercase-normalise each axis slug. Empty input is allowed (means []). Hold as an array.
Outcome: collected.
AskUserQuestion:
topics.md index file, relative to the repo root (e.g. wiki/docs-topics.md):"<id> (current: <current topics_index>; Enter to keep):"Trim whitespace. Must be non-empty; re-ask if blank. The file need not exist yet — it is created on first full scan.
Outcome: collected.
The per-scope filter excludes a node from the wiki on the fly by its frontmatter (the node is not curated, not indexed, not linked while it matches). The common case is standing down on documents currently under review.
AskUserQuestion:
New mode: "Skip documents that are currently in review? While review_active: true (set by lazycortex-review) is present, the document is left out of the wiki and re-enters when review closes. (yes / no)"
Edit mode: "Review-skip filter for scope <id> (current: <"on" when filter.frontmatter.review_active present, else "off">; yes keeps it on, no clears it):"
yes → hold the filter object { "frontmatter": { "review_active": { "not_in": [true] } } }.
no → hold no filter (clears any existing one in edit mode).
Default: yes. Richer predicates (other frontmatter keys, in allow-lists, folder_note) follow the same schema as a routine's filter block and are hand-editable in lazy.settings.json — this wizard only collects the review-skip default.
Outcome: collected.
Build the scope object:
{
"paths": ["<...>"],
"tag_axes": ["<...>"],
"topics_index": "<path>"
}
Add "exclude_paths" only if the collected array is non-empty. Add "filter" only when Phase 7 held a filter object (review-skip chosen).
Write the updated settings back: set lazy.settings.json[wiki.scopes][<id>] to the constructed object. Preserve all other keys. Use Write to the target file.
Then log to ./.logs/claude/lazy-wiki.configure/<UTC-timestamp>.md — two separate steps: Bash(mkdir -p ./.logs/claude/lazy-wiki.configure) then Write tool. Log frontmatter: git_sha (Bash(git rev-parse HEAD)), git_branch (Bash(git rev-parse --abbrev-ref HEAD)), date (UTC), input: "scope_id=<id>".
Outcome: written and logged.
One line per task in the canonical list, with its outcome word. Summary line: scope <id> <created|updated>: paths=<count>, tag_axes=[<axes>], topics_index=<path>, filter=<on|off>.
lazy.settings.json is absent or missing the wiki key → run /wiki.install then re-run this wizard.^[a-z][a-z0-9_-]*$ → enter a valid slug (lowercase letters, digits, hyphens, underscores; must start with a letter).npx claudepluginhub mebius-san/lazy-cortex --plugin lazycortex-wikiFetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Applies a firm's KYC/AML rules grid to parsed onboarding records: assigns risk rating, checks required documents, outputs rule outcomes with citations, and routes for escalation.
Generates daily or weekly digests of activity from connected sources (chat, email, docs, tasks, CRM), highlighting action items, decisions, mentions, and project updates.