Agent SkillstheStrangeAdventurer/capstan › wiki-onboarding

wiki-onboarding

GitHub

指导用户初始化 Capstan Wiki,配置所有者偏好、目录结构及启动文件夹,建立基于 Markdown 的便携式知识库布局。

skills/wiki-onboarding/SKILL.md theStrangeAdventurer/capstan

触发场景

用户要求初始化 Capstan Wiki 设置所有者配置文件 创建 Wiki 初始目录结构

安装

npx skills add theStrangeAdventurer/capstan --skill wiki-onboarding -g -y
更多选项

不安装直接使用

npx skills use theStrangeAdventurer/capstan@wiki-onboarding

指定 Agent (Claude Code)

npx skills add theStrangeAdventurer/capstan --skill wiki-onboarding -a claude-code -g -y

安装 repo 全部 skill

npx skills add theStrangeAdventurer/capstan --all -g -y

预览 repo 内 skill

npx skills add theStrangeAdventurer/capstan --list

SKILL.md

Frontmatter
{
    "name": "wiki-onboarding",
    "description": "Use when the user wants to set up Capstan Wiki or initialize its owner profile and starter folders. Guide them through preferences and a portable Markdown layout."
}

Wiki Onboarding

Use this skill when the user asks to initialize Capstan Wiki, its owner profile, or its starter layout.

Goal: guide the user to a useful first wiki with minimal friction.

Flow

  1. Explain briefly that Capstan Wiki is a normal Markdown directory, not hidden memory.
  2. Ask for the minimum required preferences:
    • use Capstan's internal state directory by default: $XDG_STATE_HOME/capstan/wiki, falling back to ~/.local/state/capstan/wiki;
    • what stable owner preferences should go into profile/core.md;
    • whether to create starter folders: contexts/, resources/, pages/, sources/.
  3. If the user agrees, create the directory and starter files with available file tools. Do not overwrite existing files without asking.
  4. Do not ask for a storage location or read permission for the default internal wiki. Discuss wiki.path only if the user explicitly requests a custom location.
  5. After setup, suggest restarting Capstan so the wiki index is loaded into the system prompt.

Normal missing-file cases

During first-time onboarding, a missing starter file or an empty default wiki is expected. Do not inspect runtime logs for these normal setup preconditions. Use logs only if a tool reports an unexpected runtime/plugin/API failure that blocks onboarding.

Starter layout

wiki/
  WIKI.md
  profile/
    core.md
  contexts/
  resources/
  pages/
  sources/

profile/core.md should stay short and contain stable preferences only. Larger notes should be Markdown files with frontmatter metadata, for example:

---
schema_version: 1
id: example-context
kind: context
title: Example context
description: When this note is useful.
use_when:
  - The user asks about this topic.
tags:
  - example
index_policy: always
context_policy: retrieve_only
---

Full note body goes here. It is read only on demand with `wiki_read`.

Keep onboarding conversational and short. If the user has not provided enough information, ask one focused question instead of doing many tool calls.

版本历史

  • 5c90e77 当前 2026-08-27 21:30

同 Skill 集合

.agents/skills/aider-polyglot-evals/SKILL.md
skills/self-improvement/SKILL.md

元信息

文件数
0
版本
5c90e77
Hash
bc4449ab
收录时间
2026-08-27 21:30

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-28 06:40
浙ICP备14020137号-1 $访客地图$