CtrlK
BlogDocsLog inGet started
Tessl Logo

minicpm5-finetune-xtuner

Fine-tune MiniCPM5-1B with xtuner (mmengine config-driven SFT). Use when the user mentions "xtuner", "mmengine", InternLM's training framework, or wants config-file-driven training.

64

Quality

77%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Low

Low-risk findings worth noting

Fix and improve this skill with Tessl

tessl review fix ./skills/minicpm5-finetune-xtuner/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

77%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

Highly actionable, executable skill content with a clear sequence and useful pitfalls. The main weakness is progressive disclosure: the large config block is inlined rather than externalized, and the one reference link is not a real bundle file.

Suggestions

Move the full ~90-line mmengine config into ./references/minicpm5_lora.py and reference it from SKILL.md, keeping only the key annotated lines inline to improve progressive disclosure.

Either add the referenced ./docs/finetune/xtuner.md as a real bundle file or remove/fix the broken reference link.

Add an explicit validate→fix→retry loop (e.g., 'if the chat template does not resolve to <|im_start|>/<|im_end|> or loss is flat, re-check prompt_template and start_factor before re-running') to strengthen the validation checkpoint.

DimensionReasoningScore

Conciseness

Lean, code-driven body that assumes competence and avoids explaining what SFT or LoRA are; the inlined full config (~90 lines) is necessary material but could be trimmed or externalized to earn a 5.

4 / 5

Actionability

Fully executable: copy-paste install commands, a complete runnable config, exact train/convert commands, and a concrete PEFT loading snippet covering the common path.

5 / 5

Workflow Clarity

Clear numbered sequence (install → save config → train → validate → convert) with a validation step showing expected logs, but the destructive/batch training step lacks an explicit validate→fix→retry feedback loop, so it does not reach 5.

4 / 5

Progressive Disclosure

Well-organized sections, but the full ~90-line config is inlined in SKILL.md (content that should be separate), and the single reference link points to a docs path that does not exist in the bundle.

3 / 5

Total

16

/

20

Passed

Description

77%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A focused, well-targeted description with a clear 'Use when' trigger clause and concrete capability statement. Minor expansion of synonyms (SFT, LoRA, instruction tuning) would round it out.

DimensionReasoningScore

Specificity

Names the domain (MiniCPM5-1B, xtuner) and concrete actions ('Fine-tune', 'mmengine config-driven SFT') with the config-file-driven training mechanism, leaving minor gaps in coverage.

4 / 5

Completeness

Clearly states the 'what' (fine-tune with config-driven SFT) and includes an explicit 'Use when...' clause naming trigger terms; the 'when' could be slightly more specific but is solid.

4 / 5

Trigger Term Quality

Lists natural trigger terms ('xtuner', 'mmengine', InternLM's training framework, config-file-driven training) that users would plausibly say, though missing some synonyms like 'LoRA' or 'SFT'.

4 / 5

Distinctiveness Conflict Risk

Narrow niche (MiniCPM5-1B + xtuner/mmengine) with distinct triggers that are unlikely to conflict with other fine-tuning skills.

5 / 5

Total

17

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

relative_links

Relative link issues: 1 suspicious

Warning

Total

15

/

16

Passed

Repository
OpenBMB/MiniCPM
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.