Skill Open Sourcer 标志

Skill Open Sourcer

社区
zjp1997720
skill-open-sourcer

Audit, package, add, verify, and publish local Agent Skills through the canonical zjp1997720/zhijian-skills portfolio. Use when the user gives a SKILL.md or Skill directory and asks to open-source, publish, release, share, validate, manage versions, make installable with npx skills, prepare documentation, or generate launch copy. Every public Skill must live in the canonical repository's nested skills directory; never create or update a standalone Skill repository.

Add to TypingMind

概览

发布者zjp1997720
代码仓库zhijian-skills
技能名称skill-open-sourcer
星标数
780
复刻数
99
附带文件
24
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 24 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Skill Open Sourcer

Publish every public Skill from the single canonical repository: https://github.com/zjp1997720/zhijian-skills.

Hard publishing boundary

  • A SKILL.md path or Skill directory is an import candidate, not a request to create a repository.
  • Put the complete agent payload in skills/<name>/, human docs in docs/skills/<name>/, and release notes in docs/changelogs/<name>.md.
  • Register the Skill in registry/skills.json. Never add mirror, mirror_tag, standalone repository, redirect workflow, or mirror-export metadata.
  • Publish commits, per-Skill Tags, and install instructions only from zjp1997720/zhijian-skills.
  • Stop on secrets, private paths, client data, unpublished proprietary material, unclear asset ownership, or an unverified canonical remote.

Read Portfolio mode, Registry contract, Release package, and README design before writing.

WorkBuddy marketplace branch

For WorkBuddy custom-source adaptation, marketplace maintenance, or an install-success/cold-start-missing failure, read WorkBuddy marketplace before editing. Follow its completion contract for adapter-only tasks; use the full release workflow below when Skill payloads also change.

When a Skill release changes Registry inventory or versions, or descriptions used by an existing WorkBuddy catalog, refresh and verify the generated marketplace before freezing the release plan. This branch preserves the publishing, source-ownership, and authorization boundaries above.

Workflow

  1. Resolve the input to a real Skill directory. Accept a SKILL.md, its containing directory, or a symlink from a local Skill root.
  2. Resolve the canonical checkout from the current repository, ZHIJIAN_SKILLS_REPO, or ~/Documents/GitHub/zhijian-skills. Verify origin resolves to zjp1997720/zhijian-skills; never guess another destination.
  3. Follow the canonical repository's Git synchronization rules. Run git_sync_guard.py check --repo <zhijian-skills> before changing or publishing from an existing checkout; a needs-sync marker is a hard stop. Then run:
bash
SKILL_OPEN_SOURCER_DIR="<zhijian-skills>/skills/skill-open-sourcer"
python3 "$SKILL_OPEN_SOURCER_DIR/scripts/check_release_env.py" \
  --repo-dir <zhijian-skills> --check-npx-skills
python3 "$SKILL_OPEN_SOURCER_DIR/scripts/scan_skill_release.py" \
  /path/to/skill-or-SKILL.md
  1. Inspect SKILL.md and directly referenced agents/, references/, scripts/, and assets/. Copy only the complete, sanitized install payload into skills/<name>/; preserve required license and third-party notices.
  2. Write the eight-field release story from README design, choose clean-doc or proof-led, then create or update bilingual docs, Changelog, Registry record, Portfolio catalog, and project-native visuals. A proof-led Hero must use a composition derived from the Skill's real mechanism or output; changing only the title and motif inside a shared layout fails review. Never expose a root-level SKILL.md or add human README files inside the Skill payload.
  3. Choose the version with version-contract.md. Use only the canonical Tag <skill>/v<version>.
  4. Freeze a release plan with the narrowest selector. For a governed Skill, its manifest.json must declare trust_report and output_quality_scorecard as files inside the install payload; both files must exist and be tracked at HEAD. Planning fails before candidate refs are created when either baseline is undeclared, missing, untracked, or escapes the payload. Use --skill <name> for one Skill; reserve --all and optional --exclude for an intentional multi-Skill wave:
bash
python3 "$SKILL_OPEN_SOURCER_DIR/scripts/release_portfolio.py" plan \
  --repo <zhijian-skills> --source-checkout <original-checkout> \
  --skill <name> --dry-run \
  --plan-out /tmp/<name>-release-plan.json
python3 "$SKILL_OPEN_SOURCER_DIR/scripts/release_portfolio.py" verify \
  --plan /tmp/<name>-release-plan.json

--skill and --all are mutually exclusive. Repeat --skill only when the user explicitly authorizes a small multi-Skill release. Do not combine --skill with --exclude.

The plan records the live origin/main SHA with git ls-remote. verify queries it again and fails when it changed. When --repo is a temporary clean clone, --source-checkout must identify the original checkout; planning marks that checkout release-in-progress and installs a pre-commit guard so it cannot create new commits from the stale base.

  1. Validate the Skill, declared tests, full Portfolio, documentation, and repository contracts:
bash
python3 "$SKILL_OPEN_SOURCER_DIR/scripts/portfolio.py" \
  validate-skill <zhijian-skills>/skills/<name>
python3 "$SKILL_OPEN_SOURCER_DIR/scripts/portfolio.py" \
  audit --repo <zhijian-skills> --strict
python3 "$SKILL_OPEN_SOURCER_DIR/scripts/audit_release_readme.py" \
  --repository-root <zhijian-skills> \
  <zhijian-skills>/docs/skills/<name>/README.md \
  <zhijian-skills>/docs/skills/<name>/README.zh-CN.md --strict
python3 -m unittest discover -s <zhijian-skills>/tests -v

When README assets are generated by the Portfolio, regenerate them and run the asset tests before accepting the diff. Render every changed Hero at 900px and 360px; deterministic checks do not replace visual inspection.

  1. Verify local npx skills discovery, then run one fail-fast isolated copy install from the canonical repository:
bash
python3 "$SKILL_OPEN_SOURCER_DIR/scripts/verify_isolated_install.py" \
  --repo <zhijian-skills> --skill <name>

The verifier isolates HOME, uses copy mode, and compares SHA-256 manifests byte-for-byte. It returns non-zero immediately when preflight, installation, materialization, missing/extra files, or content comparison fails; do not append a success-printing command that can mask its exit code. Listing success alone is insufficient. Use top-level help only: npx --no-install skills --help. Never run npx skills add <source> --help; skills CLI 1.5.x may perform a real installation because <source> is already a valid add request. 10. Commit only on a short-lived branch created from the recorded remote SHA. Immediately before the remote wave, run verify again, push the branch, and merge it through a PR into protected main; Agents never push directly to main. After merge, read the live remote SHA and record the verified transition:

bash
python3 "$SKILL_OPEN_SOURCER_DIR/scripts/release_portfolio.py" record-step \
  --plan /tmp/<name>-release-plan.json --skill <name> \
  --step canonical-pushed --remote-sha <merged-origin-main-sha>

This step verifies that remote main contains the planned source and upgrades a temporary-clone source marker to needs-sync. Never call gh repo create or publish to <owner>/<skill-name>. 11. Verify the remote Portfolio listing and isolated install, then create the canonical Tag and launch copy. Clear a source checkout marker only after that checkout is clean and its local HEAD exactly equals the verified remote SHA.

Output contract

Return:

  • canonical Skill URL under zjp1997720/zhijian-skills
  • the canonical commit, version, and <skill>/v<version> Tag
  • install command using npx skills add zjp1997720/zhijian-skills
  • Skill validation, Portfolio audit, remote listing, and isolated-install results
  • README presentation tier and deliberate visual assets
  • the eight-field release story, unique composition choice, and rendered desktop/mobile inspection result
  • safety summary and residual assumptions
  • at least one X/Twitter launch post, plus a Chinese version for Chinese users

If blocked, return the file paths, reasons, sanitization steps, and safest next action.

Safety rules

Hard stop on:

  • API keys, tokens, private keys, cookies, credentials, .env, or auth config
  • personal absolute paths, local vault paths, or machine-only caches
  • client data, private URLs, unpublished prompts, or assets without redistribution rights
  • escaping symlinks, databases, logs, browser profiles, .DS_Store, dependency caches, or unexplained binaries
  • a dirty or unverified canonical repository that cannot be reconciled safely
  • a release-in-progress or needs-sync checkout marker
  • remote main changing after the release plan is frozen
  • a governed trust_report or output_quality_scorecard that is undeclared, missing, outside the payload, or not tracked at HEAD

Literal credential assignments are blockers. Runtime transformations such as URL-encoding a token variable are not literal secrets and must not be blocked by the generic assignment detector; high-confidence provider key patterns remain blocking.

Never force-push, rewrite published Tags, create a standalone repository, or treat missing evidence as passed.

Packaging rules

  • Every Skill lives at skills/<skill-name>/, including a single-file Skill.
  • Keep SKILL.md lean; put detailed agent guidance in references/ only when needed.
  • Preserve agents/openai.yaml; create it when absent with a $<skill-name> default prompt.
  • Include deterministic scripts and licensed agent-facing assets only.
  • Put human docs in docs/skills/<skill-name>/ and README visuals in its assets/readme/ directory.
  • Update registry/skills.json, root README catalogs, and deterministic asset generators together. Every generated proof-led Hero needs a unique, stable data-composition value and a matching project-specific generator branch; Portfolio tests must reject duplicate composition IDs.

Publication verification

bash
npx --no-install skills --help
npx --no-install skills add zjp1997720/zhijian-skills --list
python3 scripts/verify_isolated_install.py \
  --repo <zhijian-skills> --skill <skill-name> \
  --install-source zjp1997720/zhijian-skills

The verifier uses the Portfolio's pinned skills CLI and returns non-zero for every failed phase. For a cold check where the pinned package is not installed, install dependencies in the canonical checkout before running it; never improvise a shell chain whose final command can hide an earlier failure. Never use npx skills add <source> --help as a help probe. It may perform a real installation and create .agents/ plus skills-lock.json in the current directory.

Launch copy

After all gates pass, explain the repeated problem, what the Skill automates, the canonical install command, one concrete example request, and any relevant safety boundary. Never link a standalone Skill repository.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Skill Open Sourcer AI 技能有什么作用?

Audit, package, add, verify, and publish local Agent Skills through the canonical zjp1997720/zhijian-skills portfolio. Use when the user gives a SKILL.md or Skill directory and asks to open-source, publish, release, share, validate, manage versions, make installable with npx skills, prepare documentation, or generate launch copy. Every public Skill must live in the canonical repository's nested skills directory; never create or update a standalone Skill repository.

为什么在 TypingMind 中使用 Skill Open Sourcer?

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

如何在 TypingMind 中安装 Skill Open Sourcer?

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

哪些 AI 模型可以使用 Skill Open Sourcer?

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

Skill Open Sourcer 可以搭配多少个 AI 模型使用?

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

Skill Open Sourcer AI 技能免费吗?

是的。zjp1997720 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

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

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

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

查看全部

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

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