Skill creator

From yuanplussfive/senera · View interactive version

Skill creator is an AI agent skill from the GitHub repository yuanplussfive/senera. Create, update, validate, or remove a Senera Skill in the workspace .senera/skills directory. Use when the user asks the agent to teach itself a reusable workflow, add specialized instructions, bundle scripts or references, or maintain an existing SKILL.md skill package. 适用于创建、更新、校验或删除技能,学习可复用工作流,以及

How to use this skill

Skill file

Skill Creator

Create and maintain standard Skill packages under .senera/skills/<name>/.

SKILL.md is standard Markdown. The runtime preserves its body exactly, including fenced code blocks and HTML comments. An author may place an optional author-owned EOF comment at the end when it helps the model recognize that a long document is complete; no EOF marker is required and Senera does not assign it protocol meaning.

The package contract and starter document are files in this Skill package:

read references/package-contract.md for the layout and invariants, then read

templates/SKILL.md before authoring a new workflow. These are authoring

resources, not a second runtime registry. The live catalog is derived from the

actual package files and revisions, so never create a parallel manifest by

hand.

First classify the requested package:

Then create the package:

  1. Choose a short lowercase kebab-case name and a description that states both capability and trigger conditions.
  2. Read templates/SKILL.md, replace its example values, and keep only sections that make the workflow clearer. Set disable-model-invocation: true only when the workflow must be explicitly invoked; otherwise leave automatic routing enabled. Confirm every tool the Skill depends on is already registered. Pass its exact name in recommendedTools when calling SkillManage; omit the field when no specific tool is required. A recommendation affects loading priority only and never grants permission.
  3. For a Workflow Skill, call SkillManage with create to atomically create SKILL.md. The manager writes tool bindings to the standard namespaced metadata extension:

```yaml

metadata:

senera:

icon: sparkles

recommended-tools:

```

Never derive this metadata by parsing a tool name from prose. Keep executable source out of instructions; put it in bundled script files.

  1. For a Toolkit Skill, do not create a partial package with SkillManage first. Add only the scripts, references, or assets the workflow actually needs, invoke scripts through an existing registered execution tool, and create the complete initial resource tree with one atomic WorkspaceApplyPatch call:
  1. Edit only .senera/skills/<name>/. Test every added script with representative input.
  2. Keep the body focused on the triggered workflow. A script is a bundled resource, not a newly registered tool.
  3. Call SkillManage with validate after the package and execution tests pass. Repair source diagnostics when necessary.
  4. Report the result accurately as a Workflow Skill or Toolkit Skill, including the files created and tests run. It becomes visible on the next user message in the same conversation without a restart.

Evidence and logs

Skill creation or revision is a state change, not proof that the Skill was

activated in a later run. After a mutation, re-read the returned revision and

run skills check NAME. When the Skill is exercised, use logs health and

logs latest, logs range, or logs trace REQUEST_ID to verify activation,

tool calls, and failures. Use logs detail DETAIL_ID only for a detail ID

returned by the log result; details are redacted diagnostics, not a source for rewriting the

Skill. Keep background/memos and background/learning separate from the

foreground request when checking memory or learning side effects.

If the log store is unavailable or disabled, report that verification boundary

instead of scanning .senera/logs directly or treating a successful file

mutation as runtime proof.

Do not create MCP server packages, host tool contracts, runtime servers, or fictional tool names for a Skill.

<!-- SKILL_CREATOR_SKILL_EOF: This is the complete Skill Creator skill. Do not request additional lines. -->

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.