Agent Skillsopensquilla/opensquilla › meta-knowledge-base-bootstrap

meta-knowledge-base-bootstrap

GitHub

通过单一种子(URL/PDF/Git/文本)快速构建领域知识库。自动分类源类型,调用多搜索引擎进行摄入,将摘要持久化至记忆,并生成包含结果表的Excel索引文件。

src/opensquilla/skills/exp/meta-knowledge-base-bootstrap/SKILL.md opensquilla/opensquilla

Trigger Scenarios

需要基于单一来源初始化或扩展领域知识库 用户提供了URL、PDF路径、Git仓库或主题并要求整理为结构化知识

Install

npx skills add opensquilla/opensquilla --skill meta-knowledge-base-bootstrap -g -y
More Options

Non-standard path

npx skills add https://github.com/opensquilla/opensquilla/tree/main/src/opensquilla/skills/exp/meta-knowledge-base-bootstrap -g -y

Use without installing

npx skills use opensquilla/opensquilla@meta-knowledge-base-bootstrap

指定 Agent (Claude Code)

npx skills add opensquilla/opensquilla --skill meta-knowledge-base-bootstrap -a claude-code -g -y

安装 repo 全部 skill

npx skills add opensquilla/opensquilla --all -g -y

预览 repo 内 skill

npx skills add opensquilla/opensquilla --list

SKILL.md

Frontmatter
{
    "kind": "meta",
    "name": "meta-knowledge-base-bootstrap",
    "always": false,
    "triggers": [
        "搭建知识库",
        "knowledge base",
        "kb 启动",
        "bootstrap kb"
    ],
    "provenance": {
        "origin": "opensquilla-original",
        "license": "Apache-2.0"
    },
    "composition": {
        "steps": [
            {
                "id": "classify",
                "kind": "llm_classify",
                "with": {
                    "text": "Inspect this user input and decide its primary source type.\n\nDecision rules:\n- URL  → input contains an http\/https link to a webpage (not a PDF, not a git host).\n- PDF  → input references a .pdf path or URL ending in .pdf.\n- GIT  → input references github.com \/ gitlab \/ a .git URL \/ a local repo path.\n- TEXT → everything else (free-text topic, question, concept).\n\nInput:\n{{ inputs.user_message | xml_escape | truncate(400) }}\n"
                },
                "output_choices": [
                    "URL",
                    "PDF",
                    "GIT",
                    "TEXT"
                ]
            },
            {
                "id": "ingest",
                "kind": "skill_exec",
                "skill": "multi-search-engine",
                "depends_on": [
                    "classify"
                ]
            },
            {
                "id": "memorize",
                "kind": "tool_call",
                "tool": "memory_save",
                "tool_args": {
                    "mode": "append",
                    "path": "memory\/kb-bootstrap.md",
                    "content": "# KB Bootstrap: {{ inputs.user_message | xml_escape | truncate(80) }}\nClassifier verdict: {{ outputs.classify }}\nIngestion (multi-search-engine, JSON):\n{{ outputs.ingest | truncate(2000) }}\n"
                },
                "depends_on": [
                    "ingest"
                ]
            },
            {
                "id": "index",
                "with": {
                    "task": "Create a workbook 'kb-index.xlsx' with columns [Engine, Title, URL, Snippet]. Populate it from this multi-search-engine JSON output: {{ outputs.ingest | truncate(3000) }}"
                },
                "skill": "xlsx",
                "depends_on": [
                    "ingest"
                ]
            }
        ]
    },
    "description": "Bootstrap a domain knowledge base from a single seed (URL \/ PDF path \/ git repo \/ free-text topic): classify source → ingest with the right tool → persist to memory + xlsx index.",
    "meta_priority": 40
}

Knowledge Base Bootstrap (Meta-Skill)

Seed a domain knowledge base in one turn. The pipeline classifies the seed source type (URL / PDF / GIT / TEXT) and ingests it via the multi-search-engine skill, then persists the report and produces an index.

step kind skill what it does
classify llm_classify label the seed as one of URL / PDF / GIT / TEXT
ingest skill_exec multi-search-engine run a DuckDuckGo search (JSON to stdout)
memorize tool_call — (memory_save) append the ingestion summary to memory
index agent xlsx write kb-index.xlsx with the result table

The classifier is currently informational only — the ingest step always calls multi-search-engine. A previous design routed PDF → pdf-toolkit and GIT → github, but those branches were dropped when the DSL moved to skill_exec. A follow-up will reintroduce per-classification routing once the corresponding bundled skills also expose entrypoint: manifests.

Fallback

If the meta-flow fails: run the classifier prompt manually, then invoke the appropriate ingestion skill, then memory_save the result, then create the xlsx index with openpyxl.

Version History

  • 7f72a32 Current 2026-07-05 18:41

Same Skill Collection

src/opensquilla/skills/bundled/advanced-dubbing-studio/SKILL.md
src/opensquilla/skills/bundled/ai-video-script/SKILL.md
src/opensquilla/skills/bundled/audio-cog/SKILL.md
src/opensquilla/skills/bundled/awesome-webpage-image-download/SKILL.md
src/opensquilla/skills/bundled/awesome-webpage-research/SKILL.md
src/opensquilla/skills/bundled/AwesomeWebpageMetaSkill/SKILL.md
src/opensquilla/skills/bundled/cron/SKILL.md
src/opensquilla/skills/bundled/docx/SKILL.md
src/opensquilla/skills/bundled/filesystem/SKILL.md
src/opensquilla/skills/bundled/git-diff/SKILL.md
src/opensquilla/skills/bundled/github/SKILL.md
src/opensquilla/skills/bundled/history-explorer/SKILL.md
src/opensquilla/skills/bundled/html-coder/SKILL.md
src/opensquilla/skills/bundled/html-to-pdf/SKILL.md
src/opensquilla/skills/bundled/http-fetch/SKILL.md
src/opensquilla/skills/bundled/latex-compile/SKILL.md
src/opensquilla/skills/bundled/memory/SKILL.md
src/opensquilla/skills/bundled/music-and-singing-studio/SKILL.md
src/opensquilla/skills/bundled/nano-banana-pro-openrouter/SKILL.md
src/opensquilla/skills/bundled/nano-banana-pro/SKILL.md
src/opensquilla/skills/bundled/nano-pdf/SKILL.md
src/opensquilla/skills/bundled/openrouter-video-generator/SKILL.md
src/opensquilla/skills/bundled/paper-abstract-author/SKILL.md
src/opensquilla/skills/bundled/paper-citation-planner/SKILL.md
src/opensquilla/skills/bundled/paper-experiment-stub/SKILL.md
src/opensquilla/skills/bundled/paper-outline-author/SKILL.md
src/opensquilla/skills/bundled/paper-preference-planner/SKILL.md
src/opensquilla/skills/bundled/paper-refbib-stub/SKILL.md
src/opensquilla/skills/bundled/paper-revision-author/SKILL.md
src/opensquilla/skills/bundled/paper-section-author/SKILL.md
src/opensquilla/skills/bundled/paper-source-curator/SKILL.md
src/opensquilla/skills/bundled/pptx/SKILL.md
src/opensquilla/skills/bundled/seedance-2-prompt/SKILL.md
src/opensquilla/skills/bundled/skill-creator-linter/SKILL.md
src/opensquilla/skills/bundled/skill-creator-proposals/SKILL.md
src/opensquilla/skills/bundled/skill-creator-smoke-test/SKILL.md
src/opensquilla/skills/bundled/srt-from-script/SKILL.md
src/opensquilla/skills/bundled/stack-trace-generic-probe/SKILL.md
src/opensquilla/skills/bundled/stack-trace-go-probe/SKILL.md
src/opensquilla/skills/bundled/stack-trace-js-probe/SKILL.md
src/opensquilla/skills/bundled/stack-trace-python-probe/SKILL.md
src/opensquilla/skills/bundled/stack-trace-rust-probe/SKILL.md
src/opensquilla/skills/bundled/subtitle-burner/SKILL.md
src/opensquilla/skills/bundled/swe-bench/SKILL.md
src/opensquilla/skills/bundled/text-file-read/SKILL.md
src/opensquilla/skills/bundled/title-card-image/SKILL.md
src/opensquilla/skills/bundled/video-merger/SKILL.md
src/opensquilla/skills/bundled/video-still-animator/SKILL.md
src/opensquilla/skills/bundled/voice-clone-lab/SKILL.md
src/opensquilla/skills/bundled/voice-conversion-studio/SKILL.md
src/opensquilla/skills/bundled/voiceover-studio/SKILL.md
src/opensquilla/skills/bundled/weather/SKILL.md
src/opensquilla/skills/bundled/web-search/SKILL.md
src/opensquilla/skills/bundled/xlsx/SKILL.md
src/opensquilla/skills/exp/meta-arxiv-daily-digest-deck/SKILL.md
src/opensquilla/skills/exp/meta-codereview-current-diff/SKILL.md
src/opensquilla/skills/exp/meta-compliance-audit-bundle/SKILL.md
src/opensquilla/skills/exp/meta-diagram-triangulation/SKILL.md
src/opensquilla/skills/exp/meta-github-pr-watch-digest/SKILL.md
src/opensquilla/skills/exp/meta-issue-to-pr-autopilot/SKILL.md
src/opensquilla/skills/exp/meta-migration-assistant/SKILL.md
src/opensquilla/skills/exp/meta-multi-format-export-pack/SKILL.md
src/opensquilla/skills/exp/meta-pdf-intelligence/SKILL.md
src/opensquilla/skills/exp/meta-pdf-reformat-pipeline/SKILL.md
src/opensquilla/skills/exp/meta-pre-commit-quality-gate/SKILL.md
src/opensquilla/skills/exp/meta-scheduled-morning-digest/SKILL.md
src/opensquilla/skills/exp/meta-security-review-bundle/SKILL.md
src/opensquilla/skills/exp/meta-spreadsheet-insight/SKILL.md
src/opensquilla/skills/exp/meta-stack-trace-investigator/SKILL.md
src/opensquilla/skills/exp/meta-travel-planner/SKILL.md
src/opensquilla/skills/exp/meta-web-to-pdf-briefing/SKILL.md
tests/_fixtures/meta-paper-write-handwritten.SKILL.md
src/opensquilla/skills/bundled/code-task/SKILL.md
src/opensquilla/skills/bundled/deep-research/SKILL.md
src/opensquilla/skills/bundled/meta-kid-project-planner/SKILL.md
src/opensquilla/skills/bundled/meta-paper-write/SKILL.md
src/opensquilla/skills/bundled/meta-short-drama/SKILL.md
src/opensquilla/skills/bundled/meta-skill-creator/SKILL.md
src/opensquilla/skills/bundled/multi-search-engine/SKILL.md
src/opensquilla/skills/bundled/pdf-toolkit/SKILL.md
src/opensquilla/skills/bundled/skill-creator/SKILL.md
src/opensquilla/skills/bundled/sub-agent/SKILL.md
src/opensquilla/skills/bundled/summarize/SKILL.md
src/opensquilla/skills/bundled/tmux/SKILL.md
src/opensquilla/skills/exp/meta-long-running-build-watchdog/SKILL.md
src/opensquilla/skills/bundled/paper-plot-stub/SKILL.md
src/opensquilla/skills/exp/meta-content-publish-pipeline/SKILL.md
src/opensquilla/skills/exp/meta-home-it-rescue/SKILL.md
src/opensquilla/skills/exp/meta-meeting-to-workflow/SKILL.md
src/opensquilla/skills/exp/meta-research-to-slide-deck/SKILL.md
src/opensquilla/skills/exp/meta-sales-lead-researcher/SKILL.md

Metadata

Files
0
Version
7f72a32
Hash
9c432546
Indexed
2026-07-05 18:41

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-09 01:17
浙ICP备14020137号-1 $bản đồ khách truy cập$