Manage Skills 标志

Manage Skills

社区
maotansir
manage-skills

Create, audit, test, optimize, refactor, release, observe, and orchestrate Codex skills across their lifecycle. Use when a user asks to build or update a SKILL.md package, decide whether a recurring task should become a skill, evaluate structural or behavioral quality, repair weak triggering or instructions, run regression cases, manage candidate and installed versions, record feedback, roll back a release, resolve skill overlap, coordinate multiple skills, or operate a reusable SkillFactory.

Add to TypingMind

概览

发布者maotansir
代码仓库manage-skills
技能名称manage-skills
星标数
94
复刻数
0
附带文件
28
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 28 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Manage Skills。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Manage Skills

Manage skills as effect-bound releases: package correctness is necessary, but a production claim is proven only when a realistic first-use task leaves inspectable artifacts. Use the official skill-creator for package creation and official validation. Keep editable candidates, evaluations, history, and feedback in an external SkillFactory; keep the global skills directory as a deployment target.

Classify the lifecycle action

Choose one primary mode and add only required secondary modes:

  • Create: decide whether the need should be a skill, capture its contract, and build a candidate.
  • Audit: inspect quality without changing the target.
  • Test: execute structural, script, behavioral, negative-trigger, and regression cases.
  • Optimize: fix a reproduced behavioral failure with the smallest coherent patch.
  • Refactor: reorganize a skill while preserving its observable contract.
  • Release: version, promote, verify, or roll back a tested candidate.
  • Observe: record version-linked feedback and convert confirmed failures into regressions.
  • Orchestrate: select, order, and coordinate multiple skills for one outcome.

State the mode and target. Treat review, diagnose, and audit requests as read-only. Treat create, fix, optimize, and refactor as edit authority only for the named candidate. Treat install, update, promote, rollback, publish, and release as separate external-state actions requiring explicit user authorization.

Establish sources of truth

  1. Read the applicable official skill-creator/SKILL.md completely before creation or structural change. Follow its initializer, metadata, and validator requirements.
  2. Inspect the target, its directly linked resources, installed version, registry record, and latest evidence before proposing edits.
  3. Inventory applicable Codex-native capabilities before accepting any external credential, connector, provider, or companion as required. Treat dependency necessity as a claim that needs evidence, not as a fact merely because the candidate declared it.
  4. Preserve unrelated changes. Never use a static score as permission to rewrite a skill.
  5. Use MANAGE_SKILLS_FACTORY_ROOT when configured; otherwise use ~/Documents/Codex/SkillFactory. Never store managed packages or lifecycle data inside this installed skill.

Initialize or inspect the factory with:

bash
python scripts/skill_factory.py --root /path/to/SkillFactory init
python scripts/skill_factory.py --root /path/to/SkillFactory status

Execute the selected mode

Create

Read creation-protocol.md. Decide whether the request belongs in a prompt, skill, workflow, automation, plugin, or agent. Before defining the contract, read prior-art-protocol.md, search local and available open-source prior art within its bounds, and recommend Reuse, Wrap, Compose, or Build. Do not create a duplicate candidate when reuse already meets the need. Codex recommends the route; use awaiting-user when product direction, dependency, license, cost, permission, credential, or distribution choices materially change. If online search is unavailable, disclose the limitation and do not invent results.

Capture concrete positive, boundary, and negative examples plus inputs, outputs, constraints, side effects, completion conditions, and failure policy. If later runs can reuse an IP, account, provider, template, project, factory, profile, or preset, classify the Skill as stateful and capture its zero-state entry, persistent state owner, single active context, version policy, upgrade behavior, and fallback policy. Ask only about unresolved choices that materially change the result.

Use the official initializer under SkillFactory/candidates; generate matching agents/openai.yaml, required resources, and an evaluation suite. Do not install the candidate.

Audit

Run the deterministic audit, then apply quality-rubric.md. When the Skill may be copied, downloaded, or installed by another person, also read portability-protocol.md and audit its first-use contract:

bash
python scripts/audit_skill.py /path/to/skill --format markdown --strict
python scripts/audit_portability.py /path/to/skill --format markdown --strict

Report findings by severity with file locations. Separate structure readiness, portability classification, executed evidence, and untested claims. Do not equate a 100-point structural result with “解压即用”.

For every unzip-and-use claim, require a declared standalone or Codex-native useful minimum path. Reject a package that makes third-party credentials mandatory when an applicable Codex capability can produce the minimum output. Optional external providers may improve quality or scale, but they must remain a disclosed enhancement layer.

When the Skill is stateful, also read stateful-skill-protocol.md. Verify that a zero-state user can start, only one context is active per operation, user state is external and versioned, upgrades preserve it, execution records its secret-free context, and fallback is never silent.

Test

Read testing-protocol.md and effect-evidence.md. For a distributable Skill also read portability-protocol.md. Run official validation, changed script tests, and the applicable normal, edge, stress, failure, negative, permission, portability, and regression cases. For a skill that creates or changes an artifact, include a principal first-use case that starts from a clean workspace, exercises preflight, initialization, and the public workflow, preserves the result, and reaches at least end_to_end evidence.

For a stateful Skill, run the continuous state sequence in stateful-skill-protocol.md: zero state, reuse, import without implicit switch, explicit switch, new version, rollback, package upgrade, and state preservation. Isolated happy-path fixtures are insufficient.

bash
python scripts/skill_factory.py --root /path/to/SkillFactory evaluation-run skill-name \
  --run-id 2026-08-08-regression
python scripts/run_evals.py /path/to/skill --suite /path/to/test-prompts.json \
  --factory-root /path/to/SkillFactory --run-id 2026-08-08-regression --require-all

Store mutable results and raw artifacts only under evaluations/runs/<run-id>/<skill-name>/. Use independent-results.json, report.json, and artifacts/ inside that directory; do not scatter temporary JSON or forward-test folders directly under evaluations/. run_evals.py automatically discovers independent-results.json in the run directory when --results is omitted. Keep explicit --results and --out only for compatibility or deliberate external paths.

Use --allow-commands only after execution of declared command cases is authorized. Missing clean context, tools, or credentials produce unexecuted, never passed.

Report four separate evidence levels instead of collapsing them into one score:

  • structural: package and declared contract are valid;
  • executable: a deterministic component ran successfully;
  • end_to_end: a realistic public workflow produced preserved artifacts;
  • accepted: a user or independent reviewer accepted identified artifacts.

Do not treat configuration inspection, an existing example project, keyword presence, or a dry run as end-to-end proof.

For a one-folder distribution claim, require portability.json, run the portability audit against both the candidate folder and its ZIP, and cover portable-first-use in the principal evaluation. For unzip-and-use, also require codex-only-minimum-path: execute the public minimum task with declared third-party credentials absent, author state absent, and only declared Codex-native or standalone capabilities available; preserve the real output. A prompt asking for a key, a dry run, or a prebuilt fixture is not a passing minimum path. Credentials may remain user-owned for optional enhancements. Classify genuinely essential live connectors and separate factories honestly.

For a Skill that produces durable user artifacts, also read runtime-output-protocol.md. Require a workspace outside the installed Skill and SkillFactory, stable projects, unique dated runs, input/work/output/logs separation, run.json, latest.json, runs.jsonl, output hashes, and resumable failure records. Cover runtime-output-contract in the principal evaluation and prove that two runs on the same date do not overwrite each other.

For stateful Skills, require persistent_state in portability.json, an active_context snapshot with hashes in each relevant run.json, and coverage of stateful-skill-contract, zero-state-first-use, single-active-context, and upgrade-preserves-user-state.

Optimize

Read evolution-protocol.md. Reproduce the smallest failure, patch the closest responsible instruction or resource, run the failing case plus normal and counterexamples, and keep the candidate only when evidence improves without material regression.

Refactor

Read refactoring-playbook.md. Capture the contract and public paths, reduce ambiguity or context cost, and re-run preserved cases. Treat changed triggers, outputs, side effects, or tool calls as behavioral changes rather than refactoring.

Release

Read release-protocol.md and, for a distributable package, portability-protocol.md. Require clean structural and portability audits plus fully passed, hash-matched evidence. A stateful release additionally needs the state sequence, upgrade-preservation proof, and non-silent fallback regression. An unzip-and-use release additionally needs a passed codex-only-minimum-path principal case; a credential request cannot satisfy it. Stage and promote only after the user authorizes global installation:

bash
python scripts/skill_factory.py --root /path/to/SkillFactory stage /path/to/skill
python scripts/skill_factory.py --root /path/to/SkillFactory promote skill-name \
  --version 1.0.0 --evidence /path/to/report.json --skills-root /path/to/global/skills

Verify the installed package after promotion. Preserve release snapshots and use rollback with a known version when recovery is required.

Reject legacy or effect-incomplete evidence. For artifact-producing skills, require a passed principal path, the suite's minimum evidence level, preserved artifacts with hashes, and complete coverage of declared release capabilities. Acceptance may remain a post-release checkpoint only when the output contract explicitly allows it; otherwise require accepted evidence.

Keep publicity materials,公众号文章、飞书教程、封面、下载页和传播文案 outside the Skill release gate. They may be produced by another Skill after the executable package is accepted. Release metadata may report the package path, version, hash, portability class, and verified platforms, but must not generate or require a promotional kit.

Observe

Record feedback against the installed version. Remove secrets and unrelated context. Reproduce a reported failure before optimizing and turn confirmed failures into regression cases.

bash
python scripts/skill_factory.py --root /path/to/SkillFactory feedback skill-name \
  --rating 2 --message "Output contract drifted" --task "Representative task" \
  --correction "Preserve the documented output schema"
python scripts/skill_factory.py --root /path/to/SkillFactory feedback-to-regression skill-name \
  --feedback-id abc123def456

The regression command creates a reviewable draft; merge it into the candidate suite only after the failure is reproduced and its assertions can be made objective.

Orchestrate

Read orchestration.md. Select the minimum sufficient skill set from metadata, assign one owner per mutable artifact, define validated handoffs, and respect runtime and user limits on delegation or parallel execution.

Completion gates

  1. Run official validation against every created or structurally changed candidate.
  2. Run strict structural audit and every changed script's regression tests.
  3. Bind evaluation evidence and preserved artifact hashes to the exact candidate; invalidate it after any change.
  4. Require an executed principal first-use path plus edge or failure behavior before release.
  5. For artifact-producing skills, require end-to-end evidence, preserved non-empty artifacts, and complete declared capability coverage. Never substitute an existing demo or configuration check.
  6. For distributable skills, require a valid portability.json, compatible folder and ZIP audits, and a clean first-use principal case covering portable-first-use.
  7. For unzip-and-use, require a standalone or Codex-native minimum path, no mandatory third-party credentials for that path, and executed principal evidence covering codex-only-minimum-path.
  8. For durable artifact-producing skills, require a valid runtime storage contract and principal evidence covering runtime-output-contract.
  9. For stateful skills, require a valid persistent-state contract and executed evidence covering zero state, single activation, context disclosure and snapshot, immutable versions, upgrade preservation, and non-silent fallback.
  10. Re-audit the globally installed copy and verify its hash after promotion.
  11. Report structural, portability, stateful, runtime-output, executable, end-to-end, and accepted evidence separately, plus candidate, installed and evidence paths; version; rollback availability; and gaps.

Recovery and stop conditions

  • If a failure cannot be reproduced, label it unverified and do not make a broad preventive edit.
  • If evidence is mixed, contaminated, stale, dry-run, or incomplete, keep the prior release.
  • If two skills claim one mutable artifact, assign one owner or stop for a material ownership choice.
  • If a tool or delegation is disallowed, use an available sequential path and report untested claims.
  • Stop before purpose, trigger, output-contract, dependency, credential, permission, or side-effect expansion unless the user authorizes it.
  • Stop before destructive or external actions not already authorized by the requested lifecycle mode.
  • Stop after two coherent revisions produce only stylistic or marginal gains.

Resource map

  • creation-protocol.md: capability selection, contract, triggers, package design, and candidate gate.
  • prior-art-protocol.md: bounded local and open-source research, evidence comparison, and Reuse, Wrap, Compose, or Build decisions.
  • testing-protocol.md: test matrix, execution layers, and evidence.
  • effect-evidence.md: evidence levels, first-use cases, artifact manifests, capability coverage, and release gates.
  • portability-protocol.md: distribution classes, preflight, bootstrap, ZIP shape, clean first-use proof, and the “解压即用” claim.
  • runtime-output-protocol.md: project workspaces, dated runs, manifests, indexes, output hashes, discovery, and resume behavior.
  • stateful-skill-protocol.md: zero-state entry, single active context, external versioned user state, context snapshots, upgrade preservation, and fallback.
  • release-protocol.md: factory layout, versions, promotion, feedback, and rollback.
  • quality-rubric.md: qualitative review and evidence levels.
  • evolution-protocol.md: bounded evidence-driven improvement.
  • refactoring-playbook.md: behavior-preserving restructuring.
  • orchestration.md: selection, ordering, conflicts, and handoffs.
  • scripts/audit_skill.py: deterministic package audit.
  • scripts/audit_portability.py: deterministic portability contract and ZIP audit.
  • scripts/runtime_runs.py: initialize workspaces and start, complete, or fail unique project runs.
  • scripts/run_evals.py: command and imported-agent evaluation with structured run directories and objective assertions.
  • scripts/skill_factory.py: candidate, evaluation-run, registry, release, feedback, and rollback operations.
  • scripts/test_*.py: disposable-fixture regression suites for all deterministic tooling.
  • test-prompts.json: representative lifecycle and orchestration behavior cases.

附带文件

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

常见问题

Manage Skills AI 技能有什么作用?

Create, audit, test, optimize, refactor, release, observe, and orchestrate Codex skills across their lifecycle. Use when a user asks to build or update a SKILL.md package, decide whether a recurring task should become a skill, evaluate structural or behavioral quality, repair weak triggering or instructions, run regression cases, manage candidate and installed versions, record feedback, roll back a release, resolve skill overlap, coordinate multiple skills, or operate a reusable SkillFactory.

为什么在 TypingMind 中使用 Manage Skills?

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

如何在 TypingMind 中安装 Manage Skills?

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

哪些 AI 模型可以使用 Manage Skills?

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

Manage Skills 可以搭配多少个 AI 模型使用?

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

Manage Skills AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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