sky

Answer a question about Sky governance using the local knowledge base

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "sky" with this command: npx skills add arcniko/sky-kb/arcniko-sky-kb-sky

Sky Knowledge Base

Registry

<!-- Updated by /sky setup — do not edit manually -->

(Not configured yet. Ask a question or run /sky sync to set up.)

Routing

Parse the user's input to determine the subcommand:

  • syncSync flow
  • add repo <url>Add Repo flow
  • remove repo <name>Remove Repo flow
  • Anything else → Search flow (default)

Do not announce which flow you are running. Just execute it.


Setup flow

Triggered automatically when the Registry section above says "Not configured yet" and the user runs any command.

  1. Ask where to store the KB using AskUserQuestion — suggest ~/sky-kb as the default (with the user's actual home directory expanded). Let the user pick or type a custom path.

  2. Clone the repo if the path doesn't exist:

    git clone https://github.com/arcniko/sky-kb.git <path>
    
  3. Ask which bundle to install using AskUserQuestion with these options:

    • All (Recommended) — all categories + Atlas (~41 repos). "Full picture: governance, technical, everything."
    • Core — Atlas + protocol docs + core contracts (~18 repos). "Essential protocol documentation."
    • Technical — Core + Spark, Grove, keepers, migration, endgame (~29 repos). "Developer-focused: all code repos, skip governance/community."
  4. Map the bundle to category IDs:

    • All → ["laniakea", "core-protocol", "spark", "grove", "migration", "endgame", "keepers", "governance"]
    • Core → ["laniakea", "core-protocol"]
    • Technical → ["laniakea", "core-protocol", "spark", "grove", "migration", "endgame", "keepers"]
  5. Write <path>/.kb_config.json:

    {"preset": "sky", "categories": [...selected IDs...], "custom_repos": [], "atlas": true}
    
  6. Update the Registry section in this SKILL.md — replace the placeholder text with <path> using the Edit tool.

  7. Run sync:

    python3 <path>/scripts/sync.py --kb-path <path>
    
  8. If the user had a question, continue to the Search flow to answer it.


Search flow

  1. Resolve KB path from the Registry section above. If it says "Not configured yet" → trigger Setup flow automatically.

  2. Read <kb-path>/DIRECTORY.md to understand what content exists and where.

  3. Target your search — based on DIRECTORY.md, identify the most relevant subdirectories for the question. Grep within those specific directories rather than all of content/.

  4. Read matching files to find the answer.

  5. For Atlas results: also read the parent scope file for broader context.

  6. For protocol questions: prioritize laniakea-docs (current), then mcd-docs-content (legacy).

  7. For smart contract address lookups: read <kb-path>/content/chainlog-ui/api/mainnet/active.json — this is the live chainlog with all current contract addresses.

How to answer

  • Be specific and cite your sources (Atlas formal ID like A.1.2.3, or file path for repo docs)
  • Quote relevant passages when helpful
  • If the content doesn't contain an answer, say so clearly

Sync flow

  1. Resolve KB path from the Registry section above. If it says "Not configured yet" → trigger Setup flow.
  2. Run:
    python3 <kb-path>/scripts/sync.py --kb-path <kb-path>
    
  3. Summarize concisely — only mention what changed:
    • Atlas: "updated" or "already up to date"
    • Repos: if ≤5 updated, list their names; if >5, just show the count (e.g. "12 repos updated")
    • If nothing changed: "Everything up to date."
  4. If errors occurred, show them and suggest fixes.

Add Repo flow

  1. Parse arguments — extract repo URL (required), name (optional, derive from URL), description (optional, ask user).
  2. Resolve KB path from the Registry section above. If it says "Not configured yet" → trigger Setup flow first.
  3. Validate — run git ls-remote <url> HEAD to confirm accessibility.
  4. Read <kb-path>/.kb_config.json — check custom_repos for duplicates.
  5. Add to config — append to the custom_repos array in .kb_config.json.
  6. Run sync to clone the new repo.
  7. Report what was added.

Remove Repo flow

  1. Parse the repo name from arguments.
  2. Resolve KB path from the Registry section above.
  3. Read <kb-path>/.kb_config.json — find the repo in custom_repos.
    • If not found there, check if it's a preset repo. If so, tell the user to remove the category instead.
  4. Remove from config — edit .kb_config.json to remove the entry.
  5. Delete content: rm -rf <kb-path>/content/<name>
  6. Run sync to regenerate DIRECTORY.md.
  7. Report what was removed.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

vibe-slides

No summary provided by upstream source.

Repository SourceNeeds Review
Research

Survey Designer

问卷设计工具。创建专业问卷、添加题型、设置逻辑跳转、数据分析、模板库、多格式导出。Survey designer with question types, skip logic, analysis, templates, and export. Use when you need survey designer...

Registry SourceRecently Updated
Research

test

Competitor monitoring, pricing analysis, market positioning, and SWOT generation. Use when you need to track competitor moves, benchmark pricing, analyze mar...

Registry SourceRecently Updated
Research

Agent Fact Check Verify

嚴謹多來源資訊查核與可信度判定技能。用於「查證/核實/核實這個/是真的嗎/是否正確」類請求,整合政府、官方、主流媒體、事實查核站、X(Twitter)、Reddit 等來源,採用內部 100 分制規則化評分(不對使用者公開分數),對外輸出中立且整合式結論。

Registry SourceRecently Updated