askit-migrate
Skill4 starsChanged 37 days agoApache-2.0View on GitHub
Assesses an existing skills repository against the Advanced Skill Library Standard, produces a staged bring-to-conformance plan, and writes the minimal canonical manifest so the repo becomes gradeable. Use when adopting a foreign or ad-hoc skills repo, migrating a Claude-only plugin toward cross-agent conformance, or planning a Bronze-to-Silver upgrade path.
In this repository28 other files it gives its agents.
- AGENTS.mdAGENTS.md
- askit-backlogSkill
- askit-build-agents-mdSkill
- askit-build-chain-contractSkill
- askit-build-commandSkill
- askit-build-docsSkill
- askit-build-hookSkill
- askit-build-mcpSkill
- askit-build-output-styleSkill
- askit-build-samplesSkill
- askit-build-settingsSkill
- askit-build-skillSkill
- askit-build-statuslineSkill
- askit-build-subagentSkill
- askit-build-workflowSkill
- askit-capability-advisorSkill
- askit-capability-gap-analysisSkill
- askit-capability-whats-newSkill
- askit-decisionSkill
- askit-deprecateSkill
- askit-evaluateSkill
- askit-init-marketplaceSkill
- askit-init-pluginSkill
- askit-onboardSkill
- askit-releaseSkill
- askit-standards-watchSkill
- askit-template-managerSkill
- REPLACE-with-kebab-case-name-matching-this-directorySkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
When adopting a foreign or ad-hoc skills repo, migrating a Claude-only plugin toward cross-agent conformance, or planning a …
- Very specific: line 29
Write the Bronze-minimal canonical library.json the conformance core requires at every tier (sec 5.1, check U1): name, version 0.1.0, …
- Very specific: line 30
Add a root AGENTS.md if absent (Standard sec 3.10) so anatomy (U2) passes, then run askit-evaluate to confirm Bronze is clean.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
askit-migrate
Purpose
Adopt an existing skills repository into a Standard-conformant plugin. Three modes: assess surveys the repo's components and structure, maps them to the Standard's component types, and reports the conformance gap (what is missing for Bronze, then Silver), handling the pre-library.json state the conformance core cannot yet grade; plan produces an ordered bring-to-conformance roadmap keyed to the tiers and names the askit-build-* skill or check that closes each gap; adopt performs the first structural step by writing a minimal canonical library.json and a root AGENTS.md if absent, so the repo becomes gradeable and the rest of the plan can run through askit-evaluate and the builders. Authoring depth is in references/migration-workflow.md.
When to use
When adopting a foreign or ad-hoc skills repo, migrating a Claude-only plugin toward cross-agent conformance, or planning a Bronze-to-Silver upgrade path for an existing repository.
assess mode
- Discover what exists: skills, commands, subagents, hooks, MCP config, instructions (
AGENTS.md/CLAUDE.md), and any manifest. Map each to a Standard component type (sec 3). - Report the gap by tier. The Bronze blockers first (a parseable
library.json, a rootAGENTS.md, valid skill frontmatter, name-equals-directory, resolvable reference links), then the Silver blockers (agent-targets, the plugin prefix, acomponentsindex, native manifests). - Where a
library.jsonalready exists, delegate the per-rule grading toaskit-evaluate; otherwise report the pre-manifest gaps the conformance core cannot yet see and runassessagain afteradopt.
plan mode
- Order the gaps into a staged roadmap: Bronze first (make it parse and self-describe), then Silver (cross-agent shape and the prefix), then the optional tail (hooks, workflows, docs site).
- For each step name the resolver: the
askit-build-*skill that authors the component, the check whose message states the fix, oraskit-evaluateto re-confirm. - Record the plan so the migration is legible and resumable across sessions.
adopt mode
- Write the Bronze-minimal canonical
library.jsonthe conformance core requires at every tier (sec 5.1, check U1):name,version0.1.0,description,standard(the Standard version targeted), andtieruniversal. That is the smallest manifest that satisfies U1 and makes the repo gradeable. - Add a root
AGENTS.mdif absent (Standard sec 3.10) so anatomy (U2) passes, then runaskit-evaluateto confirm Bronze is clean. - When climbing to Silver, add the Convergent-only fields the higher checks require:
agent-targets(S1), a kebab-caseprefixending in a hyphen carried by every component name (S2), and acomponentsindex (S3). Before runninggen-manifest, copy any hand-writtenhomepage,repository,license,author, andkeywordsfrom the existing native manifests intolibrary.json. Also copy the existing Codex manifest'sinterface.displayNameandinterface.categoryvalues intolibrary.json's own top-leveldisplayNameandcategorykeys.gen-manifestreads those two fields from the top level, not from a nestedinterfaceobject. A thin adopt-modelibrary.jsondoes not carry any of these fields yet.gen-manifest --writenow refuses to drop a field it cannot see inlibrary.json(E72, adopting a plugin can wipe its hand-written manifest fields). Then emit native manifests withnode scripts/generators/gen-manifest.mjs . --write --target=all(S6). A refusal names each missing field and its target file. Forinterface.displayNameorinterface.category, it also names thelibrary.jsonkey to set; add that field and rerun. Copy every other hand-set Codex interface field, such asshortDescription,websiteURLorbrandColor, intolibrary.json'scodex.interfaceobject, whichgen-manifestpasses through as written; its refusal names that key too. A hand-written inlinemcpServersobject or a customskillsdirectory has nolibrary.jsonhome at all, and--allow-field-lossis the only way through for it. Hand off to theaskit-build-*skills andaskit-evaluate.
Scope
askit-migrate adopts an existing repo; greenfield scaffolding from an interview is a separate, planned init/onboarding flow (Standard sec 10.7). It makes the repo gradeable and produces the plan, then the askit-build-* skills and askit-evaluate execute the plan slice by slice; it does not rename components to add the prefix wholesale or rewrite skills on its own. The why-gate applies before adding any new component (see askit-backlog).
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.

