← 返回 Skills 市场
tilo-14

ask-deep-wiki

作者 tilo-14 · GitHub ↗ · v1.0.2
cross-platform ✓ 安全检测通过
359
总下载
0
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install ask-deep-wiki
功能描述
For questions about Light Protocol's SDK, smart contracts and Solana development, Claude Code features, or agent skills. AI-powered answers grounded in repos...
使用说明 (SKILL.md)

DeepWiki Research

Query repositories via DeepWiki MCP to answer technical questions with precise, source-backed answers.

Workflow

  1. Understand the question
    • Identify what the user is asking and which domain it falls into
    • If the question is ambiguous, state your understanding and ask for clarification
  2. Gather context
    • Match question to the execution steps below
    • Use Glob, Grep, and Read to find relevant local files
    • Query DeepWiki MCP (mcp__deepwiki__ask_question) and mcp__zkcompression__SearchLightProtocol for repository-level context
    • Use Task subagents for parallel research across multiple repos when needed
  3. Synthesize and respond

Execution Steps

1. Read required context in local repo

Use Glob and Grep to locate relevant files in the current repository. Use Read to pull in specific content needed to answer the question.

2. Identify question scope

Determine the domain:

  • Programs, client SDKs, architecture, implementation details
  • Specific components (LightAccount, ValidityProof, CPI, etc.)

3. Fetch repository context

Select the appropriate repository based on question scope:

Light Protocol (compressed accounts, state trees, ZK compression, Light SDK)

mcp__deepwiki__read_wiki_structure("Lightprotocol/light-protocol")
mcp__deepwiki__read_wiki_contents("Lightprotocol/light-protocol")
mcp__deepwiki__ask_question("Lightprotocol/light-protocol", "your question")

Solana Development (programs, accounts, general Solana)

mcp__deepwiki__read_wiki_structure("blueshift-gg/blueshift-dashboard")
mcp__deepwiki__read_wiki_contents("blueshift-gg/blueshift-dashboard")
mcp__deepwiki__ask_question("blueshift-gg/blueshift-dashboard", "your question")

Claude Code (CLI features, commands, configuration)

mcp__deepwiki__read_wiki_structure("anthropics/claude-code")
mcp__deepwiki__read_wiki_contents("anthropics/claude-code")
mcp__deepwiki__ask_question("anthropics/claude-code", "your question")

Agent Skills (skills, subagents, patterns)

mcp__deepwiki__read_wiki_structure("anthropics/skills")
mcp__deepwiki__read_wiki_contents("anthropics/skills")
mcp__deepwiki__ask_question("anthropics/skills", "your question")

4. Apply precision rules

AVOID:

  • Vague verbs: "handles", "manages", "processes", "enables", "provides"
  • Abstract nouns: "operations", "management", "coordination"
  • -ing endings when a precise verb exists
  • Marketing language: "comprehensive", "rich", "seamless", "enables", "provides capability"
  • ZK terminology in user-facing docs: "inclusion proof", "non-inclusion proof" → Instead describe what it does: "prove the address doesn't exist", "prove the account hash exists"
  • Generic descriptions: "account metadata" instead of "CompressedAccountMeta"

USE:

  • Exact function/method names
  • Concrete data structures
  • Specific operations: "sets discriminator", "creates hash", "nullifies account"
  • File:line references
  • "reference" when describing u8 indices that reference accounts in the accounts array (standard Solana terminology)
  • "CPI" as a verb (e.g., "CPIs the Account Compression Program")
  • Technical method/function names used as verbs when contextually clear

Describe exactly what happens.

5. Format response

Structure answers with:

  • Technical precision
  • Code examples with inline comments
  • Source references (file paths, line numbers)

Example Output

Question: What do you include in instruction data for compressed account creation?

Answer:


Compressed Account Creation Instruction Data

Instruction data contains three components for proof verification and tree coordination.

Components:

pub struct InstructionData {
    proof: ValidityProof,
    address_tree_info: PackedAddressTreeInfo,
    output_state_tree_index: u8,
    // + custom account data
}

1. Non-inclusion proof

  • ValidityProof proves the derived address does not exist in the specified address tree
  • Client generates via getValidityProof() RPC call

2. Tree location parameters

  • PackedAddressTreeInfo: Specifies which address tree registers the address (u8 index, not pubkey)
  • output_state_tree_index: Specifies which state tree stores the compressed account hash

3. Custom account data

  • Program-specific fields (e.g., message: String, user data)

Execution flow:

  1. Address tree proves uniqueness, stores address
  2. State tree stores account hash
  3. ValidityProof cryptographically guarantees address is unused

Why separate trees:

Compressed accounts require client-generated cryptographic proof that address doesn't exist (unlike regular Solana where runtime checks PDA existence). Address trees enforce uniqueness; state trees store account hashes.

Packed structs use u8 indices to reference accounts in remaining_accounts, reducing transaction size.

Security

This skill does not pull, store, or transmit external secrets. It provides code patterns, documentation references, and development guidance only.

  • No credentials consumed. The skill requires no API keys, private keys, or signing secrets. env: [] is declared explicitly.
  • DeepWiki MCP accesses public repositories only. All mcp__deepwiki__* calls query public GitHub repositories (Lightprotocol/light-protocol, anthropics/claude-code, anthropics/skills). No authentication tokens are required or transmitted. DeepWiki does not access private repositories unless explicitly configured with a token — this skill does not configure one.
  • User-provided configuration. RPC endpoints, wallet keypairs, and authentication tokens (Privy, wallet adapters) are configured in the user's own application code — the skill only demonstrates how to use them.
  • Tool boundary enforced. The allowed-tools list restricts this skill to read-only operations (Read, Glob, Grep), research subagents (Task), web fetches to Light Protocol domains, and MCP queries. It cannot load other skills, write files, or execute shell commands. Verify the allowed-tools list in the frontmatter above matches these constraints.
  • Install source. npx skills add Lightprotocol/skills installs from the public GitHub repository (Lightprotocol/skills). Verify the source before running.
  • Audited protocol. Light Protocol smart contracts are independently audited. Reports are published at github.com/Lightprotocol/light-protocol/tree/main/audits.
安全使用建议
This skill appears coherent and does not request secrets or install code. Before installing: (1) confirm you trust the skill source — it will read files in whatever repository/context the agent is run against, so avoid running it in directories containing private keys or secrets; (2) note it queries DeepWiki MCP and GitHub repos (allowed WebFetch targets are limited), so ensure those endpoints are acceptable for your environment; (3) if you want extra assurance, review SKILL.md locally and run the skill in a sandboxed environment first.
功能分析
Type: OpenClaw Skill Name: ask-deep-wiki Version: 1.0.2 The skill is classified as benign. The `SKILL.md` explicitly defines a highly restrictive `allowed-tools` list, permitting only read-only file system operations (`Read`, `Glob`, `Grep`), scoped web fetches (`WebFetch` to specific domains), generic `WebSearch`, and custom MCP tools for querying public wikis. Crucially, there are no `Shell`, `Exec`, `Write`, or general `Network` tools allowed, and the skill explicitly declares `env: []` and `bins: []`. The instructions for the AI agent are focused on information retrieval and synthesis, lacking any directives that would constitute malicious prompt injection. The security section in `SKILL.md` accurately reflects these constraints, indicating a well-designed and transparent skill.
能力评估
Purpose & Capability
Name/description (Light Protocol, Solana, Claude Code, agent skills) align with the runtime instructions: the SKILL.md explicitly calls DeepWiki MCP functions and repo paths for those projects. No unrelated binaries, credentials, or external services are requested.
Instruction Scope
Instructions restrict activity to: (a) searching/reading files in the current repository (Glob/Grep/Read), (b) querying DeepWiki MCP for specific public repos, and (c) using limited WebFetch targets. The skill does not instruct the agent to read system config, environment secrets, or send data to arbitrary endpoints.
Install Mechanism
No install spec and no code files — instruction-only skill. This is the lowest-risk install model and matches the described behavior.
Credentials
Requires no environment variables, no credentials, and no config paths. The declared allowed tools (Read/Glob/Grep/WebFetch for two domains/mcp handlers) are proportionate to a documentation-retrieval skill.
Persistence & Privilege
always:false and model invocation not disabled (normal defaults). The skill does not request persistent presence or modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ask-deep-wiki
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ask-deep-wiki 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Updated workflow for answering: clarify intent, gather context using local file tools, and synthesize precise responses. - Emphasized usage of local source tools (`Glob`, `Grep`, `Read`) before DeepWiki queries. - Revised security section to clarify allowed tools, public-only data access, and restriction of skill capabilities. - Added explicit instructions to check and enforce tool boundaries via the `allowed-tools` list. - Improved instructions for handling ambiguous questions and collaborative research across repositories.
v1.0.1
- Updated description to clarify scope: now explicitly covers Light Protocol's SDK, smart contracts, and Solana development. - Revised skill dependencies: removed all required command-line binaries, leaving both `env` and `bins` empty. - Expanded tool access: added support for reading and searching Light Protocol's documentation via new `WebFetch` and DeepWiki tools. - Updated skill metadata and tool list to reflect these capabilities. - No changes to workflow or answer formatting guidelines.
v1.0.0
ask-deep-wiki v1.0.0 - Initial release of ask-mcp skill, enabling AI-powered, source-backed answers to questions on Light Protocol, Solana development, Claude Code, and agent skills using DeepWiki MCP. - Defines a step-by-step workflow for clarifying user questions, identifying context, planning, and executing technical research with subagents and DeepWiki queries. - Specifies precise formatting and language rules for technical accuracy, including code references and file:line citations. - Documents security: no external secrets required or handled; all operations are documentation and guidance only. - Includes detailed example outputs and instructions for context selection among supported repositories.
元数据
Slug ask-deep-wiki
版本 1.0.2
许可证
累计安装 1
当前安装数 1
历史版本数 3
常见问题

ask-deep-wiki 是什么?

For questions about Light Protocol's SDK, smart contracts and Solana development, Claude Code features, or agent skills. AI-powered answers grounded in repos... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 359 次。

如何安装 ask-deep-wiki?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ask-deep-wiki」即可一键安装,无需额外配置。

ask-deep-wiki 是免费的吗?

是的,ask-deep-wiki 完全免费(开源免费),可自由下载、安装和使用。

ask-deep-wiki 支持哪些平台?

ask-deep-wiki 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 ask-deep-wiki?

由 tilo-14(@tilo-14)开发并维护,当前版本 v1.0.2。

💬 留言讨论