agentsclimarketplace

Wiki query

Skill Snowtumb/Karpathy-serena-wiki/skills/wiki-query

This skill should be used when the user asks questions about their codebase such as "why did we build X this way", "how does X work", "what is the architecture of X", "explain the pattern for X", "what depends on X", "how is X connected to Y", "what decisions led to X", "what's the reasoning behind X", "show me how X is structured", or any question that the wiki might answer. Also use when the user says "check the wiki", "wiki query", "search the wiki", "what does the wiki say about X", "look it up in the wiki", or "find X in the wiki". Reads wiki pages from Serena memories and synthesizes answers.From its SKILL.md

Install
npx -y skills add Snowtumb/Karpathy-serena-wiki --skill wiki-query

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.2 KB, as published. Nobody here has run it

Wiki Query — Search and Answer from the Wiki

Answer questions by consulting the wiki (stored as Serena memories) first, then the code if needed. The wiki exists so you don't rediscover knowledge from scratch every session.

CRITICAL: Serena is REQUIRED

The wiki lives in Serena memories. All read operations use Serena.

If Serena is NOT available — STOP. Tell the user:

"Serena is required — the wiki is stored as Serena memories. Install it: /plugin install serena@claude-plugins-official"

Process

Step 1: Read the index

Use mcp__plugin_serena_serena__read_memory with memory_name: "wiki/index".

If it doesn't exist, tell the user: "No wiki found. Run wiki-setup to create one."

Step 2: Find relevant pages

Match the user's question against the index entries:

  • Keyword matches in page names and summaries
  • Category relevance: architecture for "how does X work", decisions for "why X", modules for "what does module X do"
  • Identify 1-5 relevant wiki memory names

Step 3: Read relevant wiki memories

Use mcp__plugin_serena_serena__read_memory for each relevant page. Start with the most likely match. Stop if the first page fully answers the question.

Step 4: Synthesize an answer

Compose an answer from the wiki content:

  • Cite sources: "According to the wiki/architecture/system-design page..."
  • Be specific: include file paths, symbol names, concrete details
  • Acknowledge gaps: say what's covered and what's missing

Step 5: Fill gaps from code (if needed)

If the wiki doesn't fully answer the question:

  1. Tell the user: "The wiki doesn't have complete information. Let me check the code."
  2. Use Serena's code analysis tools:
    • mcp__plugin_serena_serena__find_symbol — locate the symbol in question
    • mcp__plugin_serena_serena__get_symbols_overview — understand module contents
    • mcp__plugin_serena_serena__find_referencing_symbols — trace dependencies
    • mcp__plugin_serena_serena__search_for_pattern — find patterns
    • mcp__plugin_serena_serena__read_file — read source files
  3. Answer the question
  4. Suggest updating the wiki: "This information isn't in the wiki yet. Say 'update the wiki' to capture it."

Step 6: Optionally file the answer

If the answer reveals significant knowledge that should persist:

  • Ask: "Would you like me to add this to the wiki?"
  • If yes, use mcp__plugin_serena_serena__write_memory to create a new wiki page, then update wiki/index and wiki/log via edit_memory

Answer Format

**Answer** (from wiki)

[Synthesized answer citing wiki memory names]

**Wiki pages consulted:**
- wiki/{category}/{name}
- wiki/{category}/{name}

[If gaps found:]
**Note:** The wiki doesn't cover [gap]. Run wiki-update to add this.

Special Queries

QueryAction
"What's in the wiki?"read_memory wiki/index, summarize
"What changed recently?"read_memory wiki/log, show last 10 entries
"Is the wiki up to date?"Suggest wiki-lint
"Show me [page]"read_memory wiki/{matching page}
"Browse the wiki"list_memories topic: "wiki"

Serena Tools Reference

All prefixed mcp__plugin_serena_serena__:

OperationTool
Read wiki pageread_memory
Browse wikilist_memories (topic: "wiki")
Search wiki contentsearch_for_pattern
Find symbols in codefind_symbol
Get module overviewget_symbols_overview
Trace dependenciesfind_referencing_symbols
Read source fileread_file
Write new wiki pagewrite_memory
Update wiki pageedit_memory

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.