skill-lifecycle

A reference for the allowed states and state changes of skills and their versions, including drafts, reviews, publishing, hiding, and archiving.

In plain words
What is it for?
It helps implement or review skill publishing, approval, unpublishing, visibility, archiving, permissions, and pages that display skill status.
Why use it?
It prevents invalid status changes and keeps review, publishing, search, and governance behavior consistent.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/iflytek/skillhub/skill-lifecycle
Any agent
npx skills add iflytek/skillhub --skill skill-lifecycle
Clone the repo
git clone --depth 1 https://github.com/iflytek/skillhub

Made for: Claude Code, Codex.

Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,655 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00038 $0.01655
Opus 5 $0.00019 $0.00827
Sonnet 5 $0.00008 $0.00331
Haiku 4.5 $0.00004 $0.00166

Measured 2d ago against content hash 4547ceed1f1e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

skill-lifecycle scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/skill-lifecycle/SKILL.md · 152 lines

How it starts

The opening of the file, as written. The whole thing — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill Lifecycle Skill

Trigger

Use this skill when:

  • Modifying skill publish, review, or unpublish flows
  • Adding or changing skill/version status fields
  • Working on search, detail pages, or listing pages that show skill state
  • Implementing governance actions (hide, yank, archive)
  • Adding new state transitions or permission checks

State Model

Skill Container States

Enum SkillStatus (domain/skill/SkillStatus.java):

Value Meaning
ACTIVE Skill is operational and can have versions published
HIDDEN Skill hidden by platform governance (design doc says prefer boolean hidden flag instead)
ARCHIVED Skill archived by owner/namespace admin, cannot publish new versions

Design-vs-code note: docs/14-skill-lifecycle.md specifies hidden should be a governance overlay (boolean flag) rather than a lifecycle enum state. The current code still defines SkillStatus.HIDDEN. New code should use the skill.hidden boolean field, not the enum value.

SkillVersion States

Enum SkillVersionStatus (domain/skill/SkillVersionStatus.java):

Value Meaning
DRAFT Non-public draft, can resubmit or delete
SCANNING Undergoing security scan
SCAN_FAILED Security scan failed
UPLOADED Uploaded but not yet submitted for review (or withdrawn from review)
PENDING_REVIEW Frozen pending reviewer action
PUBLISHED Currently distributable
REJECTED Review denied, retained
YANKED Was published, withdrawn from distribution

ReviewTask States

Enum ReviewTaskStatus (domain/review/ReviewTaskStatus.java):

Value Meaning
PENDING Awaiting reviewer
APPROVED Reviewer approved
REJECTED Reviewer rejected

Visibility Model

Enum SkillVisibility (used in SkillPublishService):

Value Publish Path
PUBLIC Creates PENDING_REVIEW version, review task, security scan
NAMESPACE_ONLY Same as PUBLIC but limited visibility scope
PRIVATE Goes directly to UPLOADED status, no review task

Read the full file on GitHub · 152 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 152 lines · 38 tokens per session scan A 4547ceed1f1e

Subscribe to this mod's changes

skill-lifecycle is a skill published in the GitHub repository iflytek/skillhub (4,939 stars, last pushed today), licensed Apache-2.0. It adds 38 tokens to every session and 1,655 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

openclaw-docs

Find authoritative guidance for installing, configuring, operating, securing, and troubleshooting OpenClaw, including channels, model providers, Gateway operations, tools, plugins, automation, nodes, multi-agent routing, and CLI errors. Use for any question or maintenance task involving an OpenClaw installation…

tbdavid2019/openclaw-docs-skill · 80 tokens

clawteam

Multi-agent swarm orchestration. USE THIS (not delegatetask) when the user says team/swarm/multi-agent/clawteam/parallel-agents/agent-team, or asks for multi-perspective analysis (stocks, research, code review, strategy). Spawns N Hermes workers in tmux windows with git worktree isolation, file-based inboxes, and a…

win4r/ClawTeam-OpenClaw · 103 tokens

clawteam

Multi-agent swarm coordination via the ClawTeam CLI. Use when the user wants to create agent teams, spawn multiple agents to work in parallel, coordinate tasks with dependencies, broadcast messages between agents, monitor progress via kanban board, or launch pre-built team templates (hedge-fund, code-review…

win4r/ClawTeam-OpenClaw · 106 tokens

agent-team

产品经理与项目管理专家在应对复杂项目时,使用此技能可动态组建包含“执行、指挥、评审”的专属AI团队。实时查看多智能体辩论与决策全过程,共享统一上下文记忆,一键完成从会议决策到系统构建的全流程高效协同!.

anbeime/skill · 76 tokens

antinet-provenance

软件开发工程师与信息安全分析师在构建多智能体系统时,当需全链路可观测与安全审计,请用此技能。它自动收集操作日志,生成可追溯证据链与向量索引,开箱即用实现系统审计与精准回放,让Agent运行安全透明。.

anbeime/skill · 79 tokens

provenance

收集系统全链路操作日志,生成可追溯的执行证据链与向量索引,是多智能体系统可观测性与安全审计的底座。.

anbeime/skill · 45 tokens