Add Resource Skill 标志

Add Resource Skill

组织
pixee
add-resource-skill

Authors a new skills.sh-formatted skill for the pixee CLI under skills/pixee-<noun>/SKILL.md. Trigger on requests like "add a resource skill", "write a skill for pixee X", "author a pixee skill", or "publish a skill for the new Y subcommand". Captures pixee-specific conventions (one skill per sub-command with a shared prerequisite, frontmatter schema, picker-friendly descriptions, HAL-first doctrine, sibling cross-references) and defers to /plugin-dev:skill-development for general skill-writing craft. Also covers updates to existing skills under skills/pixee-*.

概览

发布者pixee
代码仓库pixee-cli
技能名称add-resource-skill
星标数
31
复刻数
12
附带文件
仅含指令
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 pixee 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Add Resource Skill AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/pixee/pixee-cli/tree/main/.claude/skills/add-resource-skill
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pixee/pixee-cli.git /tmp/pixee-cli
mkdir -p .claude/skills
cp -r /tmp/pixee-cli/.claude/skills/add-resource-skill .claude/skills/add-resource-skill
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Add Resource Skill,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Add Resource Skill。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Add Resource Skill 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Author a Pixee CLI Resource Skill

Guided authoring of a new skill under skills/pixee-<noun>/SKILL.md. This repo distributes the skills that teach coding agents (Claude Code, Codex, others) to drive the pixee binary. Consistency across siblings is load-bearing for discoverability and the skills.sh install picker.

For general skill-writing fundamentals (what a SKILL.md is, progressive disclosure, how triggering works), invoke /plugin-dev:skill-development first if available. This skill layers pixee conventions on top; it does not repeat them. If that plugin is not installed, a one-paragraph refresher: a SKILL.md is a Markdown file with YAML frontmatter; the description field is how the model decides to invoke it, so it must enumerate concrete trigger phrases; keep the body scannable with clear H2 sections; front-load the most common use case.

Pixee context you must know

  • Skills modularize around sub-commands. One skill per top-level pixee <subcommand> plus a single shared prerequisite skill (pixee-shared) that every domain skill references. This keeps each skill scoped to what an agent needs for one command group, and lets the install picker present a small menu of composable pieces.
  • Install channel. Skills are fetched by agents via npx skills add pixee/pixee-cli --all (or the interactive picker without --all). A picker-breaking description silently drops the skill from the picker.
  • Release cadence. Skill iteration is decoupled from pixee binary releases — revise a skill without waiting for the next CLI tag, and ship a subcommand now and its skill later if the surface isn't finalized.
  • pixee-shared is a hard prerequisite for every domain skill. It covers global flags, exit codes, error rendering, and token security.
  • pixee-api is the canonical HAL reference. Cross-reference it for discovery guidance. Never restate HAL. Never embed OpenAPI specs or long JSON schemas.

Before you author

The pixee binary on PATH is the authoritative source for what a skill should teach. Everything in the skill you write must be something you've seen the binary actually do.

  1. Study the CLI by invoking it. Start with pixee --help for the top-level surface; then pixee <subcommand> --help and each nested pixee <subcommand> <verb> --help. Run realistic invocations end-to-end: try each flag, observe exit codes, run --output text and --output json against the same call to see the shape difference, and follow HAL links with pixee api <href> where the endpoint exposes them. Do not document flags or behaviors you haven't seen the binary produce.
  2. Read two files in full: skills/pixee-shared/SKILL.md (every domain skill references it) and the single sibling closest to the new domain — the skill whose H1 shape you will copy. For a command-backed list/CRUD surface, pixee-repo (single verb) or pixee-workflow (subcommand-per-variant) is almost always the right reference.
  3. Decide the slot. New pixee-<noun> skill versus extending an existing one. Prefer extension when the new surface is fewer than three subcommands and lives naturally inside an existing skill's H1 (e.g., a new pixee api --new-flag belongs in pixee-api, not a new skill).

Naming rules

  • Slug is pixee-<noun> in kebab-case, where <noun> is a top-level subcommand or a cross-cutting concern (shared is the only current exception). Non-command cross-cutting slugs need discussion before landing.
  • Directory layout: skills/pixee-<noun>/SKILL.md — single file. No references/ sidecar unless the skill exceeds ~150 lines; inline is the default.
  • The H1 matches the command surface (# pixee workflow) or the skill name (# Pixee CLI — Shared Reference).

Frontmatter template

Copy this exactly and fill in the angle-bracket placeholders:

yaml
---
name: pixee-<noun>
description: "<verb-first, 100-130 chars, no colons, em-dashes, or parens>"
license: Apache-2.0
compatibility: Requires the pixee CLI binary on PATH
metadata:
  version: 1.0.0
  openclaw:
    category: "developer-tools"
    requires:
      bins:
        - pixee
    cliHelp: "pixee <subcommand> --help"
---

The description has a triple constraint, each one load-bearing:

  • (a) Verb-first, bare infinitive. Existing descriptions start with Describe, Store, Send, List, List, create, and delete. Match the shape — this is what the skills.sh picker renders well.
  • (b) Describes what the skill covers, not how it works. "List Pixee repositories and resolve names to UUIDs" is right. "Runs pixee repo list and does name resolution via the API" is wrong.
  • (c) No colons, em-dashes, or parentheses. They break the skills.sh picker silently. Commit f0e73a3 (ISS-6922) rewrote all five existing descriptions for exactly this reason. Length: 100–130 chars.

version stays 1.0.0 until we agree to start bumping. Don't invent a scheme.

license is always Apache-2.0 — it matches skills/LICENSE, which covers the whole directory. compatibility is always Requires the pixee CLI binary on PATH unless the skill has a genuinely different runtime dependency. Both fields complete the Agent Skills spec (agentskills.io/specification); every skill in this repo carries them (ISS-8576).

cliHelp is pixee <subcommand> --help for command-backed skills; pixee --help for cross-cutting skills like pixee-shared.

Structural template

Don't try to invent shape. Open the closest sibling and follow its skeleton. Every skill in the set shares these invariants:

  1. PREREQUISITE blockquote immediately after the frontmatter. Singular > **PREREQUISITE:** when only pixee-shared is referenced (see pixee-api, pixee-repo); plural > **PREREQUISITES:** when multiple are referenced (see pixee-workflow, which references shared + auth + repo).
  2. Reference rule. Always reference pixee-shared first. Add pixee-auth when the subcommand authenticates (i.e., almost always, but only call it out when the skill's own content touches credential failure modes). Add pixee-repo when the skill uses the --repo name-or-UUID resolution protocol.
  3. H2 per subcommand or topic. pixee-workflow shows the subcommand-per-H2 pattern; pixee-shared shows the topic-per-H2 pattern. Pick the one that matches your surface.
  4. Bash examples with inline comments, realistic repo names (pixee/pixee-platform), and at least one example showing --json piped into jq.
  5. Best practices tail. Short bulleted section covering scripting guidance: UUID vs name tradeoffs, pagination, mutually-exclusive flags, when to prefer the subcommand over the pixee api escape hatch.

Content doctrine

  • Self-contained. Don't assume the agent read anything beyond pixee-shared.
  • Cross-reference pixee-api for HAL. Never embed OpenAPI specs or long JSON schemas in the body.
  • Mirror API field names in flag docs. Don't invent CLI aliases. If the API field is branch_pattern, the flag is --branch or --branch-pattern — not --branch-regex or --on-branch.
  • Examples must work in both text and json output modes. Show the --json | jq path at least once.
  • Audience is Claude Code and Codex (and future agents). Avoid Anthropic-specific phrasing ("ask Claude to…"). Write to "the agent."

After you author

  1. Update README.md. Add a bullet under ## Coding agent plugin (in the npx skills fallback subsection) matching the shape of the existing bullets:

    markdown
    - [`pixee-<noun>`](./skills/pixee-<noun>/SKILL.md) — <one-line description matching the frontmatter>.
  2. License. The skills/ directory is Apache-2.0 via skills/LICENSE. No per-file header. skills/NOTICE stays untouched unless the new skill pulls in third-party attributions (unlikely for documentation).

  3. Commit style. Follow recent history: short imperative + issue tag, e.g. Add pixee-scan skill (ISS-XXXX). Use a fresh issue number — ISS-6922 is closed.

  4. Picker smoke test. Run npx skills add pixee/pixee-cli (no --all) and confirm the new entry appears in the interactive picker with its full description visible. If it's missing, the description has picker-breaking characters — fix before landing.

  5. Plugin manifests. Two manifests both auto-discover skills from skills/*/SKILL.md — adding or removing a skill doesn't require touching either:

    Both version independently of any skill's metadata.version, starting at 1.0.0, and move together — they describe the same plugin. Bump them (semver, all three files in lockstep) only when the plugin's own identity changes — name, description, keywords, license, author, repository — not on every skill edit.

    marketplace.json's top-level name is pixee (the org), deliberately not pixee-cli (the repo/plugin) — this lets future Pixee plugins join the same marketplace without a rename. Never change it to match the repo name; that's not a bug to fix.

Updating an existing skill

Same rules, applied on the edit:

  • Preserve the description's verb-first, picker-friendly shape on any rewrite. A rewrite that introduces a colon or em-dash is a picker regression, not a prose polish.
  • Keep version decisions consistent across siblings. Don't bump one skill's version in isolation — the set moves together or stays.
  • license and compatibility are constants (see Frontmatter template above) — an edit should never change them unless the skill's actual binary dependency changes.
  • Don't diverge PREREQUISITE phrasing from the rest of the set in a single-skill edit. If the convention needs to change, update all five siblings in one commit.

Anti-patterns

  • Emojis or Unicode punctuation in description — break the picker silently.
  • Copy-pasting exit-code or global-flag content from pixee-shared instead of cross-referencing it.
  • Hardcoded API paths or embedded OpenAPI fragments — violates HAL-first doctrine and dates fast.
  • Anthropic-Claude-Code-specific phrasing. The skills serve Codex and others too.
  • Per-file license headers. skills/LICENSE covers the directory.

常见问题

Add Resource Skill AI 技能有什么作用?

Authors a new skills.sh-formatted skill for the pixee CLI under skills/pixee-<noun>/SKILL.md. Trigger on requests like "add a resource skill", "write a skill for pixee X", "author a pixee skill", or "publish a skill for the new Y subcommand". Captures pixee-specific conventions (one skill per sub-command with a shared prerequisite, frontmatter schema, picker-friendly descriptions, HAL-first doctrine, sibling cross-references) and defers to /plugin-dev:skill-development for general skill-writing craft. Also covers updates to existing skills under skills/pixee-*.

为什么在 TypingMind 中使用 Add Resource Skill?

因为您只需安装一次,就能搭配任何模型使用。Add Resource Skill 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Add Resource Skill?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/pixee/pixee-cli/tree/main/.claude/skills/add-resource-skill。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Add Resource Skill?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Add Resource Skill 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Add Resource Skill 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Add Resource Skill AI 技能免费吗?

pixee 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇