auto-skill

AutoSkill(skill 自动调度器):根据任务需求自动调度一个或多个 skill 串联或并联协作完成任务。扫描已安装(用户级+项目级)及内置 skill,将任务意图与 skill 元数据匹配并编排最优组合,本地无匹配时搜索市场并提议安装。默认自动触发,收到任务时主动评估并调度可用 skill。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "auto-skill":https://skillpi.com/zh/skills/deepskill-4c34f7d90a8283ec3ae57799fff6c1f53bebf01991662e924b4c9a6fe617aff7。安装前核对上游来源和版本:https://skillhub.cn/skills/user_a8045bd1/auto-skill。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

AutoSkill(skill 自动调度器):根据任务需求自动调度一个或多个 skill 串联或并联协作完成任务。扫描已安装(用户级+项目级)及内置 skill,将任务意图与 skill 元数据匹配并编排最优组合,本地无匹配时搜索市场并提议安装。默认自动触发,收到任务时主动评估并调度可用 skill。

0 下载

介绍来源: third_party · user_a8045bd1 · 1.0.3 参考来源

SkillPi 解读

能完成的任务
Skill 自动调度器——根据任务需求,自动调度若干 skill 组合完成任务。数量不做限制: 可以是 1 个 skill 独立搞定,也可以是多个 skill 串联/并联协作,只要能将任务完美完成 即可。扫描已安装 skill,匹配意图,编排最优 skill 组合(单个或多个),执行任务—— 用户无需知道有哪些 skill 存在或它们叫什么。**本技能默认自动触发,无需用户特意询问 或指定——收到任何任务时主动评估是否有更合适的 skill 可用。**
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: auto-skill
description: "skill自动调度器(AutoSkill)——根据任务需求自动调度若干 skill 组合完成任务的元技能。数量不限:可以是1个skill,也可以是多个skill串联/并联协作,只要能将任务完美完成即可。扫描已安装 skill(用户级+项目级)及内置 skill,将任务意图与 skill 元数据匹配,编排最优 skill 组合并执行。本地无匹配时搜索市场并提议安装。本技能默认自动触发,无需用户特意询问或指定——收到任何任务时主动评估是否有更合适的 skill 可用,有则自动调度,无则用内置能力完成。"
agent_created: true

Skill 自动调度器(AutoSkill)

Overview

Skill 自动调度器——根据任务需求,自动调度若干 skill 组合完成任务。数量不做限制: 可以是 1 个 skill 独立搞定,也可以是多个 skill 串联/并联协作,只要能将任务完美完成 即可。扫描已安装 skill,匹配意图,编排最优 skill 组合(单个或多个),执行任务—— 用户无需知道有哪些 skill 存在或它们叫什么。本技能默认自动触发,无需用户特意询问 或指定——收到任何任务时主动评估是否有更合适的 skill 可用。

When to Trigger

This skill triggers AUTOMATICALLY on every task. The user does NOT need to ask for it, mention skills, or say any trigger phrase. The moment a task is received, this skill proactively evaluates whether any installed or builtin skill can do the job better than default capabilities.

Default behavior: ALWAYS ON. For every user task, silently run the workflow below (Steps 1-6) to find and dispatch the best skill combination. Only skip if BOTH of these are true:

  1. The task is pure Q&A / conversational with no actionable deliverable.
  2. No installed or builtin skill plausibly matches the task domain.

High-value scenarios (prioritize these):

  1. Any actionable task — If the user asks to do, make, search, generate, convert, analyze, or build anything, check for matching skills first.
  2. Ambiguous skill fit — The request could match multiple skills, or it is unclear which skill applies.
  3. Complex multi-domain task — The task spans domains (e.g., finance + document generation) and needs skill composition.
  4. First attempt failed — A prior approach did not work; try routing to a specialized skill before giving up.
  5. User explicitly mentions skills — Phrases like "找个技能", "用技能做", "哪个技能能做", "find a skill", "use a skill" — these confirm the user wants skill routing, but they are NOT required. The skill triggers without them.

Workflow

Step 1 — Parse Task Intent & Pre-filter

Extract a structured intent profile from the user's request:

Field Description Example
domain Primary domain(s) of the task finance, document, code, browser
action Core verb / operation search, generate, convert, edit
inputs Key inputs (files, URLs, data, parameters) stock ticker, PDF path, API URL
outputs Expected deliverable chart, report, code, file
constraints Special requirements format, language, deadline
keywords Salient terms for skill matching "PDF merge", "stock screen"

Domain pre-filter (same step — no extra overhead):

After extracting the domain, immediately check if it plausibly falls within any skill-covered area. This is a single reasoning step — no tool calls, no file reads.

  • Skip auto-skill (use built-in capabilities directly) if the domain is: pure conversation, time/date/weather, general knowledge Q&A, simple code snippets (< 20 lines, no framework), or basic math without data lookup.
  • Proceed to Step 2 if the domain could match any installed or builtin skill (refer to the <available_skills> section for the current skill list). Common skill-covered domains include: finance/investment, document processing, code development tools, 3D/video/image generation, product search, deployment, etc.

State the intent profile concisely, then proceed.

Step 2 — Scan Installed Skills (Session-Cached)

Session caching (two layers):

  1. Skill catalog cache: The skill catalog is built once per session and reused for all subsequent tasks and Step 5 sub-tasks. Do NOT re-scan the directories if a catalog already exists — only re-scan if the user explicitly installs or uninstalls a skill mid-session. See references/skill-catalog-template.md for a ready-to-use catalog format template.

  2. Route result cache: If a previous task in the same session had the same domain + action, reuse its skill selection directly — skip Step 3 scoring. Only re-score if the previous execution failed, or the current task differs in inputs/constraints (e.g., same "query stock" action but different output format). This eliminates redundant evaluation for repeated task patterns.

Scan two directories for installed skills:

  1. User-level: ~/.workbuddy/skills/*/SKILL.md
  2. Project-level: .workbuddy/skills/*/SKILL.md

For each skill found, read only the YAML frontmatter (name + description) — do NOT load full SKILL.md bodies yet. This keeps context lean.

Build a skill catalog table:

Skill Name Scope Description (truncated) Match Score
... user ... 0-5

Also consider builtin skills available via the Skill tool (listed in <available_skills>): 多模态内容生成, cloudstudio-deploy, expert-manager, marketplace-skill-installer, neodata-financial-search, skill-creator, wb-finance-skill, westock-data, westock-tool, etc.

Step 3 — Score and Rank

Score each candidate skill against the intent profile using these signals (0-5 scale):

Signal Weight How to evaluate
Domain match ×3 Does the skill's domain align with the task domain?
Action match ×2 Does the skill support the core action?
Input/output fit ×2 Can the skill handle the expected inputs and outputs?
Keyword overlap ×1 Do task keywords appear in the skill description?
Constraint fit ×1 Does the skill respect stated constraints?

Two-round scoring:

  • Round 1 (quick filter): Evaluate ONLY the domain signal for each candidate. Any skill with domain = 0 is immediately excluded — no need to evaluate the other 4 signals. This is a single judgment per skill, not a full evaluation. Typically eliminates 60-80% of candidates.
  • Round 2 (full scoring): Apply the full 5-signal rubric below ONLY to candidates that survived Round 1 (domain >= 1). Compute weighted score, rank descending. Retain top 3.

Important — format/specialty distinction: When the task and skill share a broad domain but differ in format (e.g., task needs PDF, skill handles Office formats), cap domain match at 2/5. See references/matching-strategy.md for the full distinction table. This prevents "same domain, wrong tool" skills from scoring high enough to bypass marketplace search.

Marketplace search is NOT run here by default. It is triggered conditionally in Step 4 based on the local match quality (see Case B and Case C). This avoids wasting time and tokens on marketplace searches when a builtin skill already strongly matches — builtin skills are officially maintained and rarely beaten by marketplace alternatives in the same domain.

Step 4 — Dispatch

Case A: Strong local match (top score >= 13)

Boundary protection: The threshold is 13 (not 12) to create a safety margin. Scores of 10-12 are borderline and unstable — the same task may score 11 or 13 on different runs due to subjective judgment. Defaulting borderline scores to Case B ensures marketplace search runs when the local match is uncertain. One search is cheap; missing the best tool is not. See references/matching-strategy.md → "Boundary protection."

  1. Load the top-ranked skill via the Skill tool.

  2. Follow that skill's instructions to complete the task.

  3. If the skill's workflow references bundled resources (scripts/, references/, assets/), use them as directed.

  4. Execute the task end-to-end.

  5. After completion, verify the result meets the user's expectations.

  6. Check if additional skills are needed — if the top skill covers the task fully, done. If gaps remain, proceed to Step 5 to chain more skills.

  7. If execution reveals a gap the local skill cannot fill: search the marketplace on-demand (search the marketplace using the workbuddy_marketplace_skill tool — load via ToolSearch first, then call with action="search") for a supplemental skill that covers the missing capability. This is the only time Case A touches the marketplace — not preemptively, but reactively when a real gap is discovered.

    A "gap" is defined strictly as one of:

    • The skill explicitly errors out or returns "not supported" / "cannot handle."
    • The output format does not match the expected output in the intent profile.
    • The user explicitly expresses dissatisfaction with the result.

    Do NOT search the marketplace based on subjective guesses about whether a better tool might exist. Only search when there is concrete evidence of failure.

Case B: Weak match (top score 6-12) or multiple close matches

Local skills only partially cover the task. Search the marketplace to find a potentially better fit.

  1. Search the marketplace using the workbuddy_marketplace_skill tool (load via ToolSearch first, then call with action="search" and keywords from the intent profile).
  2. Score only the top 3 marketplace results (by search relevance) using the same rubric as Step 3. Merge with local candidates into a single ranked list.
  3. If market score dominates (market top - local top >= 20): auto-recommend the marketplace skill, notify the user, and proceed to install (non-blocking).
  4. If scores are close (gap < 20): present top 2-3 candidates with a one-line rationale each. Ask the user to pick (use AskUserQuestion).
  5. If a marketplace skill is chosen: install it (with security audit), load it, and proceed as in Case A.

See references/matching-strategy.md → "Marketplace search value assessment" for the full scoring and auto-recommend logic.

Case C: No local match (top score < 6)

No installed or builtin skill covers this task. Search the marketplace as the last resort.

  1. Search the marketplace using the workbuddy_marketplace_skill tool (load via ToolSearch first, then call with action="search").
  2. If a matching skill is found: a. Present it to the user. b. If the user agrees, install it (following the marketplace-skill-installer flow, including the security audit if it is a new installation). c. Load the newly installed skill and proceed.
  3. If no marketplace match either: a. Fall back to executing the task with built-in capabilities (no skill). b. Inform the user that no specialized skill was found — neither installed nor in the marketplace — and the task will be handled with general capabilities.

Step 5 — Skill Composition (Multi-Skill Orchestration)

This is a core capability, not a fallback. Most real-world tasks benefit from multiple skills working together. The number of skills dispatched is unlimited — use as many as needed to complete the task perfectly.

When to compose multiple skills:

  • Sequential chain — Task has stages where one skill's output feeds the next. Example: westock-data (fetch financials) → wb-finance-skill (analyze) → document skill (generate PDF report).
  • Parallel fan-out — Task has independent sub-tasks that can run concurrently. Example: westock-data (stock data) + neodata-financial-search (macro data) simultaneously, then merge results.
  • Supplemental — A primary skill handles the core task, but a secondary skill fills a gap. Example: skill-creator (build a new skill) + cloudstudio-deploy (deploy it).

Composition workflow:

  1. Decompose the task into sub-tasks (if not already done in Step 1).
  2. For each sub-task, reuse the cached skill catalog from Step 2 (do NOT re-scan directories). Run only Step 3 (scoring) and Step 4 (dispatch) for each sub-task.
  3. Determine the execution topology:
    • Sequential: A → B → C (each output feeds the next)
    • Parallel: A + B + C (independent, merge at the end)
    • Hybrid: A → (B + C) → D (mix of both)
  4. Execute in topology order, passing outputs forward as inputs.
  5. After all skills complete, merge results and verify completeness.

Key principle: Do not artificially limit the number of skills. If a task needs 5 skills chained together to be done perfectly, chain 5. If 1 skill suffices, use 1. The only criterion is: does the combination fully and perfectly complete the task?

Step 6 — Verify and Report

After the dispatched skill(s) complete:

  1. Verify the output matches the expected deliverable from the intent profile.
  2. Fallback protocol (when a dispatched skill fails or output is insufficient): a. Retry the same skill once — transient errors (API timeouts, rate limits) may resolve on retry. b. If retry fails, load the next-ranked skill from Step 3's ranking and execute. Update the route result cache with the failure. c. If the second skill also fails, report to the user: list all skills attempted, the failure reason for each, and suggest alternative approaches (marketplace search, manual approach, etc.). d. Do NOT silently swallow failures — always inform the user what was tried and why it failed.
  3. Report to the user:
    • Simple task (single skill, Case A): just say which skill was used and what was accomplished. No topology diagram needed.
    • Complex task (multi-skill composition or marketplace install): list every skill in the composition, the execution topology (sequential / parallel / hybrid), what was accomplished, and any limitations or follow-ups.

Decision Quick Reference

User task
  │
  ├─ Parse intent & pre-filter (Step 1)
  │    └─ No skill domain matches? → Skip auto-skill, use built-in
  │
  ├─ Scan installed + builtin skills (Step 2, session-cached)
  │    ├─ Layer 1: skill catalog (build once, reuse)
  │    └─ Layer 2: route results (reuse if domain+action matches prior task)
  │
  ├─ Score & rank (Step 3, two-round)
  │    ├─ Round 1: domain filter (domain=0 → exclude)
  │    └─ Round 2: full 5-signal scoring on survivors only
  │    └─ Marketplace NOT searched yet — save cost
  │
  ├─ Top score >= 13? ──YES──► Auto-load & execute (Case A)
  │                              └─ Concrete gap? (error / format mismatch / user unhappy)
  │                                 └─ YES → Search marketplace on-demand
  │
  ├─ Top score 6-12? ──YES──► Search marketplace NOW (Case B)
  │                             ├─ Score top 3 marketplace results only
  │                             ├─ Market score - local score >= 20? → Auto-recommend
  │                             ├─ Gap < 20? → Present candidates, user picks
  │                             └─ Install marketplace skill if chosen/recommended
  │
  ├─ Top score < 6? ──YES──► Search marketplace (Case C)
  │                             ├─ Found? → Install + load
  │                             └─ Not found? → Built-in fallback
  │
  ├─ Task fully done? ──YES──► Verify & report (Step 6)
  │                              └─ Failed? → Retry → Next-ranked skill → Report
  │
  ├─ Task not done? ──YES──► Decompose & compose more skills (Step 5)
  │                          ├─ Reuse cached catalog (no re-scan)
  │                          ├─ Sequential chain: A → B → C
  │                          ├─ Parallel fan-out: A + B + C
  │                          └─ Hybrid: A → (B + C) → D
  │                          (unlimited count — use as many as needed)
  │
  └─ Verify & report (Step 6)

Important Notes

  • Never skip the intent parsing step — a wrong intent profile leads to wrong skill selection. When the user's request is vague, ask one clarifying question before proceeding.
  • Prefer precision over speed — it is better to spend an extra round checking skill descriptions than to load the wrong skill and waste context.
  • No limit on skill count — use as many skills as the task requires. 1 is fine, 10 is fine. The only criterion is: does the combination perfectly complete the task?
  • Always check for composition opportunities — after each skill completes, ask "is the task fully done?" If not, find the next skill to fill the gap.
  • Respect skill scope — user-level skills work everywhere; project-level skills only work in their project. Do not recommend a project skill for tasks outside its project.
  • Marketplace search is on-demand, not parallel — do NOT search the marketplace preemptively in Step 3. Builtin skills are officially maintained and rarely beaten by marketplace alternatives in the same domain. Only search the marketplace when: (a) Case B — local skills only partially match (score 6-12), indicating a coverage gap the marketplace might fill; (b) Case C — no local match at all; (c) Case A execution reveals a concrete gap (error, format mismatch, or user dissatisfaction). This avoids wasting time and tokens on searches that usually return to the builtin skill anyway.
  • Cost awareness — auto-skill itself adds overhead (intent parsing, scanning, scoring) before the actual task begins. Minimize this overhead: use the domain pre-filter in Step 1 to skip tasks that need no skill, cache the skill catalog and route results within a session, and use two-round scoring to avoid evaluating obviously irrelevant skills. The goal is: auto-skill should feel instant, not like a tax on every task.
  • Security first — when installing a new skill from the marketplace, always follow the security audit process (load skills-security-check skill first).
  • Transparent routing — tell the user which skill(s) were used. For simple single-skill tasks, a brief mention suffices. For complex compositions or marketplace installs, include the topology and rationale.
  • Silent evaluation, loud dispatch — the skill evaluation (Steps 1-3) should happen silently without bothering the user. Only surface output when presenting candidates (Case B), installing from marketplace (Case C), or reporting results (Step 6). The user should never have to think "is this skill being used?" — it just works.

Resources

references/

  • matching-strategy.md — Detailed scoring rubric, edge cases, and examples of intent-to-skill matching across common domains.
  • skill-catalog-template.md — Template for building and maintaining a local skill catalog cache to speed up repeated routing.

当前收录版本

1.0.3

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值92/100

亮点

  • 作为元技能提供智能 Skill 调度能力,显著提升复杂任务执行效率
  • 解决多 Skill 环境下的路由痛点,具有平台级核心增强价值
触发精准95/100

亮点

  • 触发机制描述完整,明确自动触发逻辑和边界条件
  • 覆盖多种实际使用场景,触发词精准且边界清晰
结构规范85/100

待提升项

  • 文档过长 原报告严重程度:轻微

    SKILL.md 文件约1800行,超出建议的500行限制

    改进建议:考虑将详细实现细节移至 references/ 目录下的独立文档

亮点

  • 工作流程步骤清晰,包含6个主要阶段和详细决策树
  • 提供了完整的端到端执行示例和快速参考指南
执行可靠90/100

亮点

  • 具备完善的异常处理机制,包括重试和fallback协议
  • 对不可逆操作(安装新Skill)实施安全审计,保障执行安全
证据可验 (前四项均值)91/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。