skill-lifecycle
Skill5.1k starsChanged 3 months agoApache-2.0View on GitHub
The authoritative skill lifecycle state model including container states, version states, review workflow states, visibility overlay, and governance actions. Ensures agents don't introduce invalid states or transitions.
7 other projects use a version of this.
Trending
Quiet since October.about the whole repository
Most recently taken up by
- Koooki3/skill-loomtheir own version, first seen Oct 6, 2026
- anthony-chaudhary/faktheir own version, first seen Sep 28, 2026
- loganware05/captains-compass-cursortheir own version, first seen Sep 12, 2026
- SwimmingLiu/easy-skillstheir own version, first seen Aug 16, 2026
- alexgrebeshok-coder/dirigent-skillstheir own version, first seen Jul 12, 2026
- ceilf6/FrontAgenttheir own version, first seen Jun 11, 2026
Who's talking about iflytek/skillhub
- ruanyf/weekly“【开源自荐】SkillHub —— 企业内部的技能注册中心”GitHub · Mar 19, 2026 · 2 reactions
- iflytek/astron-rpa“chore: add GitHub-reward form, scripts & actions”GitHub · Apr 7, 2026 · 1 reactions
- iflytek/astron-agent“chore: add GitHub-reward form, scripts & actions”GitHub · Apr 7, 2026 · 1 reactions
- @nigolv.bsky.social“AIアシスタントのスキル管理、難しいですよね。 Kubernetesとアラート履歴を使って、 スムーズに運用できるツールが登場しました。 詳しくはGitHubでチェックしてみてください。 github.com …”Bluesky · Mar 28, 2026 · 1 likes
- Open-reSource/openresource.dev“ci: update showcase”GitHub · Oct 5, 2026
The biggest 5 of 49 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 49
Talked about on GitHub and Bluesky (49 times).
On GitHub · 48
- Mar 19, 2026【开源自荐】SkillHub —— 企业内部的技能注册中心 — ruanyf/weekly2 reactions · 2 comments
- Apr 7, 2026chore: add GitHub-reward form, scripts & actions — iflytek/astron-rpa1 reaction · 1 comment
- Apr 7, 2026chore: add GitHub-reward form, scripts & actions — iflytek/astron-agent1 reaction · 1 comment
- Oct 5, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Oct 2, 2026Add zjncs to developers list — rv2036/inchi-rvlab-access0 reactions
43 more on GitHub
- Oct 2, 2026Add zjncs to developers list — plctlab/riscv-lab-access0 reactions
- Sep 28, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Sep 28, 2026agent-skills.github.iflytek.skillhub: init at 0.2.21 — sudosubin/agents.nix0 reactions
- Sep 28, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Sep 21, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Sep 14, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Sep 7, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Aug 31, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Aug 29, 2026[FEATURE] 资源管理支持从标准 Agent Skills / Agent Plugins 仓库批量导入 — iflytek/astron-agent0 reactions · 3 comments
- Aug 29, 2026docs: add SkillHub/Astron governed publishing guide — K-Dense-AI/scientific-agent-skills0 reactions · 2 comments
- Aug 24, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Aug 24, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Aug 24, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Aug 3, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Jul 27, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Jul 27, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Jul 27, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Jul 20, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Jul 13, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Jul 6, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Jun 29, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Jun 22, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Jun 15, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Jun 8, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Jun 1, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- May 11, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- May 8, 2026【Feature】可以支持skillhub吗? — AFunc-OPC/Skiller0 reactions · 1 comment
- May 4, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Apr 30, 2026Updated single-repositories/github/iflytek/skillhub.yml — oss-compass/compass-projects-information0 reactions · 3 comments
- Apr 30, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Apr 27, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Apr 22, 2026[SUBMISSION] skillhub — ProSkillsMD/proskills0 reactions
- Apr 20, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Apr 17, 2026[SUBMISSION] skillhub — ProSkillsMD/proskills0 reactions
- Apr 17, 2026新增支持LDAP登录https://github.com/iflytek/skillhub/issues/260 — h4ai/qa-qe-skillhub0 reactions
- Apr 13, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Apr 12, 2026[SUBMISSION] skillhub — ProSkillsMD/proskills0 reactions
- Apr 7, 2026[SUBMISSION] skillhub — ProSkillsMD/proskills0 reactions
- Apr 6, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Mar 30, 2026ci: update showcase — Open-reSource/openresource.dev0 reactions · 1 comment
- Mar 30, 2026[SUBMISSION] skillhub — ProSkillsMD/proskills0 reactions · 2 comments
- Mar 23, 2026[SUBMISSION] skillhub — ProSkillsMD/proskills0 reactions · 4 comments
- Mar 19, 2026[SUBMISSION] skillhub — ProSkillsMD/proskills0 reactions · 2 comments
On Bluesky · 1
- Mar 28, 2026AIアシスタントのスキル管理、難しいですよね。 Kubernetesとアラート履歴を使って、 スムーズに運用できるツールが登場しました。 詳しくはGitHubでチェックしてみてください。 github.com opensourceprojects.dev #news — @nigolv.bsky.social1 likes and repost
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- ceilf6/FrontAgent★ 119same name
- anthony-chaudhary/fak★ 41same name
- loganware05/captains-compass-cursor★ 2same name
- Koooki3/skill-loom★ 1same name
- SwimmingLiu/easy-skills★ 1same name
- alexgrebeshok-coder/dirigent-skills★ 0same name
- Firework-fufu/personal-agent-starter-kit★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- api-and-namespace-designSkill
- backend-module-structureSkill
- code-conventionsSkill
- dev-workflowSkill
- frontend-conventionsSkill
- pr-submissionSkill
- testing-and-ciSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 2 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Use this skill when:
- Very specific: line 77
When yanking: recalculates to newest remaining PUBLISHED version, or null
- Very specific: line 99
When yanking the current latestVersionId (SkillGovernanceService):
- Very specific: line 106
Read models (detail, my-skills, favorites, search) use *QueryRepository patterns:
- Very specific: line 129
Only DRAFT, REJECTED, SCAN_FAILED, or UPLOADED versions can be deleted
- Distinctive: line 149
Not auto-withdrawing pending versions when publishing a new version
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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 |
SUPER_ADMIN role bypasses review — versions go directly to PUBLISHED.
Latest Version Pointer
Skill.latestVersionId is only the latest published pointer:
- Can only point to a
PUBLISHEDversion - May be
nullif no published version exists latesttag auto-follows this pointer (read-only)- When yanking: recalculates to newest remaining
PUBLISHEDversion, ornull
Key Transitions
| Action | From | To | Notes | Source |
| First upload (PUBLIC/NAMESPACE_ONLY) | — | PENDING_REVIEW | Review task created | SkillPublishService |
| First upload (SUPER_ADMIN) | — | PUBLISHED | Direct publish, SkillPublishedEvent emitted | SkillPublishService |
| First upload (PRIVATE) | — | UPLOADED | No review task, latestVersionId updated | SkillPublishService |
| Review approve | PENDING_REVIEW | PUBLISHED | Updates latestVersionId | Review workflow |
| Review reject | PENDING_REVIEW | REJECTED | Version retained | Review workflow |
| Withdraw review | PENDING_REVIEW | UPLOADED | Deletes pending ReviewTask | SkillGovernanceService.withdrawPendingVersion |
| Yank | PUBLISHED | YANKED | Recalculates latestVersionId | SkillGovernanceService.yankVersion |
| Hide | — | hidden=true | Independent overlay | SkillGovernanceService.hideSkill |
| Restore | — | hidden=false | Independent overlay | SkillGovernanceService.unhideSkill |
| Archive | ACTIVE | ARCHIVED | SkillStatusChangedEvent emitted | SkillGovernanceService.archiveSkill |
| Unarchive | ARCHIVED | ACTIVE | SkillStatusChangedEvent emitted | SkillGovernanceService.unarchiveSkill |
| New publish (existing pending) | PENDING_REVIEW | UPLOADED | Auto-withdraw + delete review task | SkillPublishService |
| Delete version | DRAFT/REJECTED/SCAN_FAILED/UPLOADED | — | Last version protected | SkillGovernanceService.deleteVersion |
Yank Pointer Recalculation
When yanking the current latestVersionId (SkillGovernanceService):
- Query all remaining
PUBLISHEDversions for the skill - Sort by
publishedAtDESC, thencreatedAtDESC, thenidDESC - Point
latestVersionIdto the top result, ornullif none remain
Lifecycle Projection
Read models (detail, my-skills, favorites, search) use *QueryRepository patterns:
headlineVersion— Main display version for the pagepublishedVersion— Latest published versionownerPreviewVersion— Pending review version (visible to owner/namespace admin)resolutionMode—PUBLISHED,OWNER_PREVIEW, orNONE
Public browsing, install, download, search only use publishedVersion.
Permission Boundaries
| Action | Who |
| Withdraw review | Submitter only |
| Delete version | Owner or namespace admin, only DRAFT/REJECTED/SCAN_FAILED/UPLOADED |
| Archive/unarchive | Owner or namespace admin (ADMIN or OWNER role) |
| Hide/restore | Platform governance (no permission check in code) |
| Yank | Platform governance (no permission check in code) |
| Publish PUBLIC skill | Namespace member (or SUPER_ADMIN) |
| Publish PRIVATE skill | Namespace member (or SUPER_ADMIN) |
Delete Version Constraints
SkillGovernanceService.deleteVersion enforces:
- Only
DRAFT,REJECTED,SCAN_FAILED, orUPLOADEDversions can be deleted - Cannot delete the last remaining version of a skill
- Deletes associated storage keys (individual files +
bundle.zip) - Deletes associated security scan records
- Updates
latestVersionIdif the deleted version was the pointer - Storage deletion happens after transaction commit with compensation recording
Domain Events
| Event | When Emitted |
SkillStatusChangedEvent | Archive or unarchive |
SkillPublishedEvent | SUPER_ADMIN direct publish |
SkillVersionYankedEvent | Yank action |
ReviewSubmittedEvent | Create review task for PUBLIC/NAMESPACE_ONLY |
Common Pitfalls
- Setting
SkillStatus.HIDDENdirectly — useskill.setHidden(true)viaSkillGovernanceServiceinstead - Forgetting to recalculate
latestVersionIdafter yank or version deletion - Not auto-withdrawing pending versions when publishing a new version
- Missing the
confirmWarningstwo-step publish flow (warnings require explicit confirmation) - Assuming all publish flows create review tasks —
PRIVATEvisibility skips review
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

